]> git.ipfire.org Git - thirdparty/openwrt.git/blob
c6ac2818dd795499f660abfffa540b0daa4d066a
[thirdparty/openwrt.git] /
1 From 62f726848da42554e6d270dfda17ed19bfa3456f Mon Sep 17 00:00:00 2001
2 From: Bitterblue Smith <rtl8821cerfe2@gmail.com>
3 Date: Tue, 4 Feb 2025 20:38:17 +0200
4 Subject: [PATCH] wifi: rtw88: Extend struct rtw_pwr_track_tbl for RTL8814AU
5
6 Currently this struct has the members required for chips with 2 RF
7 paths. Add more members to support chips with 4 RF paths, like the
8 RTL8814AU.
9
10 Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
11 Acked-by: Ping-Ke Shih <pkshih@realtek.com>
12 Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
13 Link: https://patch.msgid.link/be5a73f4-a0fe-43d6-9457-930cde199284@gmail.com
14 ---
15 drivers/net/wireless/realtek/rtw88/main.h | 12 ++++++++++++
16 1 file changed, 12 insertions(+)
17
18 --- a/drivers/net/wireless/realtek/rtw88/main.h
19 +++ b/drivers/net/wireless/realtek/rtw88/main.h
20 @@ -1130,14 +1130,26 @@ struct rtw_rfe_def {
21 * For 2G there are cck rate and ofdm rate with different settings.
22 */
23 struct rtw_pwr_track_tbl {
24 + const u8 *pwrtrk_5gd_n[RTW_PWR_TRK_5G_NUM];
25 + const u8 *pwrtrk_5gd_p[RTW_PWR_TRK_5G_NUM];
26 + const u8 *pwrtrk_5gc_n[RTW_PWR_TRK_5G_NUM];
27 + const u8 *pwrtrk_5gc_p[RTW_PWR_TRK_5G_NUM];
28 const u8 *pwrtrk_5gb_n[RTW_PWR_TRK_5G_NUM];
29 const u8 *pwrtrk_5gb_p[RTW_PWR_TRK_5G_NUM];
30 const u8 *pwrtrk_5ga_n[RTW_PWR_TRK_5G_NUM];
31 const u8 *pwrtrk_5ga_p[RTW_PWR_TRK_5G_NUM];
32 + const u8 *pwrtrk_2gd_n;
33 + const u8 *pwrtrk_2gd_p;
34 + const u8 *pwrtrk_2gc_n;
35 + const u8 *pwrtrk_2gc_p;
36 const u8 *pwrtrk_2gb_n;
37 const u8 *pwrtrk_2gb_p;
38 const u8 *pwrtrk_2ga_n;
39 const u8 *pwrtrk_2ga_p;
40 + const u8 *pwrtrk_2g_cckd_n;
41 + const u8 *pwrtrk_2g_cckd_p;
42 + const u8 *pwrtrk_2g_cckc_n;
43 + const u8 *pwrtrk_2g_cckc_p;
44 const u8 *pwrtrk_2g_cckb_n;
45 const u8 *pwrtrk_2g_cckb_p;
46 const u8 *pwrtrk_2g_ccka_n;