Home
last modified time | relevance | path

Searched refs:sample_idx (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/net/mac80211/
Drc80211_minstrel_ht.c537 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()
[all …]
Drc80211_minstrel.c205 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()
Drc80211_minstrel.h55 unsigned int sample_idx; member