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 --- .../mac80211/patches/561-minstrel_ht_sampling_interval.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/mac80211/patches/561-minstrel_ht_sampling_interval.patch (limited to 'package/mac80211/patches/561-minstrel_ht_sampling_interval.patch') diff --git a/package/mac80211/patches/561-minstrel_ht_sampling_interval.patch b/package/mac80211/patches/561-minstrel_ht_sampling_interval.patch new file mode 100644 index 0000000..f9465e8 --- /dev/null +++ b/package/mac80211/patches/561-minstrel_ht_sampling_interval.patch @@ -0,0 +1,11 @@ +--- a/net/mac80211/rc80211_minstrel_ht.c ++++ b/net/mac80211/rc80211_minstrel_ht.c +@@ -408,7 +408,7 @@ minstrel_ht_tx_status(void *priv, struct + mi->ampdu_len += info->status.ampdu_len; + + if (!mi->sample_wait && !mi->sample_tries && mi->sample_count > 0) { +- mi->sample_wait = 4 + 2 * MINSTREL_TRUNC(mi->avg_ampdu_len); ++ mi->sample_wait = 8 + MINSTREL_TRUNC(mi->avg_ampdu_len); + mi->sample_tries = 3; + mi->sample_count--; + } -- cgit v1.1