mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 05:57:32 +02:00
mac80211: minstrel_ht - increase space between sampling attempts to allow for better aggregation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20970 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
5e117632a0
commit
715225ba9a
@ -474,7 +474,7 @@
|
|||||||
+ mi->ampdu_len += info->status.ampdu_len;
|
+ mi->ampdu_len += info->status.ampdu_len;
|
||||||
+
|
+
|
||||||
+ if (!mi->sample_wait && !mi->sample_tries && mi->sample_count > 0) {
|
+ 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_tries = 3;
|
||||||
+ mi->sample_count--;
|
+ mi->sample_count--;
|
||||||
+ }
|
+ }
|
||||||
|
Loading…
Reference in New Issue
Block a user