summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-core.h
diff options
context:
space:
mode:
authorDaniel C Halperin2009-08-13 22:30:59 +0200
committerJohn W. Linville2009-08-20 17:33:12 +0200
commitb261793da587160d12ce6d63db60493342ddce20 (patch)
treed6c8d01469cfadc1afffb8306ca5d8f73455ffe8 /drivers/net/wireless/iwlwifi/iwl-core.h
parentiwlwifi: check short GI support per-station rather than globally (diff)
downloadkernel-qcow2-linux-b261793da587160d12ce6d63db60493342ddce20.tar.gz
kernel-qcow2-linux-b261793da587160d12ce6d63db60493342ddce20.tar.xz
kernel-qcow2-linux-b261793da587160d12ce6d63db60493342ddce20.zip
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-core.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.h b/drivers/net/wireless/iwlwifi/iwl-core.h
index 509683487e0e..4ca025a34daf 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.h
+++ b/drivers/net/wireless/iwlwifi/iwl-core.h
@@ -251,6 +251,7 @@ struct iwl_cfg {
enum iwl_pa_type pa_type;
const u16 max_ll_items;
const bool shadow_ram_support;
+ const bool ht_greenfield_support;
};
/***************************