]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtw88: dump firmware debug information in abnormal state
authorChin-Yen Lee <timlee@realtek.com>
Mon, 16 Oct 2023 05:35:54 +0000 (13:35 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 19 Oct 2023 07:28:02 +0000 (10:28 +0300)
commit20907fc069976fcf972239b7b253cf7c59c08a14
tree8d26c6cafb1aca489ffab3036d0ab599a6eaa722
parent1926a27299db00239d6bdc4c3f2bd3f842277d0d
wifi: rtw88: dump firmware debug information in abnormal state

Sometimes firmware may enter strange state or infinite
loop due to unknown bug, and then it will lead critical
function fail, such as sending H2C command or changing
power mode. In these abnormal states, we add more debug
information, including hardware register status, to help
further investigation.

Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20231016053554.744180-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/fw.c
drivers/net/wireless/realtek/rtw88/fw.h
drivers/net/wireless/realtek/rtw88/main.h
drivers/net/wireless/realtek/rtw88/ps.c
drivers/net/wireless/realtek/rtw88/reg.h