/freebsd/sys/contrib/dev/rtw89/ |
H A D | txrx.h | 28 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 D | coex.c | 6018 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 D | debug.c | 3286 seq_printf(m, "\t(hw_rate=0x%x)", rtwsta->ra_report.hw_rate); in rtw89_sta_info_get_iter()
|
H A D | core.h | 2759 u16 hw_rate; member
|
H A D | phy.c | 2354 ra_report->hw_rate = format_v1 ? in rtw89_phy_c2h_ra_rpt_iter()
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | mac.h | 59 u8 hw_rate, bool cck);
|
H A D | mac.c | 495 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 D | mac.h | 58 u8 hw_rate, bool cck);
|
H A D | mac.c | 130 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 D | mac.h | 147 u8 hw_rate, bool cck);
|
H A D | mac.c | 538 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 D | if_otus.c | 2169 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 D | tcp_ratelimit.c | 1571 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 D | bbr.c | 2716 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 D | rack.c | 2639 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()
|