Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dmac80211.c289 struct ieee80211_rate *rates, int n_rates, in mt76_init_sband() argument
312 sband->n_bitrates = n_rates; in mt76_init_sband()
345 int n_rates) in mt76_init_sband_2g() argument
351 n_rates, true, false); in mt76_init_sband_2g()
356 int n_rates, bool vht) in mt76_init_sband_5g() argument
362 n_rates, true, vht); in mt76_init_sband_5g()
367 int n_rates) in mt76_init_sband_6g() argument
373 n_rates, false, false); in mt76_init_sband_6g()
490 struct ieee80211_rate *rates, int n_rates) in mt76_register_phy() argument
499 ret = mt76_init_sband_2g(phy, rates, n_rates); in mt76_register_phy()
[all …]
Dtx.c73 status.n_rates = 1; in mt76_tx_status_unlock()
75 status.n_rates = 0; in mt76_tx_status_unlock()
Dmt76.h946 struct ieee80211_rate *rates, int n_rates);
955 struct ieee80211_rate *rates, int n_rates);
/linux-6.1.9/net/mac80211/
Dstatus.c250 if (status && status->n_rates) in ieee80211_tx_radiotap_len()
251 status_rate = &status->rates[status->n_rates - 1]; in ieee80211_tx_radiotap_len()
305 if (status && status->n_rates) in ieee80211_add_tx_radiotap_header()
306 status_rate = &status->rates[status->n_rates - 1]; in ieee80211_add_tx_radiotap_header()
1120 if (status->n_rates) in ieee80211_tx_status_ext()
1122 status->rates[status->n_rates - 1].rate_idx; in ieee80211_tx_status_ext()
Drc80211_minstrel_ht.c1322 if (st->rates && st->n_rates) { in minstrel_ht_tx_status()
1325 last = (i == st->n_rates - 1) || in minstrel_ht_tx_status()
1883 const s16 *bitrates, int n_rates, u32 rate_flags) in minstrel_ht_fill_rate_array() argument
1893 for (j = 0; j < n_rates; j++) { in minstrel_ht_fill_rate_array()
Dmesh_hwmp.c314 if (st->n_rates) in ieee80211s_update_metric()
/linux-6.1.9/drivers/net/wireless/mediatek/mt7601u/
Dinit.c520 struct ieee80211_rate *rates, int n_rates) in mt76_init_sband() argument
534 sband->n_bitrates = n_rates; in mt76_init_sband()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c977 int n_rates = sta->n_rates; in mt7615_mac_update_rate_desc() local
981 for (i = n_rates; i < 4; i++) in mt7615_mac_update_rate_desc()
982 rates[i] = rates[n_rates - 1]; in mt7615_mac_update_rate_desc()
1108 int wcid = sta->wcid.idx, n_rates = sta->n_rates; in mt7615_mac_set_rates() local
1174 sta->rate_count = 2 * MT7615_RATE_RETRY * n_rates; in mt7615_mac_set_rates()
Dusb_sdio.c125 sta->rate_count = 2 * MT7615_RATE_RETRY * sta->n_rates; in mt7663_usb_sdio_set_rates()
Dmt7615.h136 u8 n_rates; member
Dmain.c708 msta->n_rates = i; in mt7615_sta_rate_tbl_update()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7603/
Dmt7603.h78 u8 n_rates; member
Dmac.c727 int n_rates = sta->n_rates; in mt7603_wtbl_set_rates() local
738 for (i = n_rates; i < 4; i++) in mt7603_wtbl_set_rates()
739 rates[i] = rates[n_rates - 1]; in mt7603_wtbl_set_rates()
845 sta->rate_count = 2 * MT7603_RATE_RETRY * n_rates; in mt7603_wtbl_set_rates()
Dmain.c657 msta->n_rates = i; in mt7603_sta_rate_tbl_update()
/linux-6.1.9/net/wireless/
Dutil.c2150 const u8 *rates, unsigned int n_rates, in ieee80211_get_ratemask() argument
2158 if (n_rates == 0 || n_rates > NL80211_MAX_SUPP_RATES) in ieee80211_get_ratemask()
2163 for (i = 0; i < n_rates; i++) { in ieee80211_get_ratemask()
Dcore.h524 const u8 *rates, unsigned int n_rates,
Dnl80211.c11196 int n_rates = in nl80211_join_ibss() local
11201 err = ieee80211_get_ratemask(sband, rates, n_rates, in nl80211_join_ibss()
12832 int n_rates = in nl80211_join_mesh() local
12841 err = ieee80211_get_ratemask(sband, rates, n_rates, in nl80211_join_mesh()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Ddp_tx.c609 status.n_rates = 1; in ath11k_dp_tx_complete_msdu()
/linux-6.1.9/include/net/
Dmac80211.h1214 u8 n_rates; member