aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-shared.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-shared.h6
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);
389void iwl_set_hw_rfkill_state(struct iwl_priv *priv, bool state); 391void iwl_set_hw_rfkill_state(struct iwl_priv *priv, bool state);
392void iwl_nic_config(struct iwl_priv *priv);
390void iwl_apm_stop(struct iwl_priv *priv); 393void iwl_apm_stop(struct iwl_priv *priv);
391int iwl_apm_init(struct iwl_priv *priv); 394int iwl_apm_init(struct iwl_priv *priv);
392void iwlagn_fw_error(struct iwl_priv *priv, bool ondemand); 395void 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******************************************************/