Lines Matching refs:MCS_GROUP_RATES
88 static u8 sample_table[SAMPLE_COLUMNS][MCS_GROUP_RATES];
105 int streams = (rate->idx / MCS_GROUP_RATES) + 1; in minstrel_ht_get_group_idx()
125 return &mi->groups[index / MCS_GROUP_RATES].rates[index % MCS_GROUP_RATES]; in minstrel_get_ratestats()
222 for (i = 0; i < MCS_GROUP_RATES; i++) { in minstrel_ht_update_stats()
228 index = MCS_GROUP_RATES * group + i; in minstrel_ht_update_stats()
323 if (++mg->index >= MCS_GROUP_RATES) { in minstrel_next_sample_idx()
338 orig_group = group = *idx / MCS_GROUP_RATES; in minstrel_downgrade_rate()
481 group = &minstrel_mcs_groups[index / MCS_GROUP_RATES]; in minstrel_calc_retransmit()
482 tx_time_data = group->duration[index % MCS_GROUP_RATES] * ampdu_len; in minstrel_calc_retransmit()
503 const struct mcs_group *group = &minstrel_mcs_groups[index / MCS_GROUP_RATES]; in minstrel_ht_set_rate()
522 rate->idx = index % MCS_GROUP_RATES + (group->streams - 1) * MCS_GROUP_RATES; in minstrel_ht_set_rate()
528 const struct mcs_group *group = &minstrel_mcs_groups[index / MCS_GROUP_RATES]; in minstrel_get_duration()
529 return group->duration[index % MCS_GROUP_RATES]; in minstrel_get_duration()
551 sample_idx += mi->sample_group * MCS_GROUP_RATES; in minstrel_get_sample_rate()
839 u8 rnd[MCS_GROUP_RATES]; in init_sample_table()
843 for (i = 0; i < MCS_GROUP_RATES; i++) { in init_sample_table()
845 new_idx = (i + rnd[i]) % MCS_GROUP_RATES; in init_sample_table()
848 new_idx = (new_idx + 1) % MCS_GROUP_RATES; in init_sample_table()