Home
last modified time | relevance | path

Searched refs:MINSTREL_FRAC (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/net/mac80211/
Drc80211_minstrel_ht.c137 mr->cur_prob = MINSTREL_FRAC(mr->success, mr->attempts); in minstrel_calc_rate_ewma()
167 if (mr->probability < MINSTREL_FRAC(1, 10)) { in minstrel_ht_calc_tp()
196 MINSTREL_FRAC(mi->ampdu_len, mi->ampdu_packets), EWMA_LEVEL); in minstrel_ht_update_stats()
240 MINSTREL_FRAC(3, 4)) || mr->probability > cur_prob) { in minstrel_ht_update_stats()
443 MINSTREL_FRAC(rate->success, rate->attempts) < in minstrel_ht_tx_status()
444 MINSTREL_FRAC(20, 100)) in minstrel_ht_tx_status()
449 MINSTREL_FRAC(rate2->success, rate2->attempts) < in minstrel_ht_tx_status()
450 MINSTREL_FRAC(20, 100)) in minstrel_ht_tx_status()
471 if (mr->probability < MINSTREL_FRAC(1, 10)) { in minstrel_calc_retransmit()
512 else if (mr->probability < MINSTREL_FRAC(20, 100)) in minstrel_ht_set_rate()
[all …]
Drc80211_minstrel_ht.h21 #define MINSTREL_FRAC(val, div) (((val) << MINSTREL_SCALE) / div) macro