iwlwifi: pcie: add context information support
authorSara Sharon <sara.sharon@intel.com>
Wed, 28 Sep 2016 14:16:53 +0000 (17:16 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 11 Apr 2017 12:19:34 +0000 (15:19 +0300)
commiteda50cde58de7368f982e3906090fc033ecb9360
tree78c835cdb3eee60ecd72f2e8057534ee451b1643
parent623e7766be907d9c20af334e25f98005c75b5d32
iwlwifi: pcie: add context information support

Context information structure is going to be used in a000
devices for firmware self init.

The self init includes firmware self loading from DRAM by
ROM.
This means the TFH relevant firmware loading can be cleaned up.

The firmware loading includes the paging memory as well, so op
mode can stop initializing the paging and sending the DRAM_BLOCK_CMD.

Firmware is doing RFH, TFH and SCD configuration, while driver
only fills the required configurations and addresses in the
context information structure.

The only remaining access to RFH is the write pointer, which
is updated upon alive interrupt after FW configured the RFH.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/Makefile
drivers/net/wireless/intel/iwlwifi/iwl-context-info.h [new file with mode: 0644]
drivers/net/wireless/intel/iwlwifi/iwl-fh.h
drivers/net/wireless/intel/iwlwifi/iwl-prph.h
drivers/net/wireless/intel/iwlwifi/pcie/ctxt-info.c [new file with mode: 0644]
drivers/net/wireless/intel/iwlwifi/pcie/internal.h
drivers/net/wireless/intel/iwlwifi/pcie/rx.c
drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.c [new file with mode: 0644]
drivers/net/wireless/intel/iwlwifi/pcie/trans.c
drivers/net/wireless/intel/iwlwifi/pcie/tx.c