Searched refs:MCS_GROUP_RATES (Results 1 – 8 of 8) sorted by relevance
238 static u8 sample_table[SAMPLE_COLUMNS][MCS_GROUP_RATES] __read_mostly;332 return &mi->groups[index / MCS_GROUP_RATES].rates[index % MCS_GROUP_RATES]; in minstrel_get_ratestats()391 cur_group = index / MCS_GROUP_RATES; in minstrel_ht_sort_best_tp_rates()392 cur_idx = index % MCS_GROUP_RATES; in minstrel_ht_sort_best_tp_rates()397 tmp_group = tp_list[j - 1] / MCS_GROUP_RATES; in minstrel_ht_sort_best_tp_rates()398 tmp_idx = tp_list[j - 1] % MCS_GROUP_RATES; in minstrel_ht_sort_best_tp_rates()429 cur_group = index / MCS_GROUP_RATES; in minstrel_ht_set_best_prob_rate()430 cur_idx = index % MCS_GROUP_RATES; in minstrel_ht_set_best_prob_rate()431 mg = &mi->groups[index / MCS_GROUP_RATES]; in minstrel_ht_set_best_prob_rate()432 mrs = &mg->rates[index % MCS_GROUP_RATES]; in minstrel_ht_set_best_prob_rate()[all …]
30 #define MCS_GROUP_RATES 10 macro37 u16 duration[MCS_GROUP_RATES];51 struct minstrel_rate_stats rates[MCS_GROUP_RATES];
53 for (j = 0; j < MCS_GROUP_RATES; j++) { in minstrel_ht_stats_dump()56 int idx = i * MCS_GROUP_RATES + j; in minstrel_ht_stats_dump()200 for (j = 0; j < MCS_GROUP_RATES; j++) { in minstrel_ht_stats_csv_dump()203 int idx = i * MCS_GROUP_RATES + j; in minstrel_ht_stats_csv_dump()
86 #define MCS_GROUP_RATES 12 macro213 u16 duration[MCS_GROUP_RATES];460 if (idx >= MCS_GROUP_RATES) in ieee80211_get_rate_duration()
60 static u8 sample_table[SAMPLE_COLUMNS][MCS_GROUP_RATES];67 return &mi->groups.rates[index % MCS_GROUP_RATES]; in minstrel_get_ratestats()131 for (i = 0; i < MCS_GROUP_RATES; i++) { in rate_control_ht_sample()244 tx_time_data = group->duration[index % MCS_GROUP_RATES] * ampdu_len;293 return group->duration[index % MCS_GROUP_RATES]; in minstrel_get_duration()300 if (++mg->index >= MCS_GROUP_RATES) { in minstrel_next_sample_idx()460 u8 rnd[MCS_GROUP_RATES]; in init_sample_table()463 for (i = 0; i < MCS_GROUP_RATES; i++) { in init_sample_table()465 new_idx = (i + rnd[i]) % MCS_GROUP_RATES; in init_sample_table()467 new_idx = (new_idx + 1) % MCS_GROUP_RATES; in init_sample_table()[all …]
20 #define MCS_GROUP_RATES 8 macro124 unsigned int duration[MCS_GROUP_RATES];143 struct minstrel_rate_stats rates[MCS_GROUP_RATES];
1158 rateidx = rc_sta->ht.groups.rates[MCS_GROUP_RATES-1].rc_index; in ssv6xxx_get_rate()1329 if (sta->ht_cap.mcs.rx_mask[i/MCS_GROUP_RATES] & (1<<(i%MCS_GROUP_RATES))) in ssv6xxx_rate_update_rc_type()
755 mcsidx = (rc_params[nRCParams].drate - SSV62XX_RATE_MCS_INDEX) % MCS_GROUP_RATES; in ssv6xxx_set_frame_duration()