• Amit Beka's avatar
    iwlwifi: testmode new indirect RW API · 6c55f5ed
    Amit Beka authored
    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: default avatarAmit Beka <amit.beka@intel.com>
    Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
    6c55f5ed
iwl-testmode.c 31.2 KB