diff options
author | Ping-Ke Shih <pkshih@realtek.com> | 2022-05-20 09:17:28 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2022-05-30 11:35:58 +0200 |
commit | 768992eb92ec7664f14616ea0dcf8ca8ece6cf9a (patch) | |
tree | 151aff62e6ce84fae3f81c5df4003ce3d1550292 /drivers/net/wireless/realtek/rtw89/mac.h | |
parent | rtw89: fix null vif pointer when hw_scan fails (diff) | |
download | linux-768992eb92ec7664f14616ea0dcf8ca8ece6cf9a.tar.xz linux-768992eb92ec7664f14616ea0dcf8ca8ece6cf9a.zip |
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
Diffstat (limited to 'drivers/net/wireless/realtek/rtw89/mac.h')
-rw-r--r-- | drivers/net/wireless/realtek/rtw89/mac.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/realtek/rtw89/mac.h b/drivers/net/wireless/realtek/rtw89/mac.h index 9f511c8d8a37..f66619354734 100644 --- a/drivers/net/wireless/realtek/rtw89/mac.h +++ b/drivers/net/wireless/realtek/rtw89/mac.h @@ -666,6 +666,7 @@ enum mac_ax_err_info { MAC_AX_ERR_L2_ERR_APB_BBRF_TO_RX4281 = 0x2360, MAC_AX_ERR_L2_ERR_APB_BBRF_TO_OTHERS = 0x2370, MAC_AX_ERR_L2_RESET_DONE = 0x2400, + MAC_AX_ERR_L2_ERR_WDT_TIMEOUT_INT = 0x2599, MAC_AX_ERR_CPU_EXCEPTION = 0x3000, MAC_AX_ERR_ASSERTION = 0x4000, MAC_AX_GET_ERR_MAX, |