mac80211: minstrel_ht - increase space between sampling attempts to allow for better aggregation

SVN-Revision: 20970
This commit is contained in:
Felix Fietkau 2010-04-17 23:58:31 +00:00
parent 544a625b6c
commit 36877a5b41

View file

@ -474,7 +474,7 @@
+ mi->ampdu_len += info->status.ampdu_len;
+
+ 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_count--;
+ }