Skip to content

Commit

Permalink
wifi: rtw89: 8852b: fix definition of KIP register number
Browse files Browse the repository at this point in the history
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: 5b8471a ("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
(cherry picked from commit 2f35712ab82683554c660bc2456f05785835efbe)
  • Loading branch information
Kuan-Chung Chen authored and opsiff committed Jul 30, 2024
1 parent 10374fa commit c875c19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,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
Expand Down

0 comments on commit c875c19

Please sign in to comment.