Lines Matching refs:prob_avg
501 int prob_avg) in minstrel_ht_get_tp_avg() argument
507 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()
527 return MINSTREL_TRUNC(100 * ((prob_avg * 1000000) / nsecs)); in minstrel_ht_get_tp_avg()
547 cur_prob = mi->groups[cur_group].rates[cur_idx].prob_avg; in minstrel_ht_sort_best_tp_rates()
553 tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_avg; in minstrel_ht_sort_best_tp_rates()
591 tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_avg; in minstrel_ht_set_best_prob_rate()
598 max_tp_prob = mi->groups[max_tp_group].rates[max_tp_idx].prob_avg; in minstrel_ht_set_best_prob_rate()
606 mrs->prob_avg < max_tp_prob) in minstrel_ht_set_best_prob_rate()
611 max_gpr_prob = mi->groups[max_gpr_group].rates[max_gpr_idx].prob_avg; in minstrel_ht_set_best_prob_rate()
613 if (mrs->prob_avg > MINSTREL_FRAC(75, 100)) { in minstrel_ht_set_best_prob_rate()
615 mrs->prob_avg); in minstrel_ht_set_best_prob_rate()
625 if (mrs->prob_avg > tmp_prob) in minstrel_ht_set_best_prob_rate()
627 if (mrs->prob_avg > max_gpr_prob) in minstrel_ht_set_best_prob_rate()
649 tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_avg; in minstrel_ht_assign_best_tp_rates()
654 tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_avg; in minstrel_ht_assign_best_tp_rates()
688 tmp_prob = mi->groups[group].rates[tmp_idx].prob_avg; in minstrel_ht_prob_rate_reduce_streams()
773 minstrel_filter_avg_add(&mrs->prob_avg, in minstrel_ht_calc_rate_stats()
992 if (mrs->prob_avg > MINSTREL_FRAC(95, 100)) in minstrel_ht_next_jump_rate()
1132 last_prob = max(last_prob, mrs->prob_avg); in minstrel_ht_update_stats()
1134 mrs->prob_avg = max(last_prob, mrs->prob_avg); in minstrel_ht_update_stats()
1135 cur_prob = mrs->prob_avg; 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()
1497 return mi->groups[group].rates[rate].prob_avg; in minstrel_ht_get_prob_avg()
1509 if (mi->groups[group].rates[rate].prob_avg < MINSTREL_FRAC(50, 100)) in minstrel_ht_get_max_amsdu_len()
1995 prob = mi->groups[i].rates[j].prob_avg; in minstrel_ht_get_expected_throughput()