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

/linux-master/drivers/net/wireless/ath/ath12k/
H A Dmac.h57 int ath12k_mac_hw_ratecode_to_legacy_rate(u8 hw_rc, u8 preamble, u8 *rateidx,
H A Dmac.c372 int ath12k_mac_hw_ratecode_to_legacy_rate(u8 hw_rc, u8 preamble, u8 *rateidx, argument
387 *rateidx = i;
2696 u8 rateidx; local
2874 rateidx = mcast_rate - 1;
2876 rateidx = ffs(vif->bss_conf.basic_rates) - 1;
2879 rateidx += ATH12K_MAC_FIRST_OFDM_RATE_IDX;
2881 bitrate = ath12k_legacy_rates[rateidx].bitrate;
2882 hw_value = ath12k_legacy_rates[rateidx].hw_value;
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mac.c283 rateidx = ffs(mask->control[band]._mcs[i]) - 1; \
285 rateidx += 8 * i; \
301 int rateidx = 0, mcast_rate; local
307 rateidx = ffs(vif->bss_conf.basic_rates) - 1;
321 rateidx = ffs(mask->control[band].legacy) - 1;
328 rateidx = mcast_rate - 1;
330 rateidx = ffs(vif->bss_conf.basic_rates) - 1;
333 rateidx = mt76_calculate_default_rate(mphy, vif, rateidx);
334 mode = rateidx >>
[all...]
H A Dmac80211.c1768 struct ieee80211_vif *vif, int rateidx)
1780 if (rateidx < 0)
1781 rateidx = 0;
1783 rateidx += offset;
1784 if (rateidx >= ARRAY_SIZE(mt76_rates))
1785 rateidx = offset;
1787 return mt76_rates[rateidx].hw_value;
1767 mt76_calculate_default_rate(struct mt76_phy *phy, struct ieee80211_vif *vif, int rateidx) argument
H A Dmt76.h1177 struct ieee80211_vif *vif, int rateidx);
/linux-master/drivers/net/wireless/ath/ath11k/
H A Dmac.h143 int ath11k_mac_hw_ratecode_to_legacy_rate(u8 hw_rc, u8 preamble, u8 *rateidx,
H A Dmac.c383 int ath11k_mac_hw_ratecode_to_legacy_rate(u8 hw_rc, u8 preamble, u8 *rateidx, argument
398 *rateidx = i;
3430 u8 rateidx; local
3633 rateidx = mcast_rate - 1;
3635 rateidx = ffs(vif->bss_conf.basic_rates) - 1;
3638 rateidx += ATH11K_MAC_FIRST_OFDM_RATE_IDX;
3640 bitrate = ath11k_legacy_rates[rateidx].bitrate;
3641 hw_value = ath11k_legacy_rates[rateidx].hw_value;
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dbeacon.c73 struct ath_buf *bf, int rateidx)
84 rate = sband->bitrates[rateidx].hw_value;
86 rate |= sband->bitrates[rateidx].hw_value_short;
72 ath9k_beacon_setup(struct ath_softc *sc, struct ieee80211_vif *vif, struct ath_buf *bf, int rateidx) argument
H A Dxmit.c1179 u8 rateidx, bool is_40, bool is_cck, bool is_mcs)
1197 use_stbc = is_mcs && rateidx < 8 && (info->flags &
1201 rateidx += is_5ghz ? ATH9K_PWRTBL_11NA_HT_SHIFT
1204 rateidx += ATH9K_PWRTBL_11NG_OFDM_SHIFT;
1206 rateidx += ATH9K_PWRTBL_11NA_OFDM_SHIFT;
1242 max_power = min_t(u8, ah->tx_power[rateidx], txpower);
1252 max_power = min_t(u8, ah->tx_power_stbc[rateidx],
1255 max_power = min_t(u8, ah->tx_power[rateidx],
1178 ath_get_rate_txpower(struct ath_softc *sc, struct ath_buf *bf, u8 rateidx, bool is_40, bool is_cck, bool is_mcs) argument
/linux-master/net/mac80211/
H A Dairtime.c635 int rateidx; local
704 rateidx = basic_rates ? ffs(basic_rates) - 1 : 0;
705 rate = sband->bitrates[rateidx].bitrate;
706 cck = sband->bitrates[rateidx].flags & IEEE80211_RATE_MANDATORY_B;
/linux-master/drivers/staging/rtl8723bs/include/
H A Drtw_mp.h229 u8 rateidx; member in struct:mp_priv
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dmac.c6088 u8 rate, rateidx; local
6277 rateidx = mcast_rate - 1;
6279 rateidx = ffs(vif->bss_conf.basic_rates) - 1;
6282 rateidx += ATH10K_MAC_FIRST_OFDM_RATE_IDX;
6284 bitrate = ath10k_wmi_legacy_rates[rateidx].bitrate;
6285 hw_value = ath10k_wmi_legacy_rates[rateidx].hw_value;

Completed in 216 milliseconds