aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-08-23 04:46:46 -0400
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2010-08-27 12:27:19 -0400
commit7e6a588601eb85feb10c7e8898f1f69c3b229a20 (patch)
tree09022d681e613f567ff86d836ad85369b7927ccd /drivers/net/wireless/iwlwifi/iwl-dev.h
parent238d781d33dcd7941e7ab799c59156e5f7ebda9d (diff)
iwlwifi: move HT configuration data into context
A lot of HT configuration semantically belongs into the context, even if right now it will never be different between contexts. Move it so we're better prepared for future changes in mac80211. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 93647688d720..c17c67f767e6 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -470,15 +470,8 @@ union iwl_ht_rate_supp {
470#define CFG_HT_MPDU_DENSITY_MIN (0x1) 470#define CFG_HT_MPDU_DENSITY_MIN (0x1)
471 471
472struct iwl_ht_config { 472struct iwl_ht_config {
473 /* self configuration data */
474 bool is_ht;
475 bool is_40mhz;
476 bool single_chain_sufficient; 473 bool single_chain_sufficient;
477 enum ieee80211_smps_mode smps; /* current smps mode */ 474 enum ieee80211_smps_mode smps; /* current smps mode */
478 /* BSS related data */
479 u8 extension_chan_offset;
480 u8 ht_protection;
481 u8 non_GF_STA_present;
482}; 475};
483 476
484/* QoS structures */ 477/* QoS structures */
@@ -1140,6 +1133,13 @@ struct iwl_rxon_context {
1140 u8 key_mapping_keys; 1133 u8 key_mapping_keys;
1141 1134
1142 __le32 station_flags; 1135 __le32 station_flags;
1136
1137 struct {
1138 bool non_gf_sta_present;
1139 u8 protection;
1140 bool enabled, is_40mhz;
1141 u8 extension_chan_offset;
1142 } ht;
1143}; 1143};
1144 1144
1145struct iwl_priv { 1145struct iwl_priv {