]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: add tm commands for sram reading by dumpit
authorHsu, Kenny <kenny.hsu@intel.com>
Wed, 23 Nov 2011 07:03:39 +0000 (23:03 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 2 Dec 2011 16:20:48 +0000 (08:20 -0800)
commitc2265532294fecc8d24b9bd1aa355bb8abf55be1
tree719f6501ac075c00025590e6ad7735f479d43556
parenta2fca40bc180f8632944b0f379f951eaa1d206d1
iwlwifi: add tm commands for sram reading by dumpit

Create new testmode commands and attributes to suppot
sram data reading. Because the amount of sram data
may exceed single skb packet size. Using the nl80211
dump it funtion to deliver sram data to userspace.

- IWL_TM_CMD_APP2DEV_READ_SRAM
- IWL_TM_CMD_APP2DEV_DUMP_SRAM
- IWL_TM_ATTR_SRAM_ADDR
- IWL_TM_ATTR_SRAM_SIZE
- IWL_TM_ATTR_SRAM_DUMP

Signed-off-by: Kenny Hsu <kenny.hsu@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl-sv-open.c
drivers/net/wireless/iwlwifi/iwl-testmode.h