]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtw89: refine C2H reg event polling timeout for LPS
authorChih-Kang Chang <gary.chang@realtek.com>
Tue, 23 Dec 2025 03:06:48 +0000 (11:06 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Fri, 26 Dec 2025 03:01:34 +0000 (11:01 +0800)
commitd38289fd1243996f3ed19620bf9a2022aab5af2e
tree7952ffbeb39cbd880a8a42e5ae6dc1585e82ad63
parent0ca9cb5b8dd287cf5520e1b20e2c95006d856e78
wifi: rtw89: refine C2H reg event polling timeout for LPS

The each of C2H reg event have different polling timeout. Refine the
LPS C2H reg event polling timeout. Otherwise, during SER, the FW has
already crashed, the leave LPS check will wait until timeout expires,
causing the SER recovery to take too long.

Signed-off-by: Chih-Kang Chang <gary.chang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20251223030651.480633-10-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/fw.c
drivers/net/wireless/realtek/rtw89/fw.h
drivers/net/wireless/realtek/rtw89/ps.c