f9465e8be1035dc195f5d4739b0cbcc2a165c54c
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 561-minstrel_ht_sampling_interval.patch
1 --- a/net/mac80211/rc80211_minstrel_ht.c
2 +++ b/net/mac80211/rc80211_minstrel_ht.c
3 @@ -408,7 +408,7 @@ minstrel_ht_tx_status(void *priv, struct
4 mi->ampdu_len += info->status.ampdu_len;
5
6 if (!mi->sample_wait && !mi->sample_tries && mi->sample_count > 0) {
7 - mi->sample_wait = 4 + 2 * MINSTREL_TRUNC(mi->avg_ampdu_len);
8 + mi->sample_wait = 8 + MINSTREL_TRUNC(mi->avg_ampdu_len);
9 mi->sample_tries = 3;
10 mi->sample_count--;
11 }