Home
last modified time | relevance | path

Searched refs:hw_rate (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/contrib/dev/rtw89/
H A Dtxrx.h28 return u16_get_bits(hw_rate, DATA_RATE_MODE_CTRL_MASK_V1); in rtw89_get_data_rate_mode()
30 return u16_get_bits(hw_rate, DATA_RATE_MODE_CTRL_MASK); in rtw89_get_data_rate_mode()
35 return u16_get_bits(hw_rate, DATA_RATE_NOT_HT_IDX_MASK); in rtw89_get_data_not_ht_idx()
41 return u16_get_bits(hw_rate, DATA_RATE_HT_IDX_MASK_V1); in rtw89_get_data_ht_mcs()
43 return u16_get_bits(hw_rate, DATA_RATE_HT_IDX_MASK); in rtw89_get_data_ht_mcs()
46 static inline u8 rtw89_get_data_mcs(struct rtw89_dev *rtwdev, u16 hw_rate) in rtw89_get_data_mcs() argument
49 return u16_get_bits(hw_rate, DATA_RATE_MCS_MASK_V1); in rtw89_get_data_mcs()
51 return u16_get_bits(hw_rate, DATA_RATE_VHT_HE_IDX_MASK); in rtw89_get_data_mcs()
54 static inline u8 rtw89_get_data_nss(struct rtw89_dev *rtwdev, u16 hw_rate) in rtw89_get_data_nss() argument
57 return u16_get_bits(hw_rate, DATA_RATE_NSS_MASK_V1); in rtw89_get_data_nss()
[all …]
H A Dcoex.c6018 if (last_tx_rate != rtwsta->ra_report.hw_rate || in rtw89_btc_ntfy_wl_sta_iter()
6024 link_info_t->tx_rate = rtwsta->ra_report.hw_rate; in rtw89_btc_ntfy_wl_sta_iter()
6037 r->active_role[port].tx_rate = rtwsta->ra_report.hw_rate; in rtw89_btc_ntfy_wl_sta_iter()
6043 r1->active_role_v1[port].tx_rate = rtwsta->ra_report.hw_rate; in rtw89_btc_ntfy_wl_sta_iter()
6048 dm->trx_info.tx_rate = rtwsta->ra_report.hw_rate; in rtw89_btc_ntfy_wl_sta_iter()
H A Ddebug.c3286 seq_printf(m, "\t(hw_rate=0x%x)", rtwsta->ra_report.hw_rate); in rtw89_sta_info_get_iter()
H A Dcore.h2759 u16 hw_rate; member
H A Dphy.c2354 ra_report->hw_rate = format_v1 ? in rtw89_phy_c2h_ra_rpt_iter()
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dmac.h59 u8 hw_rate, bool cck);
H A Dmac.c495 u8 hw_rate, bool cck) in ath12k_mac_hw_rate_to_idx() argument
506 if (rate->hw_value == hw_rate) in ath12k_mac_hw_rate_to_idx()
509 rate->hw_value_short == hw_rate) in ath12k_mac_hw_rate_to_idx()
6478 u8 hw_rate; in ath12k_mac_get_single_legacy_rate() local
6488 hw_rate = ath12k_legacy_rates[rate_idx].hw_value; in ath12k_mac_get_single_legacy_rate()
6497 *rate = ATH12K_HW_RATE_CODE(hw_rate, 0, preamble); in ath12k_mac_get_single_legacy_rate()
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dmac.h58 u8 hw_rate, bool cck);
H A Dmac.c130 u8 hw_rate, bool cck) in ath10k_mac_hw_rate_to_idx() argument
141 if (rate->hw_value == hw_rate) in ath10k_mac_hw_rate_to_idx()
144 rate->hw_value_short == hw_rate) in ath10k_mac_hw_rate_to_idx()
6931 u8 hw_rate; in ath10k_mac_bitrate_mask_get_single_rate() local
6942 hw_rate = ath10k_wmi_legacy_rates[rate_idx].hw_value; in ath10k_mac_bitrate_mask_get_single_rate()
6953 hw_rate << 0; in ath10k_mac_bitrate_mask_get_single_rate()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dmac.h147 u8 hw_rate, bool cck);
H A Dmac.c538 u8 hw_rate, bool cck) in ath11k_mac_hw_rate_to_idx() argument
549 if (rate->hw_value == hw_rate) in ath11k_mac_hw_rate_to_idx()
552 rate->hw_value_short == hw_rate) in ath11k_mac_hw_rate_to_idx()
7985 u8 hw_rate; in ath11k_mac_get_single_legacy_rate() local
7995 hw_rate = ath11k_legacy_rates[rate_idx].hw_value; in ath11k_mac_get_single_legacy_rate()
8004 *rate = ATH11K_HW_RATE_CODE(hw_rate, 0, preamble); in ath11k_mac_get_single_legacy_rate()
/freebsd/sys/dev/otus/
H A Dif_otus.c2169 otus_hw_rate_is_ht(struct otus_softc *sc, uint8_t hw_rate) in otus_hw_rate_is_ht() argument
2172 return !! (hw_rate & 0x80); in otus_hw_rate_is_ht()
2176 otus_hw_rate_is_ofdm(struct otus_softc *sc, uint8_t hw_rate) in otus_hw_rate_is_ofdm() argument
2179 switch (hw_rate) { in otus_hw_rate_is_ofdm()
/freebsd/sys/netinet/
H A Dtcp_ratelimit.c1571 uint64_t hw_rate, uint32_t time_between, uint32_t calc_time_between, in tcp_log_pacing_size() argument
1589 log.u_bbr.delRate = hw_rate; in tcp_log_pacing_size()
/freebsd/sys/netinet/tcp_stacks/
H A Dbbr.c2716 uint64_t rate, uint64_t hw_rate, int line, uint32_t cts, in bbr_type_log_hdwr_pacing() argument
2723 log.u_bbr.flex1 = ((hw_rate >> 32) & 0x00000000ffffffff); in bbr_type_log_hdwr_pacing()
2724 log.u_bbr.flex2 = (hw_rate & 0x00000000ffffffff); in bbr_type_log_hdwr_pacing()
H A Drack.c2639 uint64_t rate, uint64_t hw_rate, int line, in rack_log_hdwr_pacing() argument
2648 log.u_bbr.flex1 = ((hw_rate >> 32) & 0x00000000ffffffff); in rack_log_hdwr_pacing()
2649 log.u_bbr.flex2 = (hw_rate & 0x00000000ffffffff); in rack_log_hdwr_pacing()