iwlwifi: mvm: rs: reduce min failures to end test window
authorEyal Shapira <eyal@wizery.com>
Wed, 20 Nov 2013 00:08:12 +0000 (02:08 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 9 Dec 2013 20:29:46 +0000 (22:29 +0200)
This terminates a test window of a new rate quicker in case
we've hit a bad rate and should recover better.

Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/rs.c

index 065520968d2903fbf3734ff46b4cd1dacc04b0da..ecf24cb6ebf60ade56cb68fba42ff3e59143c9dc 100644 (file)
@@ -47,7 +47,7 @@
 #define IWL_HT_NUMBER_TRY   3
 
 #define IWL_RATE_MAX_WINDOW            62      /* # tx in history window */
-#define IWL_RATE_MIN_FAILURE_TH                6       /* min failures to calc tpt */
+#define IWL_RATE_MIN_FAILURE_TH                3       /* min failures to calc tpt */
 #define IWL_RATE_MIN_SUCCESS_TH                8       /* min successes to calc tpt */
 
 /* max allowed rate miss before sync LQ cmd */