]> git.baikalelectronics.ru Git - kernel.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)
commit8a3f15abd95746a898f5075f13186de002e7208b
tree204ec8c537682b2c65fd1167d8d85e489abb8791
parentee9d26ca8dde32129ab7d419d0cc24d4adf4f222
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