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

SVN-Revision: 20970
owl
Felix Fietkau 2010-04-17 23:58:31 +00:00
parent 544a625b6c
commit 36877a5b41
1 changed files with 1 additions and 1 deletions

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--;
+ }