]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: rtw89: mcc: stop TX during MCC prepare
authorChih-Kang Chang <gary.chang@realtek.com>
Fri, 3 Oct 2025 15:20:04 +0000 (11:20 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Oct 2025 11:01:00 +0000 (13:01 +0200)
commit23b3c59f820f4f4563e8a25fe8f6b019574dcf0c
tree6e5b4bcead4306d6ba4bc80cc5e98685d041b5d4
parent94129770ddbecd670187c45bd20fad6e5cca3e49
wifi: rtw89: mcc: stop TX during MCC prepare

[ Upstream commit 182c7ff8b87e4edbb2227ede39ae0952da7a0f4a ]

Stop TX during the MCC configuration period to prevent packet leakage.
The stop time is defined as 'start_tsf - tsf', which means the duration
from when MCC configuration begins until MCC starts.

Signed-off-by: Chih-Kang Chang <gary.chang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250610130034.14692-6-pkshih@realtek.com
Stable-dep-of: 3e31a6bc0731 ("wifi: rtw89: fix use-after-free in rtw89_core_tx_kick_off_and_wait()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/realtek/rtw89/chan.c
drivers/net/wireless/realtek/rtw89/chan.h
drivers/net/wireless/realtek/rtw89/core.c
drivers/net/wireless/realtek/rtw89/core.h