aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-04-17 23:58:31 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-04-17 23:58:31 +0000
commit2540a4407b8b1a706e6217fb0dd2844299ac2a3a (patch)
treef462d46dcdd85c7a7a034471c4ad30844ac1b8d3 /package
parent1bd4e4110c2a7177ac676a3b3fd73872e4fd5168 (diff)
downloadmaster-187ad058-2540a4407b8b1a706e6217fb0dd2844299ac2a3a.tar.gz
master-187ad058-2540a4407b8b1a706e6217fb0dd2844299ac2a3a.tar.bz2
master-187ad058-2540a4407b8b1a706e6217fb0dd2844299ac2a3a.zip
mac80211: minstrel_ht - increase space between sampling attempts to allow for better aggregation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20970 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/patches/530-minstrel_ht.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/patches/530-minstrel_ht.patch b/package/mac80211/patches/530-minstrel_ht.patch
index 2b40645f81..a77e94b5ee 100644
--- a/package/mac80211/patches/530-minstrel_ht.patch
+++ b/package/mac80211/patches/530-minstrel_ht.patch
@@ -474,7 +474,7 @@
+ mi->ampdu_len += info->status.ampdu_len;
+
+ if (!mi->sample_wait && !mi->sample_tries && mi->sample_count > 0) {
-+ mi->sample_wait = 4 + MINSTREL_TRUNC(mi->avg_ampdu_len);
++ mi->sample_wait = 4 + 2 * MINSTREL_TRUNC(mi->avg_ampdu_len);
+ mi->sample_tries = 3;
+ mi->sample_count--;
+ }