]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: introduce a000 TX queues management
authorSara Sharon <sara.sharon@intel.com>
Thu, 29 Sep 2016 11:36:19 +0000 (14:36 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 19 Apr 2017 19:20:52 +0000 (22:20 +0300)
commite4adfd3d6877bb845529e158375b9e0c06ed7ce6
treec2fa0d689d686a27bc127196a0f020a3a72c397b
parent98fe4b55a3019c996766ef3f7a9f9018b6e8b0e7
iwlwifi: pcie: introduce a000 TX queues management

In a000 devices the TX handling is different in a few ways:
* Queues are allocated dynamically
* DQA is enabled by default
* Driver shouldn't access TFH registers - ucode configures it
  all in SCD_QUEUE_CFG command

Support all this in a new API with op mode, where op mode sends
the command, transport will allocate the queue dynamically, fill
in DMA properties, send the command to FW and get the ID back.
Current implementation only sets the new transport API and fills
the DMA properties.
Future patches will complete the other parts.

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-trans.h
drivers/net/wireless/intel/iwlwifi/pcie/internal.h
drivers/net/wireless/intel/iwlwifi/pcie/trans.c
drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c [new file with mode: 0644]
drivers/net/wireless/intel/iwlwifi/pcie/tx.c