xref: /freebsd/sys/contrib/dev/rtw89/rtw8852a_rfk_table.h (revision 1a2b55732ff27fba2533724a72a39d33516c9417)
1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2 /* Copyright(c) 2019-2020  Realtek Corporation
3  */
4 
5 #ifndef __RTW89_8852A_RFK_TABLE_H__
6 #define __RTW89_8852A_RFK_TABLE_H__
7 
8 #include "phy.h"
9 
10 extern const struct rtw89_rfk_tbl rtw8852a_tssi_sys_defs_tbl;
11 extern const struct rtw89_rfk_tbl rtw8852a_tssi_sys_defs_2g_tbl;
12 extern const struct rtw89_rfk_tbl rtw8852a_tssi_sys_defs_5g_tbl;
13 extern const struct rtw89_rfk_tbl rtw8852a_tssi_txpwr_ctrl_bb_defs_a_tbl;
14 extern const struct rtw89_rfk_tbl rtw8852a_tssi_txpwr_ctrl_bb_defs_b_tbl;
15 extern const struct rtw89_rfk_tbl rtw8852a_tssi_txpwr_ctrl_bb_defs_2g_tbl;
16 extern const struct rtw89_rfk_tbl rtw8852a_tssi_txpwr_ctrl_bb_defs_5g_tbl;
17 extern const struct rtw89_rfk_tbl rtw8852a_tssi_txpwr_ctrl_bb_he_tb_defs_a_tbl;
18 extern const struct rtw89_rfk_tbl rtw8852a_tssi_txpwr_ctrl_bb_he_tb_defs_b_tbl;
19 extern const struct rtw89_rfk_tbl rtw8852a_tssi_dck_defs_a_tbl;
20 extern const struct rtw89_rfk_tbl rtw8852a_tssi_dck_defs_b_tbl;
21 extern const struct rtw89_rfk_tbl rtw8852a_tssi_dac_gain_tbl_defs_a_tbl;
22 extern const struct rtw89_rfk_tbl rtw8852a_tssi_dac_gain_tbl_defs_b_tbl;
23 extern const struct rtw89_rfk_tbl rtw8852a_tssi_slope_cal_org_defs_a_tbl;
24 extern const struct rtw89_rfk_tbl rtw8852a_tssi_slope_cal_org_defs_b_tbl;
25 extern const struct rtw89_rfk_tbl rtw8852a_tssi_rf_gap_tbl_defs_a_tbl;
26 extern const struct rtw89_rfk_tbl rtw8852a_tssi_rf_gap_tbl_defs_b_tbl;
27 extern const struct rtw89_rfk_tbl rtw8852a_tssi_slope_defs_a_tbl;
28 extern const struct rtw89_rfk_tbl rtw8852a_tssi_slope_defs_b_tbl;
29 extern const struct rtw89_rfk_tbl rtw8852a_tssi_track_defs_a_tbl;
30 extern const struct rtw89_rfk_tbl rtw8852a_tssi_track_defs_b_tbl;
31 extern const struct rtw89_rfk_tbl rtw8852a_tssi_txagc_ofst_mv_avg_defs_a_tbl;
32 extern const struct rtw89_rfk_tbl rtw8852a_tssi_txagc_ofst_mv_avg_defs_b_tbl;
33 extern const struct rtw89_rfk_tbl rtw8852a_tssi_pak_defs_a_2g_tbl;
34 extern const struct rtw89_rfk_tbl rtw8852a_tssi_pak_defs_a_5g_1_tbl;
35 extern const struct rtw89_rfk_tbl rtw8852a_tssi_pak_defs_a_5g_3_tbl;
36 extern const struct rtw89_rfk_tbl rtw8852a_tssi_pak_defs_a_5g_4_tbl;
37 extern const struct rtw89_rfk_tbl rtw8852a_tssi_pak_defs_b_2g_tbl;
38 extern const struct rtw89_rfk_tbl rtw8852a_tssi_pak_defs_b_5g_1_tbl;
39 extern const struct rtw89_rfk_tbl rtw8852a_tssi_pak_defs_b_5g_3_tbl;
40 extern const struct rtw89_rfk_tbl rtw8852a_tssi_pak_defs_b_5g_4_tbl;
41 extern const struct rtw89_rfk_tbl rtw8852a_tssi_enable_defs_a_tbl;
42 extern const struct rtw89_rfk_tbl rtw8852a_tssi_enable_defs_b_tbl;
43 extern const struct rtw89_rfk_tbl rtw8852a_tssi_enable_defs_ab_tbl;
44 extern const struct rtw89_rfk_tbl rtw8852a_tssi_disable_defs_tbl;
45 extern const struct rtw89_rfk_tbl rtw8852a_tssi_tracking_defs_tbl;
46 
47 extern const struct rtw89_rfk_tbl rtw8852a_rfk_afe_init_defs_tbl;
48 extern const struct rtw89_rfk_tbl rtw8852a_rfk_dack_reload_defs_a_tbl;
49 extern const struct rtw89_rfk_tbl rtw8852a_rfk_dack_reload_defs_b_tbl;
50 extern const struct rtw89_rfk_tbl rtw8852a_rfk_check_addc_defs_a_tbl;
51 extern const struct rtw89_rfk_tbl rtw8852a_rfk_check_addc_defs_b_tbl;
52 extern const struct rtw89_rfk_tbl rtw8852a_rfk_addck_reset_defs_a_tbl;
53 extern const struct rtw89_rfk_tbl rtw8852a_rfk_addck_trigger_defs_a_tbl;
54 extern const struct rtw89_rfk_tbl rtw8852a_rfk_addck_restore_defs_a_tbl;
55 extern const struct rtw89_rfk_tbl rtw8852a_rfk_addck_reset_defs_b_tbl;
56 extern const struct rtw89_rfk_tbl rtw8852a_rfk_addck_trigger_defs_b_tbl;
57 extern const struct rtw89_rfk_tbl rtw8852a_rfk_addck_restore_defs_b_tbl;
58 extern const struct rtw89_rfk_tbl rtw8852a_rfk_check_dadc_defs_f_a_tbl;
59 extern const struct rtw89_rfk_tbl rtw8852a_rfk_check_dadc_defs_f_b_tbl;
60 extern const struct rtw89_rfk_tbl rtw8852a_rfk_check_dadc_defs_r_a_tbl;
61 extern const struct rtw89_rfk_tbl rtw8852a_rfk_check_dadc_defs_r_b_tbl;
62 extern const struct rtw89_rfk_tbl rtw8852a_rfk_dack_defs_f_a_tbl;
63 extern const struct rtw89_rfk_tbl rtw8852a_rfk_dack_defs_m_a_tbl;
64 extern const struct rtw89_rfk_tbl rtw8852a_rfk_dack_defs_r_a_tbl;
65 extern const struct rtw89_rfk_tbl rtw8852a_rfk_dack_defs_f_b_tbl;
66 extern const struct rtw89_rfk_tbl rtw8852a_rfk_dack_defs_m_b_tbl;
67 extern const struct rtw89_rfk_tbl rtw8852a_rfk_dack_defs_r_b_tbl;
68 extern const struct rtw89_rfk_tbl rtw8852a_rfk_dpk_bb_afe_sf_defs_a_tbl;
69 extern const struct rtw89_rfk_tbl rtw8852a_rfk_dpk_bb_afe_sr_defs_a_tbl;
70 extern const struct rtw89_rfk_tbl rtw8852a_rfk_dpk_bb_afe_sf_defs_b_tbl;
71 extern const struct rtw89_rfk_tbl rtw8852a_rfk_dpk_bb_afe_sr_defs_b_tbl;
72 extern const struct rtw89_rfk_tbl rtw8852a_rfk_dpk_bb_afe_s_defs_ab_tbl;
73 extern const struct rtw89_rfk_tbl rtw8852a_rfk_dpk_bb_afe_r_defs_a_tbl;
74 extern const struct rtw89_rfk_tbl rtw8852a_rfk_dpk_bb_afe_r_defs_b_tbl;
75 extern const struct rtw89_rfk_tbl rtw8852a_rfk_dpk_bb_afe_r_defs_ab_tbl;
76 extern const struct rtw89_rfk_tbl rtw8852a_rfk_dpk_lbk_rxiqk_defs_f_tbl;
77 extern const struct rtw89_rfk_tbl rtw8852a_rfk_dpk_lbk_rxiqk_defs_r_tbl;
78 extern const struct rtw89_rfk_tbl rtw8852a_rfk_dpk_pas_read_defs_tbl;
79 extern const struct rtw89_rfk_tbl rtw8852a_rfk_iqk_set_defs_nondbcc_path01_tbl;
80 extern const struct rtw89_rfk_tbl rtw8852a_rfk_iqk_set_defs_dbcc_path0_tbl;
81 extern const struct rtw89_rfk_tbl rtw8852a_rfk_iqk_set_defs_dbcc_path1_tbl;
82 extern const struct rtw89_rfk_tbl rtw8852a_rfk_iqk_restore_defs_nondbcc_path01_tbl;
83 extern const struct rtw89_rfk_tbl rtw8852a_rfk_iqk_restore_defs_dbcc_path0_tbl;
84 extern const struct rtw89_rfk_tbl rtw8852a_rfk_iqk_restore_defs_dbcc_path1_tbl;
85 
86 #endif
87