1*ec424639SPing-Ke Shih // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2*ec424639SPing-Ke Shih /* Copyright(c) 2019-2022 Realtek Corporation 3*ec424639SPing-Ke Shih */ 4*ec424639SPing-Ke Shih 5*ec424639SPing-Ke Shih #include "rtw8852c_rfk_table.h" 6*ec424639SPing-Ke Shih 7*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_dack_reload_defs[] = { 8*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0xc004, BIT(17), 0x1), 9*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0xc024, BIT(17), 0x1), 10*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0xc104, BIT(17), 0x1), 11*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0xc124, BIT(17), 0x1), 12*ec424639SPing-Ke Shih }; 13*ec424639SPing-Ke Shih 14*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_dack_reload_defs); 15*ec424639SPing-Ke Shih 16*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_dack_reset_defs_a[] = { 17*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0xc000, BIT(17), 0x0), 18*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0xc000, BIT(17), 0x1), 19*ec424639SPing-Ke Shih }; 20*ec424639SPing-Ke Shih 21*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_dack_reset_defs_a); 22*ec424639SPing-Ke Shih 23*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_dack_reset_defs_b[] = { 24*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0xc100, BIT(17), 0x0), 25*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0xc100, BIT(17), 0x1), 26*ec424639SPing-Ke Shih }; 27*ec424639SPing-Ke Shih 28*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_dack_reset_defs_b); 29*ec424639SPing-Ke Shih 30*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_dack_defs_s0[] = { 31*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x12b8, BIT(30), 0x1), 32*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x030c, BIT(28), 0x1), 33*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x032c, 0x80000000, 0x0), 34*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0xc004, 0xfff00000, 0x30), 35*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0xc024, 0xfff00000, 0x30), 36*ec424639SPing-Ke Shih }; 37*ec424639SPing-Ke Shih 38*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_dack_defs_s0); 39*ec424639SPing-Ke Shih 40*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_dack_defs_s1[] = { 41*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x32b8, BIT(30), 0x1), 42*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x030c, BIT(28), 0x1), 43*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x032c, 0x80000000, 0x0), 44*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0xc104, 0xfff00000, 0x30), 45*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0xc124, 0xfff00000, 0x30), 46*ec424639SPing-Ke Shih }; 47*ec424639SPing-Ke Shih 48*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_dack_defs_s1); 49*ec424639SPing-Ke Shih 50*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_drck_defs[] = { 51*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0xc0c4, BIT(6), 0x0), 52*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0xc094, BIT(9), 0x1), 53*ec424639SPing-Ke Shih RTW89_DECL_RFK_DELAY(1), 54*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0xc094, BIT(9), 0x0), 55*ec424639SPing-Ke Shih }; 56*ec424639SPing-Ke Shih 57*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_drck_defs); 58*ec424639SPing-Ke Shih 59*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_iqk_rxk_cfg_defs[] = { 60*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x030c, 0xff000000, 0x0f), 61*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x030c, 0xff000000, 0x03), 62*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x032c, 0xffff0000, 0x0001), 63*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x032c, 0xffff0000, 0x0041), 64*ec424639SPing-Ke Shih }; 65*ec424639SPing-Ke Shih 66*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_iqk_rxk_cfg_defs); 67*ec424639SPing-Ke Shih 68*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_iqk_afebb_restore_defs_a[] = { 69*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x12b8, 0x40000000, 0x0), 70*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x20fc, 0x00010000, 0x1), 71*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x20fc, 0x00100000, 0x0), 72*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x20fc, 0x01000000, 0x1), 73*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x20fc, 0x10000000, 0x0), 74*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5670, MASKDWORD, 0x00000000), 75*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x12a0, 0x000ff000, 0x00), 76*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x20fc, 0x00010000, 0x0), 77*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x20fc, 0x01000000, 0x0), 78*ec424639SPing-Ke Shih RTW89_DECL_RFK_WRF(RF_PATH_A, 0x10005, 0x00001, 0x1), 79*ec424639SPing-Ke Shih }; 80*ec424639SPing-Ke Shih 81*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_iqk_afebb_restore_defs_a); 82*ec424639SPing-Ke Shih 83*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_iqk_afebb_restore_defs_b[] = { 84*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x32b8, 0x40000000, 0x0), 85*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x20fc, 0x00020000, 0x1), 86*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x20fc, 0x00200000, 0x0), 87*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x20fc, 0x02000000, 0x1), 88*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x20fc, 0x20000000, 0x0), 89*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7670, MASKDWORD, 0x00000000), 90*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x32a0, 0x000ff000, 0x00), 91*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x20fc, 0x00020000, 0x0), 92*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x20fc, 0x02000000, 0x0), 93*ec424639SPing-Ke Shih RTW89_DECL_RFK_WRF(RF_PATH_B, 0x10005, 0x00001, 0x1), 94*ec424639SPing-Ke Shih }; 95*ec424639SPing-Ke Shih 96*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_iqk_afebb_restore_defs_b); 97*ec424639SPing-Ke Shih 98*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_read_rxsram_pre_defs[] = { 99*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x80e8, BIT(7), 0x1), 100*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x8074, BIT(31), 0x1), 101*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x80d4, MASKDWORD, 0x00020000), 102*ec424639SPing-Ke Shih }; 103*ec424639SPing-Ke Shih 104*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_read_rxsram_pre_defs); 105*ec424639SPing-Ke Shih 106*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_read_rxsram_post_defs[] = { 107*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x80e8, BIT(7), 0x0), 108*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x8074, BIT(31), 0x0), 109*ec424639SPing-Ke Shih }; 110*ec424639SPing-Ke Shih 111*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_read_rxsram_post_defs); 112*ec424639SPing-Ke Shih 113*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_dpk_mdpd_order0_defs[] = { 114*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x80a0, BIT(1) | BIT(0), 0x0), 115*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x809c, BIT(10) | BIT(9), 0x2), 116*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x80a0, 0x00001F00, 0x4), 117*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x8070, 0x70000000, 0x1), 118*ec424639SPing-Ke Shih }; 119*ec424639SPing-Ke Shih 120*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_dpk_mdpd_order0_defs); 121*ec424639SPing-Ke Shih 122*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_dpk_mdpd_order1_defs[] = { 123*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x80a0, BIT(1) | BIT(0), 0x1), 124*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x809c, BIT(10) | BIT(9), 0x1), 125*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x80a0, 0x00001F00, 0x0), 126*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x8070, 0x70000000, 0x0), 127*ec424639SPing-Ke Shih }; 128*ec424639SPing-Ke Shih 129*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_dpk_mdpd_order1_defs); 130*ec424639SPing-Ke Shih 131*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_dpk_mdpd_order2_defs[] = { 132*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x80a0, BIT(1) | BIT(0), 0x2), 133*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x809c, BIT(10) | BIT(9), 0x0), 134*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x80a0, 0x00001F00, 0x0), 135*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x8070, 0x70000000, 0x0), 136*ec424639SPing-Ke Shih }; 137*ec424639SPing-Ke Shih 138*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_dpk_mdpd_order2_defs); 139*ec424639SPing-Ke Shih 140*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_dpk_mdpd_order3_defs[] = { 141*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x80a0, BIT(1) | BIT(0), 0x3), 142*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x809c, BIT(10) | BIT(9), 0x3), 143*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x80a0, 0x00001F00, 0x4), 144*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x8070, 0x70000000, 0x1), 145*ec424639SPing-Ke Shih }; 146*ec424639SPing-Ke Shih 147*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_dpk_mdpd_order3_defs); 148*ec424639SPing-Ke Shih 149*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_dpk_kip_pwr_clk_on_defs[] = { 150*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x8008, MASKDWORD, 0x00000080), 151*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x8088, MASKDWORD, 0x807f030a), 152*ec424639SPing-Ke Shih }; 153*ec424639SPing-Ke Shih 154*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_dpk_kip_pwr_clk_on_defs); 155*ec424639SPing-Ke Shih 156*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_dpk_kip_pwr_clk_off_defs[] = { 157*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x8008, MASKDWORD, 0x00000000), 158*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x8088, MASKDWORD, 0x80000000), 159*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x80f4, BIT(18), 0x1), 160*ec424639SPing-Ke Shih }; 161*ec424639SPing-Ke Shih 162*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_dpk_kip_pwr_clk_off_defs); 163*ec424639SPing-Ke Shih 164*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_sys_defs[] = { 165*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x12bc, 0x000ffff0, 0xb5b5), 166*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x32bc, 0x000ffff0, 0xb5b5), 167*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x0300, 0xff000000, 0x16), 168*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x0304, 0x0000ffff, 0x1f19), 169*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x0308, 0xff000000, 0x1c), 170*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x0314, 0xffff0000, 0x2041), 171*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x0318, 0xffffffff, 0x20012041), 172*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x0324, 0xffff0000, 0x2001), 173*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x0020, 0x00006000, 0x3), 174*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x0024, 0x00006000, 0x3), 175*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x0704, 0xffff0000, 0x601e), 176*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x2704, 0xffff0000, 0x601e), 177*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x0700, 0xf0000000, 0x4), 178*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x2700, 0xf0000000, 0x4), 179*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x0650, 0x3c000000, 0x0), 180*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x2650, 0x3c000000, 0x0), 181*ec424639SPing-Ke Shih }; 182*ec424639SPing-Ke Shih 183*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_sys_defs); 184*ec424639SPing-Ke Shih 185*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_sys_defs_2g_a[] = { 186*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x120c, 0x000000ff, 0x33), 187*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x12c0, 0x0ff00000, 0x33), 188*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58f8, 0x40000000, 0x1), 189*ec424639SPing-Ke Shih }; 190*ec424639SPing-Ke Shih 191*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_sys_defs_2g_a); 192*ec424639SPing-Ke Shih 193*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_sys_defs_2g_b[] = { 194*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x320c, 0x000000ff, 0x33), 195*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x32c0, 0x0ff00000, 0x33), 196*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78f8, 0x40000000, 0x1), 197*ec424639SPing-Ke Shih }; 198*ec424639SPing-Ke Shih 199*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_sys_defs_2g_b); 200*ec424639SPing-Ke Shih 201*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_sys_defs_5g_a[] = { 202*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x120c, 0x000000ff, 0x44), 203*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x12c0, 0x0ff00000, 0x44), 204*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58f8, 0x40000000, 0x0), 205*ec424639SPing-Ke Shih }; 206*ec424639SPing-Ke Shih 207*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_sys_defs_5g_a); 208*ec424639SPing-Ke Shih 209*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_sys_defs_5g_b[] = { 210*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x320c, 0x000000ff, 0x44), 211*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x32c0, 0x0ff00000, 0x44), 212*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78f8, 0x40000000, 0x0), 213*ec424639SPing-Ke Shih }; 214*ec424639SPing-Ke Shih 215*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_sys_defs_5g_b); 216*ec424639SPing-Ke Shih 217*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_txpwr_ctrl_bb_defs_a[] = { 218*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x566c, 0x00001000, 0x0), 219*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5800, 0xffffffff, 0x003f807f), 220*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x580c, 0x0000007f, 0x40), 221*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x580c, 0x0fffff00, 0x00040), 222*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5810, 0xffffffff, 0x59010000), 223*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5814, 0x01ffffff, 0x026d000), 224*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5814, 0xf8000000, 0x00), 225*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5818, 0xffffffff, 0x002c1800), 226*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x581c, 0x3fffffff, 0x3dc80280), 227*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5820, 0xffffffff, 0x00000080), 228*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58e8, 0x0000003f, 0x03), 229*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x580c, 0x10000000, 0x1), 230*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x580c, 0x40000000, 0x1), 231*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5834, 0x3fffffff, 0x000115f2), 232*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5838, 0x7fffffff, 0x0000121), 233*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5854, 0x3fffffff, 0x000115f2), 234*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5858, 0x7fffffff, 0x0000121), 235*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5860, 0x80000000, 0x0), 236*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5864, 0x07ffffff, 0x00801ff), 237*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5898, 0xffffffff, 0x00000000), 238*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x589c, 0xffffffff, 0x00000000), 239*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58a4, 0x000000ff, 0x16), 240*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58b4, 0x7fffffff, 0x0a002000), 241*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58b8, 0x7fffffff, 0x00007628), 242*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58bc, 0x07ffffff, 0x7a7807f), 243*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58c0, 0xfffe0000, 0x003f), 244*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58c4, 0xffffffff, 0x0003ffff), 245*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58c8, 0x00ffffff, 0x000000), 246*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58c8, 0xf0000000, 0x0), 247*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58cc, 0xffffffff, 0x00000000), 248*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58d0, 0x07ffffff, 0x2008101), 249*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58d4, 0x000000ff, 0x00), 250*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58d4, 0x0003fe00, 0x0ff), 251*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58d4, 0x07fc0000, 0x100), 252*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58d8, 0xffffffff, 0x8008016c), 253*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58dc, 0x0001ffff, 0x0807f), 254*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58dc, 0xfff00000, 0x800), 255*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58f0, 0x0003ffff, 0x001ff), 256*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58f4, 0x000fffff, 0x000), 257*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58f8, 0x000fffff, 0x000), 258*ec424639SPing-Ke Shih }; 259*ec424639SPing-Ke Shih 260*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_txpwr_ctrl_bb_defs_a); 261*ec424639SPing-Ke Shih 262*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_txpwr_ctrl_bb_defs_b[] = { 263*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x566c, 0x00001000, 0x0), 264*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7800, 0xffffffff, 0x003f807f), 265*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x780c, 0x0000007f, 0x40), 266*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x780c, 0x0fffff00, 0x00040), 267*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7810, 0xffffffff, 0x59010000), 268*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7814, 0x01ffffff, 0x026d000), 269*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7814, 0xf8000000, 0x00), 270*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7818, 0xffffffff, 0x002c1800), 271*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x781c, 0x3fffffff, 0x3dc80280), 272*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7820, 0xffffffff, 0x00000080), 273*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78e8, 0x0000003f, 0x03), 274*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x780c, 0x10000000, 0x1), 275*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x780c, 0x40000000, 0x1), 276*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7834, 0x3fffffff, 0x000115f2), 277*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7838, 0x7fffffff, 0x0000121), 278*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7854, 0x3fffffff, 0x000115f2), 279*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7858, 0x7fffffff, 0x0000121), 280*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7860, 0x80000000, 0x0), 281*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7864, 0x07ffffff, 0x00801ff), 282*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7898, 0xffffffff, 0x00000000), 283*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x789c, 0xffffffff, 0x00000000), 284*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78a4, 0x000000ff, 0x16), 285*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78b4, 0x7fffffff, 0x0a002000), 286*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78b8, 0x7fffffff, 0x00007628), 287*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78bc, 0x07ffffff, 0x7a7807f), 288*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78c0, 0xfffe0000, 0x003f), 289*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78c4, 0xffffffff, 0x0003ffff), 290*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78c8, 0x00ffffff, 0x000000), 291*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78c8, 0xf0000000, 0x0), 292*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78cc, 0xffffffff, 0x00000000), 293*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78d0, 0x07ffffff, 0x2008101), 294*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78d4, 0x000000ff, 0x00), 295*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78d4, 0x0003fe00, 0x0ff), 296*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78d4, 0x07fc0000, 0x100), 297*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78d8, 0xffffffff, 0x8008016c), 298*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78dc, 0x0001ffff, 0x0807f), 299*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78dc, 0xfff00000, 0x800), 300*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78f0, 0x0003ffff, 0x001ff), 301*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78f4, 0x000fffff, 0x000), 302*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78f8, 0x000fffff, 0x000), 303*ec424639SPing-Ke Shih }; 304*ec424639SPing-Ke Shih 305*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_txpwr_ctrl_bb_defs_b); 306*ec424639SPing-Ke Shih 307*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_txpwr_ctrl_bb_he_tb_defs_a[] = { 308*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58a0, 0xffffffff, 0x000000fe), 309*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58e4, 0x0000007f, 0x1f), 310*ec424639SPing-Ke Shih }; 311*ec424639SPing-Ke Shih 312*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_txpwr_ctrl_bb_he_tb_defs_a); 313*ec424639SPing-Ke Shih 314*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_txpwr_ctrl_bb_he_tb_defs_b[] = { 315*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78a0, 0xffffffff, 0x000000fe), 316*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78e4, 0x0000007f, 0x1f), 317*ec424639SPing-Ke Shih }; 318*ec424639SPing-Ke Shih 319*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_txpwr_ctrl_bb_he_tb_defs_b); 320*ec424639SPing-Ke Shih 321*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_dck_defs_a[] = { 322*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58c4, 0x3ffc0000, 0x0), 323*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58c8, 0x00000fff, 0x0), 324*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58c8, 0x00fff000, 0x0), 325*ec424639SPing-Ke Shih }; 326*ec424639SPing-Ke Shih 327*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_dck_defs_a); 328*ec424639SPing-Ke Shih 329*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_dck_defs_b[] = { 330*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78c4, 0x3ffc0000, 0x0), 331*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78c8, 0x00000fff, 0x0), 332*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78c8, 0x00fff000, 0x0), 333*ec424639SPing-Ke Shih }; 334*ec424639SPing-Ke Shih 335*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_dck_defs_b); 336*ec424639SPing-Ke Shih 337*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_dck_defs_2g_a[] = { 338*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x580c, 0x0fff0000, 0x000), 339*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5814, 0x003ff000, 0x1af), 340*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5814, 0x18000000, 0x0), 341*ec424639SPing-Ke Shih }; 342*ec424639SPing-Ke Shih 343*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_dck_defs_2g_a); 344*ec424639SPing-Ke Shih 345*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_dck_defs_2g_b[] = { 346*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x780c, 0x0fff0000, 0x000), 347*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7814, 0x003ff000, 0x1af), 348*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7814, 0x18000000, 0x0), 349*ec424639SPing-Ke Shih }; 350*ec424639SPing-Ke Shih 351*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_dck_defs_2g_b); 352*ec424639SPing-Ke Shih 353*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_dck_defs_5g_a[] = { 354*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x580c, 0x0fff0000, 0x000), 355*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5814, 0x00001000, 0x1), 356*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5814, 0x0003c000, 0xb), 357*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5814, 0x00002000, 0x1), 358*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5814, 0x003c0000, 0x6), 359*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5814, 0x18000000, 0x0), 360*ec424639SPing-Ke Shih }; 361*ec424639SPing-Ke Shih 362*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_dck_defs_5g_a); 363*ec424639SPing-Ke Shih 364*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_dck_defs_5g_b[] = { 365*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x780c, 0x0fff0000, 0x000), 366*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7814, 0x00001000, 0x1), 367*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7814, 0x0003c000, 0xb), 368*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7814, 0x00002000, 0x1), 369*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7814, 0x003c0000, 0x6), 370*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7814, 0x18000000, 0x0), 371*ec424639SPing-Ke Shih }; 372*ec424639SPing-Ke Shih 373*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_dck_defs_5g_b); 374*ec424639SPing-Ke Shih 375*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_set_bbgain_split_a[] = { 376*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5818, 0x08000000, 0x1), 377*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58d4, 0xf0000000, 0x7), 378*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58f0, 0x000c0000, 0x1), 379*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58f0, 0xfff00000, 0x400), 380*ec424639SPing-Ke Shih }; 381*ec424639SPing-Ke Shih 382*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_set_bbgain_split_a); 383*ec424639SPing-Ke Shih 384*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_set_bbgain_split_b[] = { 385*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7818, 0x08000000, 0x1), 386*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78d4, 0xf0000000, 0x7), 387*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78f0, 0x000c0000, 0x1), 388*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78f0, 0xfff00000, 0x400), 389*ec424639SPing-Ke Shih }; 390*ec424639SPing-Ke Shih 391*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_set_bbgain_split_b); 392*ec424639SPing-Ke Shih 393*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_slope_cal_org_defs_2g_a[] = { 394*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5608, 0x07ffffff, 0x0201008), 395*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x560c, 0x07ffffff, 0x0201008), 396*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5610, 0x07ffffff, 0x0201020), 397*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5614, 0x07ffffff, 0x0201008), 398*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5618, 0x07ffffff, 0x0801008), 399*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x561c, 0x000001ff, 0x008), 400*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x561c, 0xffff0000, 0x0808), 401*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5620, 0xffffffff, 0x08080808), 402*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5624, 0xffffffff, 0x0808081e), 403*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5628, 0xffffffff, 0x08080808), 404*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x562c, 0x0000ffff, 0x081d), 405*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x581c, 0x00100000, 0x1), 406*ec424639SPing-Ke Shih }; 407*ec424639SPing-Ke Shih 408*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_slope_cal_org_defs_2g_a); 409*ec424639SPing-Ke Shih 410*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_slope_cal_org_defs_2g_b[] = { 411*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7608, 0x07ffffff, 0x0201008), 412*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x760c, 0x07ffffff, 0x0201008), 413*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7610, 0x07ffffff, 0x0204020), 414*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7614, 0x07ffffff, 0x0201008), 415*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7618, 0x07ffffff, 0x0801008), 416*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x761c, 0x000001ff, 0x020), 417*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x761c, 0xffff0000, 0x0808), 418*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7620, 0xffffffff, 0x08080808), 419*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7624, 0xffffffff, 0x08081e21), 420*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7628, 0xffffffff, 0x08080808), 421*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x762c, 0x0000ffff, 0x1d23), 422*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x781c, 0x00100000, 0x1), 423*ec424639SPing-Ke Shih }; 424*ec424639SPing-Ke Shih 425*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_slope_cal_org_defs_2g_b); 426*ec424639SPing-Ke Shih 427*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_slope_cal_org_defs_5g_a[] = { 428*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5608, 0x07ffffff, 0x0201008), 429*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x560c, 0x07ffffff, 0x0201008), 430*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5610, 0x07ffffff, 0x0201008), 431*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5614, 0x07ffffff, 0x0201008), 432*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5618, 0x07ffffff, 0x0201008), 433*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x561c, 0x000001ff, 0x008), 434*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x561c, 0xffff0000, 0x0808), 435*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5620, 0xffffffff, 0x08080808), 436*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5624, 0xffffffff, 0x08080808), 437*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5628, 0xffffffff, 0x08080808), 438*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x562c, 0x0000ffff, 0x0808), 439*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x581c, 0x00100000, 0x0), 440*ec424639SPing-Ke Shih }; 441*ec424639SPing-Ke Shih 442*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_slope_cal_org_defs_5g_a); 443*ec424639SPing-Ke Shih 444*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_slope_cal_org_defs_5g_b[] = { 445*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7608, 0x07ffffff, 0x0201008), 446*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x760c, 0x07ffffff, 0x0201008), 447*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7610, 0x07ffffff, 0x0201008), 448*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7614, 0x07ffffff, 0x0201008), 449*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7618, 0x07ffffff, 0x0201008), 450*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x761c, 0x000001ff, 0x008), 451*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x761c, 0xffff0000, 0x0808), 452*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7620, 0xffffffff, 0x08080808), 453*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7624, 0xffffffff, 0x08080808), 454*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7628, 0xffffffff, 0x08080808), 455*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x762c, 0x0000ffff, 0x0808), 456*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x781c, 0x00100000, 0x0), 457*ec424639SPing-Ke Shih }; 458*ec424639SPing-Ke Shih 459*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_slope_cal_org_defs_5g_b); 460*ec424639SPing-Ke Shih 461*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_set_aligk_default_defs_2g_a[] = { 462*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5604, 0x80000000, 0x1), 463*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5600, 0x3fffffff, 0x000000), 464*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5604, 0x003fffff, 0x2d2721), 465*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5630, 0x3fffffff, 0x00000000), 466*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5634, 0x000003ff, 0x000), 467*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5634, 0x000ffc00, 0x3b8), 468*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5634, 0x3ff00000, 0x3d2), 469*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5638, 0x000003ff, 0x042), 470*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5638, 0x000ffc00, 0x06b), 471*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x563c, 0x3fffffff, 0x00000000), 472*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5640, 0x000003ff, 0x000), 473*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5640, 0x000ffc00, 0x3bc), 474*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5640, 0x3ff00000, 0x3d6), 475*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5644, 0x000003ff, 0x03e), 476*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5644, 0x000ffc00, 0x06b), 477*ec424639SPing-Ke Shih }; 478*ec424639SPing-Ke Shih 479*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_set_aligk_default_defs_2g_a); 480*ec424639SPing-Ke Shih 481*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_set_aligk_default_defs_2g_b[] = { 482*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7604, 0x80000000, 0x1), 483*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7600, 0x3fffffff, 0x000000), 484*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7604, 0x003fffff, 0x2d2721), 485*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7630, 0x3fffffff, 0x00000000), 486*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7634, 0x000003ff, 0x000), 487*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7634, 0x000ffc00, 0x3c0), 488*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7634, 0x3ff00000, 0x3da), 489*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7638, 0x000003ff, 0x002), 490*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7638, 0x000ffc00, 0x071), 491*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x763c, 0x3fffffff, 0x00000000), 492*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7640, 0x000003ff, 0x000), 493*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7640, 0x000ffc00, 0x3c8), 494*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7640, 0x3ff00000, 0x3e2), 495*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7644, 0x000003ff, 0x00c), 496*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7644, 0x000ffc00, 0x071), 497*ec424639SPing-Ke Shih }; 498*ec424639SPing-Ke Shih 499*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_set_aligk_default_defs_2g_b); 500*ec424639SPing-Ke Shih 501*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_set_aligk_default_defs_5g_a[] = { 502*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5604, 0x80000000, 0x1), 503*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5600, 0x3fffffff, 0x000000), 504*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5604, 0x003fffff, 0x312600), 505*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5630, 0x3fffffff, 0x00000000), 506*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5634, 0x000003ff, 0x000), 507*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5634, 0x000ffc00, 0x000), 508*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5634, 0x3ff00000, 0x3e9), 509*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5638, 0x000003ff, 0x039), 510*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5638, 0x000ffc00, 0x07d), 511*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x563c, 0x3fffffff, 0x00000000), 512*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5640, 0x000003ff, 0x000), 513*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5640, 0x000ffc00, 0x000), 514*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5640, 0x3ff00000, 0x000), 515*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5644, 0x000003ff, 0x000), 516*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5644, 0x000ffc00, 0x000), 517*ec424639SPing-Ke Shih }; 518*ec424639SPing-Ke Shih 519*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_set_aligk_default_defs_5g_a); 520*ec424639SPing-Ke Shih 521*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_set_aligk_default_defs_5g_b[] = { 522*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7604, 0x80000000, 0x1), 523*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7600, 0x3fffffff, 0x000000), 524*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7604, 0x003fffff, 0x312600), 525*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7630, 0x3fffffff, 0x00000000), 526*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7634, 0x000003ff, 0x000), 527*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7634, 0x000ffc00, 0x000), 528*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7634, 0x3ff00000, 0x3e9), 529*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7638, 0x000003ff, 0x039), 530*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7638, 0x000ffc00, 0x07d), 531*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x763c, 0x3fffffff, 0x00000000), 532*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7640, 0x000003ff, 0x000), 533*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7640, 0x000ffc00, 0x000), 534*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7640, 0x3ff00000, 0x000), 535*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7644, 0x000003ff, 0x000), 536*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7644, 0x000ffc00, 0x000), 537*ec424639SPing-Ke Shih }; 538*ec424639SPing-Ke Shih 539*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_set_aligk_default_defs_5g_b); 540*ec424639SPing-Ke Shih 541*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_set_aligk_default_defs_6g_a[] = { 542*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5604, 0x80000000, 0x1), 543*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5600, 0x3fffffff, 0x000000), 544*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5604, 0x003fffff, 0x312600), 545*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5630, 0x3fffffff, 0x00000000), 546*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5634, 0x000003ff, 0x000), 547*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5634, 0x000ffc00, 0x000), 548*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5634, 0x3ff00000, 0x3e9), 549*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5638, 0x000003ff, 0x039), 550*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5638, 0x000ffc00, 0x080), 551*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x563c, 0x3fffffff, 0x00000000), 552*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5640, 0x000003ff, 0x000), 553*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5640, 0x000ffc00, 0x000), 554*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5640, 0x3ff00000, 0x000), 555*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5644, 0x000003ff, 0x000), 556*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5644, 0x000ffc00, 0x000), 557*ec424639SPing-Ke Shih }; 558*ec424639SPing-Ke Shih 559*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_set_aligk_default_defs_6g_a); 560*ec424639SPing-Ke Shih 561*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_set_aligk_default_defs_6g_b[] = { 562*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7604, 0x80000000, 0x1), 563*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7600, 0x3fffffff, 0x000000), 564*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7604, 0x003fffff, 0x312600), 565*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7630, 0x3fffffff, 0x00000000), 566*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7634, 0x000003ff, 0x000), 567*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7634, 0x000ffc00, 0x000), 568*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7634, 0x3ff00000, 0x3e9), 569*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7638, 0x000003ff, 0x039), 570*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7638, 0x000ffc00, 0x080), 571*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x763c, 0x3fffffff, 0x00000000), 572*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7640, 0x000003ff, 0x000), 573*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7640, 0x000ffc00, 0x000), 574*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7640, 0x3ff00000, 0x000), 575*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7644, 0x000003ff, 0x000), 576*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7644, 0x000ffc00, 0x000), 577*ec424639SPing-Ke Shih }; 578*ec424639SPing-Ke Shih 579*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_set_aligk_default_defs_6g_b); 580*ec424639SPing-Ke Shih 581*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_slope_defs_a[] = { 582*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5820, 0x80000000, 0x0), 583*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5818, 0x10000000, 0x0), 584*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5814, 0x00000800, 0x1), 585*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x581c, 0x20000000, 0x1), 586*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58e8, 0x0000003f, 0x0f), 587*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x581c, 0x000003ff, 0x280), 588*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x581c, 0x000ffc00, 0x200), 589*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58b8, 0x007f0000, 0x00), 590*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58b8, 0x7f000000, 0x00), 591*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58b4, 0x7f000000, 0x0a), 592*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58b8, 0x0000007f, 0x28), 593*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58b8, 0x00007f00, 0x76), 594*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5810, 0x20000000, 0x0), 595*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5814, 0x20000000, 0x1), 596*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x580c, 0x10000000, 0x1), 597*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x580c, 0x40000000, 0x1), 598*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5834, 0x0003ffff, 0x115f2), 599*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5834, 0x3ffc0000, 0x000), 600*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5838, 0x00000fff, 0x121), 601*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5838, 0x003ff000, 0x000), 602*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5854, 0x0003ffff, 0x115f2), 603*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5854, 0x3ffc0000, 0x000), 604*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5858, 0x00000fff, 0x121), 605*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5858, 0x003ff000, 0x000), 606*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5824, 0x0003ffff, 0x115f2), 607*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5824, 0x3ffc0000, 0x000), 608*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5828, 0x00000fff, 0x121), 609*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5828, 0x003ff000, 0x000), 610*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x582c, 0x0003ffff, 0x115f2), 611*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x582c, 0x3ffc0000, 0x000), 612*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5830, 0x00000fff, 0x121), 613*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5830, 0x003ff000, 0x000), 614*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x583c, 0x0003ffff, 0x115f2), 615*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x583c, 0x3ffc0000, 0x000), 616*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5840, 0x00000fff, 0x121), 617*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5840, 0x003ff000, 0x000), 618*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5844, 0x0003ffff, 0x115f2), 619*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5844, 0x3ffc0000, 0x000), 620*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5848, 0x00000fff, 0x121), 621*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5848, 0x003ff000, 0x000), 622*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x584c, 0x0003ffff, 0x115f2), 623*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x584c, 0x3ffc0000, 0x000), 624*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5850, 0x00000fff, 0x121), 625*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5850, 0x003ff000, 0x000), 626*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x585c, 0x0003ffff, 0x115f2), 627*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x585c, 0x3ffc0000, 0x000), 628*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5860, 0x00000fff, 0x121), 629*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5860, 0x003ff000, 0x000), 630*ec424639SPing-Ke Shih }; 631*ec424639SPing-Ke Shih 632*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_slope_defs_a); 633*ec424639SPing-Ke Shih 634*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_slope_defs_b[] = { 635*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7820, 0x80000000, 0x0), 636*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7818, 0x10000000, 0x0), 637*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7814, 0x00000800, 0x1), 638*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x781c, 0x20000000, 0x1), 639*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78e8, 0x0000003f, 0x0f), 640*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x781c, 0x000003ff, 0x280), 641*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x781c, 0x000ffc00, 0x200), 642*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78b8, 0x007f0000, 0x00), 643*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78b8, 0x7f000000, 0x00), 644*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78b4, 0x7f000000, 0x0a), 645*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78b8, 0x0000007f, 0x28), 646*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78b8, 0x00007f00, 0x76), 647*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7810, 0x20000000, 0x0), 648*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7814, 0x20000000, 0x1), 649*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x780c, 0x10000000, 0x1), 650*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x780c, 0x40000000, 0x1), 651*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7834, 0x0003ffff, 0x115f2), 652*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7834, 0x3ffc0000, 0x000), 653*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7838, 0x00000fff, 0x121), 654*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7838, 0x003ff000, 0x000), 655*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7854, 0x0003ffff, 0x115f2), 656*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7854, 0x3ffc0000, 0x000), 657*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7858, 0x00000fff, 0x121), 658*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7858, 0x003ff000, 0x000), 659*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7824, 0x0003ffff, 0x115f2), 660*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7824, 0x3ffc0000, 0x000), 661*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7828, 0x00000fff, 0x121), 662*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7828, 0x003ff000, 0x000), 663*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x782c, 0x0003ffff, 0x115f2), 664*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x782c, 0x3ffc0000, 0x000), 665*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7830, 0x00000fff, 0x121), 666*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7830, 0x003ff000, 0x000), 667*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x783c, 0x0003ffff, 0x115f2), 668*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x783c, 0x3ffc0000, 0x000), 669*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7840, 0x00000fff, 0x121), 670*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7840, 0x003ff000, 0x000), 671*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7844, 0x0003ffff, 0x115f2), 672*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7844, 0x3ffc0000, 0x000), 673*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7848, 0x00000fff, 0x121), 674*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7848, 0x003ff000, 0x000), 675*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x784c, 0x0003ffff, 0x115f2), 676*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x784c, 0x3ffc0000, 0x000), 677*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7850, 0x00000fff, 0x121), 678*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7850, 0x003ff000, 0x000), 679*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x785c, 0x0003ffff, 0x115f2), 680*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x785c, 0x3ffc0000, 0x000), 681*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7860, 0x00000fff, 0x121), 682*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7860, 0x003ff000, 0x000), 683*ec424639SPing-Ke Shih }; 684*ec424639SPing-Ke Shih 685*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_slope_defs_b); 686*ec424639SPing-Ke Shih 687*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_run_slope_defs_a[] = { 688*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5820, 0x80000000, 0x0), 689*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5820, 0x80000000, 0x1), 690*ec424639SPing-Ke Shih }; 691*ec424639SPing-Ke Shih 692*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_run_slope_defs_a); 693*ec424639SPing-Ke Shih 694*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_run_slope_defs_b[] = { 695*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7820, 0x80000000, 0x0), 696*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7820, 0x80000000, 0x1), 697*ec424639SPing-Ke Shih }; 698*ec424639SPing-Ke Shih 699*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_run_slope_defs_b); 700*ec424639SPing-Ke Shih 701*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_track_defs_a[] = { 702*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5820, 0x80000000, 0x0), 703*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5818, 0x10000000, 0x0), 704*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5814, 0x00000800, 0x0), 705*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x581c, 0x20000000, 0x1), 706*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5864, 0x000003ff, 0x1ff), 707*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5864, 0x000ffc00, 0x200), 708*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5820, 0x00000fff, 0x080), 709*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5814, 0x01000000, 0x0), 710*ec424639SPing-Ke Shih }; 711*ec424639SPing-Ke Shih 712*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_track_defs_a); 713*ec424639SPing-Ke Shih 714*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_track_defs_b[] = { 715*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7820, 0x80000000, 0x0), 716*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7818, 0x10000000, 0x0), 717*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7814, 0x00000800, 0x0), 718*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x781c, 0x20000000, 0x1), 719*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7864, 0x000003ff, 0x1ff), 720*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7864, 0x000ffc00, 0x200), 721*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7820, 0x00000fff, 0x080), 722*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7814, 0x01000000, 0x0), 723*ec424639SPing-Ke Shih }; 724*ec424639SPing-Ke Shih 725*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_track_defs_b); 726*ec424639SPing-Ke Shih 727*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_txagc_ofst_mv_avg_defs_a[] = { 728*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58e4, 0x00003800, 0x1), 729*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58e4, 0x00004000, 0x0), 730*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58e4, 0x00008000, 0x1), 731*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58e4, 0x000f0000, 0x0), 732*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58e8, 0x0000003f, 0x03), 733*ec424639SPing-Ke Shih }; 734*ec424639SPing-Ke Shih 735*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_txagc_ofst_mv_avg_defs_a); 736*ec424639SPing-Ke Shih 737*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_txagc_ofst_mv_avg_defs_b[] = { 738*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78e4, 0x00003800, 0x1), 739*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78e4, 0x00004000, 0x0), 740*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78e4, 0x00008000, 0x1), 741*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78e4, 0x000f0000, 0x0), 742*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78e8, 0x0000003f, 0x03), 743*ec424639SPing-Ke Shih }; 744*ec424639SPing-Ke Shih 745*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_txagc_ofst_mv_avg_defs_b); 746*ec424639SPing-Ke Shih 747*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_enable_defs_a[] = { 748*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58e4, 0x00004000, 0x0), 749*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5820, 0x80000000, 0x0), 750*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5820, 0x80000000, 0x1), 751*ec424639SPing-Ke Shih RTW89_DECL_RFK_WRF(0x0, 0x10055, 0x00080, 0x1), 752*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5818, 0x10000000, 0x1), 753*ec424639SPing-Ke Shih }; 754*ec424639SPing-Ke Shih 755*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_enable_defs_a); 756*ec424639SPing-Ke Shih 757*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_enable_defs_b[] = { 758*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78e4, 0x00004000, 0x0), 759*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7820, 0x80000000, 0x0), 760*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7820, 0x80000000, 0x1), 761*ec424639SPing-Ke Shih RTW89_DECL_RFK_WRF(0x1, 0x10055, 0x00080, 0x1), 762*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7818, 0x10000000, 0x1), 763*ec424639SPing-Ke Shih }; 764*ec424639SPing-Ke Shih 765*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_enable_defs_b); 766*ec424639SPing-Ke Shih 767*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_disable_defs_a[] = { 768*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5820, 0x80000000, 0x00000000), 769*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x5818, 0x10000000, 0x00000000), 770*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x58e4, 0x00004000, 0x00000001), 771*ec424639SPing-Ke Shih }; 772*ec424639SPing-Ke Shih 773*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_disable_defs_a); 774*ec424639SPing-Ke Shih 775*ec424639SPing-Ke Shih static const struct rtw89_reg5_def rtw8852c_tssi_disable_defs_b[] = { 776*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7820, 0x80000000, 0x00000000), 777*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x7818, 0x10000000, 0x00000000), 778*ec424639SPing-Ke Shih RTW89_DECL_RFK_WM(0x78e4, 0x00004000, 0x00000001), 779*ec424639SPing-Ke Shih }; 780*ec424639SPing-Ke Shih 781*ec424639SPing-Ke Shih RTW89_DECLARE_RFK_TBL(rtw8852c_tssi_disable_defs_b); 782