diff options
author | Ron Rindjunsky <ron.rindjunsky@intel.com> | 2008-06-30 05:23:21 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-06-30 17:37:43 -0400 |
commit | 4977929304306b1b0712f9b99e3cbf95f75c31ea (patch) | |
tree | b0ab378f5108da3f85dcd5b3f2fbd55ad06ce341 /drivers/net/wireless/iwlwifi/iwl-4965.c | |
parent | da154e306eb04426a3693c947588d82c3da05337 (diff) |
iwlwifi: control 11n capabilities through module param
This patch adds module param 11n_disable to allow configuration of 11n
capabilities. The default value of this param is 11n enabled (value 0).
Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index 7f6713f32c98..e4eab5196b7f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -2075,6 +2075,9 @@ int iwl4965_mac_ampdu_action(struct ieee80211_hw *hw, | |||
2075 | IWL_DEBUG_HT("A-MPDU action on addr %s tid %d\n", | 2075 | IWL_DEBUG_HT("A-MPDU action on addr %s tid %d\n", |
2076 | print_mac(mac, addr), tid); | 2076 | print_mac(mac, addr), tid); |
2077 | 2077 | ||
2078 | if (!(priv->cfg->sku & IWL_SKU_N)) | ||
2079 | return -EACCES; | ||
2080 | |||
2078 | switch (action) { | 2081 | switch (action) { |
2079 | case IEEE80211_AMPDU_RX_START: | 2082 | case IEEE80211_AMPDU_RX_START: |
2080 | IWL_DEBUG_HT("start Rx\n"); | 2083 | IWL_DEBUG_HT("start Rx\n"); |
@@ -2457,11 +2460,14 @@ MODULE_PARM_DESC(disable_hw_scan, "disable hardware scanning (default 0)"); | |||
2457 | 2460 | ||
2458 | module_param_named(queues_num, iwl4965_mod_params.num_of_queues, int, 0444); | 2461 | module_param_named(queues_num, iwl4965_mod_params.num_of_queues, int, 0444); |
2459 | MODULE_PARM_DESC(queues_num, "number of hw queues."); | 2462 | MODULE_PARM_DESC(queues_num, "number of hw queues."); |
2460 | |||
2461 | /* QoS */ | 2463 | /* QoS */ |
2462 | module_param_named(qos_enable, iwl4965_mod_params.enable_qos, int, 0444); | 2464 | module_param_named(qos_enable, iwl4965_mod_params.enable_qos, int, 0444); |
2463 | MODULE_PARM_DESC(qos_enable, "enable all QoS functionality"); | 2465 | MODULE_PARM_DESC(qos_enable, "enable all QoS functionality"); |
2466 | /* 11n */ | ||
2467 | module_param_named(11n_disable, iwl4965_mod_params.disable_11n, int, 0444); | ||
2468 | MODULE_PARM_DESC(11n_disable, "disable 11n functionality"); | ||
2464 | module_param_named(amsdu_size_8K, iwl4965_mod_params.amsdu_size_8K, int, 0444); | 2469 | module_param_named(amsdu_size_8K, iwl4965_mod_params.amsdu_size_8K, int, 0444); |
2465 | MODULE_PARM_DESC(amsdu_size_8K, "enable 8K amsdu size"); | 2470 | MODULE_PARM_DESC(amsdu_size_8K, "enable 8K amsdu size"); |
2471 | |||
2466 | module_param_named(fw_restart4965, iwl4965_mod_params.restart_fw, int, 0444); | 2472 | module_param_named(fw_restart4965, iwl4965_mod_params.restart_fw, int, 0444); |
2467 | MODULE_PARM_DESC(fw_restart4965, "restart firmware in case of error"); | 2473 | MODULE_PARM_DESC(fw_restart4965, "restart firmware in case of error"); |