Home
last modified time | relevance | path

Searched refs:ra_report (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Dfw.c83 si->ra_report.txrate.flags = 0; in rtw_fw_ra_report_iter()
90 si->ra_report.txrate.legacy = rtw_desc_to_bitrate(rate); in rtw_fw_ra_report_iter()
96 si->ra_report.txrate.flags |= RATE_INFO_FLAGS_VHT_MCS; in rtw_fw_ra_report_iter()
98 si->ra_report.txrate.flags |= RATE_INFO_FLAGS_MCS; in rtw_fw_ra_report_iter()
101 si->ra_report.txrate.mcs = mcs; in rtw_fw_ra_report_iter()
102 si->ra_report.txrate.nss = nss; in rtw_fw_ra_report_iter()
106 si->ra_report.txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; in rtw_fw_ra_report_iter()
109 si->ra_report.txrate.bw = RATE_INFO_BW_80; in rtw_fw_ra_report_iter()
111 si->ra_report.txrate.bw = RATE_INFO_BW_40; in rtw_fw_ra_report_iter()
113 si->ra_report.txrate.bw = RATE_INFO_BW_20; in rtw_fw_ra_report_iter()
[all …]
H A Dmac80211.c716 sinfo->txrate = si->ra_report.txrate; in rtw_ops_sta_statistics()
H A Dmain.h758 struct rtw_ra_report ra_report; member
H A Dphy.c590 mask = rtw_phy_get_rrsr_mask(rtwdev, si->ra_report.desc_rate); in rtw_phy_rrsr_mask_min_iter()
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dphy.c2265 struct rtw89_ra_report *ra_report = &rtwsta->ra_report; in rtw89_phy_c2h_ra_rpt_iter() local
2298 memset(&ra_report->txrate, 0, sizeof(ra_report->txrate)); in rtw89_phy_c2h_ra_rpt_iter()
2302 ra_report->txrate.legacy = legacy_bitrate; in rtw89_phy_c2h_ra_rpt_iter()
2305 ra_report->txrate.flags |= RATE_INFO_FLAGS_MCS; in rtw89_phy_c2h_ra_rpt_iter()
2311 ra_report->txrate.mcs = rate; in rtw89_phy_c2h_ra_rpt_iter()
2313 ra_report->txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; in rtw89_phy_c2h_ra_rpt_iter()
2314 mcs = ra_report->txrate.mcs & 0x07; in rtw89_phy_c2h_ra_rpt_iter()
2317 ra_report->txrate.flags |= RATE_INFO_FLAGS_VHT_MCS; in rtw89_phy_c2h_ra_rpt_iter()
2318 ra_report->txrate.mcs = format_v1 ? in rtw89_phy_c2h_ra_rpt_iter()
2321 ra_report->txrate.nss = format_v1 ? in rtw89_phy_c2h_ra_rpt_iter()
[all …]
H A Ddebug.c3245 struct rate_info *rate = &rtwsta->ra_report.txrate; in rtw89_sta_info_get_iter()
3271 seq_printf(m, "%s", rtwsta->ra_report.might_fallback_legacy ? " FB_G" : ""); in rtw89_sta_info_get_iter()
3273 seq_printf(m, "\t(hw_rate=0x%x)", rtwsta->ra_report.hw_rate); in rtw89_sta_info_get_iter()
H A Dmac80211.c695 sinfo->txrate = rtwsta->ra_report.txrate; in rtw89_ops_sta_statistics()
H A Dcoex.c6019 if (last_tx_rate != rtwsta->ra_report.hw_rate || in rtw89_btc_ntfy_wl_sta_iter()
6025 link_info_t->tx_rate = rtwsta->ra_report.hw_rate; in rtw89_btc_ntfy_wl_sta_iter()
6038 r->active_role[port].tx_rate = rtwsta->ra_report.hw_rate; in rtw89_btc_ntfy_wl_sta_iter()
6044 r1->active_role_v1[port].tx_rate = rtwsta->ra_report.hw_rate; in rtw89_btc_ntfy_wl_sta_iter()
6049 dm->trx_info.tx_rate = rtwsta->ra_report.hw_rate; in rtw89_btc_ntfy_wl_sta_iter()
H A Dcore.c689 if (rtwsta && rtwsta->ra_report.might_fallback_legacy) in __rtw89_core_tx_check_he_qos_htc()
H A Dcore.h2826 struct rtw89_ra_report ra_report; member
/openbmc/linux/drivers/net/wireless/realtek/rtl8xxxu/
H A Drtl8xxxu_8188e.c1559 rtl8xxxu_update_ra_report(&priv->ra_report, ra->decision_rate, in rtl8188e_rate_decision()
1560 ra->rate_sgi, priv->ra_report.txrate.bw); in rtl8188e_rate_decision()
1564 rtl8xxxu_update_ra_report(&priv->ra_report, ra->decision_rate, in rtl8188e_rate_decision()
1565 ra->rate_sgi, priv->ra_report.txrate.bw); in rtl8188e_rate_decision()
H A Drtl8xxxu_core.c4957 rarpt = &priv->ra_report; in rtl8xxxu_bss_info_changed()
6121 rarpt = &priv->ra_report; in rtl8xxxu_c2hcmd_callback()
6142 if (skb->len >= offsetofend(typeof(*c2h), ra_report.bw)) { in rtl8xxxu_c2hcmd_callback()
6143 if (c2h->ra_report.bw == RTL8XXXU_CHANNEL_WIDTH_40) in rtl8xxxu_c2hcmd_callback()
6149 rtl8xxxu_update_ra_report(rarpt, c2h->ra_report.rate, in rtl8xxxu_c2hcmd_callback()
6150 c2h->ra_report.sgi, bw); in rtl8xxxu_c2hcmd_callback()
6193 c2h->ra_report.rate, c2h->ra_report.sgi, in rtl8723bu_handle_c2h()
6194 c2h->ra_report.macid, c2h->ra_report.noisy_state); in rtl8723bu_handle_c2h()
6913 sinfo->txrate = priv->ra_report.txrate; in rtl8xxxu_sta_statistics()
H A Drtl8xxxu.h1652 } __packed ra_report; member
1914 struct rtl8xxxu_ra_report ra_report; member