diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-shared.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-shared.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-shared.h b/drivers/net/wireless/iwlwifi/iwl-shared.h index c6049cfb653d..c6de93096582 100644 --- a/drivers/net/wireless/iwlwifi/iwl-shared.h +++ b/drivers/net/wireless/iwlwifi/iwl-shared.h | |||
@@ -155,37 +155,6 @@ struct iwl_mod_params { | |||
155 | bool auto_agg; | 155 | bool auto_agg; |
156 | }; | 156 | }; |
157 | 157 | ||
158 | /** | ||
159 | * struct iwl_hw_params | ||
160 | * | ||
161 | * Holds the module parameters | ||
162 | * | ||
163 | * @tx_chains_num: Number of TX chains | ||
164 | * @rx_chains_num: Number of RX chains | ||
165 | * @valid_tx_ant: usable antennas for TX | ||
166 | * @valid_rx_ant: usable antennas for RX | ||
167 | * @ht40_channel: is 40MHz width possible: BIT(IEEE80211_BAND_XXX) | ||
168 | * @sku: sku read from EEPROM | ||
169 | * @ct_kill_threshold: temperature threshold - in hw dependent unit | ||
170 | * @ct_kill_exit_threshold: when to reeable the device - in hw dependent unit | ||
171 | * relevant for 1000, 6000 and up | ||
172 | * @struct iwl_sensitivity_ranges: range of sensitivity values | ||
173 | * @use_rts_for_aggregation: use rts/cts protection for HT traffic | ||
174 | */ | ||
175 | struct iwl_hw_params { | ||
176 | u8 tx_chains_num; | ||
177 | u8 rx_chains_num; | ||
178 | u8 valid_tx_ant; | ||
179 | u8 valid_rx_ant; | ||
180 | u8 ht40_channel; | ||
181 | bool use_rts_for_aggregation; | ||
182 | u16 sku; | ||
183 | u32 ct_kill_threshold; | ||
184 | u32 ct_kill_exit_threshold; | ||
185 | |||
186 | const struct iwl_sensitivity_ranges *sens; | ||
187 | }; | ||
188 | |||
189 | /* | 158 | /* |
190 | * LED mode | 159 | * LED mode |
191 | * IWL_LED_DEFAULT: use device default | 160 | * IWL_LED_DEFAULT: use device default |
@@ -337,7 +306,6 @@ struct iwl_cfg { | |||
337 | * @priv: pointer to the upper layer data | 306 | * @priv: pointer to the upper layer data |
338 | * @trans: pointer to the transport layer data | 307 | * @trans: pointer to the transport layer data |
339 | * @nic: pointer to the nic data | 308 | * @nic: pointer to the nic data |
340 | * @hw_params: see struct iwl_hw_params | ||
341 | * @lock: protect general shared data | 309 | * @lock: protect general shared data |
342 | * @eeprom: pointer to the eeprom/OTP image | 310 | * @eeprom: pointer to the eeprom/OTP image |
343 | */ | 311 | */ |
@@ -347,7 +315,6 @@ struct iwl_shared { | |||
347 | const struct iwl_cfg *cfg; | 315 | const struct iwl_cfg *cfg; |
348 | struct iwl_trans *trans; | 316 | struct iwl_trans *trans; |
349 | void *drv; | 317 | void *drv; |
350 | struct iwl_hw_params hw_params; | ||
351 | 318 | ||
352 | /* eeprom -- this is in the card's little endian byte order */ | 319 | /* eeprom -- this is in the card's little endian byte order */ |
353 | u8 *eeprom; | 320 | u8 *eeprom; |
@@ -357,7 +324,6 @@ struct iwl_shared { | |||
357 | /*Whatever _m is (iwl_trans, iwl_priv, these macros will work */ | 324 | /*Whatever _m is (iwl_trans, iwl_priv, these macros will work */ |
358 | #define cfg(_m) ((_m)->shrd->cfg) | 325 | #define cfg(_m) ((_m)->shrd->cfg) |
359 | #define trans(_m) ((_m)->shrd->trans) | 326 | #define trans(_m) ((_m)->shrd->trans) |
360 | #define hw_params(_m) ((_m)->shrd->hw_params) | ||
361 | 327 | ||
362 | static inline bool iwl_have_debug_level(u32 level) | 328 | static inline bool iwl_have_debug_level(u32 level) |
363 | { | 329 | { |