diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2009-07-27 16:50:15 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-29 15:46:23 -0400 |
commit | 1e4247d457c6a42e4a05cb7dfa4e6ea1fa65c112 (patch) | |
tree | 87e9a6298904525faf4200e9dfa47d3d24d8efbe /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | 35a1e70dfe74aafa350325f79687153b9852c3f1 (diff) |
iwlwifi: debugFs to enable/disable HT40 support
Add debugfs file to enable/disable HT40(40MHz) channel support.
By default, 40MHz is supported if AP can support the function.
By echo "1" to "disable_ht40" file, iwlwifi driver will disable the
40MHz support and only allow 20MHz channel.
Because the information exchange happen during association time,
so enable/disable ht40 channel only can be performed when it is not
associated with AP.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index facbc3daf551..0ee3ad245697 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -1164,6 +1164,7 @@ struct iwl_priv { | |||
1164 | /* debugging info */ | 1164 | /* debugging info */ |
1165 | u32 framecnt_to_us; | 1165 | u32 framecnt_to_us; |
1166 | atomic_t restrict_refcnt; | 1166 | atomic_t restrict_refcnt; |
1167 | bool disable_ht40; | ||
1167 | #ifdef CONFIG_IWLWIFI_DEBUGFS | 1168 | #ifdef CONFIG_IWLWIFI_DEBUGFS |
1168 | /* debugfs */ | 1169 | /* debugfs */ |
1169 | struct iwl_debugfs *dbgfs; | 1170 | struct iwl_debugfs *dbgfs; |