mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt7996: no need to wait ACK event for SDO command
For the SDO unified command, driver does not need to wait for ACK event so do not mark MCU_CMD_ACK in command header. Signed-off-by: Peter Chiu <[email protected]> Signed-off-by: Shayne Chen <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
7519fa4ce6
commit
ea0580ad06
@@ -318,6 +318,9 @@ mt7996_mcu_send_message(struct mt76_dev *mdev, struct sk_buff *skb,
|
||||
else
|
||||
uni_txd->option = MCU_CMD_UNI_EXT_ACK;
|
||||
|
||||
if (mcu_cmd == MCU_UNI_CMD_SDO)
|
||||
uni_txd->option &= ~MCU_CMD_ACK;
|
||||
|
||||
if ((cmd & __MCU_CMD_FIELD_WA) && (cmd & __MCU_CMD_FIELD_WM))
|
||||
uni_txd->s2d_index = MCU_S2D_H2CN;
|
||||
else if (cmd & __MCU_CMD_FIELD_WA)
|
||||
|
||||
Reference in New Issue
Block a user