aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorAmit Beka <amit.beka@intel.com>2012-01-25 06:30:27 -0500
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2012-02-17 12:49:05 -0500
commit6c55f5ed3a23ba60a0e7809a39ad7361ae00a764 (patch)
treef34221dcc263d2c56331e6888d3ab5aa8b25fd78 /drivers/net/wireless/iwlwifi/iwl-dev.h
parent2f73d7c2b1f92e34aceee21740ec5fb9b8262ecb (diff)
iwlwifi: testmode new indirect RW API
Replaced the old SRAM and periphery indirect access functions with a unified indirect memory access functions. These include new IWL_TM_CMDs for buffer read/write/dump which replace the SRAM read/dump commands, but the API for IWL_TM_CMD_INDIRECT_REG read/write will now not be supported (returns error). This also handles writing to periphery registers in 1-3 bytes. Requires the corresponding patch in the library for the API change. Signed-off-by: Amit Beka <amit.beka@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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index aa99457c3a5..0e8f13705db 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -696,11 +696,11 @@ struct iwl_testmode_trace {
696 dma_addr_t dma_addr; 696 dma_addr_t dma_addr;
697 bool trace_enabled; 697 bool trace_enabled;
698}; 698};
699struct iwl_testmode_sram { 699struct iwl_testmode_mem {
700 u32 buff_size; 700 u32 buff_size;
701 u32 num_chunks; 701 u32 num_chunks;
702 u8 *buff_addr; 702 u8 *buff_addr;
703 bool sram_readed; 703 bool read_in_progress;
704}; 704};
705#endif 705#endif
706 706
@@ -964,7 +964,7 @@ struct iwl_priv {
964 bool led_registered; 964 bool led_registered;
965#ifdef CONFIG_IWLWIFI_DEVICE_TESTMODE 965#ifdef CONFIG_IWLWIFI_DEVICE_TESTMODE
966 struct iwl_testmode_trace testmode_trace; 966 struct iwl_testmode_trace testmode_trace;
967 struct iwl_testmode_sram testmode_sram; 967 struct iwl_testmode_mem testmode_mem;
968 u32 tm_fixed_rate; 968 u32 tm_fixed_rate;
969#endif 969#endif
970 970