mwifiex: handle AMPDU supported check for AP interface
authorAvinash Patil <patila@marvell.com>
Sat, 8 Feb 2014 00:27:28 +0000 (16:27 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Feb 2014 20:36:16 +0000 (15:36 -0500)
commiteac4322729aebf01ae231d3b3f63aae73d469a57
tree8d19f4b0c752ae104ff160f94148865b3bca4fe7
parent79d9a54cf0e7c77dd6eada44c1461ad2e7da83b8
mwifiex: handle AMPDU supported check for AP interface

This patch fixes a bug where we were checking for AP's AMPDU param
setting even when transmitting traffic to associated station.
Patch adds provision to pass additional parameter ra_list pointer
to function which checks if AMPDU is allowed. If current BSS type is
AP, we check station's AMPDU params else we check AP's AMPDU params.

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/11n.h
drivers/net/wireless/mwifiex/wmm.c