Searched refs:sample_idx (Results 1 – 3 of 3) sorted by relevance
537 int sample_idx = 0; in minstrel_get_sample_rate() local549 sample_idx = sample_table[mg->column][mg->index]; in minstrel_get_sample_rate()550 mr = &mg->rates[sample_idx]; in minstrel_get_sample_rate()551 sample_idx += mi->sample_group * MCS_GROUP_RATES; in minstrel_get_sample_rate()565 if (minstrel_get_duration(sample_idx) > in minstrel_get_sample_rate()574 return sample_idx; in minstrel_get_sample_rate()586 int sample_idx; in minstrel_ht_get_rate() local596 sample_idx = minstrel_get_sample_rate(mp, mi); in minstrel_ht_get_rate()597 if (sample_idx >= 0) { in minstrel_ht_get_rate()599 minstrel_ht_set_rate(mp, mi, &ar[0], sample_idx, in minstrel_ht_get_rate()[all …]
205 sample_ndx = SAMPLE_TBL(mi, mi->sample_idx, mi->sample_column); in minstrel_get_next_sample()206 mi->sample_idx++; in minstrel_get_next_sample()207 if ((int) mi->sample_idx > (mi->n_rates - 2)) { in minstrel_get_next_sample()208 mi->sample_idx = 0; in minstrel_get_next_sample()356 mi->sample_idx = 0; in init_sample_table()
55 unsigned int sample_idx; member