aboutsummaryrefslogtreecommitdiffstats
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
commit36877a5b416f0e42056251b3422835bff040b936 (patch)
tree85b03be738497ffcfc145aa63dd8fe708b3ecdb8
parent544a625b6c7c7bdbb1e21bb93024d20a48b5b707 (diff)
downloadupstream-36877a5b416f0e42056251b3422835bff040b936.tar.gz
upstream-36877a5b416f0e42056251b3422835bff040b936.tar.bz2
upstream-36877a5b416f0e42056251b3422835bff040b936.zip
mac80211: minstrel_ht - increase space between sampling attempts to allow for better aggregation
SVN-Revision: 20970
-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--;
+ }