Lines Matching refs:mg

576 	struct minstrel_mcs_group_data *mg;  in minstrel_ht_set_best_prob_rate()  local
586 mg = &mi->groups[cur_group]; in minstrel_ht_set_best_prob_rate()
587 mrs = &mg->rates[cur_idx]; in minstrel_ht_set_best_prob_rate()
609 max_gpr_group = MI_RATE_GROUP(mg->max_group_prob_rate); in minstrel_ht_set_best_prob_rate()
610 max_gpr_idx = MI_RATE_IDX(mg->max_group_prob_rate); in minstrel_ht_set_best_prob_rate()
623 mg->max_group_prob_rate = index; in minstrel_ht_set_best_prob_rate()
628 mg->max_group_prob_rate = index; in minstrel_ht_set_best_prob_rate()
673 struct minstrel_mcs_group_data *mg; in minstrel_ht_prob_rate_reduce_streams() local
683 mg = &mi->groups[group]; in minstrel_ht_prob_rate_reduce_streams()
687 tmp_idx = MI_RATE_IDX(mg->max_group_prob_rate); in minstrel_ht_prob_rate_reduce_streams()
692 mi->max_prob_rate = mg->max_group_prob_rate; in minstrel_ht_prob_rate_reduce_streams()
906 struct minstrel_mcs_group_data *mg = &mi->groups[group]; in minstrel_ht_next_group_sample_rate() local
911 idx = sample_table[mg->column][mg->index]; in minstrel_ht_next_group_sample_rate()
912 if (++mg->index >= MCS_GROUP_RATES) { in minstrel_ht_next_group_sample_rate()
913 mg->index = 0; in minstrel_ht_next_group_sample_rate()
914 if (++mg->column >= ARRAY_SIZE(sample_table)) in minstrel_ht_next_group_sample_rate()
915 mg->column = 0; in minstrel_ht_next_group_sample_rate()
1061 struct minstrel_mcs_group_data *mg; in minstrel_ht_update_stats() local
1110 mg = &mi->groups[group]; in minstrel_ht_update_stats()
1127 mrs = &mg->rates[i]; in minstrel_ht_update_stats()
1148 memcpy(mg->max_group_tp_rate, tmp_group_tp_rate, in minstrel_ht_update_stats()
1149 sizeof(mg->max_group_tp_rate)); in minstrel_ht_update_stats()
1161 mg = &mi->groups[group]; in minstrel_ht_update_stats()
1162 mg->max_group_prob_rate = MI_RATE(group, 0); in minstrel_ht_update_stats()