mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt7925: replace NAN DW end event with DW start
Handle the NAN DW start event instead of the DW end event for DW
notification. Queuing NDP action frames at the beginning of the DW
window, rather than after it ends, improves NDP handshake reliability.
Fixes: a5487a682406 ("wifi: mt76: mt7925: add NAN MCU helpers")
Co-developed-by: Sean Wang <[email protected]>
Signed-off-by: Sean Wang <[email protected]>
Signed-off-by: Stella Liu <[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
a81f793eaf
commit
7d3c4f81b1
+1
-1
@@ -422,7 +422,7 @@ void mt7925_nan_mcu_event(struct mt792x_dev *dev, struct sk_buff *skb)
|
||||
case NAN_UNI_EVENT_ID_DE_EVENT_IND:
|
||||
mt7925_nan_mcu_handle_de_event(dev, tlv);
|
||||
break;
|
||||
case NAN_UNI_EVENT_REPORT_DW_END:
|
||||
case NAN_UNI_EVENT_REPORT_DW_START:
|
||||
mt7925_nan_handle_dw_ind(dev, tlv);
|
||||
break;
|
||||
default:
|
||||
|
||||
@@ -93,6 +93,7 @@ enum nan_uni_cmd_tag {
|
||||
|
||||
enum nan_uni_event_tag {
|
||||
NAN_UNI_EVENT_ID_DE_EVENT_IND = 19,
|
||||
NAN_UNI_EVENT_REPORT_DW_START = 59,
|
||||
NAN_UNI_EVENT_REPORT_DW_END = 60,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user