summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/marvell/mwifiex/uap_event.c
diff options
context:
space:
mode:
authorXinming Hu <huxm@marvell.com>2016-07-25 17:51:08 +0200
committerKalle Valo <kvalo@codeaurora.org>2016-09-03 11:57:16 +0200
commit99ffe72cdae4f7c326d094c85167802ee0ecacbb (patch)
tree5a387a77e34931bea3cf5e8651d0c4657c3a5fa3 /drivers/net/wireless/marvell/mwifiex/uap_event.c
parentmwifiex: support random MAC address for scanning (diff)
downloadlinux-99ffe72cdae4f7c326d094c85167802ee0ecacbb.tar.xz
linux-99ffe72cdae4f7c326d094c85167802ee0ecacbb.zip
mwifiex: process rxba_sync event
Firmware may filter and drop packets under certain condition, for example, ARP SA=DA packet. this event will be used to synchronize the Rx Block Acknowledgment (BA) window bitmap and to fill any holes in driver side. Signed-off-by: Xinming Hu <huxm@marvell.com> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/uap_event.c')
-rw-r--r--drivers/net/wireless/marvell/mwifiex/uap_event.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/uap_event.c b/drivers/net/wireless/marvell/mwifiex/uap_event.c
index 86ff54296f39..d24eca34ac11 100644
--- a/drivers/net/wireless/marvell/mwifiex/uap_event.c
+++ b/drivers/net/wireless/marvell/mwifiex/uap_event.c
@@ -306,7 +306,12 @@ int mwifiex_process_uap_event(struct mwifiex_private *priv)
mwifiex_dbg(adapter, EVENT, "event: multi-chan info\n");
mwifiex_process_multi_chan_event(priv, adapter->event_skb);
break;
-
+ case EVENT_RXBA_SYNC:
+ dev_dbg(adapter->dev, "EVENT: RXBA_SYNC\n");
+ mwifiex_11n_rxba_sync_event(priv, adapter->event_body,
+ adapter->event_skb->len -
+ sizeof(eventcause));
+ break;
default:
mwifiex_dbg(adapter, EVENT,
"event: unknown event id: %#x\n", eventcause);