mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: verify evt type in usb mcu response
Verify if evt field is set to EVT_CMD_DONE in usb mcu response messages. This is a preliminary patch for usb_mcu layer unification between mt76x0u and mt76x2u driver. Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
ed3366dffd
commit
9867146de9
@@ -75,6 +75,16 @@ enum dma_msg_port {
|
||||
DISCARD,
|
||||
};
|
||||
|
||||
enum mt76_mcu_evt_type {
|
||||
EVT_CMD_DONE,
|
||||
EVT_CMD_ERROR,
|
||||
EVT_CMD_RETRY,
|
||||
EVT_EVENT_PWR_RSP,
|
||||
EVT_EVENT_WOW_RSP,
|
||||
EVT_EVENT_CARRIER_DETECT_RSP,
|
||||
EVT_EVENT_DFS_DETECT_RSP,
|
||||
};
|
||||
|
||||
int mt76_dma_attach(struct mt76_dev *dev);
|
||||
void mt76_dma_cleanup(struct mt76_dev *dev);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user