/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/ |
H A D | fw.c | 74 si->ra_report.txrate.flags = 0; in rtw_fw_ra_report_iter() 81 si->ra_report.txrate.legacy = rtw_desc_to_bitrate(rate); in rtw_fw_ra_report_iter() 87 si->ra_report.txrate.flags |= RATE_INFO_FLAGS_VHT_MCS; in rtw_fw_ra_report_iter() 89 si->ra_report.txrate.flags |= RATE_INFO_FLAGS_MCS; in rtw_fw_ra_report_iter() 92 si->ra_report.txrate.mcs = mcs; in rtw_fw_ra_report_iter() 93 si->ra_report.txrate.nss = nss; in rtw_fw_ra_report_iter() 97 si->ra_report.txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; in rtw_fw_ra_report_iter() 100 si->ra_report.txrate.bw = RATE_INFO_BW_80; in rtw_fw_ra_report_iter() 102 si->ra_report.txrate.bw = RATE_INFO_BW_40; in rtw_fw_ra_report_iter() 104 si->ra_report in rtw_fw_ra_report_iter() [all...] |
H A D | mac80211.c | 653 sinfo->txrate = si->ra_report.txrate; in rtw_ops_sta_statistics()
|
H A D | main.h | 747 struct rtw_ra_report ra_report; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/ |
H A D | phy.c | 2265 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 in rtw89_phy_c2h_ra_rpt_iter() [all...] |
H A D | debug.c | 3245 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 D | mac80211.c | 693 sinfo->txrate = rtwsta->ra_report.txrate; in rtw89_ops_sta_statistics()
|
H A D | coex.c | 6019 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 D | core.c | 689 if (rtwsta && rtwsta->ra_report.might_fallback_legacy) in __rtw89_core_tx_check_he_qos_htc()
|
H A D | core.h | 2826 struct rtw89_ra_report ra_report; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw88/ |
H A D | fw.c | 83 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 in rtw_fw_ra_report_iter() [all...] |
H A D | mac80211.c | 716 sinfo->txrate = si->ra_report.txrate; in rtw_ops_sta_statistics()
|
H A D | main.h | 758 struct rtw_ra_report ra_report; member
|
H A D | phy.c | 590 mask = rtw_phy_get_rrsr_mask(rtwdev, si->ra_report.desc_rate); in rtw_phy_rrsr_mask_min_iter()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtl8xxxu/ |
H A D | rtl8xxxu_8188e.c | 1559 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 D | rtl8xxxu_core.c | 4962 rarpt = &priv->ra_report; in rtl8xxxu_bss_info_changed() 6126 rarpt = &priv->ra_report; in rtl8xxxu_c2hcmd_callback() 6147 if (skb->len >= offsetofend(typeof(*c2h), ra_report.bw)) { in rtl8xxxu_c2hcmd_callback() 6148 if (c2h->ra_report.bw == RTL8XXXU_CHANNEL_WIDTH_40) in rtl8xxxu_c2hcmd_callback() 6154 rtl8xxxu_update_ra_report(rarpt, c2h->ra_report.rate, in rtl8xxxu_c2hcmd_callback() 6155 c2h->ra_report.sgi, bw); in rtl8xxxu_c2hcmd_callback() 6198 c2h->ra_report.rate, c2h->ra_report.sgi, in rtl8723bu_handle_c2h() 6199 c2h->ra_report.macid, c2h->ra_report in rtl8723bu_handle_c2h() [all...] |
H A D | rtl8xxxu.h | 1643 } __packed ra_report; member 1905 struct rtl8xxxu_ra_report ra_report; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtl8xxxu/ |
H A D | rtl8xxxu.h | 1191 } __packed ra_report; member 1394 struct rtl8xxxu_ra_report ra_report; member
|
H A D | rtl8xxxu_core.c | 5493 rarpt = &priv->ra_report; in rtl8xxxu_c2hcmd_callback() 5515 rate = c2h->ra_report.rate; in rtl8xxxu_c2hcmd_callback() 5516 sgi = c2h->ra_report.sgi; in rtl8xxxu_c2hcmd_callback() 5533 if (skb->len >= offsetofend(typeof(*c2h), ra_report.bw)) { in rtl8xxxu_c2hcmd_callback() 5534 if (c2h->ra_report.bw == RTL8XXXU_CHANNEL_WIDTH_40) in rtl8xxxu_c2hcmd_callback() 5587 c2h->ra_report.rate, c2h->ra_report.sgi, in rtl8723bu_handle_c2h() 5588 c2h->ra_report.macid, c2h->ra_report.noisy_state); in rtl8723bu_handle_c2h() 6193 sinfo->txrate = priv->ra_report in rtl8xxxu_sta_statistics() [all...] |