diff options
author | Daniel C Halperin <daniel.c.halperin@intel.com> | 2009-08-13 16:30:59 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-20 11:33:12 -0400 |
commit | b261793da587160d12ce6d63db60493342ddce20 (patch) | |
tree | d6c8d01469cfadc1afffb8306ca5d8f73455ffe8 /drivers/net/wireless/iwlwifi/iwl-4965.c | |
parent | 28e6f48953f44f7eb615383efe6e7f17624a11bb (diff) |
iwlwifi: use station HT capabilities and BSS operating mode for Green-field
Green-field mode should be configured in the HT station table. This patch uses
both the per-station GF support flag as well as the current BSS HT operation
mode (non-GF stations present flag).
Added the "ht_greenfield_support" field to struct iwl_cfg to replace the
device-specific check in rs_use_green(). That check has been moved to
iwlcore_init_ht_hw_capab().
Signed-off-by: Daniel C Halperin <daniel.c.halperin@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-4965.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index e427a8937ed..6a13bfbc9d9 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -2344,7 +2344,8 @@ struct iwl_cfg iwl4965_agn_cfg = { | |||
2344 | .eeprom_calib_ver = EEPROM_4965_TX_POWER_VERSION, | 2344 | .eeprom_calib_ver = EEPROM_4965_TX_POWER_VERSION, |
2345 | .ops = &iwl4965_ops, | 2345 | .ops = &iwl4965_ops, |
2346 | .mod_params = &iwl4965_mod_params, | 2346 | .mod_params = &iwl4965_mod_params, |
2347 | .use_isr_legacy = true | 2347 | .use_isr_legacy = true, |
2348 | .ht_greenfield_support = false, | ||
2348 | }; | 2349 | }; |
2349 | 2350 | ||
2350 | /* Module firmware */ | 2351 | /* Module firmware */ |