mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-12 07:53:07 +00:00
mac80211: minstrel_ht - increase space between sampling attempts to allow for better aggregation
SVN-Revision: 20970
This commit is contained in:
parent
544a625b6c
commit
36877a5b41
@ -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