Searched refs:MINSTREL_FRAC (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/net/mac80211/ |
D | rc80211_minstrel.c | 82 if (mr->stats.prob_ewma < MINSTREL_FRAC(10, 100)) in minstrel_get_tp_avg() 85 if (prob_ewma > MINSTREL_FRAC(90, 100)) in minstrel_get_tp_avg() 86 return MINSTREL_TRUNC(100000 * (MINSTREL_FRAC(90, 100) / usecs)); in minstrel_get_tp_avg() 164 mrs->cur_prob = MINSTREL_FRAC(mrs->success, mrs->attempts); in minstrel_calc_rate_stats() 211 if (mrs->prob_ewma > MINSTREL_FRAC(95, 100) || in minstrel_update_stats() 212 mrs->prob_ewma < MINSTREL_FRAC(10, 100)) { in minstrel_update_stats() 232 if (mrs->prob_ewma >= MINSTREL_FRAC(95, 100)) { in minstrel_update_stats() 428 (mi->r[ndx].stats.prob_ewma > MINSTREL_FRAC(95, 100))) in minstrel_get_rate()
|
D | rc80211_minstrel_ht.c | 327 if (prob_ewma < MINSTREL_FRAC(10, 100)) in minstrel_ht_get_tp_avg() 340 if (prob_ewma > MINSTREL_FRAC(90, 100)) in minstrel_ht_get_tp_avg() 341 return MINSTREL_TRUNC(100000 * ((MINSTREL_FRAC(90, 100) * 1000) in minstrel_ht_get_tp_avg() 417 if (mrs->prob_ewma > MINSTREL_FRAC(75, 100)) { in minstrel_ht_set_best_prob_rate() 524 MINSTREL_FRAC(mi->ampdu_len, mi->ampdu_packets), EWMA_LEVEL); in minstrel_ht_update_stats() 756 MINSTREL_FRAC(rate->success, rate->attempts) < in minstrel_ht_tx_status() 757 MINSTREL_FRAC(20, 100)) { in minstrel_ht_tx_status() 764 MINSTREL_FRAC(rate2->success, rate2->attempts) < in minstrel_ht_tx_status() 765 MINSTREL_FRAC(20, 100)) { in minstrel_ht_tx_status() 794 if (mrs->prob_ewma < MINSTREL_FRAC(1, 10)) { in minstrel_calc_retransmit() [all …]
|
D | rc80211_minstrel_debugfs.c | 108 tp_max = minstrel_get_tp_avg(mr, MINSTREL_FRAC(100,100)); in minstrel_stats_open() 176 tp_max = minstrel_get_tp_avg(mr, MINSTREL_FRAC(100,100)); in minstrel_stats_csv_open()
|
D | rc80211_minstrel.h | 18 #define MINSTREL_FRAC(val, div) (((val) << MINSTREL_SCALE) / div) macro
|
D | rc80211_minstrel_ht_debugfs.c | 84 tp_max = minstrel_ht_get_tp_avg(mi, i, j, MINSTREL_FRAC(100, 100)); in minstrel_ht_stats_dump() 227 tp_max = minstrel_ht_get_tp_avg(mi, i, j, MINSTREL_FRAC(100, 100)); in minstrel_ht_stats_csv_dump()
|