]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: rtw89: 8852b: fix definition of KIP register number
authorKuan-Chung Chen <damon.chen@realtek.com>
Fri, 21 Jun 2024 12:36:17 +0000 (20:36 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Thu, 27 Jun 2024 01:54:18 +0000 (09:54 +0800)
An incorrect definition caused DPK to fail to backup and
restore a set of KIP registers. Fixing this will improve
RX throughput from 902 to 997 Mbps.

Fixes: 5b8471ace5b1 ("wifi: rtw89: 8852b: rfk: add DPK")
Signed-off-by: Kuan-Chung Chen <damon.chen@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20240621123617.6687-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.c

index 7c90e98dc1d91295b4e3e7cd1ed37e1dbe7dd79c..12354612441c4b85f581d12d1097826471e1def4 100644 (file)
@@ -21,7 +21,7 @@
 #define RTW8852B_RF_REL_VERSION 34
 #define RTW8852B_DPK_VER 0x0d
 #define RTW8852B_DPK_RF_PATH 2
-#define RTW8852B_DPK_KIP_REG_NUM 2
+#define RTW8852B_DPK_KIP_REG_NUM 3
 
 #define _TSSI_DE_MASK GENMASK(21, 12)
 #define ADDC_T_AVG 100