mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ath9k: fix sampling frame handling wrt. aggregation, replace minstrel_ht performance fixes for better performance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23558 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
--- a/net/mac80211/rc80211_minstrel_ht.c
|
||||
+++ b/net/mac80211/rc80211_minstrel_ht.c
|
||||
@@ -506,7 +506,9 @@ minstrel_ht_set_rate(struct minstrel_pri
|
||||
if (!mr->retry_updated)
|
||||
minstrel_calc_retransmit(mp, mi, index);
|
||||
|
||||
- if (mr->probability < MINSTREL_FRAC(20, 100))
|
||||
+ if (sample)
|
||||
+ rate->count = 1;
|
||||
+ else if (mr->probability < MINSTREL_FRAC(20, 100))
|
||||
rate->count = 2;
|
||||
else if (rtscts)
|
||||
rate->count = mr->retry_count_rtscts;
|
||||
Reference in New Issue
Block a user