mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 18:43:33 +02:00
wifi: rtw89: obtain RX path from ppdu status IE00
The header v2 of ppdu status is optional, If it is not enabled, the RX path must be obtained from IE00 or IE01. Append the IE00 part. Signed-off-by: Chih-Kang Chang <gary.chang@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20250915065213.38659-5-pkshih@realtek.com
This commit is contained in:
parent
4e79a5cc01
commit
e156d2ab36
|
|
@ -1897,6 +1897,10 @@ static void rtw89_core_parse_phy_status_ie00(struct rtw89_dev *rtwdev,
|
|||
|
||||
tmp_rpl = le32_get_bits(ie->w0, RTW89_PHY_STS_IE00_W0_RPL);
|
||||
phy_ppdu->rpl_avg = tmp_rpl >> 1;
|
||||
|
||||
if (!phy_ppdu->hdr_2_en)
|
||||
phy_ppdu->rx_path_en =
|
||||
le32_get_bits(ie->w3, RTW89_PHY_STS_IE00_W3_RX_PATH_EN);
|
||||
}
|
||||
|
||||
static void rtw89_core_parse_phy_status_ie00_v2(struct rtw89_dev *rtwdev,
|
||||
|
|
|
|||
|
|
@ -572,6 +572,7 @@ struct rtw89_phy_sts_ie00 {
|
|||
} __packed;
|
||||
|
||||
#define RTW89_PHY_STS_IE00_W0_RPL GENMASK(15, 7)
|
||||
#define RTW89_PHY_STS_IE00_W3_RX_PATH_EN GENMASK(31, 28)
|
||||
|
||||
struct rtw89_phy_sts_ie00_v2 {
|
||||
__le32 w0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user