aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/main.h
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2014-02-27 22:35:18 -0500
committerJohn W. Linville <linville@tuxdriver.com>2014-02-28 14:33:48 -0500
commita5333914536debe05f36ed0d0273f1ddab744eea (patch)
treed62da393932c33d7f8f0e0561ee431dd164ebb93 /drivers/net/wireless/mwifiex/main.h
parent0c9c4a09f752e3cbe47fd5ea2d7f5f4837f95580 (diff)
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>
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.h')
-rw-r--r--drivers/net/wireless/mwifiex/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h
index 51ac9e3355a2..f0289c12e041 100644
--- a/drivers/net/wireless/mwifiex/main.h
+++ b/drivers/net/wireless/mwifiex/main.h
@@ -773,6 +773,7 @@ struct mwifiex_adapter {
773 u8 event_body[MAX_EVENT_SIZE]; 773 u8 event_body[MAX_EVENT_SIZE];
774 u32 hw_dot_11n_dev_cap; 774 u32 hw_dot_11n_dev_cap;
775 u8 hw_dev_mcs_support; 775 u8 hw_dev_mcs_support;
776 u8 user_dev_mcs_support;
776 u8 adhoc_11n_enabled; 777 u8 adhoc_11n_enabled;
777 u8 sec_chan_offset; 778 u8 sec_chan_offset;
778 struct mwifiex_dbg dbg; 779 struct mwifiex_dbg dbg;