]> asedeno.scripts.mit.edu Git - linux.git/commit
iwlwifi: mvm: drop BA sessions on too many old-SN frames
authorJohannes Berg <johannes.berg@intel.com>
Tue, 16 Jul 2019 12:57:18 +0000 (14:57 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:52:05 +0000 (15:52 +0300)
commit0968fbfa4141ed176b6f8fb4aa620c01751c2f09
tree204ec8c537682b2c65fd1167d8d85e489abb8791
parentf005fd88e96578ee0e16843f236574188f299529
iwlwifi: mvm: drop BA sessions on too many old-SN frames

Certain APs (I think a certain Broadcom model) interact badly with our
full state BA bitmap handling, and if triggered badly with many powersave
transitions they keep sending frames from before the window, which our
hardware then doesn't appear to ACK (to them) since it has moved on and
is sending ACKs for higher SNs now.

Try to detect this situation and if this keeps happening, disable the
aggregation session.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/constants.h
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c