Searched refs:MINSTREL_FRAC (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/net/mac80211/ |
D | rc80211_minstrel_ht.c | 308 if (prob_ewma < MINSTREL_FRAC(10, 100)) in minstrel_ht_get_tp_avg() 321 if (prob_ewma > MINSTREL_FRAC(90, 100)) in minstrel_ht_get_tp_avg() 322 return MINSTREL_TRUNC(100000 * ((MINSTREL_FRAC(90, 100) * 1000) in minstrel_ht_get_tp_avg() 402 if (mrs->prob_ewma > MINSTREL_FRAC(75, 100)) { in minstrel_ht_set_best_prob_rate() 506 MINSTREL_FRAC(mi->ampdu_len, mi->ampdu_packets), EWMA_LEVEL); in minstrel_ht_update_stats() 738 MINSTREL_FRAC(rate->success, rate->attempts) < in minstrel_ht_tx_status() 739 MINSTREL_FRAC(20, 100)) { in minstrel_ht_tx_status() 746 MINSTREL_FRAC(rate2->success, rate2->attempts) < in minstrel_ht_tx_status() 747 MINSTREL_FRAC(20, 100)) { in minstrel_ht_tx_status() 776 if (mrs->prob_ewma < MINSTREL_FRAC(1, 10)) { in minstrel_calc_retransmit() [all …]
|
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() 166 cur_prob = MINSTREL_FRAC(mrs->success, mrs->attempts); in minstrel_calc_rate_stats() 213 if (mrs->prob_ewma > MINSTREL_FRAC(95, 100) || in minstrel_update_stats() 214 mrs->prob_ewma < MINSTREL_FRAC(10, 100)) { in minstrel_update_stats() 234 if (mrs->prob_ewma >= MINSTREL_FRAC(95, 100)) { in minstrel_update_stats() 435 (mi->r[ndx].stats.prob_ewma > MINSTREL_FRAC(95, 100))) in minstrel_get_rate()
|
D | rc80211_minstrel_debugfs.c | 109 tp_max = minstrel_get_tp_avg(mr, MINSTREL_FRAC(100,100)); in minstrel_stats_open() 177 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 | 85 tp_max = minstrel_ht_get_tp_avg(mi, i, j, MINSTREL_FRAC(100, 100)); in minstrel_ht_stats_dump() 228 tp_max = minstrel_ht_get_tp_avg(mi, i, j, MINSTREL_FRAC(100, 100)); in minstrel_ht_stats_csv_dump()
|