From 1178bae74dea2a15c2d985e515f7cb1c4a0182ce Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 20 Oct 2010 21:38:31 +0000 Subject: mac80211: decrease the minstrel_ht sampling interval for faster rate adaption SVN-Revision: 23555 --- package/mac80211/patches/560-minstrel_ht_performance.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package/mac80211/patches/560-minstrel_ht_performance.patch') diff --git a/package/mac80211/patches/560-minstrel_ht_performance.patch b/package/mac80211/patches/560-minstrel_ht_performance.patch index 43ff78b3..a3e7f42 100644 --- a/package/mac80211/patches/560-minstrel_ht_performance.patch +++ b/package/mac80211/patches/560-minstrel_ht_performance.patch @@ -18,13 +18,14 @@ cur_prob = 0; cur_prob_tp = 0; -@@ -572,6 +573,10 @@ minstrel_get_sample_rate(struct minstrel +@@ -572,6 +573,11 @@ minstrel_get_sample_rate(struct minstrel return sample_idx; next: + if (mi->sample_retry > 0) { + mi->sample_retry--; + mi->sample_tries++; ++ mi->sample_wait = 1; + } minstrel_next_sample_idx(mi); return -1; -- cgit v1.1