mwifiex: AMSDU Rx frame handling in AP mode
commitbf00dc22bc7a72d58fd1945814321b30948dc83b
authorXinming Hu <huxm@marvell.com>
Tue, 5 Apr 2016 08:04:39 +0000 (5 01:04 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 7 Apr 2016 16:42:25 +0000 (7 19:42 +0300)
tree55945622e909dafed3cd7fe4837d7896b27a4cf5
parentad5ca845e3d194703be82ad4a2f3042f2e198e2b
mwifiex: AMSDU Rx frame handling in AP mode

This patch processes sub AMSDU frame received in AP mode.

If a packet is multicast/broadcast, it is sent to kernel/upper
layer as well as queued back to AP TX queue so that it can be
sent to other associated stations.

If a packet is unicast and RA is present in associated station list,
it is again requeued into AP TX queue.

If a packet is unicast and RA is not in associated station list,
packet is forwarded to kernel to handle routing logic.

Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c
drivers/net/wireless/marvell/mwifiex/main.h
drivers/net/wireless/marvell/mwifiex/uap_txrx.c