summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-03-05 14:32:31 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-03-05 14:32:31 +0000
commit15e0ff93228cb0f1060c6c239265f3ab04848467 (patch)
treeac7cdfc34c46f0ed104de5a73922677e1cf4bb3f /package
parentd75c632de69c9b97dd5f25f6c89bef42253091f2 (diff)
downloadmtk-20170518-15e0ff93228cb0f1060c6c239265f3ab04848467.zip
mtk-20170518-15e0ff93228cb0f1060c6c239265f3ab04848467.tar.gz
mtk-20170518-15e0ff93228cb0f1060c6c239265f3ab04848467.tar.bz2
mac80211: add another minstrel_ht performance improvement
SVN-Revision: 35890
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/patches/300-pending_work.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch
index 560c3f2..b4bd187 100644
--- a/package/mac80211/patches/300-pending_work.patch
+++ b/package/mac80211/patches/300-pending_work.patch
@@ -735,6 +735,15 @@
mi->stats_update = jiffies;
}
+@@ -467,7 +480,7 @@ minstrel_ht_tx_status(void *priv, struct
+
+ if (!mi->sample_wait && !mi->sample_tries && mi->sample_count > 0) {
+ mi->sample_wait = 16 + 2 * MINSTREL_TRUNC(mi->avg_ampdu_len);
+- mi->sample_tries = 2;
++ mi->sample_tries = 1;
+ mi->sample_count--;
+ }
+
@@ -536,7 +549,7 @@ minstrel_calc_retransmit(struct minstrel
mr->retry_updated = true;