Lines Matching refs:sample_idx
537 int sample_idx = 0; in minstrel_get_sample_rate() local
549 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() local
596 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()
613 if (sample_idx >= 0) in minstrel_ht_get_rate()