summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-modparams.h
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2012-04-19 09:51:24 -0700
committerJohn W. Linville <linville@tuxdriver.com>2012-05-08 20:56:09 -0400
commitf6b1154678ec73f7dd9a9fab16b402966305d452 (patch)
treedfdba09bfc5f5adb7e75731a770061789ea01049 /drivers/net/wireless/iwlwifi/iwl-modparams.h
parentc15797e6af9a26686a93d79e5bb6ce8280379e92 (diff)
iwlwifi: add option to disable 5GHz band
There are various problems happened on 5GHz band not observed on 2.4 GHz (microcode errors, queue stuck, etc... ) . Also roaming between 5GHz AP and 2GHz does not work very well. To workaround the problems add option to disable 5GHz support. This will help on environments where APs are dual-band, and devices will not try to associate on band where issues happen. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-modparams.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-modparams.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-modparams.h b/drivers/net/wireless/iwlwifi/iwl-modparams.h
index 558b2e63c5c..ca15d9af2ed 100644
--- a/drivers/net/wireless/iwlwifi/iwl-modparams.h
+++ b/drivers/net/wireless/iwlwifi/iwl-modparams.h
@@ -103,6 +103,7 @@ enum iwl_power_level {
* @ant_coupling: antenna coupling in dB, default = 0
* @bt_ch_announce: BT channel inhibition, default = enable
* @auto_agg: enable agg. without check, default = true
+ * @disable_5ghz: disable 5GHz capability, default = false
*/
struct iwl_mod_params {
int sw_crypto;
@@ -119,6 +120,7 @@ struct iwl_mod_params {
int ant_coupling;
bool bt_ch_announce;
bool auto_agg;
+ bool disable_5ghz;
};
#endif /* #__iwl_shared_h__ */