]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
wifi: rtw89: disable RTW89_PHYSTS_IE09_FTR_0 for ppdu status
authorChih-Kang Chang <gary.chang@realtek.com>
Mon, 15 Sep 2025 06:52:05 +0000 (14:52 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Nov 2025 20:37:26 +0000 (15:37 -0500)
[ Upstream commit 4e79a5cc01c5e1f1ba393ed3b44b0c3611eaadf1 ]

The IE length of RTW89_PHYSTS_IE09_FTR_0 is dynamic, need to calculate
more to get it. This IE is not necessary now, disable it to avoid get
wrong IE length to let the parse function check failed.

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-4-pkshih@realtek.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/realtek/rtw89/phy.c

index 01a03d2de3ffbec9dc5040e7cface07abf1c3189..59cb32720fb7b0cbc0dfb6b3475cfc3074aba72a 100644 (file)
@@ -5929,8 +5929,6 @@ static void __rtw89_physts_parsing_init(struct rtw89_dev *rtwdev,
                        val |= BIT(RTW89_PHYSTS_IE13_DL_MU_DEF) |
                               BIT(RTW89_PHYSTS_IE01_CMN_OFDM);
                } else if (i >= RTW89_CCK_PKT) {
-                       val |= BIT(RTW89_PHYSTS_IE09_FTR_0);
-
                        val &= ~(GENMASK(RTW89_PHYSTS_IE07_CMN_EXT_PATH_D,
                                         RTW89_PHYSTS_IE04_CMN_EXT_PATH_A));