mwl8k: Send BASTREAM firmware commands per vif
authorYogesh Ashok Powar <yogeshp@marvell.com>
Thu, 8 Nov 2012 13:40:44 +0000 (19:10 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Nov 2012 19:11:13 +0000 (14:11 -0500)
commitf95275c48b60fc486517f05da0800357dfd3ce2f
tree4f24d97d62eece44b2899f3f1f557c7bfa05389a
parent7583fe778f77cbeb37f54ff5b9afd96119fcab43
mwl8k: Send BASTREAM firmware commands per vif

The firmware supports 8 macid's corresponding to 8 BSS that can be
created in an MBSS environment. Currently, BASTREAM commands were always
sent with macid 0. This macid is used to configure the hardware ampdu
registers with appropriate BSS address in an MBSS environment.
This mac address is used by the hardware for various ampdu related requirements
e.g. source address in BAR generation, BA interpretation e.t.c.
Using invalid macid results in this mac address not getting appropriately
configured in the hardware which results in issues during ampdu traffic.

Fix this by sending the BASTREAM commands with appropriate macid.

Signed-off-by: Nishant Sarmukadam <nishants@marvell.com>
Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c