iwlwifi: mvm: support dqa queue inactivation upon timeout
authorLiad Kaufman <liad.kaufman@intel.com>
Wed, 19 Aug 2015 14:34:28 +0000 (17:34 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 5 Jul 2016 21:14:27 +0000 (00:14 +0300)
commit9794c64f302d6d544acbb5ab69a327d694a70fcb
tree8b3da996e69d2c3257872255f4165320a961f8b8
parentca221c9b946cd4a9ea67375c8d90379a0e65179d
iwlwifi: mvm: support dqa queue inactivation upon timeout

Support marking queues as inactive upon a timeout expiring,
and allow inactive queues to be re-assigned to other RA/TIDs
if no other queue is free.

This is done by keeping a timestamp of the latest frame TXed
for every RA/TID, and then going over the queues currently in
use when a new queue is needed, inactivating all those that
are inactive.

Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/sta.c
drivers/net/wireless/intel/iwlwifi/mvm/sta.h
drivers/net/wireless/intel/iwlwifi/mvm/tx.c
drivers/net/wireless/intel/iwlwifi/mvm/utils.c