Home
last modified time | relevance | path

Searched refs:n_rates (Results 1 – 6 of 6) sorted by relevance

/net/mac80211/
Drc80211_minstrel.c141 for (i = 0; i < mi->n_rates; i++) { in minstrel_update_stats()
283 if ((int) mi->sample_row >= mi->n_rates) { in minstrel_get_next_sample()
342 } else if (delta > mi->n_rates * 2) { in minstrel_get_rate()
352 mi->sample_packets += (delta - mi->n_rates * 2); in minstrel_get_rate()
424 memset(mi->sample_table, 0xff, SAMPLE_COLUMNS * mi->n_rates); in init_sample_table()
428 for (i = 0; i < mi->n_rates; i++) { in init_sample_table()
429 new_idx = (i + rnd[i & 7]) % mi->n_rates; in init_sample_table()
431 new_idx = (new_idx + 1) % mi->n_rates; in init_sample_table()
522 mi->n_rates = n; in minstrel_rate_init()
Drc80211_minstrel.h88 int n_rates; member
Drc80211_minstrel_debugfs.c73 for (i = 0; i < mi->n_rates; i++) { in minstrel_stats_open()
/net/wireless/
Dutil.c1500 const u8 *rates, unsigned int n_rates, in ieee80211_get_ratemask() argument
1508 if (n_rates == 0 || n_rates > NL80211_MAX_SUPP_RATES) in ieee80211_get_ratemask()
1513 for (i = 0; i < n_rates; i++) { in ieee80211_get_ratemask()
Dcore.h442 const u8 *rates, unsigned int n_rates,
Dnl80211.c6870 int n_rates = in nl80211_join_ibss() local
6875 err = ieee80211_get_ratemask(sband, rates, n_rates, in nl80211_join_ibss()
8245 int n_rates = in nl80211_join_mesh() local
8254 err = ieee80211_get_ratemask(sband, rates, n_rates, in nl80211_join_mesh()