diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-shared.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-shared.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-shared.h b/drivers/net/wireless/iwlwifi/iwl-shared.h index 73ea5e7a1f9..03f4c6418a6 100644 --- a/drivers/net/wireless/iwlwifi/iwl-shared.h +++ b/drivers/net/wireless/iwlwifi/iwl-shared.h | |||
@@ -213,6 +213,7 @@ struct iwl_tid_data { | |||
213 | * @ucode_owner: IWL_OWNERSHIP_* | 213 | * @ucode_owner: IWL_OWNERSHIP_* |
214 | * @cmd_queue: command queue number | 214 | * @cmd_queue: command queue number |
215 | * @status: STATUS_* | 215 | * @status: STATUS_* |
216 | * @valid_contexts: microcode/device supports multiple contexts | ||
216 | * @bus: pointer to the bus layer data | 217 | * @bus: pointer to the bus layer data |
217 | * @priv: pointer to the upper layer data | 218 | * @priv: pointer to the upper layer data |
218 | * @hw_params: see struct iwl_hw_params | 219 | * @hw_params: see struct iwl_hw_params |
@@ -233,6 +234,7 @@ struct iwl_shared { | |||
233 | u8 cmd_queue; | 234 | u8 cmd_queue; |
234 | unsigned long status; | 235 | unsigned long status; |
235 | bool wowlan; | 236 | bool wowlan; |
237 | u8 valid_contexts; | ||
236 | 238 | ||
237 | struct iwl_bus *bus; | 239 | struct iwl_bus *bus; |
238 | struct iwl_priv *priv; | 240 | struct iwl_priv *priv; |
@@ -387,6 +389,7 @@ void iwl_stop_tx_ba_trans_ready(struct iwl_priv *priv, | |||
387 | enum iwl_rxon_context_id ctx, | 389 | enum iwl_rxon_context_id ctx, |
388 | u8 sta_id, u8 tid); | 390 | u8 sta_id, u8 tid); |
389 | void iwl_set_hw_rfkill_state(struct iwl_priv *priv, bool state); | 391 | void iwl_set_hw_rfkill_state(struct iwl_priv *priv, bool state); |
392 | void iwl_nic_config(struct iwl_priv *priv); | ||
390 | void iwl_apm_stop(struct iwl_priv *priv); | 393 | void iwl_apm_stop(struct iwl_priv *priv); |
391 | int iwl_apm_init(struct iwl_priv *priv); | 394 | int iwl_apm_init(struct iwl_priv *priv); |
392 | void iwlagn_fw_error(struct iwl_priv *priv, bool ondemand); | 395 | void iwlagn_fw_error(struct iwl_priv *priv, bool ondemand); |
@@ -408,6 +411,9 @@ static inline void iwl_print_rx_config_cmd(struct iwl_priv *priv, u8 ctxid); | |||
408 | #define IWL_CMD(x) case x: return #x | 411 | #define IWL_CMD(x) case x: return #x |
409 | #define IWL_MASK(lo, hi) ((1 << (hi)) | ((1 << (hi)) - (1 << (lo)))) | 412 | #define IWL_MASK(lo, hi) ((1 << (hi)) | ((1 << (hi)) - (1 << (lo)))) |
410 | 413 | ||
414 | #define IWL_TRAFFIC_ENTRIES (256) | ||
415 | #define IWL_TRAFFIC_ENTRY_SIZE (64) | ||
416 | |||
411 | /***************************************************** | 417 | /***************************************************** |
412 | * DRIVER STATUS FUNCTIONS | 418 | * DRIVER STATUS FUNCTIONS |
413 | ******************************************************/ | 419 | ******************************************************/ |