OSDN Git Service

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)
commit306713fd1a04801ab3c9b5c0f76b615f1db46e6d
tree719f6501ac075c00025590e6ad7735f479d43556
parent137ce797e24855b738ef98411acbf88c6d918f27
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