]> asedeno.scripts.mit.edu Git - linux.git/commit
iwlwifi: mvm: support aggregations on A000 HW
authorLiad Kaufman <liad.kaufman@intel.com>
Wed, 5 Apr 2017 13:25:11 +0000 (16:25 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 22 Jun 2017 21:13:02 +0000 (00:13 +0300)
commitdd32162da4e5b3c9c81adf9a1f6e3a839a35d5f0
tree7cc32c002ef8eca08e36d6da2082956866d825a8
parent87afe9b0f4af44443f88a29458fcebe56385d771
iwlwifi: mvm: support aggregations on A000 HW

On A000 HW, the SCD rdptr has only 8 bits allocated
for it, thus when checking if a queue is full, or
when checking if the SSN is equal to the TID's
next_reclaimed, A000 HW should trim the SSN.

Fix this by "normalizing" the SSN to wrap around
0xFF when comparing to the next_reclaimed on A000
HW.

Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/ops.c
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