summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/iwl-testmode.h
diff options
context:
space:
mode:
authorKenny Hsu <kenny.hsu@intel.com>2012-01-07 01:16:30 +0400
committerJohn W. Linville <linville@tuxdriver.com>2012-01-24 23:08:35 +0400
commitb07f08a56524cdc49001b1467743acc3c5b78962 (patch)
treea936a196327ac609d02aba206583b00940059feb /drivers/net/wireless/iwlwifi/iwl-testmode.h
parent102f097f1937db41f59674caca0a1e38c963baba (diff)
downloadlinux-b07f08a56524cdc49001b1467743acc3c5b78962.tar.xz
iwlwifi: enhance testmode command sram_read
This patch enables SRAM read function to support entire target memory. Signed-off-by: Kenny Hsu <kenny.hsu@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-testmode.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-testmode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-testmode.h b/drivers/net/wireless/iwlwifi/iwl-testmode.h
index 26138f110340..9c6a67ab5c34 100644
--- a/drivers/net/wireless/iwlwifi/iwl-testmode.h
+++ b/drivers/net/wireless/iwlwifi/iwl-testmode.h
@@ -271,4 +271,7 @@ enum iwl_tm_attr_t {
/* Maximum data size of each dump it packet */
#define DUMP_CHUNK_SIZE (PAGE_SIZE - 1024)
+/* Address offset of data segment in SRAM */
+#define SRAM_DATA_SEG_OFFSET 0x800000
+
#endif