OSDN Git Service

iwlwifi: debugFs to enable/disable HT40 support master-2009-07-29
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 27 Jul 2009 20:50:15 +0000 (13:50 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 29 Jul 2009 19:46:23 +0000 (15:46 -0400)
commit1e4247d457c6a42e4a05cb7dfa4e6ea1fa65c112
tree87e9a6298904525faf4200e9dfa47d3d24d8efbe
parent35a1e70dfe74aafa350325f79687153b9852c3f1
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>
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-debug.h
drivers/net/wireless/iwlwifi/iwl-debugfs.c
drivers/net/wireless/iwlwifi/iwl-dev.h