mac80211: minstrel_ht - increase space between sampling attempts to allow for better...
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 17 Apr 2010 23:58:31 +0000 (23:58 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 17 Apr 2010 23:58:31 +0000 (23:58 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20970 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/mac80211/patches/530-minstrel_ht.patch

index 2b40645..a77e94b 100644 (file)
 +      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--;
 +      }
This page took 0.02553 seconds and 4 git commands to generate.