2ae03d8787050e9f22d1364a1414243cce426ddb
[openwrt.git] / package / mac80211 / patches / 561-minstrel_sample_retransmit.patch
1 --- a/net/mac80211/rc80211_minstrel_ht.c
2 +++ b/net/mac80211/rc80211_minstrel_ht.c
3 @@ -506,7 +506,9 @@ minstrel_ht_set_rate(struct minstrel_pri
4 if (!mr->retry_updated)
5 minstrel_calc_retransmit(mp, mi, index);
6
7 - if (mr->probability < MINSTREL_FRAC(20, 100))
8 + if (sample)
9 + rate->count = 1;
10 + else if (mr->probability < MINSTREL_FRAC(20, 100))
11 rate->count = 2;
12 else if (rtscts)
13 rate->count = mr->retry_count_rtscts;
This page took 0.039767 seconds and 3 git commands to generate.