wifi: rtw89: wow: add wait for H2C of FW-IPS mode

The C2H packet of FW-IPS mode is not handled by driver in the suspend
flow, and lead to WoWLAN firmware fail to enter PS mode and even some
SER happen. So add wait function for H2C of FW-IPS mode to check driver
handle the C2H packet before disabling interrupt and make the net-detect
function work fine.

Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20240826090439.17242-3-pkshih@realtek.com
This commit is contained in:
Chin-Yen Lee 2024-08-26 17:04:37 +08:00 • committed by Ping-Ke Shih
commit f6409a8a0a
5 changed files with 31 additions and 14 deletions