]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
wifi: rtw89: wow: remove notify during WoWLAN net-detect
authorKuan-Chung Chen <damon.chen@realtek.com>
Mon, 11 Aug 2025 12:37:39 +0000 (20:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Nov 2025 20:34:13 +0000 (15:34 -0500)
[ Upstream commit 38846585f9df9af1f7261d85134a5510fc079458 ]

In WoWLAN net-detect mode, the firmware periodically performs scans
and sends scan reports via C2H, which driver does not need. These
unnecessary C2H events cause firmware watchdog timeout, leading
to unexpected wakeups and SER 0x2599 on 8922AE.

Signed-off-by: Kuan-Chung Chen <damon.chen@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250811123744.15361-4-pkshih@realtek.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/realtek/rtw89/fw.c

index 10a3a66a9981d883d15b2eb9186deeff1d84b2df..7894e1a569a2c6e16413c70be760a366663748e4 100644 (file)
@@ -6212,7 +6212,6 @@ static void rtw89_pno_scan_add_chan_ax(struct rtw89_dev *rtwdev,
        struct rtw89_pktofld_info *info;
        u8 probe_count = 0;
 
-       ch_info->notify_action = RTW89_SCANOFLD_DEBUG_MASK;
        ch_info->dfs_ch = chan_type == RTW89_CHAN_DFS;
        ch_info->bw = RTW89_SCAN_WIDTH;
        ch_info->tx_pkt = true;
@@ -6341,7 +6340,6 @@ static void rtw89_pno_scan_add_chan_be(struct rtw89_dev *rtwdev, int chan_type,
        struct rtw89_pktofld_info *info;
        u8 probe_count = 0, i;
 
-       ch_info->notify_action = RTW89_SCANOFLD_DEBUG_MASK;
        ch_info->dfs_ch = chan_type == RTW89_CHAN_DFS;
        ch_info->bw = RTW89_SCAN_WIDTH;
        ch_info->tx_null = false;