Home
last modified time | relevance | path

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

/linux-6.12.1/net/mac80211/
Drc80211_minstrel_ht.h17 #define MINSTREL_FRAC(val, div) (((val) << MINSTREL_SCALE) / div) macro
32 #define MINSTREL_AVG_COEFF1 (MINSTREL_FRAC(1, 1) - \
Drc80211_minstrel_ht.c507 if (prob_avg < MINSTREL_FRAC(10, 100)) in minstrel_ht_get_tp_avg()
524 if (prob_avg > MINSTREL_FRAC(90, 100)) in minstrel_ht_get_tp_avg()
525 prob_avg = MINSTREL_FRAC(90, 100); in minstrel_ht_get_tp_avg()
613 if (mrs->prob_avg > MINSTREL_FRAC(75, 100)) { in minstrel_ht_set_best_prob_rate()
772 cur_prob = MINSTREL_FRAC(mrs->success, mrs->attempts); in minstrel_ht_calc_rate_stats()
992 if (mrs->prob_avg > MINSTREL_FRAC(95, 100)) in minstrel_ht_next_jump_rate()
1072 MINSTREL_FRAC(mi->ampdu_len, mi->ampdu_packets), in minstrel_ht_update_stats()
1394 if (mrs->prob_avg < MINSTREL_FRAC(1, 10)) { in minstrel_calc_retransmit()
1455 if (mrs->prob_avg < MINSTREL_FRAC(20, 100) || !mrs->retry_count) { in minstrel_ht_set_rate()
1509 if (mi->groups[group].rates[rate].prob_avg < MINSTREL_FRAC(50, 100)) in minstrel_ht_get_max_amsdu_len()
[all …]
Drc80211_minstrel_ht_debugfs.c124 tp_max = minstrel_ht_get_tp_avg(mi, i, j, MINSTREL_FRAC(100, 100)); in minstrel_ht_stats_dump()
267 tp_max = minstrel_ht_get_tp_avg(mi, i, j, MINSTREL_FRAC(100, 100)); in minstrel_ht_stats_csv_dump()