Searched refs:prob_avg (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.10/net/mac80211/ |
| D | rc80211_minstrel.c | 73 int minstrel_get_tp_avg(struct minstrel_rate *mr, int prob_avg) in minstrel_get_tp_avg() argument 82 if (mr->stats.prob_avg < MINSTREL_FRAC(10, 100)) in minstrel_get_tp_avg() 85 if (prob_avg > MINSTREL_FRAC(90, 100)) in minstrel_get_tp_avg() 88 return MINSTREL_TRUNC(100000 * (prob_avg / usecs)); in minstrel_get_tp_avg() 101 if (minstrel_get_tp_avg(&mi->r[i], cur_mrs->prob_avg) <= in minstrel_sort_best_tp_rates() 102 minstrel_get_tp_avg(&mi->r[tp_list[j - 1]], tmp_mrs->prob_avg)) in minstrel_sort_best_tp_rates() 169 minstrel_filter_avg_add(&mrs->prob_avg, in minstrel_calc_rate_stats() 172 mrs->prob_avg = cur_prob; in minstrel_calc_rate_stats() 175 mrs->prob_avg = minstrel_ewma(mrs->prob_avg, in minstrel_calc_rate_stats() 211 if (mrs->prob_avg > MINSTREL_FRAC(95, 100) || in minstrel_update_stats() [all …]
|
| D | rc80211_minstrel_debugfs.c | 93 tp_avg = minstrel_get_tp_avg(mr, mrs->prob_avg); in minstrel_stats_open() 94 eprob = MINSTREL_TRUNC(mrs->prob_avg * 1000); in minstrel_stats_open() 150 tp_avg = minstrel_get_tp_avg(mr, mrs->prob_avg); in minstrel_stats_csv_open() 151 eprob = MINSTREL_TRUNC(mrs->prob_avg * 1000); in minstrel_stats_csv_open()
|
| D | rc80211_minstrel_ht.c | 350 int prob_avg) in minstrel_ht_get_tp_avg() argument 355 if (prob_avg < MINSTREL_FRAC(10, 100)) in minstrel_ht_get_tp_avg() 369 if (prob_avg > MINSTREL_FRAC(90, 100)) in minstrel_ht_get_tp_avg() 373 return MINSTREL_TRUNC(100000 * ((prob_avg * 1000) / nsecs)); in minstrel_ht_get_tp_avg() 393 cur_prob = mi->groups[cur_group].rates[cur_idx].prob_avg; in minstrel_ht_sort_best_tp_rates() 399 tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_avg; in minstrel_ht_sort_best_tp_rates() 436 tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_avg; in minstrel_ht_set_best_prob_rate() 448 max_gpr_prob = mi->groups[max_gpr_group].rates[max_gpr_idx].prob_avg; in minstrel_ht_set_best_prob_rate() 450 if (mrs->prob_avg > MINSTREL_FRAC(75, 100)) { in minstrel_ht_set_best_prob_rate() 452 mrs->prob_avg); in minstrel_ht_set_best_prob_rate() [all …]
|
| D | rc80211_minstrel.h | 90 u16 prob_avg; member 178 int minstrel_get_tp_avg(struct minstrel_rate *mr, int prob_avg);
|
| D | rc80211_minstrel_ht_debugfs.c | 101 tp_avg = minstrel_ht_get_tp_avg(mi, i, j, mrs->prob_avg); in minstrel_ht_stats_dump() 102 eprob = MINSTREL_TRUNC(mrs->prob_avg * 1000); in minstrel_ht_stats_dump() 246 tp_avg = minstrel_ht_get_tp_avg(mi, i, j, mrs->prob_avg); in minstrel_ht_stats_csv_dump() 247 eprob = MINSTREL_TRUNC(mrs->prob_avg * 1000); in minstrel_ht_stats_csv_dump()
|
| D | rc80211_minstrel_ht.h | 122 int prob_avg);
|