wifi: rtw89: 8852a: correct WDE IMR settings
authorChia-Yuan Li <leo.li@realtek.com>
Tue, 2 Aug 2022 12:38:16 +0000 (20:38 +0800)
committerKalle Valo <kvalo@kernel.org>
Tue, 9 Aug 2022 06:01:15 +0000 (09:01 +0300)
Correct IMR settings to let self error recover mechanism works accurately.

Signed-off-by: Chia-Yuan Li <leo.li@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/20220802123816.16685-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/reg.h

index ebf2871..76d3d9a 100644 (file)
                          B_AX_WDE_DATCHN_NULLPG_ERR_INT_EN | \
                          B_AX_WDE_DATCHN_FRZTO_ERR_INT_EN)
 #define B_AX_WDE_IMR_SET (B_AX_WDE_BUFREQ_QTAID_ERR_INT_EN | \
-                         B_AX_WDE_BUFREQ_SIZE0_INT_EN | \
-                         B_AX_WDE_BUFREQ_SIZELMT_INT_EN | \
-                         B_AX_WDE_BUFREQ_UNAVAL_ERR_INT_EN_V1 | \
-                         B_AX_WDE_BUFRTN_INVLD_PKTID_ERR_INT_EN_V1 | \
-                         B_AX_WDE_BUFRTN_SIZE_ERR_INT_EN_V1 | \
-                         B_AX_WDE_BUFREQ_SRCHTAILPG_ERR_INT_EN_V1 | \
-                         B_AX_WDE_GETNPG_STRPG_ERR_INT_EN_V1 | \
-                         B_AX_WDE_GETNPG_PGOFST_ERR_INT_EN_V1 | \
-                         B_AX_WDE_BUFMGN_FRZTO_ERR_INT_EN_V1 | \
+                         B_AX_WDE_BUFREQ_UNAVAL_ERR_INT_EN | \
+                         B_AX_WDE_BUFRTN_INVLD_PKTID_ERR_INT_EN | \
+                         B_AX_WDE_BUFRTN_SIZE_ERR_INT_EN | \
+                         B_AX_WDE_BUFREQ_SRCHTAILPG_ERR_INT_EN | \
+                         B_AX_WDE_GETNPG_STRPG_ERR_INT_EN | \
+                         B_AX_WDE_GETNPG_PGOFST_ERR_INT_EN | \
+                         B_AX_WDE_BUFMGN_FRZTO_ERR_INT_EN | \
                          B_AX_WDE_QUE_CMDTYPE_ERR_INT_EN | \
                          B_AX_WDE_QUE_DSTQUEID_ERR_INT_EN | \
                          B_AX_WDE_QUE_SRCQUEID_ERR_INT_EN | \
                          B_AX_WDE_QUEMGN_FRZTO_ERR_INT_EN | \
                          B_AX_WDE_DATCHN_ARBT_ERR_INT_EN | \
                          B_AX_WDE_DATCHN_NULLPG_ERR_INT_EN | \
-                         B_AX_WDE_DATCHN_FRZTO_ERR_INT_EN | \
-                         B_AX_WDE_DATCHN_RRDY_ERR_INT_EN | \
-                         B_AX_WDE_DATCHN_ADRERR_ERR_INT_EN | \
-                         B_AX_WDE_DATCHN_CAMREQ_ERR_INT_EN)
+                         B_AX_WDE_DATCHN_FRZTO_ERR_INT_EN)
 
 #define B_AX_WDE_DATCHN_CAMREQ_ERR_INT_EN BIT(29)
 #define B_AX_WDE_DATCHN_ADRERR_ERR_INT_EN BIT(28)