From: Eyal Shapira Date: Wed, 20 Nov 2013 00:08:12 +0000 (+0200) Subject: iwlwifi: mvm: rs: reduce min failures to end test window X-Git-Tag: v3.14-rc1~94^2~3^2^2~5^2~95 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d17334c4405951e326d6c393a357d3cb937a090e;p=profile%2Fcommon%2Fkernel-common.git iwlwifi: mvm: rs: reduce min failures to end test window 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 Signed-off-by: Emmanuel Grumbach --- diff --git a/drivers/net/wireless/iwlwifi/mvm/rs.c b/drivers/net/wireless/iwlwifi/mvm/rs.c index 0655209..ecf24cb 100644 --- a/drivers/net/wireless/iwlwifi/mvm/rs.c +++ b/drivers/net/wireless/iwlwifi/mvm/rs.c @@ -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 */