From 15e0ff93228cb0f1060c6c239265f3ab04848467 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Tue, 5 Mar 2013 14:32:31 +0000
Subject: [PATCH] mac80211: add another minstrel_ht performance improvement

SVN-Revision: 35890
---
 package/mac80211/patches/300-pending_work.patch | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch
index 560c3f26625..b4bd1878464 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;
  
-- 
GitLab