Searched refs:n_rates (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/net/mac80211/
H A Drc80211_minstrel.c201 for (i = 0; i < mi->n_rates; i++) { minstrel_update_stats()
322 if ((int) mi->sample_row >= mi->n_rates) { minstrel_get_next_sample()
381 } else if (delta > mi->n_rates * 2) { minstrel_get_rate()
391 mi->sample_packets += (delta - mi->n_rates * 2); minstrel_get_rate()
463 memset(mi->sample_table, 0xff, SAMPLE_COLUMNS * mi->n_rates); init_sample_table()
467 for (i = 0; i < mi->n_rates; i++) { init_sample_table()
468 new_idx = (i + rnd[i & 7]) % mi->n_rates; init_sample_table()
470 new_idx = (new_idx + 1) % mi->n_rates; init_sample_table()
561 mi->n_rates = n; minstrel_rate_init()
H A Drc80211_minstrel_debugfs.c93 for (i = 0; i < mi->n_rates; i++) { minstrel_stats_open()
161 for (i = 0; i < mi->n_rates; i++) { minstrel_stats_csv_open()
H A Drc80211_minstrel.h113 int n_rates; member in struct:minstrel_sta_info
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
H A Dinit.c526 struct ieee80211_rate *rates, int n_rates) mt76_init_sband()
540 sband->n_bitrates = n_rates; mt76_init_sband()
524 mt76_init_sband(struct mt7601u_dev *dev, struct ieee80211_supported_band *sband, const struct ieee80211_channel *chan, int n_chan, struct ieee80211_rate *rates, int n_rates) mt76_init_sband() argument
/linux-4.4.14/net/wireless/
H A Dutil.c1738 const u8 *rates, unsigned int n_rates, ieee80211_get_ratemask()
1746 if (n_rates == 0 || n_rates > NL80211_MAX_SUPP_RATES) ieee80211_get_ratemask()
1751 for (i = 0; i < n_rates; i++) { ieee80211_get_ratemask()
1737 ieee80211_get_ratemask(struct ieee80211_supported_band *sband, const u8 *rates, unsigned int n_rates, u32 *mask) ieee80211_get_ratemask() argument
H A Dcore.h469 const u8 *rates, unsigned int n_rates,
H A Dnl80211.c7478 int n_rates = nl80211_join_ibss() local
7483 err = ieee80211_get_ratemask(sband, rates, n_rates, nl80211_join_ibss()
8894 int n_rates = nl80211_join_mesh() local
8903 err = ieee80211_get_ratemask(sband, rates, n_rates, nl80211_join_mesh()

Completed in 371 milliseconds