iwlwifi: pcie: support short Tx queues for A000 device family
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 16 Jul 2017 09:28:05 +0000 (12:28 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 18 Aug 2017 13:04:44 +0000 (16:04 +0300)
commit4ecab5616023e742b70493cf0e90fc97e828d353
tree2d9e058302cb10f74d0b1e9ec2304dd34e82b63c
parentfbfe378fe4e86fd3ff5ca491448da78c26a940ea
iwlwifi: pcie: support short Tx queues for A000 device family

This allows to modify TFD_TX_CMD_SLOTS to a power of 2
which is smaller than 256.
Note that we still need to set values to wrap at 256
into the scheduler's write pointer, but all the rest of
the code can use shorter transmit queues.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/ctxt-info.c
drivers/net/wireless/intel/iwlwifi/pcie/internal.h
drivers/net/wireless/intel/iwlwifi/pcie/rx.c
drivers/net/wireless/intel/iwlwifi/pcie/trans.c
drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c
drivers/net/wireless/intel/iwlwifi/pcie/tx.c