aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 3e3b8b8939d6..12fb2f4ca0b1 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -1179,6 +1179,14 @@ enum iwl_scan_type {
1179 IWL_SCAN_OFFCH_TX, 1179 IWL_SCAN_OFFCH_TX,
1180}; 1180};
1181 1181
1182#ifdef CONFIG_IWLWIFI_DEVICE_SVTOOL
1183struct iwl_testmode_trace {
1184 u8 *cpu_addr;
1185 u8 *trace_addr;
1186 dma_addr_t dma_addr;
1187 bool trace_enabled;
1188};
1189#endif
1182struct iwl_priv { 1190struct iwl_priv {
1183 1191
1184 /* ieee device used by generic ieee processing code */ 1192 /* ieee device used by generic ieee processing code */
@@ -1510,6 +1518,9 @@ struct iwl_priv {
1510 struct led_classdev led; 1518 struct led_classdev led;
1511 unsigned long blink_on, blink_off; 1519 unsigned long blink_on, blink_off;
1512 bool led_registered; 1520 bool led_registered;
1521#ifdef CONFIG_IWLWIFI_DEVICE_SVTOOL
1522 struct iwl_testmode_trace testmode_trace;
1523#endif
1513}; /*iwl_priv */ 1524}; /*iwl_priv */
1514 1525
1515static inline void iwl_txq_ctx_activate(struct iwl_priv *priv, int txq_id) 1526static inline void iwl_txq_ctx_activate(struct iwl_priv *priv, int txq_id)