rtw89: pci: handle hardware watchdog timeout interrupt status
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 20 May 2022 07:17:28 +0000 (15:17 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 30 May 2022 09:35:58 +0000 (12:35 +0300)
commit768992eb92ec7664f14616ea0dcf8ca8ece6cf9a
tree151aff62e6ce84fae3f81c5df4003ce3d1550292
parent6d7d1fef3f18e395b0b38f85b85b74fe98584f88
rtw89: pci: handle hardware watchdog timeout interrupt status

This watchdog timeout status bit indicates hardware gets wrong, so run SER
L2 flow that calls mac80211 to restart hardware.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220520071731.38563-4-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/mac.h
drivers/net/wireless/realtek/rtw89/pci.c
drivers/net/wireless/realtek/rtw89/pci.h