iwlwifi: testmode new indirect RW API
authorAmit Beka <amit.beka@intel.com>
Wed, 25 Jan 2012 11:30:27 +0000 (13:30 +0200)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 17 Feb 2012 17:49:05 +0000 (09:49 -0800)
commit6c55f5ed3a23ba60a0e7809a39ad7361ae00a764
treef34221dcc263d2c56331e6888d3ab5aa8b25fd78
parent2f73d7c2b1f92e34aceee21740ec5fb9b8262ecb
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>
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl-testmode.c
drivers/net/wireless/iwlwifi/iwl-testmode.h