Home
last modified time | relevance | path

Searched refs:rateidx (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mac.c282 rateidx = ffs(mask->control[band]._mcs[i]) - 1; \
284 rateidx += 8 * i; \
300 int rateidx = 0, mcast_rate; in mt76_connac2_mac_tx_rate_val() local
306 rateidx = ffs(vif->bss_conf.basic_rates) - 1; in mt76_connac2_mac_tx_rate_val()
320 rateidx = ffs(mask->control[band].legacy) - 1; in mt76_connac2_mac_tx_rate_val()
327 rateidx = mcast_rate - 1; in mt76_connac2_mac_tx_rate_val()
329 rateidx = ffs(vif->bss_conf.basic_rates) - 1; in mt76_connac2_mac_tx_rate_val()
332 rateidx = mt76_calculate_default_rate(mphy, vif, rateidx); in mt76_connac2_mac_tx_rate_val()
333 mode = rateidx >> in mt76_connac2_mac_tx_rate_val()
[all...]
H A Dmac80211.c1701 struct ieee80211_vif *vif, int rateidx) in mt76_calculate_default_rate()
1713 if (rateidx < 0) in mt76_calculate_default_rate()
1714 rateidx = 0; in mt76_calculate_default_rate()
1716 rateidx += offset; in mt76_calculate_default_rate()
1717 if (rateidx >= ARRAY_SIZE(mt76_rates)) in mt76_calculate_default_rate()
1718 rateidx = offset; in mt76_calculate_default_rate()
1720 return mt76_rates[rateidx].hw_value; in mt76_calculate_default_rate()
1700 mt76_calculate_default_rate(struct mt76_phy *phy, struct ieee80211_vif *vif, int rateidx) mt76_calculate_default_rate() argument
H A Dmt76.h1104 struct ieee80211_vif *vif, int rateidx);
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/
H A Dmac.h54 int ath12k_mac_hw_ratecode_to_legacy_rate(u8 hw_rc, u8 preamble, u8 *rateidx,
H A Dmac.c367 int ath12k_mac_hw_ratecode_to_legacy_rate(u8 hw_rc, u8 preamble, u8 *rateidx, in ath12k_mac_hw_ratecode_to_legacy_rate() argument
382 *rateidx = i; in ath12k_mac_hw_ratecode_to_legacy_rate()
2505 u8 rateidx; in ath12k_mac_op_bss_info_changed() local
2683 rateidx = mcast_rate - 1; in ath12k_mac_op_bss_info_changed()
2685 rateidx = ffs(vif->bss_conf.basic_rates) - 1; in ath12k_mac_op_bss_info_changed()
2688 rateidx += ATH12K_MAC_FIRST_OFDM_RATE_IDX; in ath12k_mac_op_bss_info_changed()
2690 bitrate = ath12k_legacy_rates[rateidx].bitrate; in ath12k_mac_op_bss_info_changed()
2691 hw_value = ath12k_legacy_rates[rateidx].hw_value; in ath12k_mac_op_bss_info_changed()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
H A Dmac.h125 int ath11k_mac_hw_ratecode_to_legacy_rate(u8 hw_rc, u8 preamble, u8 *rateidx,
H A Dmac.c284 int ath11k_mac_hw_ratecode_to_legacy_rate(u8 hw_rc, u8 preamble, u8 *rateidx, in ath11k_mac_hw_ratecode_to_legacy_rate() argument
299 *rateidx = i; in ath11k_mac_hw_ratecode_to_legacy_rate()
1874 u8 rateidx; in ath11k_mac_op_bss_info_changed() local
2041 rateidx = mcast_rate - 1; in ath11k_mac_op_bss_info_changed()
2043 rateidx = ffs(vif->bss_conf.basic_rates) - 1; in ath11k_mac_op_bss_info_changed()
2046 rateidx += ATH11K_MAC_FIRST_OFDM_RATE_IDX; in ath11k_mac_op_bss_info_changed()
2048 bitrate = ath11k_legacy_rates[rateidx].bitrate; in ath11k_mac_op_bss_info_changed()
2049 hw_value = ath11k_legacy_rates[rateidx].hw_value; in ath11k_mac_op_bss_info_changed()
/kernel/linux/linux-5.10/net/mac80211/
H A Dairtime.c638 int rateidx, shift = 0; in ieee80211_calc_expected_tx_airtime() local
709 rateidx = basic_rates ? ffs(basic_rates) - 1 : 0; in ieee80211_calc_expected_tx_airtime()
710 rate = sband->bitrates[rateidx].bitrate << shift; in ieee80211_calc_expected_tx_airtime()
711 cck = sband->bitrates[rateidx].flags & IEEE80211_RATE_MANDATORY_B; in ieee80211_calc_expected_tx_airtime()
/kernel/linux/linux-6.6/net/mac80211/
H A Dairtime.c635 int rateidx, shift = 0; in ieee80211_calc_expected_tx_airtime() local
706 rateidx = basic_rates ? ffs(basic_rates) - 1 : 0; in ieee80211_calc_expected_tx_airtime()
707 rate = sband->bitrates[rateidx].bitrate << shift; in ieee80211_calc_expected_tx_airtime()
708 cck = sband->bitrates[rateidx].flags & IEEE80211_RATE_MANDATORY_B; in ieee80211_calc_expected_tx_airtime()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A Dbeacon.c73 struct ath_buf *bf, int rateidx) in ath9k_beacon_setup()
84 rate = sband->bitrates[rateidx].hw_value; in ath9k_beacon_setup()
86 rate |= sband->bitrates[rateidx].hw_value_short; in ath9k_beacon_setup()
72 ath9k_beacon_setup(struct ath_softc *sc, struct ieee80211_vif *vif, struct ath_buf *bf, int rateidx) ath9k_beacon_setup() argument
H A Dxmit.c1131 u8 rateidx, bool is_40, bool is_cck) in ath_get_rate_txpower()
1182 max_power = min_t(u8, ah->tx_power[rateidx], txpower); in ath_get_rate_txpower()
1191 if (rateidx < 8 && (info->flags & IEEE80211_TX_CTL_STBC)) in ath_get_rate_txpower()
1192 max_power = min_t(u8, ah->tx_power_stbc[rateidx], in ath_get_rate_txpower()
1195 max_power = min_t(u8, ah->tx_power[rateidx], in ath_get_rate_txpower()
1130 ath_get_rate_txpower(struct ath_softc *sc, struct ath_buf *bf, u8 rateidx, bool is_40, bool is_cck) ath_get_rate_txpower() argument
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A Dbeacon.c73 struct ath_buf *bf, int rateidx) in ath9k_beacon_setup()
84 rate = sband->bitrates[rateidx].hw_value; in ath9k_beacon_setup()
86 rate |= sband->bitrates[rateidx].hw_value_short; in ath9k_beacon_setup()
72 ath9k_beacon_setup(struct ath_softc *sc, struct ieee80211_vif *vif, struct ath_buf *bf, int rateidx) ath9k_beacon_setup() argument
H A Dxmit.c1180 u8 rateidx, bool is_40, bool is_cck, bool is_mcs) in ath_get_rate_txpower()
1198 use_stbc = is_mcs && rateidx < 8 && (info->flags & in ath_get_rate_txpower()
1202 rateidx += is_5ghz ? ATH9K_PWRTBL_11NA_HT_SHIFT in ath_get_rate_txpower()
1205 rateidx += ATH9K_PWRTBL_11NG_OFDM_SHIFT; in ath_get_rate_txpower()
1207 rateidx += ATH9K_PWRTBL_11NA_OFDM_SHIFT; in ath_get_rate_txpower()
1243 max_power = min_t(u8, ah->tx_power[rateidx], txpower); in ath_get_rate_txpower()
1253 max_power = min_t(u8, ah->tx_power_stbc[rateidx], in ath_get_rate_txpower()
1256 max_power = min_t(u8, ah->tx_power[rateidx], in ath_get_rate_txpower()
1179 ath_get_rate_txpower(struct ath_softc *sc, struct ath_buf *bf, u8 rateidx, bool is_40, bool is_cck, bool is_mcs) ath_get_rate_txpower() argument
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
H A Dmac.h142 int ath11k_mac_hw_ratecode_to_legacy_rate(u8 hw_rc, u8 preamble, u8 *rateidx,
H A Dmac.c385 int ath11k_mac_hw_ratecode_to_legacy_rate(u8 hw_rc, u8 preamble, u8 *rateidx, in ath11k_mac_hw_ratecode_to_legacy_rate() argument
400 *rateidx = i; in ath11k_mac_hw_ratecode_to_legacy_rate()
3420 u8 rateidx; in ath11k_mac_op_bss_info_changed() local
3624 rateidx = mcast_rate - 1; in ath11k_mac_op_bss_info_changed()
3626 rateidx = ffs(vif->bss_conf.basic_rates) - 1; in ath11k_mac_op_bss_info_changed()
3629 rateidx += ATH11K_MAC_FIRST_OFDM_RATE_IDX; in ath11k_mac_op_bss_info_changed()
3631 bitrate = ath11k_legacy_rates[rateidx].bitrate; in ath11k_mac_op_bss_info_changed()
3632 hw_value = ath11k_legacy_rates[rateidx].hw_value; in ath11k_mac_op_bss_info_changed()
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/include/
H A Drtw_mp.h229 u8 rateidx; member
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
H A Drtw_mp.h237 u8 rateidx; member
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A Dmac.c5939 u8 rate, rateidx; in ath10k_bss_info_changed() local
6128 rateidx = mcast_rate - 1; in ath10k_bss_info_changed()
6130 rateidx = ffs(vif->bss_conf.basic_rates) - 1; in ath10k_bss_info_changed()
6133 rateidx += ATH10K_MAC_FIRST_OFDM_RATE_IDX; in ath10k_bss_info_changed()
6135 bitrate = ath10k_wmi_legacy_rates[rateidx].bitrate; in ath10k_bss_info_changed()
6136 hw_value = ath10k_wmi_legacy_rates[rateidx].hw_value; in ath10k_bss_info_changed()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/
H A Dmac.c6086 u8 rate, rateidx; in ath10k_bss_info_changed() local
6276 rateidx = mcast_rate - 1; in ath10k_bss_info_changed()
6278 rateidx = ffs(vif->bss_conf.basic_rates) - 1; in ath10k_bss_info_changed()
6281 rateidx += ATH10K_MAC_FIRST_OFDM_RATE_IDX; in ath10k_bss_info_changed()
6283 bitrate = ath10k_wmi_legacy_rates[rateidx].bitrate; in ath10k_bss_info_changed()
6284 hw_value = ath10k_wmi_legacy_rates[rateidx].hw_value; in ath10k_bss_info_changed()

Completed in 67 milliseconds