aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/560-minstrel_ht_performance.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-10-21 00:33:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-10-21 00:33:00 +0000
commitad06ff1186a055552e4e430b1f40593b9668b439 (patch)
tree5dd7771323952cb141b4bd3c6a15c07b61426d09 /package/mac80211/patches/560-minstrel_ht_performance.patch
parenta7bdb90f3843a2d36bc232781d670c72ab76a7d8 (diff)
downloadupstream-ad06ff1186a055552e4e430b1f40593b9668b439.tar.gz
upstream-ad06ff1186a055552e4e430b1f40593b9668b439.tar.bz2
upstream-ad06ff1186a055552e4e430b1f40593b9668b439.zip
ath9k: fix sampling frame handling wrt. aggregation, replace minstrel_ht performance fixes for better performance
SVN-Revision: 23558
Diffstat (limited to 'package/mac80211/patches/560-minstrel_ht_performance.patch')
-rw-r--r--package/mac80211/patches/560-minstrel_ht_performance.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/package/mac80211/patches/560-minstrel_ht_performance.patch b/package/mac80211/patches/560-minstrel_ht_performance.patch
deleted file mode 100644
index a3e7f424ad..0000000000
--- a/package/mac80211/patches/560-minstrel_ht_performance.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- a/net/mac80211/rc80211_minstrel_ht.h
-+++ b/net/mac80211/rc80211_minstrel_ht.h
-@@ -103,6 +103,7 @@ struct minstrel_ht_sta {
- u8 sample_tries;
- u8 sample_count;
- u8 sample_slow;
-+ u8 sample_retry;
-
- /* current MCS group to be sampled */
- u8 sample_group;
---- a/net/mac80211/rc80211_minstrel_ht.c
-+++ b/net/mac80211/rc80211_minstrel_ht.c
-@@ -261,6 +261,7 @@ minstrel_ht_update_stats(struct minstrel
-
- /* try to sample up to half of the availble rates during each interval */
- mi->sample_count *= 4;
-+ mi->sample_retry = mi->sample_count;
-
- cur_prob = 0;
- cur_prob_tp = 0;
-@@ -572,6 +573,11 @@ minstrel_get_sample_rate(struct minstrel
- return sample_idx;
-
- next:
-+ if (mi->sample_retry > 0) {
-+ mi->sample_retry--;
-+ mi->sample_tries++;
-+ mi->sample_wait = 1;
-+ }
- minstrel_next_sample_idx(mi);
- return -1;
- }