summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/mvm/constants.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2019-07-16 14:57:18 +0200
committerLuca Coelho <luciano.coelho@intel.com>2019-09-06 15:52:05 +0300
commit0968fbfa4141ed176b6f8fb4aa620c01751c2f09 (patch)
tree204ec8c537682b2c65fd1167d8d85e489abb8791 /drivers/net/wireless/intel/iwlwifi/mvm/constants.h
parentf005fd88e96578ee0e16843f236574188f299529 (diff)
downloadlinux-0968fbfa4141ed176b6f8fb4aa620c01751c2f09.tar.gz
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>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/constants.h')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/mvm/constants.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/constants.h b/drivers/net/wireless/intel/iwlwifi/mvm/constants.h
index 915b172da57a..60aff2ecec12 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/constants.h
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/constants.h
@@ -153,5 +153,6 @@
#define IWL_MVM_FTM_INITIATOR_DYNACK true
#define IWL_MVM_D3_DEBUG false
#define IWL_MVM_USE_TWT false
+#define IWL_MVM_AMPDU_CONSEC_DROPS_DELBA 10
#endif /* __MVM_CONSTANTS_H */