Skip to content

Commit d73db7f

Browse files
committed
wifi: rtw89: 8852b: Add rtw8852b_dle_mem_usb3
JIRA: https://issues.redhat.com/browse/RHEL-114891 commit b57b556 Author: Bitterblue Smith <rtl8821cerfe2@gmail.com> Date: Sat Jul 5 22:38:14 2025 +0300 wifi: rtw89: 8852b: Add rtw8852b_dle_mem_usb3 "dle" could be "Data Link Engine" or "Double Link Engine". These are some parameters needed for RTL8852BU. In this case the same parameters are used for USB 2 and USB 3. Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com> Acked-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/7224021b-4fb5-44bc-aeb1-3a6fd3625f2a@gmail.com Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
1 parent 38bb6f5 commit d73db7f

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

drivers/net/wireless/realtek/rtw89/rtw8852b.c

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,19 @@ static const struct rtw89_dle_mem rtw8852b_dle_mem_pcie[] = {
6666
NULL},
6767
};
6868

69+
static const struct rtw89_dle_mem rtw8852b_dle_mem_usb3[] = {
70+
[RTW89_QTA_SCC] = {RTW89_QTA_SCC, &rtw89_mac_size.wde_size25,
71+
&rtw89_mac_size.ple_size33, &rtw89_mac_size.wde_qt25,
72+
&rtw89_mac_size.wde_qt25, &rtw89_mac_size.ple_qt74,
73+
&rtw89_mac_size.ple_qt75},
74+
[RTW89_QTA_DLFW] = {RTW89_QTA_DLFW, &rtw89_mac_size.wde_size9,
75+
&rtw89_mac_size.ple_size8, &rtw89_mac_size.wde_qt4,
76+
&rtw89_mac_size.wde_qt4, &rtw89_mac_size.ple_qt13,
77+
&rtw89_mac_size.ple_qt13},
78+
[RTW89_QTA_INVALID] = {RTW89_QTA_INVALID, NULL, NULL, NULL, NULL, NULL,
79+
NULL},
80+
};
81+
6982
static const u32 rtw8852b_h2c_regs[RTW89_H2CREG_MAX] = {
7083
R_AX_H2CREG_DATA0, R_AX_H2CREG_DATA1, R_AX_H2CREG_DATA2,
7184
R_AX_H2CREG_DATA3
@@ -834,7 +847,10 @@ const struct rtw89_chip_info rtw8852b_chip_info = {
834847
.dis_2g_40m_ul_ofdma = true,
835848
.rsvd_ple_ofst = 0x2f800,
836849
.hfc_param_ini = {rtw8852b_hfc_param_ini_pcie, NULL, NULL},
837-
.dle_mem = {rtw8852b_dle_mem_pcie, NULL, NULL, NULL},
850+
.dle_mem = {rtw8852b_dle_mem_pcie,
851+
rtw8852b_dle_mem_usb3,
852+
rtw8852b_dle_mem_usb3,
853+
NULL},
838854
.wde_qempty_acq_grpnum = 4,
839855
.wde_qempty_mgq_grpsel = 4,
840856
.rf_base_addr = {0xe000, 0xf000},

0 commit comments

Comments
 (0)