/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
D | mac80211.c | 172 struct ieee80211_rate *rates, int n_rates, bool vht) in mt76_init_sband() argument 193 sband->n_bitrates = n_rates; in mt76_init_sband() 225 int n_rates) in mt76_init_sband_2g() argument 232 rates, n_rates, false); in mt76_init_sband_2g() 237 int n_rates, bool vht) in mt76_init_sband_5g() argument 244 rates, n_rates, vht); in mt76_init_sband_5g() 456 struct ieee80211_rate *rates, int n_rates) in mt76_register_device() argument 466 ret = mt76_init_sband_2g(dev, rates, n_rates); in mt76_register_device() 472 ret = mt76_init_sband_5g(dev, rates + 4, n_rates - 4, vht); in mt76_register_device()
|
D | mt76.h | 766 struct ieee80211_rate *rates, int n_rates);
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/ |
D | init.c | 520 struct ieee80211_rate *rates, int n_rates) in mt76_init_sband() argument 534 sband->n_bitrates = n_rates; in mt76_init_sband()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | mac.c | 835 int n_rates = sta->n_rates; in mt7615_mac_update_rate_desc() local 839 for (i = n_rates; i < 4; i++) in mt7615_mac_update_rate_desc() 840 rates[i] = rates[n_rates - 1]; in mt7615_mac_update_rate_desc() 968 int wcid = sta->wcid.idx, n_rates = sta->n_rates; in mt7615_mac_set_rates() local 1030 sta->rate_count = 2 * MT7615_RATE_RETRY * n_rates; in mt7615_mac_set_rates()
|
D | usb_sdio.c | 129 sta->rate_count = 2 * MT7615_RATE_RETRY * sta->n_rates; in mt7663_usb_sdio_set_rates()
|
D | mt7615.h | 148 u8 n_rates; member
|
D | main.c | 685 msta->n_rates = i; in mt7615_sta_rate_tbl_update()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | mt7603.h | 78 u8 n_rates; member
|
D | mac.c | 709 int n_rates = sta->n_rates; in mt7603_wtbl_set_rates() local 720 for (i = n_rates; i < 4; i++) in mt7603_wtbl_set_rates() 721 rates[i] = rates[n_rates - 1]; in mt7603_wtbl_set_rates() 827 sta->rate_count = 2 * MT7603_RATE_RETRY * n_rates; in mt7603_wtbl_set_rates()
|
D | main.c | 630 msta->n_rates = i; in mt7603_sta_rate_tbl_update()
|
/kernel/linux/linux-5.10/net/wireless/ |
D | util.c | 1950 const u8 *rates, unsigned int n_rates, in ieee80211_get_ratemask() argument 1958 if (n_rates == 0 || n_rates > NL80211_MAX_SUPP_RATES) in ieee80211_get_ratemask() 1963 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 | 10094 int n_rates = in nl80211_join_ibss() local 10099 err = ieee80211_get_ratemask(sband, rates, n_rates, in nl80211_join_ibss() 11685 int n_rates = in nl80211_join_mesh() local 11694 err = ieee80211_get_ratemask(sband, rates, n_rates, in nl80211_join_mesh()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mcu.c | 2048 int n_rates = hweight32(supp_rate); in mt7915_mcu_sta_rate_ctrl_tlv() local 2060 ra->rate_len = n_rates; in mt7915_mcu_sta_rate_ctrl_tlv() 2063 if (n_rates) { in mt7915_mcu_sta_rate_ctrl_tlv() 2069 if (n_rates > 4) { in mt7915_mcu_sta_rate_ctrl_tlv()
|