OSDN Git Service

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)
commit6b35ff91572f7fc42ec0026f512a8d274071163b
treec2fa0d689d686a27bc127196a0f020a3a72c397b
parentc47de665751027781fe07fba1959911ab194add4
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