mwifiex: update MCS information as per antenna settings
authorAmitkumar Karwar <akarwar@marvell.com>
Fri, 28 Feb 2014 03:35:18 +0000 (19:35 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Feb 2014 19:33:48 +0000 (14:33 -0500)
commita5333914536debe05f36ed0d0273f1ddab744eea
treed62da393932c33d7f8f0e0561ee431dd164ebb93
parent0c9c4a09f752e3cbe47fd5ea2d7f5f4837f95580
mwifiex: update MCS information as per antenna settings

Even if the device is changed to 1X1 mode, data is sent with
higher MCS rates after association.

This patch fixes the problem by updating MCS information field
in HT capability when antenna setting changes so that correct
information will be advertised in association and probe request.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c
drivers/net/wireless/mwifiex/cfp.c
drivers/net/wireless/mwifiex/cmdevt.c
drivers/net/wireless/mwifiex/fw.h
drivers/net/wireless/mwifiex/main.h