Searched refs:n_rates (Results 1 – 7 of 7) sorted by relevance
/net/mac80211/ |
D | rc80211_minstrel.c | 201 for (i = 0; i < mi->n_rates; i++) { in minstrel_update_stats() 316 if ((int) mi->sample_row >= mi->n_rates) { in minstrel_get_next_sample() 375 } else if (delta > mi->n_rates * 2) { in minstrel_get_rate() 385 mi->sample_packets += (delta - mi->n_rates * 2); in minstrel_get_rate() 447 memset(mi->sample_table, 0xff, SAMPLE_COLUMNS * mi->n_rates); in init_sample_table() 451 for (i = 0; i < mi->n_rates; i++) { in init_sample_table() 452 new_idx = (i + rnd[i & 7]) % mi->n_rates; in init_sample_table() 454 new_idx = (new_idx + 1) % mi->n_rates; in init_sample_table() 545 mi->n_rates = n; in minstrel_rate_init()
|
D | rc80211_minstrel_debugfs.c | 77 for (i = 0; i < mi->n_rates; i++) { in minstrel_stats_open() 134 for (i = 0; i < mi->n_rates; i++) { in minstrel_stats_csv_open()
|
D | rc80211_minstrel_ht.c | 559 minstrel_ht_find_probe_rates(struct minstrel_ht_sta *mi, u16 *rates, int *n_rates, in minstrel_ht_find_probe_rates() argument 596 rates[(*n_rates)++] = idx; in minstrel_ht_find_probe_rates() 608 int n_rates = 0; in minstrel_ht_rate_sample_switch() local 628 minstrel_ht_find_probe_rates(mi, rates, &n_rates, faster_rate); in minstrel_ht_rate_sample_switch() 629 if (!n_rates && faster_rate) in minstrel_ht_rate_sample_switch() 630 minstrel_ht_find_probe_rates(mi, rates, &n_rates, false); in minstrel_ht_rate_sample_switch() 633 if (!n_rates) { in minstrel_ht_rate_sample_switch() 650 if (n_rates > 1) { in minstrel_ht_rate_sample_switch() 652 i = random % n_rates; in minstrel_ht_rate_sample_switch()
|
D | rc80211_minstrel.h | 133 int n_rates; member
|
/net/wireless/ |
D | util.c | 1952 const u8 *rates, unsigned int n_rates, in ieee80211_get_ratemask() argument 1960 if (n_rates == 0 || n_rates > NL80211_MAX_SUPP_RATES) in ieee80211_get_ratemask() 1965 for (i = 0; i < n_rates; i++) { in ieee80211_get_ratemask()
|
D | core.h | 523 const u8 *rates, unsigned int n_rates,
|
D | nl80211.c | 10117 int n_rates = in nl80211_join_ibss() local 10122 err = ieee80211_get_ratemask(sband, rates, n_rates, in nl80211_join_ibss() 11713 int n_rates = in nl80211_join_mesh() local 11722 err = ieee80211_get_ratemask(sband, rates, n_rates, in nl80211_join_mesh()
|