summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/11n.h
diff options
context:
space:
mode:
authorAmitkumar Karwar2011-04-28 04:13:12 +0200
committerJohn W. Linville2011-04-28 20:53:23 +0200
commita46b7b5c13b9ecfe2b4e045e06aaec644dcf55d8 (patch)
treed74c4482678c0221d1b006cee48a56e8d962a557 /drivers/net/wireless/mwifiex/11n.h
parentmwifiex: check firmware capabilities while initialising 5GHz band parameters (diff)
downloadkernel-qcow2-linux-a46b7b5c13b9ecfe2b4e045e06aaec644dcf55d8.tar.gz
kernel-qcow2-linux-a46b7b5c13b9ecfe2b4e045e06aaec644dcf55d8.tar.xz
kernel-qcow2-linux-a46b7b5c13b9ecfe2b4e045e06aaec644dcf55d8.zip
mwifiex: HT capability information handling
1) Initialise HT capabilities in cfg80211 properly. 2) Cfg80211 stack may modify "sband->ht_cap" to disable 40Mhz operation in 2.4GHz band (after recent patch "cfg80211: module_param to disable HT40 in 2.4GHz band") Therefore read "sband->ht_cap" instead of an adapter variable "hw_dot_11n_dev_cap" to get HT capabilities. 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/11n.h')
-rw-r--r--drivers/net/wireless/mwifiex/11n.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/11n.h b/drivers/net/wireless/mwifiex/11n.h
index 02602ff30cbf..a4390a1a2a9f 100644
--- a/drivers/net/wireless/mwifiex/11n.h
+++ b/drivers/net/wireless/mwifiex/11n.h
@@ -38,7 +38,7 @@ int mwifiex_cmd_append_11n_tlv(struct mwifiex_private *priv,
u8 **buffer);
void mwifiex_cfg_tx_buf(struct mwifiex_private *priv,
struct mwifiex_bssdescriptor *bss_desc);
-void mwifiex_fill_cap_info(struct mwifiex_private *,
+void mwifiex_fill_cap_info(struct mwifiex_private *, u8 radio_type,
struct mwifiex_ie_types_htcap *);
int mwifiex_set_get_11n_htcap_cfg(struct mwifiex_private *priv,
u16 action, int *htcap_cfg);