Openwrt/package/mac80211/patches/561-minstrel_ht_sampling_interval.patch
2010-10-20 21:38:31 +00:00

12 lines
435 B
Diff

--- a/net/mac80211/rc80211_minstrel_ht.c
+++ b/net/mac80211/rc80211_minstrel_ht.c
@@ -408,7 +408,7 @@ minstrel_ht_tx_status(void *priv, struct
mi->ampdu_len += info->status.ampdu_len;
if (!mi->sample_wait && !mi->sample_tries && mi->sample_count > 0) {
- mi->sample_wait = 4 + 2 * MINSTREL_TRUNC(mi->avg_ampdu_len);
+ mi->sample_wait = 8 + MINSTREL_TRUNC(mi->avg_ampdu_len);
mi->sample_tries = 3;
mi->sample_count--;
}