summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/constants.h
diff options
context:
space:
mode:
authorGregory Greenman <gregory.greenman@intel.com>2017-08-15 12:27:01 +0300
committerLuca Coelho <luciano.coelho@intel.com>2017-08-18 17:24:04 +0300
commit482e48440a0e0a6260d026b92de99034ac4d7b52 (patch)
tree9b3282bd47101656457cfebf70130d55bc5a4f3e /drivers/net/wireless/intel/iwlwifi/mvm/constants.h
parentb823cf3bae8111341212e698b94ab7293e7fb9f9 (diff)
downloadlinux-stable-482e48440a0e0a6260d026b92de99034ac4d7b52.tar.gz
linux-stable-482e48440a0e0a6260d026b92de99034ac4d7b52.tar.bz2
linux-stable-482e48440a0e0a6260d026b92de99034ac4d7b52.zip
iwlwifi: mvm: change open and close criteria of a BA session
Tx BA session should be started according to the current throughput without any dependence on the internal rate scaling state. The criteria for opening a BA session will be 10 frames per second. Sending frequent del BAs can cause inter-op issues with some APs. We'll not close a BA session until we receive an explicit del BA from the peer. Signed-off-by: Gregory Greenman <gregory.greenman@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 753d4138e30f..976640fed334 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/constants.h
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/constants.h
@@ -136,6 +136,7 @@
#define IWL_MVM_RS_SR_NO_DECREASE 85 /* percent */
#define IWL_MVM_RS_AGG_TIME_LIMIT 4000 /* 4 msecs. valid 100-8000 */
#define IWL_MVM_RS_AGG_DISABLE_START 3
+#define IWL_MVM_RS_AGG_START_THRESHOLD 10 /* num frames per second */
#define IWL_MVM_RS_TPC_SR_FORCE_INCREASE 75 /* percent */
#define IWL_MVM_RS_TPC_SR_NO_INCREASE 85 /* percent */
#define IWL_MVM_RS_TPC_TX_POWER_STEP 3