18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-or-later
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ci  Broadcom B43 wireless driver
58c2ecf20Sopenharmony_ci  IEEE 802.11a/g LP-PHY and radio device data tables
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci  Copyright (c) 2009 Michael Buesch <m@bues.ch>
88c2ecf20Sopenharmony_ci  Copyright (c) 2009 Gábor Stefanik <netrolller.3d@gmail.com>
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci*/
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#include "b43.h"
148c2ecf20Sopenharmony_ci#include "tables_lpphy.h"
158c2ecf20Sopenharmony_ci#include "phy_common.h"
168c2ecf20Sopenharmony_ci#include "phy_lp.h"
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci/* Entry of the 2062/2063 radio init table */
208c2ecf20Sopenharmony_cistruct b206x_init_tab_entry {
218c2ecf20Sopenharmony_ci	u16 offset;
228c2ecf20Sopenharmony_ci	u16 value_a;
238c2ecf20Sopenharmony_ci	u16 value_g;
248c2ecf20Sopenharmony_ci	u8 flags;
258c2ecf20Sopenharmony_ci};
268c2ecf20Sopenharmony_ci#define B206X_FLAG_A	0x01 /* Flag: Init in A mode */
278c2ecf20Sopenharmony_ci#define B206X_FLAG_G	0x02 /* Flag: Init in G mode */
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_cistatic const struct b206x_init_tab_entry b2062_init_tab[] = {
308c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_COMM1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
318c2ecf20Sopenharmony_ci	/* { .offset = 0x0001, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
328c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_COMM2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
338c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_COMM3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
348c2ecf20Sopenharmony_ci	{ .offset = B2062_N_COMM4, .value_a = 0x0001, .value_g = 0x0000, .flags = B206X_FLAG_A | B206X_FLAG_G, },
358c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_COMM5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
368c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_COMM6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
378c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_COMM7, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
388c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_COMM8, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
398c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_COMM9, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
408c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_COMM10, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
418c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_COMM11, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
428c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_COMM12, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
438c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_COMM13, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
448c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_COMM14, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
458c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_COMM15, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
468c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_PDN_CTL0, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
478c2ecf20Sopenharmony_ci	{ .offset = B2062_N_PDN_CTL1, .value_a = 0x0000, .value_g = 0x00CA, .flags = B206X_FLAG_G, },
488c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_PDN_CTL2, .value_a = 0x0018, .value_g = 0x0018, .flags = 0, }, */
498c2ecf20Sopenharmony_ci	{ .offset = B2062_N_PDN_CTL3, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_A | B206X_FLAG_G, },
508c2ecf20Sopenharmony_ci	{ .offset = B2062_N_PDN_CTL4, .value_a = 0x0015, .value_g = 0x002A, .flags = B206X_FLAG_A | B206X_FLAG_G, },
518c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_GEN_CTL0, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
528c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_IQ_CALIB, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */
538c2ecf20Sopenharmony_ci	{ .offset = B2062_N_LGENC, .value_a = 0x00DB, .value_g = 0x00FF, .flags = B206X_FLAG_A, },
548c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_LGENA_LPF, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */
558c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_LGENA_BIAS0, .value_a = 0x0041, .value_g = 0x0041, .flags = 0, }, */
568c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_LGNEA_BIAS1, .value_a = 0x0002, .value_g = 0x0002, .flags = 0, }, */
578c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_LGENA_CTL0, .value_a = 0x0032, .value_g = 0x0032, .flags = 0, }, */
588c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_LGENA_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
598c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_LGENA_CTL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
608c2ecf20Sopenharmony_ci	{ .offset = B2062_N_LGENA_TUNE0, .value_a = 0x00DD, .value_g = 0x0000, .flags = B206X_FLAG_A | B206X_FLAG_G, },
618c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_LGENA_TUNE1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
628c2ecf20Sopenharmony_ci	{ .offset = B2062_N_LGENA_TUNE2, .value_a = 0x00DD, .value_g = 0x0000, .flags = B206X_FLAG_A | B206X_FLAG_G, },
638c2ecf20Sopenharmony_ci	{ .offset = B2062_N_LGENA_TUNE3, .value_a = 0x0077, .value_g = 0x00B5, .flags = B206X_FLAG_A | B206X_FLAG_G, },
648c2ecf20Sopenharmony_ci	{ .offset = B2062_N_LGENA_CTL3, .value_a = 0x0000, .value_g = 0x00FF, .flags = B206X_FLAG_A | B206X_FLAG_G, },
658c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_LGENA_CTL4, .value_a = 0x001F, .value_g = 0x001F, .flags = 0, }, */
668c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_LGENA_CTL5, .value_a = 0x0032, .value_g = 0x0032, .flags = 0, }, */
678c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_LGENA_CTL6, .value_a = 0x0032, .value_g = 0x0032, .flags = 0, }, */
688c2ecf20Sopenharmony_ci	{ .offset = B2062_N_LGENA_CTL7, .value_a = 0x0033, .value_g = 0x0033, .flags = B206X_FLAG_A | B206X_FLAG_G, },
698c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXA_CTL0, .value_a = 0x0009, .value_g = 0x0009, .flags = 0, }, */
708c2ecf20Sopenharmony_ci	{ .offset = B2062_N_RXA_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, },
718c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXA_CTL2, .value_a = 0x0018, .value_g = 0x0018, .flags = 0, }, */
728c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXA_CTL3, .value_a = 0x0027, .value_g = 0x0027, .flags = 0, }, */
738c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXA_CTL4, .value_a = 0x0028, .value_g = 0x0028, .flags = 0, }, */
748c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXA_CTL5, .value_a = 0x0007, .value_g = 0x0007, .flags = 0, }, */
758c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXA_CTL6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
768c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXA_CTL7, .value_a = 0x0008, .value_g = 0x0008, .flags = 0, }, */
778c2ecf20Sopenharmony_ci	{ .offset = B2062_N_RXBB_CTL0, .value_a = 0x0082, .value_g = 0x0080, .flags = B206X_FLAG_A | B206X_FLAG_G, },
788c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXBB_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
798c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXBB_CTL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
808c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXBB_GAIN0, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
818c2ecf20Sopenharmony_ci	{ .offset = B2062_N_RXBB_GAIN1, .value_a = 0x0004, .value_g = 0x0004, .flags = B206X_FLAG_A | B206X_FLAG_G, },
828c2ecf20Sopenharmony_ci	{ .offset = B2062_N_RXBB_GAIN2, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_A | B206X_FLAG_G, },
838c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXBB_GAIN3, .value_a = 0x0011, .value_g = 0x0011, .flags = 0, }, */
848c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXBB_RSSI0, .value_a = 0x0043, .value_g = 0x0043, .flags = 0, }, */
858c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXBB_RSSI1, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */
868c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXBB_CALIB0, .value_a = 0x0010, .value_g = 0x0010, .flags = 0, }, */
878c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXBB_CALIB1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
888c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXBB_CALIB2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
898c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXBB_BIAS0, .value_a = 0x0006, .value_g = 0x0006, .flags = 0, }, */
908c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXBB_BIAS1, .value_a = 0x002A, .value_g = 0x002A, .flags = 0, }, */
918c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXBB_BIAS2, .value_a = 0x00AA, .value_g = 0x00AA, .flags = 0, }, */
928c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXBB_BIAS3, .value_a = 0x0021, .value_g = 0x0021, .flags = 0, }, */
938c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXBB_BIAS4, .value_a = 0x00AA, .value_g = 0x00AA, .flags = 0, }, */
948c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXBB_BIAS5, .value_a = 0x0022, .value_g = 0x0022, .flags = 0, }, */
958c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXBB_RSSI2, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */
968c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXBB_RSSI3, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */
978c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXBB_RSSI4, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */
988c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_RXBB_RSSI5, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */
998c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_TX_CTL0, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */
1008c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_TX_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1018c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_TX_CTL2, .value_a = 0x0084, .value_g = 0x0084, .flags = 0, }, */
1028c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_TX_CTL3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1038c2ecf20Sopenharmony_ci	{ .offset = B2062_N_TX_CTL4, .value_a = 0x0003, .value_g = 0x0003, .flags = B206X_FLAG_A | B206X_FLAG_G, },
1048c2ecf20Sopenharmony_ci	{ .offset = B2062_N_TX_CTL5, .value_a = 0x0002, .value_g = 0x0002, .flags = B206X_FLAG_A | B206X_FLAG_G, },
1058c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_TX_CTL6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1068c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_TX_CTL7, .value_a = 0x0058, .value_g = 0x0058, .flags = 0, }, */
1078c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_TX_CTL8, .value_a = 0x0082, .value_g = 0x0082, .flags = 0, }, */
1088c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_TX_CTL9, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1098c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_TX_CTL_A, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1108c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_TX_GC2G, .value_a = 0x00FF, .value_g = 0x00FF, .flags = 0, }, */
1118c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_TX_GC5G, .value_a = 0x00FF, .value_g = 0x00FF, .flags = 0, }, */
1128c2ecf20Sopenharmony_ci	{ .offset = B2062_N_TX_TUNE, .value_a = 0x0088, .value_g = 0x001B, .flags = B206X_FLAG_A | B206X_FLAG_G, },
1138c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_TX_PAD, .value_a = 0x0088, .value_g = 0x0088, .flags = 0, }, */
1148c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_TX_PGA, .value_a = 0x0088, .value_g = 0x0088, .flags = 0, }, */
1158c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_TX_PADAUX, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */
1168c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_TX_PGAAUX, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */
1178c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_TSSI_CTL0, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1188c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_TSSI_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1198c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_TSSI_CTL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1208c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_IQ_CALIB_CTL0, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */
1218c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_IQ_CALIB_CTL1, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */
1228c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_IQ_CALIB_CTL2, .value_a = 0x0032, .value_g = 0x0032, .flags = 0, }, */
1238c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_CALIB_TS, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1248c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_CALIB_CTL0, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1258c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_CALIB_CTL1, .value_a = 0x0015, .value_g = 0x0015, .flags = 0, }, */
1268c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_CALIB_CTL2, .value_a = 0x000F, .value_g = 0x000F, .flags = 0, }, */
1278c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_CALIB_CTL3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1288c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_CALIB_CTL4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1298c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_CALIB_DBG0, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1308c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_CALIB_DBG1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1318c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_CALIB_DBG2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1328c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_CALIB_DBG3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1338c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_PSENSE_CTL0, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1348c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_PSENSE_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1358c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_PSENSE_CTL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1368c2ecf20Sopenharmony_ci	/* { .offset = B2062_N_TEST_BUF0, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1378c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_COMM1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1388c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RADIO_ID_CODE, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1398c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_COMM2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1408c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_COMM3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1418c2ecf20Sopenharmony_ci	{ .offset = B2062_S_COMM4, .value_a = 0x0001, .value_g = 0x0000, .flags = B206X_FLAG_A | B206X_FLAG_G, },
1428c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_COMM5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1438c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_COMM6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1448c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_COMM7, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1458c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_COMM8, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1468c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_COMM9, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1478c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_COMM10, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1488c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_COMM11, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1498c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_COMM12, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1508c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_COMM13, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1518c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_COMM14, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1528c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_COMM15, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1538c2ecf20Sopenharmony_ci	{ .offset = B2062_S_PDS_CTL0, .value_a = 0x00FF, .value_g = 0x00FF, .flags = B206X_FLAG_A | B206X_FLAG_G, },
1548c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_PDS_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1558c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_PDS_CTL2, .value_a = 0x008E, .value_g = 0x008E, .flags = 0, }, */
1568c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_PDS_CTL3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1578c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_BG_CTL0, .value_a = 0x0006, .value_g = 0x0006, .flags = 0, }, */
1588c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_BG_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1598c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_BG_CTL2, .value_a = 0x0011, .value_g = 0x0011, .flags = 0, }, */
1608c2ecf20Sopenharmony_ci	{ .offset = B2062_S_LGENG_CTL0, .value_a = 0x00F8, .value_g = 0x00D8, .flags = B206X_FLAG_A | B206X_FLAG_G, },
1618c2ecf20Sopenharmony_ci	{ .offset = B2062_S_LGENG_CTL1, .value_a = 0x003C, .value_g = 0x0024, .flags = B206X_FLAG_A | B206X_FLAG_G, },
1628c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_LGENG_CTL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1638c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_LGENG_CTL3, .value_a = 0x0041, .value_g = 0x0041, .flags = 0, }, */
1648c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_LGENG_CTL4, .value_a = 0x0002, .value_g = 0x0002, .flags = 0, }, */
1658c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_LGENG_CTL5, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */
1668c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_LGENG_CTL6, .value_a = 0x0022, .value_g = 0x0022, .flags = 0, }, */
1678c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_LGENG_CTL7, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1688c2ecf20Sopenharmony_ci	{ .offset = B2062_S_LGENG_CTL8, .value_a = 0x0088, .value_g = 0x0080, .flags = B206X_FLAG_A | B206X_FLAG_G, },
1698c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_LGENG_CTL9, .value_a = 0x0088, .value_g = 0x0088, .flags = 0, }, */
1708c2ecf20Sopenharmony_ci	{ .offset = B2062_S_LGENG_CTL10, .value_a = 0x0088, .value_g = 0x0080, .flags = B206X_FLAG_A | B206X_FLAG_G, },
1718c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_LGENG_CTL11, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1728c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_REFPLL_CTL0, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1738c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_REFPLL_CTL1, .value_a = 0x0007, .value_g = 0x0007, .flags = 0, }, */
1748c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_REFPLL_CTL2, .value_a = 0x00AF, .value_g = 0x00AF, .flags = 0, }, */
1758c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_REFPLL_CTL3, .value_a = 0x0012, .value_g = 0x0012, .flags = 0, }, */
1768c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_REFPLL_CTL4, .value_a = 0x000B, .value_g = 0x000B, .flags = 0, }, */
1778c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_REFPLL_CTL5, .value_a = 0x005F, .value_g = 0x005F, .flags = 0, }, */
1788c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_REFPLL_CTL6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1798c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_REFPLL_CTL7, .value_a = 0x0040, .value_g = 0x0040, .flags = 0, }, */
1808c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_REFPLL_CTL8, .value_a = 0x0052, .value_g = 0x0052, .flags = 0, }, */
1818c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_REFPLL_CTL9, .value_a = 0x0026, .value_g = 0x0026, .flags = 0, }, */
1828c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_REFPLL_CTL10, .value_a = 0x0003, .value_g = 0x0003, .flags = 0, }, */
1838c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_REFPLL_CTL11, .value_a = 0x0036, .value_g = 0x0036, .flags = 0, }, */
1848c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_REFPLL_CTL12, .value_a = 0x0057, .value_g = 0x0057, .flags = 0, }, */
1858c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_REFPLL_CTL13, .value_a = 0x0011, .value_g = 0x0011, .flags = 0, }, */
1868c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_REFPLL_CTL14, .value_a = 0x0075, .value_g = 0x0075, .flags = 0, }, */
1878c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_REFPLL_CTL15, .value_a = 0x00B4, .value_g = 0x00B4, .flags = 0, }, */
1888c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_REFPLL_CTL16, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1898c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL0, .value_a = 0x0098, .value_g = 0x0098, .flags = B206X_FLAG_A | B206X_FLAG_G, },
1908c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL1, .value_a = 0x0010, .value_g = 0x0010, .flags = B206X_FLAG_A | B206X_FLAG_G, },
1918c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RFPLL_CTL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1928c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RFPLL_CTL3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1938c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RFPLL_CTL4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
1948c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL5, .value_a = 0x0043, .value_g = 0x0043, .flags = B206X_FLAG_A | B206X_FLAG_G, },
1958c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL6, .value_a = 0x0047, .value_g = 0x0047, .flags = B206X_FLAG_A | B206X_FLAG_G, },
1968c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL7, .value_a = 0x000C, .value_g = 0x000C, .flags = B206X_FLAG_A | B206X_FLAG_G, },
1978c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL8, .value_a = 0x0011, .value_g = 0x0011, .flags = B206X_FLAG_A | B206X_FLAG_G, },
1988c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL9, .value_a = 0x0011, .value_g = 0x0011, .flags = B206X_FLAG_A | B206X_FLAG_G, },
1998c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL10, .value_a = 0x000E, .value_g = 0x000E, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2008c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL11, .value_a = 0x0008, .value_g = 0x0008, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2018c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL12, .value_a = 0x0033, .value_g = 0x0033, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2028c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL13, .value_a = 0x000A, .value_g = 0x000A, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2038c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL14, .value_a = 0x0006, .value_g = 0x0006, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2048c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RFPLL_CTL15, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2058c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RFPLL_CTL16, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2068c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RFPLL_CTL17, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2078c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL18, .value_a = 0x003E, .value_g = 0x003E, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2088c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL19, .value_a = 0x0013, .value_g = 0x0013, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2098c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RFPLL_CTL20, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2108c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL21, .value_a = 0x0062, .value_g = 0x0062, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2118c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL22, .value_a = 0x0007, .value_g = 0x0007, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2128c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL23, .value_a = 0x0016, .value_g = 0x0016, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2138c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL24, .value_a = 0x005C, .value_g = 0x005C, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2148c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL25, .value_a = 0x0095, .value_g = 0x0095, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2158c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RFPLL_CTL26, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2168c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RFPLL_CTL27, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2178c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RFPLL_CTL28, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2188c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RFPLL_CTL29, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2198c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL30, .value_a = 0x00A0, .value_g = 0x00A0, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2208c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL31, .value_a = 0x0004, .value_g = 0x0004, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2218c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RFPLL_CTL32, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2228c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL33, .value_a = 0x00CC, .value_g = 0x00CC, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2238c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RFPLL_CTL34, .value_a = 0x0007, .value_g = 0x0007, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2248c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RXG_CNT0, .value_a = 0x0010, .value_g = 0x0010, .flags = 0, }, */
2258c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RXG_CNT1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2268c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RXG_CNT2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2278c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RXG_CNT3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2288c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RXG_CNT4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2298c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RXG_CNT5, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */
2308c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RXG_CNT6, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */
2318c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RXG_CNT7, .value_a = 0x0005, .value_g = 0x0005, .flags = 0, }, */
2328c2ecf20Sopenharmony_ci	{ .offset = B2062_S_RXG_CNT8, .value_a = 0x000F, .value_g = 0x000F, .flags = B206X_FLAG_A, },
2338c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RXG_CNT9, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2348c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RXG_CNT10, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */
2358c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RXG_CNT11, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */
2368c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RXG_CNT12, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */
2378c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RXG_CNT13, .value_a = 0x0044, .value_g = 0x0044, .flags = 0, }, */
2388c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RXG_CNT14, .value_a = 0x00A0, .value_g = 0x00A0, .flags = 0, }, */
2398c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RXG_CNT15, .value_a = 0x0004, .value_g = 0x0004, .flags = 0, }, */
2408c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RXG_CNT16, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2418c2ecf20Sopenharmony_ci	/* { .offset = B2062_S_RXG_CNT17, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */
2428c2ecf20Sopenharmony_ci};
2438c2ecf20Sopenharmony_ci
2448c2ecf20Sopenharmony_cistatic const struct b206x_init_tab_entry b2063_init_tab[] = {
2458c2ecf20Sopenharmony_ci	{ .offset = B2063_COMM1, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, },
2468c2ecf20Sopenharmony_ci	/* { .offset = B2063_COMM2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2478c2ecf20Sopenharmony_ci	/* { .offset = B2063_COMM3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2488c2ecf20Sopenharmony_ci	/* { .offset = B2063_COMM4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2498c2ecf20Sopenharmony_ci	/* { .offset = B2063_COMM5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2508c2ecf20Sopenharmony_ci	/* { .offset = B2063_COMM6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2518c2ecf20Sopenharmony_ci	/* { .offset = B2063_COMM7, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2528c2ecf20Sopenharmony_ci	/* { .offset = B2063_COMM8, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2538c2ecf20Sopenharmony_ci	/* { .offset = B2063_COMM9, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2548c2ecf20Sopenharmony_ci	{ .offset = B2063_COMM10, .value_a = 0x0001, .value_g = 0x0000, .flags = B206X_FLAG_A, },
2558c2ecf20Sopenharmony_ci	/* { .offset = B2063_COMM11, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2568c2ecf20Sopenharmony_ci	/* { .offset = B2063_COMM12, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2578c2ecf20Sopenharmony_ci	/* { .offset = B2063_COMM13, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2588c2ecf20Sopenharmony_ci	/* { .offset = B2063_COMM14, .value_a = 0x0006, .value_g = 0x0006, .flags = 0, }, */
2598c2ecf20Sopenharmony_ci	/* { .offset = B2063_COMM15, .value_a = 0x000f, .value_g = 0x000f, .flags = 0, }, */
2608c2ecf20Sopenharmony_ci	{ .offset = B2063_COMM16, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, },
2618c2ecf20Sopenharmony_ci	{ .offset = B2063_COMM17, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, },
2628c2ecf20Sopenharmony_ci	{ .offset = B2063_COMM18, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, },
2638c2ecf20Sopenharmony_ci	{ .offset = B2063_COMM19, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, },
2648c2ecf20Sopenharmony_ci	{ .offset = B2063_COMM20, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, },
2658c2ecf20Sopenharmony_ci	{ .offset = B2063_COMM21, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, },
2668c2ecf20Sopenharmony_ci	{ .offset = B2063_COMM22, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, },
2678c2ecf20Sopenharmony_ci	{ .offset = B2063_COMM23, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, },
2688c2ecf20Sopenharmony_ci	{ .offset = B2063_COMM24, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, },
2698c2ecf20Sopenharmony_ci	/* { .offset = B2063_PWR_SWITCH_CTL, .value_a = 0x007f, .value_g = 0x007f, .flags = 0, }, */
2708c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_SP1, .value_a = 0x003f, .value_g = 0x003f, .flags = 0, }, */
2718c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_SP2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2728c2ecf20Sopenharmony_ci	{ .offset = B2063_LOGEN_SP1, .value_a = 0x00e8, .value_g = 0x00d4, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2738c2ecf20Sopenharmony_ci	{ .offset = B2063_LOGEN_SP2, .value_a = 0x00a7, .value_g = 0x0053, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2748c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_SP3, .value_a = 0x00ff, .value_g = 0x00ff, .flags = 0, }, */
2758c2ecf20Sopenharmony_ci	{ .offset = B2063_LOGEN_SP4, .value_a = 0x00f0, .value_g = 0x000f, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2768c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_SP5, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */
2778c2ecf20Sopenharmony_ci	{ .offset = B2063_G_RX_SP1, .value_a = 0x001f, .value_g = 0x005e, .flags = B206X_FLAG_G, },
2788c2ecf20Sopenharmony_ci	{ .offset = B2063_G_RX_SP2, .value_a = 0x007f, .value_g = 0x007e, .flags = B206X_FLAG_G, },
2798c2ecf20Sopenharmony_ci	{ .offset = B2063_G_RX_SP3, .value_a = 0x0030, .value_g = 0x00f0, .flags = B206X_FLAG_G, },
2808c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_SP4, .value_a = 0x0035, .value_g = 0x0035, .flags = 0, }, */
2818c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_SP5, .value_a = 0x003f, .value_g = 0x003f, .flags = 0, }, */
2828c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_SP6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2838c2ecf20Sopenharmony_ci	{ .offset = B2063_G_RX_SP7, .value_a = 0x007f, .value_g = 0x007f, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2848c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_SP8, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2858c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_SP9, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2868c2ecf20Sopenharmony_ci	{ .offset = B2063_G_RX_SP10, .value_a = 0x000c, .value_g = 0x000c, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2878c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_SP11, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2888c2ecf20Sopenharmony_ci	{ .offset = B2063_A_RX_SP1, .value_a = 0x003c, .value_g = 0x003f, .flags = B206X_FLAG_A, },
2898c2ecf20Sopenharmony_ci	{ .offset = B2063_A_RX_SP2, .value_a = 0x00fc, .value_g = 0x00fe, .flags = B206X_FLAG_A, },
2908c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_SP3, .value_a = 0x00ff, .value_g = 0x00ff, .flags = 0, }, */
2918c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_SP4, .value_a = 0x00ff, .value_g = 0x00ff, .flags = 0, }, */
2928c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_SP5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2938c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_SP6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
2948c2ecf20Sopenharmony_ci	{ .offset = B2063_A_RX_SP7, .value_a = 0x0008, .value_g = 0x0008, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2958c2ecf20Sopenharmony_ci	/* { .offset = B2063_RX_BB_SP1, .value_a = 0x000f, .value_g = 0x000f, .flags = 0, }, */
2968c2ecf20Sopenharmony_ci	/* { .offset = B2063_RX_BB_SP2, .value_a = 0x0022, .value_g = 0x0022, .flags = 0, }, */
2978c2ecf20Sopenharmony_ci	/* { .offset = B2063_RX_BB_SP3, .value_a = 0x00a8, .value_g = 0x00a8, .flags = 0, }, */
2988c2ecf20Sopenharmony_ci	{ .offset = B2063_RX_BB_SP4, .value_a = 0x0060, .value_g = 0x0060, .flags = B206X_FLAG_A | B206X_FLAG_G, },
2998c2ecf20Sopenharmony_ci	/* { .offset = B2063_RX_BB_SP5, .value_a = 0x0011, .value_g = 0x0011, .flags = 0, }, */
3008c2ecf20Sopenharmony_ci	/* { .offset = B2063_RX_BB_SP6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3018c2ecf20Sopenharmony_ci	/* { .offset = B2063_RX_BB_SP7, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3028c2ecf20Sopenharmony_ci	{ .offset = B2063_RX_BB_SP8, .value_a = 0x0030, .value_g = 0x0030, .flags = B206X_FLAG_A | B206X_FLAG_G, },
3038c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_SP1, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */
3048c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_SP2, .value_a = 0x0003, .value_g = 0x0003, .flags = 0, }, */
3058c2ecf20Sopenharmony_ci	{ .offset = B2063_TX_RF_SP3, .value_a = 0x000c, .value_g = 0x000b, .flags = B206X_FLAG_A | B206X_FLAG_G, },
3068c2ecf20Sopenharmony_ci	{ .offset = B2063_TX_RF_SP4, .value_a = 0x0010, .value_g = 0x000f, .flags = B206X_FLAG_A | B206X_FLAG_G, },
3078c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_SP5, .value_a = 0x000f, .value_g = 0x000f, .flags = 0, }, */
3088c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_SP6, .value_a = 0x0080, .value_g = 0x0080, .flags = 0, }, */
3098c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_SP7, .value_a = 0x0068, .value_g = 0x0068, .flags = 0, }, */
3108c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_SP8, .value_a = 0x0068, .value_g = 0x0068, .flags = 0, }, */
3118c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_SP9, .value_a = 0x0080, .value_g = 0x0080, .flags = 0, }, */
3128c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_SP10, .value_a = 0x00ff, .value_g = 0x00ff, .flags = 0, }, */
3138c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_SP11, .value_a = 0x0003, .value_g = 0x0003, .flags = 0, }, */
3148c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_SP12, .value_a = 0x0038, .value_g = 0x0038, .flags = 0, }, */
3158c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_SP13, .value_a = 0x00ff, .value_g = 0x00ff, .flags = 0, }, */
3168c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_SP14, .value_a = 0x0038, .value_g = 0x0038, .flags = 0, }, */
3178c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_SP15, .value_a = 0x00c0, .value_g = 0x00c0, .flags = 0, }, */
3188c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_SP16, .value_a = 0x00ff, .value_g = 0x00ff, .flags = 0, }, */
3198c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_SP17, .value_a = 0x00ff, .value_g = 0x00ff, .flags = 0, }, */
3208c2ecf20Sopenharmony_ci	{ .offset = B2063_PA_SP1, .value_a = 0x003d, .value_g = 0x00fd, .flags = B206X_FLAG_A | B206X_FLAG_G, },
3218c2ecf20Sopenharmony_ci	/* { .offset = B2063_PA_SP2, .value_a = 0x000c, .value_g = 0x000c, .flags = 0, }, */
3228c2ecf20Sopenharmony_ci	/* { .offset = B2063_PA_SP3, .value_a = 0x0096, .value_g = 0x0096, .flags = 0, }, */
3238c2ecf20Sopenharmony_ci	/* { .offset = B2063_PA_SP4, .value_a = 0x005a, .value_g = 0x005a, .flags = 0, }, */
3248c2ecf20Sopenharmony_ci	/* { .offset = B2063_PA_SP5, .value_a = 0x007f, .value_g = 0x007f, .flags = 0, }, */
3258c2ecf20Sopenharmony_ci	/* { .offset = B2063_PA_SP6, .value_a = 0x007f, .value_g = 0x007f, .flags = 0, }, */
3268c2ecf20Sopenharmony_ci	/* { .offset = B2063_PA_SP7, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */
3278c2ecf20Sopenharmony_ci	{ .offset = B2063_TX_BB_SP1, .value_a = 0x0002, .value_g = 0x0002, .flags = B206X_FLAG_A | B206X_FLAG_G, },
3288c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_BB_SP2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3298c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_BB_SP3, .value_a = 0x0030, .value_g = 0x0030, .flags = 0, }, */
3308c2ecf20Sopenharmony_ci	/* { .offset = B2063_REG_SP1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3318c2ecf20Sopenharmony_ci	{ .offset = B2063_BANDGAP_CTL1, .value_a = 0x0056, .value_g = 0x0056, .flags = B206X_FLAG_A | B206X_FLAG_G, },
3328c2ecf20Sopenharmony_ci	/* { .offset = B2063_BANDGAP_CTL2, .value_a = 0x0006, .value_g = 0x0006, .flags = 0, }, */
3338c2ecf20Sopenharmony_ci	/* { .offset = B2063_LPO_CTL1, .value_a = 0x000e, .value_g = 0x000e, .flags = 0, }, */
3348c2ecf20Sopenharmony_ci	/* { .offset = B2063_RC_CALIB_CTL1, .value_a = 0x007e, .value_g = 0x007e, .flags = 0, }, */
3358c2ecf20Sopenharmony_ci	/* { .offset = B2063_RC_CALIB_CTL2, .value_a = 0x0015, .value_g = 0x0015, .flags = 0, }, */
3368c2ecf20Sopenharmony_ci	/* { .offset = B2063_RC_CALIB_CTL3, .value_a = 0x000f, .value_g = 0x000f, .flags = 0, }, */
3378c2ecf20Sopenharmony_ci	/* { .offset = B2063_RC_CALIB_CTL4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3388c2ecf20Sopenharmony_ci	/* { .offset = B2063_RC_CALIB_CTL5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3398c2ecf20Sopenharmony_ci	/* { .offset = B2063_RC_CALIB_CTL6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3408c2ecf20Sopenharmony_ci	/* { .offset = B2063_RC_CALIB_CTL7, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3418c2ecf20Sopenharmony_ci	/* { .offset = B2063_RC_CALIB_CTL8, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3428c2ecf20Sopenharmony_ci	/* { .offset = B2063_RC_CALIB_CTL9, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3438c2ecf20Sopenharmony_ci	/* { .offset = B2063_RC_CALIB_CTL10, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3448c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_CALNRST, .value_a = 0x0004, .value_g = 0x0004, .flags = 0, }, */
3458c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_IN_PLL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3468c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_IN_PLL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3478c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_CP1, .value_a = 0x00cf, .value_g = 0x00cf, .flags = 0, }, */
3488c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_CP2, .value_a = 0x0059, .value_g = 0x0059, .flags = 0, }, */
3498c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_CP3, .value_a = 0x0007, .value_g = 0x0007, .flags = 0, }, */
3508c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_CP4, .value_a = 0x0042, .value_g = 0x0042, .flags = 0, }, */
3518c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3528c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_LF1, .value_a = 0x00db, .value_g = 0x00db, .flags = 0, }, */
3538c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_LF2, .value_a = 0x0094, .value_g = 0x0094, .flags = 0, }, */
3548c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_LF3, .value_a = 0x0028, .value_g = 0x0028, .flags = 0, }, */
3558c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_LF4, .value_a = 0x0063, .value_g = 0x0063, .flags = 0, }, */
3568c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_SG1, .value_a = 0x0007, .value_g = 0x0007, .flags = 0, }, */
3578c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_SG2, .value_a = 0x00d3, .value_g = 0x00d3, .flags = 0, }, */
3588c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_SG3, .value_a = 0x00b1, .value_g = 0x00b1, .flags = 0, }, */
3598c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_SG4, .value_a = 0x003b, .value_g = 0x003b, .flags = 0, }, */
3608c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_SG5, .value_a = 0x0006, .value_g = 0x0006, .flags = 0, }, */
3618c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_VCO1, .value_a = 0x0058, .value_g = 0x0058, .flags = 0, }, */
3628c2ecf20Sopenharmony_ci	{ .offset = B2063_PLL_JTAG_PLL_VCO2, .value_a = 0x00f7, .value_g = 0x00f7, .flags = B206X_FLAG_A | B206X_FLAG_G, },
3638c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_VCO_CALIB1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3648c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_VCO_CALIB2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3658c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_VCO_CALIB3, .value_a = 0x0002, .value_g = 0x0002, .flags = 0, }, */
3668c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_VCO_CALIB4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3678c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_VCO_CALIB5, .value_a = 0x0009, .value_g = 0x0009, .flags = 0, }, */
3688c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_VCO_CALIB6, .value_a = 0x0005, .value_g = 0x0005, .flags = 0, }, */
3698c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_VCO_CALIB7, .value_a = 0x0016, .value_g = 0x0016, .flags = 0, }, */
3708c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_VCO_CALIB8, .value_a = 0x006b, .value_g = 0x006b, .flags = 0, }, */
3718c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_VCO_CALIB9, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3728c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_VCO_CALIB10, .value_a = 0x00b3, .value_g = 0x00b3, .flags = 0, }, */
3738c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_XTAL_12, .value_a = 0x0004, .value_g = 0x0004, .flags = 0, }, */
3748c2ecf20Sopenharmony_ci	/* { .offset = B2063_PLL_JTAG_PLL_XTAL3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3758c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_ACL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3768c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_ACL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3778c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_ACL3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3788c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_ACL4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3798c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_ACL5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3808c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_INPUTS, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3818c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3828c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_CTL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3838c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_CTL3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3848c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_WAITCNT, .value_a = 0x0002, .value_g = 0x0002, .flags = 0, }, */
3858c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_OVR1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3868c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_OVR2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3878c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_OVAL1, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */
3888c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_OVAL2, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */
3898c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_OVAL3, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */
3908c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_OVAL4, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */
3918c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_OVAL5, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */
3928c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_OVAL6, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */
3938c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_OVAL7, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */
3948c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_CALVLD1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3958c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_CALVLD2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3968c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_CVAL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3978c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_CVAL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3988c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_CVAL3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
3998c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_CVAL4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4008c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_CVAL5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4018c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_CVAL6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4028c2ecf20Sopenharmony_ci	/* { .offset = B2063_LO_CALIB_CVAL7, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4038c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_CALIB_EN, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4048c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_PEAKDET1, .value_a = 0x00ff, .value_g = 0x00ff, .flags = 0, }, */
4058c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_RCCR1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4068c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_VCOBUF1, .value_a = 0x0060, .value_g = 0x0060, .flags = 0, }, */
4078c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_MIXER1, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */
4088c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_MIXER2, .value_a = 0x000c, .value_g = 0x000c, .flags = 0, }, */
4098c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_BUF1, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */
4108c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_BUF2, .value_a = 0x000c, .value_g = 0x000c, .flags = 0, }, */
4118c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_DIV1, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */
4128c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_DIV2, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */
4138c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_DIV3, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */
4148c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_CBUFRX1, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */
4158c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_CBUFRX2, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */
4168c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_CBUFTX1, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */
4178c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_CBUFTX2, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */
4188c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_IDAC1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4198c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_SPARE1, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */
4208c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_SPARE2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4218c2ecf20Sopenharmony_ci	/* { .offset = B2063_LOGEN_SPARE3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4228c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_1ST1, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */
4238c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_1ST2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4248c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_1ST3, .value_a = 0x0005, .value_g = 0x0005, .flags = 0, }, */
4258c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_2ND1, .value_a = 0x0030, .value_g = 0x0030, .flags = 0, }, */
4268c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_2ND2, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */
4278c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_2ND3, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */
4288c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_2ND4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4298c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_2ND5, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */
4308c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_2ND6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4318c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_2ND7, .value_a = 0x0035, .value_g = 0x0035, .flags = 0, }, */
4328c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_2ND8, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4338c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_PS1, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */
4348c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_PS2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4358c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_PS3, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */
4368c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_PS4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4378c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_PS5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4388c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_MIX1, .value_a = 0x0044, .value_g = 0x0044, .flags = 0, }, */
4398c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_MIX2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4408c2ecf20Sopenharmony_ci	{ .offset = B2063_G_RX_MIX3, .value_a = 0x0071, .value_g = 0x0071, .flags = B206X_FLAG_A | B206X_FLAG_G, },
4418c2ecf20Sopenharmony_ci	{ .offset = B2063_G_RX_MIX4, .value_a = 0x0071, .value_g = 0x0071, .flags = B206X_FLAG_A | B206X_FLAG_G, },
4428c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_MIX5, .value_a = 0x0003, .value_g = 0x0003, .flags = 0, }, */
4438c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_MIX6, .value_a = 0x0088, .value_g = 0x0088, .flags = 0, }, */
4448c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_MIX7, .value_a = 0x0044, .value_g = 0x0044, .flags = 0, }, */
4458c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_MIX8, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */
4468c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_PDET1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4478c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_SPARES1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4488c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_SPARES2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4498c2ecf20Sopenharmony_ci	/* { .offset = B2063_G_RX_SPARES3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4508c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_1ST1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4518c2ecf20Sopenharmony_ci	{ .offset = B2063_A_RX_1ST2, .value_a = 0x00f0, .value_g = 0x0030, .flags = B206X_FLAG_A, },
4528c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_1ST3, .value_a = 0x0005, .value_g = 0x0005, .flags = 0, }, */
4538c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_1ST4, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */
4548c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_1ST5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4558c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_2ND1, .value_a = 0x0005, .value_g = 0x0005, .flags = 0, }, */
4568c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_2ND2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4578c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_2ND3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4588c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_2ND4, .value_a = 0x0005, .value_g = 0x0005, .flags = 0, }, */
4598c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_2ND5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4608c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_2ND6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4618c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_2ND7, .value_a = 0x0005, .value_g = 0x0005, .flags = 0, }, */
4628c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_PS1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4638c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_PS2, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */
4648c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_PS3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4658c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_PS4, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */
4668c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_PS5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4678c2ecf20Sopenharmony_ci	{ .offset = B2063_A_RX_PS6, .value_a = 0x0077, .value_g = 0x0077, .flags = B206X_FLAG_A | B206X_FLAG_G, },
4688c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_MIX1, .value_a = 0x0088, .value_g = 0x0088, .flags = 0, }, */
4698c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_MIX2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4708c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_MIX3, .value_a = 0x0044, .value_g = 0x0044, .flags = 0, }, */
4718c2ecf20Sopenharmony_ci	{ .offset = B2063_A_RX_MIX4, .value_a = 0x0003, .value_g = 0x0003, .flags = B206X_FLAG_A | B206X_FLAG_G, },
4728c2ecf20Sopenharmony_ci	{ .offset = B2063_A_RX_MIX5, .value_a = 0x000f, .value_g = 0x000f, .flags = B206X_FLAG_A | B206X_FLAG_G, },
4738c2ecf20Sopenharmony_ci	{ .offset = B2063_A_RX_MIX6, .value_a = 0x000f, .value_g = 0x000f, .flags = B206X_FLAG_A | B206X_FLAG_G, },
4748c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_MIX7, .value_a = 0x0044, .value_g = 0x0044, .flags = 0, }, */
4758c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_MIX8, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */
4768c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_PWRDET1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4778c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_SPARE1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4788c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_SPARE2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4798c2ecf20Sopenharmony_ci	/* { .offset = B2063_A_RX_SPARE3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4808c2ecf20Sopenharmony_ci	{ .offset = B2063_RX_TIA_CTL1, .value_a = 0x0077, .value_g = 0x0077, .flags = B206X_FLAG_A | B206X_FLAG_G, },
4818c2ecf20Sopenharmony_ci	/* { .offset = B2063_RX_TIA_CTL2, .value_a = 0x0058, .value_g = 0x0058, .flags = 0, }, */
4828c2ecf20Sopenharmony_ci	{ .offset = B2063_RX_TIA_CTL3, .value_a = 0x0077, .value_g = 0x0077, .flags = B206X_FLAG_A | B206X_FLAG_G, },
4838c2ecf20Sopenharmony_ci	/* { .offset = B2063_RX_TIA_CTL4, .value_a = 0x0058, .value_g = 0x0058, .flags = 0, }, */
4848c2ecf20Sopenharmony_ci	/* { .offset = B2063_RX_TIA_CTL5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4858c2ecf20Sopenharmony_ci	/* { .offset = B2063_RX_TIA_CTL6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
4868c2ecf20Sopenharmony_ci	/* { .offset = B2063_RX_BB_CTL1, .value_a = 0x0074, .value_g = 0x0074, .flags = 0, }, */
4878c2ecf20Sopenharmony_ci	{ .offset = B2063_RX_BB_CTL2, .value_a = 0x0004, .value_g = 0x0004, .flags = B206X_FLAG_A | B206X_FLAG_G, },
4888c2ecf20Sopenharmony_ci	/* { .offset = B2063_RX_BB_CTL3, .value_a = 0x00a2, .value_g = 0x00a2, .flags = 0, }, */
4898c2ecf20Sopenharmony_ci	/* { .offset = B2063_RX_BB_CTL4, .value_a = 0x00aa, .value_g = 0x00aa, .flags = 0, }, */
4908c2ecf20Sopenharmony_ci	/* { .offset = B2063_RX_BB_CTL5, .value_a = 0x0024, .value_g = 0x0024, .flags = 0, }, */
4918c2ecf20Sopenharmony_ci	/* { .offset = B2063_RX_BB_CTL6, .value_a = 0x00a9, .value_g = 0x00a9, .flags = 0, }, */
4928c2ecf20Sopenharmony_ci	/* { .offset = B2063_RX_BB_CTL7, .value_a = 0x0028, .value_g = 0x0028, .flags = 0, }, */
4938c2ecf20Sopenharmony_ci	/* { .offset = B2063_RX_BB_CTL8, .value_a = 0x0010, .value_g = 0x0010, .flags = 0, }, */
4948c2ecf20Sopenharmony_ci	/* { .offset = B2063_RX_BB_CTL9, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */
4958c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_CTL1, .value_a = 0x0080, .value_g = 0x0080, .flags = 0, }, */
4968c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_IDAC_LO_RF_I, .value_a = 0x0088, .value_g = 0x0088, .flags = 0, }, */
4978c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_IDAC_LO_RF_Q, .value_a = 0x0088, .value_g = 0x0088, .flags = 0, }, */
4988c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_IDAC_LO_BB_I, .value_a = 0x0088, .value_g = 0x0088, .flags = 0, }, */
4998c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_IDAC_LO_BB_Q, .value_a = 0x0088, .value_g = 0x0088, .flags = 0, }, */
5008c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_CTL2, .value_a = 0x0080, .value_g = 0x0080, .flags = 0, }, */
5018c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_CTL3, .value_a = 0x0038, .value_g = 0x0038, .flags = 0, }, */
5028c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_CTL4, .value_a = 0x00b8, .value_g = 0x00b8, .flags = 0, }, */
5038c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_CTL5, .value_a = 0x0080, .value_g = 0x0080, .flags = 0, }, */
5048c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_CTL6, .value_a = 0x0038, .value_g = 0x0038, .flags = 0, }, */
5058c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_CTL7, .value_a = 0x0078, .value_g = 0x0078, .flags = 0, }, */
5068c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_CTL8, .value_a = 0x00c0, .value_g = 0x00c0, .flags = 0, }, */
5078c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_CTL9, .value_a = 0x0003, .value_g = 0x0003, .flags = 0, }, */
5088c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_CTL10, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
5098c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_CTL14, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
5108c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RF_CTL15, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
5118c2ecf20Sopenharmony_ci	{ .offset = B2063_PA_CTL1, .value_a = 0x0000, .value_g = 0x0004, .flags = B206X_FLAG_A, },
5128c2ecf20Sopenharmony_ci	/* { .offset = B2063_PA_CTL2, .value_a = 0x000c, .value_g = 0x000c, .flags = 0, }, */
5138c2ecf20Sopenharmony_ci	/* { .offset = B2063_PA_CTL3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
5148c2ecf20Sopenharmony_ci	/* { .offset = B2063_PA_CTL4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
5158c2ecf20Sopenharmony_ci	/* { .offset = B2063_PA_CTL5, .value_a = 0x0096, .value_g = 0x0096, .flags = 0, }, */
5168c2ecf20Sopenharmony_ci	/* { .offset = B2063_PA_CTL6, .value_a = 0x0077, .value_g = 0x0077, .flags = 0, }, */
5178c2ecf20Sopenharmony_ci	/* { .offset = B2063_PA_CTL7, .value_a = 0x005a, .value_g = 0x005a, .flags = 0, }, */
5188c2ecf20Sopenharmony_ci	/* { .offset = B2063_PA_CTL8, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
5198c2ecf20Sopenharmony_ci	/* { .offset = B2063_PA_CTL9, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
5208c2ecf20Sopenharmony_ci	/* { .offset = B2063_PA_CTL10, .value_a = 0x0021, .value_g = 0x0021, .flags = 0, }, */
5218c2ecf20Sopenharmony_ci	/* { .offset = B2063_PA_CTL11, .value_a = 0x0070, .value_g = 0x0070, .flags = 0, }, */
5228c2ecf20Sopenharmony_ci	/* { .offset = B2063_PA_CTL12, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
5238c2ecf20Sopenharmony_ci	/* { .offset = B2063_PA_CTL13, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
5248c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_BB_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
5258c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_BB_CTL2, .value_a = 0x00b3, .value_g = 0x00b3, .flags = 0, }, */
5268c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_BB_CTL3, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */
5278c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_BB_CTL4, .value_a = 0x000b, .value_g = 0x000b, .flags = 0, }, */
5288c2ecf20Sopenharmony_ci	/* { .offset = B2063_GPIO_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
5298c2ecf20Sopenharmony_ci	{ .offset = B2063_VREG_CTL1, .value_a = 0x0003, .value_g = 0x0003, .flags = B206X_FLAG_A | B206X_FLAG_G, },
5308c2ecf20Sopenharmony_ci	/* { .offset = B2063_AMUX_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
5318c2ecf20Sopenharmony_ci	/* { .offset = B2063_IQ_CALIB_GVAR, .value_a = 0x00b3, .value_g = 0x00b3, .flags = 0, }, */
5328c2ecf20Sopenharmony_ci	/* { .offset = B2063_IQ_CALIB_CTL1, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */
5338c2ecf20Sopenharmony_ci	/* { .offset = B2063_IQ_CALIB_CTL2, .value_a = 0x0030, .value_g = 0x0030, .flags = 0, }, */
5348c2ecf20Sopenharmony_ci	/* { .offset = B2063_TEMPSENSE_CTL1, .value_a = 0x0046, .value_g = 0x0046, .flags = 0, }, */
5358c2ecf20Sopenharmony_ci	/* { .offset = B2063_TEMPSENSE_CTL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
5368c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RX_LOOPBACK1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
5378c2ecf20Sopenharmony_ci	/* { .offset = B2063_TX_RX_LOOPBACK2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */
5388c2ecf20Sopenharmony_ci	/* { .offset = B2063_EXT_TSSI_CTL1, .value_a = 0x0021, .value_g = 0x0021, .flags = 0, }, */
5398c2ecf20Sopenharmony_ci	/* { .offset = B2063_EXT_TSSI_CTL2, .value_a = 0x0023, .value_g = 0x0023, .flags = 0, }, */
5408c2ecf20Sopenharmony_ci	/* { .offset = B2063_AFE_CTL , .value_a = 0x0002, .value_g = 0x0002, .flags = 0, }, */
5418c2ecf20Sopenharmony_ci};
5428c2ecf20Sopenharmony_ci
5438c2ecf20Sopenharmony_civoid b2062_upload_init_table(struct b43_wldev *dev)
5448c2ecf20Sopenharmony_ci{
5458c2ecf20Sopenharmony_ci	const struct b206x_init_tab_entry *e;
5468c2ecf20Sopenharmony_ci	unsigned int i;
5478c2ecf20Sopenharmony_ci
5488c2ecf20Sopenharmony_ci	for (i = 0; i < ARRAY_SIZE(b2062_init_tab); i++) {
5498c2ecf20Sopenharmony_ci		e = &b2062_init_tab[i];
5508c2ecf20Sopenharmony_ci		if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) {
5518c2ecf20Sopenharmony_ci			if (!(e->flags & B206X_FLAG_G))
5528c2ecf20Sopenharmony_ci				continue;
5538c2ecf20Sopenharmony_ci			b43_radio_write(dev, e->offset, e->value_g);
5548c2ecf20Sopenharmony_ci		} else {
5558c2ecf20Sopenharmony_ci			if (!(e->flags & B206X_FLAG_A))
5568c2ecf20Sopenharmony_ci				continue;
5578c2ecf20Sopenharmony_ci			b43_radio_write(dev, e->offset, e->value_a);
5588c2ecf20Sopenharmony_ci		}
5598c2ecf20Sopenharmony_ci	}
5608c2ecf20Sopenharmony_ci}
5618c2ecf20Sopenharmony_ci
5628c2ecf20Sopenharmony_civoid b2063_upload_init_table(struct b43_wldev *dev)
5638c2ecf20Sopenharmony_ci{
5648c2ecf20Sopenharmony_ci	const struct b206x_init_tab_entry *e;
5658c2ecf20Sopenharmony_ci	unsigned int i;
5668c2ecf20Sopenharmony_ci
5678c2ecf20Sopenharmony_ci	for (i = 0; i < ARRAY_SIZE(b2063_init_tab); i++) {
5688c2ecf20Sopenharmony_ci		e = &b2063_init_tab[i];
5698c2ecf20Sopenharmony_ci		if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) {
5708c2ecf20Sopenharmony_ci			if (!(e->flags & B206X_FLAG_G))
5718c2ecf20Sopenharmony_ci				continue;
5728c2ecf20Sopenharmony_ci			b43_radio_write(dev, e->offset, e->value_g);
5738c2ecf20Sopenharmony_ci		} else {
5748c2ecf20Sopenharmony_ci			if (!(e->flags & B206X_FLAG_A))
5758c2ecf20Sopenharmony_ci				continue;
5768c2ecf20Sopenharmony_ci			b43_radio_write(dev, e->offset, e->value_a);
5778c2ecf20Sopenharmony_ci		}
5788c2ecf20Sopenharmony_ci	}
5798c2ecf20Sopenharmony_ci}
5808c2ecf20Sopenharmony_ci
5818c2ecf20Sopenharmony_ciu32 b43_lptab_read(struct b43_wldev *dev, u32 offset)
5828c2ecf20Sopenharmony_ci{
5838c2ecf20Sopenharmony_ci	u32 type, value;
5848c2ecf20Sopenharmony_ci
5858c2ecf20Sopenharmony_ci	type = offset & B43_LPTAB_TYPEMASK;
5868c2ecf20Sopenharmony_ci	offset &= ~B43_LPTAB_TYPEMASK;
5878c2ecf20Sopenharmony_ci	B43_WARN_ON(offset > 0xFFFF);
5888c2ecf20Sopenharmony_ci
5898c2ecf20Sopenharmony_ci	switch (type) {
5908c2ecf20Sopenharmony_ci	case B43_LPTAB_8BIT:
5918c2ecf20Sopenharmony_ci		b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset);
5928c2ecf20Sopenharmony_ci		value = b43_phy_read(dev, B43_LPPHY_TABLEDATALO) & 0xFF;
5938c2ecf20Sopenharmony_ci		break;
5948c2ecf20Sopenharmony_ci	case B43_LPTAB_16BIT:
5958c2ecf20Sopenharmony_ci		b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset);
5968c2ecf20Sopenharmony_ci		value = b43_phy_read(dev, B43_LPPHY_TABLEDATALO);
5978c2ecf20Sopenharmony_ci		break;
5988c2ecf20Sopenharmony_ci	case B43_LPTAB_32BIT:
5998c2ecf20Sopenharmony_ci		b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset);
6008c2ecf20Sopenharmony_ci		value = b43_phy_read(dev, B43_LPPHY_TABLEDATAHI);
6018c2ecf20Sopenharmony_ci		value <<= 16;
6028c2ecf20Sopenharmony_ci		value |= b43_phy_read(dev, B43_LPPHY_TABLEDATALO);
6038c2ecf20Sopenharmony_ci		break;
6048c2ecf20Sopenharmony_ci	default:
6058c2ecf20Sopenharmony_ci		B43_WARN_ON(1);
6068c2ecf20Sopenharmony_ci		value = 0;
6078c2ecf20Sopenharmony_ci	}
6088c2ecf20Sopenharmony_ci
6098c2ecf20Sopenharmony_ci	return value;
6108c2ecf20Sopenharmony_ci}
6118c2ecf20Sopenharmony_ci
6128c2ecf20Sopenharmony_civoid b43_lptab_read_bulk(struct b43_wldev *dev, u32 offset,
6138c2ecf20Sopenharmony_ci			 unsigned int nr_elements, void *_data)
6148c2ecf20Sopenharmony_ci{
6158c2ecf20Sopenharmony_ci	u32 type;
6168c2ecf20Sopenharmony_ci	u8 *data = _data;
6178c2ecf20Sopenharmony_ci	unsigned int i;
6188c2ecf20Sopenharmony_ci
6198c2ecf20Sopenharmony_ci	type = offset & B43_LPTAB_TYPEMASK;
6208c2ecf20Sopenharmony_ci	offset &= ~B43_LPTAB_TYPEMASK;
6218c2ecf20Sopenharmony_ci	B43_WARN_ON(offset > 0xFFFF);
6228c2ecf20Sopenharmony_ci
6238c2ecf20Sopenharmony_ci	b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset);
6248c2ecf20Sopenharmony_ci
6258c2ecf20Sopenharmony_ci	for (i = 0; i < nr_elements; i++) {
6268c2ecf20Sopenharmony_ci		switch (type) {
6278c2ecf20Sopenharmony_ci		case B43_LPTAB_8BIT:
6288c2ecf20Sopenharmony_ci			*data = b43_phy_read(dev, B43_LPPHY_TABLEDATALO) & 0xFF;
6298c2ecf20Sopenharmony_ci			data++;
6308c2ecf20Sopenharmony_ci			break;
6318c2ecf20Sopenharmony_ci		case B43_LPTAB_16BIT:
6328c2ecf20Sopenharmony_ci			*((u16 *)data) = b43_phy_read(dev, B43_LPPHY_TABLEDATALO);
6338c2ecf20Sopenharmony_ci			data += 2;
6348c2ecf20Sopenharmony_ci			break;
6358c2ecf20Sopenharmony_ci		case B43_LPTAB_32BIT:
6368c2ecf20Sopenharmony_ci			*((u32 *)data) = b43_phy_read(dev, B43_LPPHY_TABLEDATAHI);
6378c2ecf20Sopenharmony_ci			*((u32 *)data) <<= 16;
6388c2ecf20Sopenharmony_ci			*((u32 *)data) |= b43_phy_read(dev, B43_LPPHY_TABLEDATALO);
6398c2ecf20Sopenharmony_ci			data += 4;
6408c2ecf20Sopenharmony_ci			break;
6418c2ecf20Sopenharmony_ci		default:
6428c2ecf20Sopenharmony_ci			B43_WARN_ON(1);
6438c2ecf20Sopenharmony_ci		}
6448c2ecf20Sopenharmony_ci	}
6458c2ecf20Sopenharmony_ci}
6468c2ecf20Sopenharmony_ci
6478c2ecf20Sopenharmony_civoid b43_lptab_write(struct b43_wldev *dev, u32 offset, u32 value)
6488c2ecf20Sopenharmony_ci{
6498c2ecf20Sopenharmony_ci	u32 type;
6508c2ecf20Sopenharmony_ci
6518c2ecf20Sopenharmony_ci	type = offset & B43_LPTAB_TYPEMASK;
6528c2ecf20Sopenharmony_ci	offset &= ~B43_LPTAB_TYPEMASK;
6538c2ecf20Sopenharmony_ci	B43_WARN_ON(offset > 0xFFFF);
6548c2ecf20Sopenharmony_ci
6558c2ecf20Sopenharmony_ci	switch (type) {
6568c2ecf20Sopenharmony_ci	case B43_LPTAB_8BIT:
6578c2ecf20Sopenharmony_ci		B43_WARN_ON(value & ~0xFF);
6588c2ecf20Sopenharmony_ci		b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset);
6598c2ecf20Sopenharmony_ci		b43_phy_write(dev, B43_LPPHY_TABLEDATALO, value);
6608c2ecf20Sopenharmony_ci		break;
6618c2ecf20Sopenharmony_ci	case B43_LPTAB_16BIT:
6628c2ecf20Sopenharmony_ci		B43_WARN_ON(value & ~0xFFFF);
6638c2ecf20Sopenharmony_ci		b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset);
6648c2ecf20Sopenharmony_ci		b43_phy_write(dev, B43_LPPHY_TABLEDATALO, value);
6658c2ecf20Sopenharmony_ci		break;
6668c2ecf20Sopenharmony_ci	case B43_LPTAB_32BIT:
6678c2ecf20Sopenharmony_ci		b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset);
6688c2ecf20Sopenharmony_ci		b43_phy_write(dev, B43_LPPHY_TABLEDATAHI, value >> 16);
6698c2ecf20Sopenharmony_ci		b43_phy_write(dev, B43_LPPHY_TABLEDATALO, value);
6708c2ecf20Sopenharmony_ci		break;
6718c2ecf20Sopenharmony_ci	default:
6728c2ecf20Sopenharmony_ci		B43_WARN_ON(1);
6738c2ecf20Sopenharmony_ci	}
6748c2ecf20Sopenharmony_ci}
6758c2ecf20Sopenharmony_ci
6768c2ecf20Sopenharmony_civoid b43_lptab_write_bulk(struct b43_wldev *dev, u32 offset,
6778c2ecf20Sopenharmony_ci			  unsigned int nr_elements, const void *_data)
6788c2ecf20Sopenharmony_ci{
6798c2ecf20Sopenharmony_ci	u32 type, value;
6808c2ecf20Sopenharmony_ci	const u8 *data = _data;
6818c2ecf20Sopenharmony_ci	unsigned int i;
6828c2ecf20Sopenharmony_ci
6838c2ecf20Sopenharmony_ci	type = offset & B43_LPTAB_TYPEMASK;
6848c2ecf20Sopenharmony_ci	offset &= ~B43_LPTAB_TYPEMASK;
6858c2ecf20Sopenharmony_ci	B43_WARN_ON(offset > 0xFFFF);
6868c2ecf20Sopenharmony_ci
6878c2ecf20Sopenharmony_ci	b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset);
6888c2ecf20Sopenharmony_ci
6898c2ecf20Sopenharmony_ci	for (i = 0; i < nr_elements; i++) {
6908c2ecf20Sopenharmony_ci		switch (type) {
6918c2ecf20Sopenharmony_ci		case B43_LPTAB_8BIT:
6928c2ecf20Sopenharmony_ci			value = *data;
6938c2ecf20Sopenharmony_ci			data++;
6948c2ecf20Sopenharmony_ci			B43_WARN_ON(value & ~0xFF);
6958c2ecf20Sopenharmony_ci			b43_phy_write(dev, B43_LPPHY_TABLEDATALO, value);
6968c2ecf20Sopenharmony_ci			break;
6978c2ecf20Sopenharmony_ci		case B43_LPTAB_16BIT:
6988c2ecf20Sopenharmony_ci			value = *((u16 *)data);
6998c2ecf20Sopenharmony_ci			data += 2;
7008c2ecf20Sopenharmony_ci			B43_WARN_ON(value & ~0xFFFF);
7018c2ecf20Sopenharmony_ci			b43_phy_write(dev, B43_LPPHY_TABLEDATALO, value);
7028c2ecf20Sopenharmony_ci			break;
7038c2ecf20Sopenharmony_ci		case B43_LPTAB_32BIT:
7048c2ecf20Sopenharmony_ci			value = *((u32 *)data);
7058c2ecf20Sopenharmony_ci			data += 4;
7068c2ecf20Sopenharmony_ci			b43_phy_write(dev, B43_LPPHY_TABLEDATAHI, value >> 16);
7078c2ecf20Sopenharmony_ci			b43_phy_write(dev, B43_LPPHY_TABLEDATALO, value);
7088c2ecf20Sopenharmony_ci			break;
7098c2ecf20Sopenharmony_ci		default:
7108c2ecf20Sopenharmony_ci			B43_WARN_ON(1);
7118c2ecf20Sopenharmony_ci		}
7128c2ecf20Sopenharmony_ci	}
7138c2ecf20Sopenharmony_ci}
7148c2ecf20Sopenharmony_ci
7158c2ecf20Sopenharmony_cistatic const u8 lpphy_min_sig_sq_table[] = {
7168c2ecf20Sopenharmony_ci	0xde, 0xdc, 0xda, 0xd8, 0xd6, 0xd4, 0xd2, 0xcf, 0xcd,
7178c2ecf20Sopenharmony_ci	0xca, 0xc7, 0xc4, 0xc1, 0xbe, 0xbe, 0xbe, 0xbe, 0xbe,
7188c2ecf20Sopenharmony_ci	0xbe, 0xbe, 0xbe, 0xbe, 0xbe, 0xbe, 0xbe, 0xbe, 0x00,
7198c2ecf20Sopenharmony_ci	0xbe, 0xbe, 0xbe, 0xbe, 0xbe, 0xbe, 0xbe, 0xbe, 0xbe,
7208c2ecf20Sopenharmony_ci	0xbe, 0xbe, 0xbe, 0xbe, 0xc1, 0xc4, 0xc7, 0xca, 0xcd,
7218c2ecf20Sopenharmony_ci	0xcf, 0xd2, 0xd4, 0xd6, 0xd8, 0xda, 0xdc, 0xde,
7228c2ecf20Sopenharmony_ci};
7238c2ecf20Sopenharmony_ci
7248c2ecf20Sopenharmony_cistatic const u16 lpphy_rev01_noise_scale_table[] = {
7258c2ecf20Sopenharmony_ci	0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4,
7268c2ecf20Sopenharmony_ci	0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0xa400, 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4,
7278c2ecf20Sopenharmony_ci	0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0x00a4,
7288c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x4c00, 0x2d36,
7298c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x4c00, 0x2d36,
7308c2ecf20Sopenharmony_ci};
7318c2ecf20Sopenharmony_ci
7328c2ecf20Sopenharmony_cistatic const u16 lpphy_rev2plus_noise_scale_table[] = {
7338c2ecf20Sopenharmony_ci	0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4,
7348c2ecf20Sopenharmony_ci	0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4,
7358c2ecf20Sopenharmony_ci	0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x0000,
7368c2ecf20Sopenharmony_ci	0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4,
7378c2ecf20Sopenharmony_ci	0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4,
7388c2ecf20Sopenharmony_ci	0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4,
7398c2ecf20Sopenharmony_ci	0x00a4,
7408c2ecf20Sopenharmony_ci};
7418c2ecf20Sopenharmony_ci
7428c2ecf20Sopenharmony_cistatic const u16 lpphy_crs_gain_nft_table[] = {
7438c2ecf20Sopenharmony_ci	0x0366, 0x036a, 0x036f, 0x0364, 0x0367, 0x036d, 0x0374, 0x037f, 0x036f,
7448c2ecf20Sopenharmony_ci	0x037b, 0x038a, 0x0378, 0x0367, 0x036d, 0x0375, 0x0381, 0x0374, 0x0381,
7458c2ecf20Sopenharmony_ci	0x0392, 0x03a9, 0x03c4, 0x03e1, 0x0001, 0x001f, 0x0040, 0x005e, 0x007f,
7468c2ecf20Sopenharmony_ci	0x009e, 0x00bd, 0x00dd, 0x00fd, 0x011d, 0x013d,
7478c2ecf20Sopenharmony_ci};
7488c2ecf20Sopenharmony_ci
7498c2ecf20Sopenharmony_cistatic const u16 lpphy_rev01_filter_control_table[] = {
7508c2ecf20Sopenharmony_ci	0xa0fc, 0x10fc, 0x10db, 0x20b7, 0xff93, 0x10bf, 0x109b, 0x2077, 0xff53,
7518c2ecf20Sopenharmony_ci	0x0127,
7528c2ecf20Sopenharmony_ci};
7538c2ecf20Sopenharmony_ci
7548c2ecf20Sopenharmony_cistatic const u32 lpphy_rev2plus_filter_control_table[] = {
7558c2ecf20Sopenharmony_ci	0x000141fc, 0x000021fc, 0x000021b7, 0x0000416f, 0x0001ff27, 0x0000217f,
7568c2ecf20Sopenharmony_ci	0x00002137, 0x000040ef, 0x0001fea7, 0x0000024f,
7578c2ecf20Sopenharmony_ci};
7588c2ecf20Sopenharmony_ci
7598c2ecf20Sopenharmony_cistatic const u32 lpphy_rev01_ps_control_table[] = {
7608c2ecf20Sopenharmony_ci	0x00010000, 0x000000a0, 0x00040000, 0x00000048, 0x08080101, 0x00000080,
7618c2ecf20Sopenharmony_ci	0x08080101, 0x00000040, 0x08080101, 0x000000c0, 0x08a81501, 0x000000c0,
7628c2ecf20Sopenharmony_ci	0x0fe8fd01, 0x000000c0, 0x08300105, 0x000000c0, 0x08080201, 0x000000c0,
7638c2ecf20Sopenharmony_ci	0x08280205, 0x000000c0, 0xe80802fe, 0x000000c7, 0x28080206, 0x000000c0,
7648c2ecf20Sopenharmony_ci	0x08080202, 0x000000c0, 0x0ba87602, 0x000000c0, 0x1068013d, 0x000000c0,
7658c2ecf20Sopenharmony_ci	0x10280105, 0x000000c0, 0x08880102, 0x000000c0, 0x08280106, 0x000000c0,
7668c2ecf20Sopenharmony_ci	0xe80801fd, 0x000000c7, 0xa8080115, 0x000000c0,
7678c2ecf20Sopenharmony_ci};
7688c2ecf20Sopenharmony_ci
7698c2ecf20Sopenharmony_cistatic const u32 lpphy_rev2plus_ps_control_table[] = {
7708c2ecf20Sopenharmony_ci	0x00e38e08, 0x00e08e38, 0x00000000, 0x00000000, 0x00000000, 0x00002080,
7718c2ecf20Sopenharmony_ci	0x00006180, 0x00003002, 0x00000040, 0x00002042, 0x00180047, 0x00080043,
7728c2ecf20Sopenharmony_ci	0x00000041, 0x000020c1, 0x00046006, 0x00042002, 0x00040000, 0x00002003,
7738c2ecf20Sopenharmony_ci	0x00180006, 0x00080002,
7748c2ecf20Sopenharmony_ci};
7758c2ecf20Sopenharmony_ci
7768c2ecf20Sopenharmony_cistatic const u8 lpphy_pll_fraction_table[] = {
7778c2ecf20Sopenharmony_ci	0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x80,
7788c2ecf20Sopenharmony_ci	0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80,
7798c2ecf20Sopenharmony_ci};
7808c2ecf20Sopenharmony_ci
7818c2ecf20Sopenharmony_cistatic const u16 lpphy_iqlo_cal_table[] = {
7828c2ecf20Sopenharmony_ci	0x0200, 0x0300, 0x0400, 0x0600, 0x0800, 0x0b00, 0x1000, 0x1001, 0x1002,
7838c2ecf20Sopenharmony_ci	0x1003, 0x1004, 0x1005, 0x1006, 0x1007, 0x1707, 0x2007, 0x2d07, 0x4007,
7848c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
7858c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0200, 0x0300, 0x0400, 0x0600,
7868c2ecf20Sopenharmony_ci	0x0800, 0x0b00, 0x1000, 0x1001, 0x1002, 0x1003, 0x1004, 0x1005, 0x1006,
7878c2ecf20Sopenharmony_ci	0x1007, 0x1707, 0x2007, 0x2d07, 0x4007, 0x0000, 0x0000, 0x0000, 0x0000,
7888c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
7898c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
7908c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
7918c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x4000, 0x0000, 0x0000,
7928c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
7938c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
7948c2ecf20Sopenharmony_ci};
7958c2ecf20Sopenharmony_ci
7968c2ecf20Sopenharmony_cistatic const u16 lpphy_rev0_ofdm_cck_gain_table[] = {
7978c2ecf20Sopenharmony_ci	0x0001, 0x0001, 0x0001, 0x0001, 0x1001, 0x2001, 0x3001, 0x4001, 0x5001,
7988c2ecf20Sopenharmony_ci	0x6001, 0x7001, 0x7011, 0x7021, 0x2035, 0x2045, 0x2055, 0x2065, 0x2075,
7998c2ecf20Sopenharmony_ci	0x006d, 0x007d, 0x014d, 0x015d, 0x115d, 0x035d, 0x135d, 0x055d, 0x155d,
8008c2ecf20Sopenharmony_ci	0x0d5d, 0x1d5d, 0x2d5d, 0x555d, 0x655d, 0x755d,
8018c2ecf20Sopenharmony_ci};
8028c2ecf20Sopenharmony_ci
8038c2ecf20Sopenharmony_cistatic const u16 lpphy_rev1_ofdm_cck_gain_table[] = {
8048c2ecf20Sopenharmony_ci	0x5000, 0x6000, 0x7000, 0x0001, 0x1001, 0x2001, 0x3001, 0x4001, 0x5001,
8058c2ecf20Sopenharmony_ci	0x6001, 0x7001, 0x7011, 0x7021, 0x2035, 0x2045, 0x2055, 0x2065, 0x2075,
8068c2ecf20Sopenharmony_ci	0x006d, 0x007d, 0x014d, 0x015d, 0x115d, 0x035d, 0x135d, 0x055d, 0x155d,
8078c2ecf20Sopenharmony_ci	0x0d5d, 0x1d5d, 0x2d5d, 0x555d, 0x655d, 0x755d,
8088c2ecf20Sopenharmony_ci};
8098c2ecf20Sopenharmony_ci
8108c2ecf20Sopenharmony_cistatic const u16 lpphy_gain_delta_table[] = {
8118c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
8128c2ecf20Sopenharmony_ci};
8138c2ecf20Sopenharmony_ci
8148c2ecf20Sopenharmony_cistatic const u32 lpphy_tx_power_control_table[] = {
8158c2ecf20Sopenharmony_ci	0x00000050, 0x0000004f, 0x0000004e, 0x0000004d, 0x0000004c, 0x0000004b,
8168c2ecf20Sopenharmony_ci	0x0000004a, 0x00000049, 0x00000048, 0x00000047, 0x00000046, 0x00000045,
8178c2ecf20Sopenharmony_ci	0x00000044, 0x00000043, 0x00000042, 0x00000041, 0x00000040, 0x0000003f,
8188c2ecf20Sopenharmony_ci	0x0000003e, 0x0000003d, 0x0000003c, 0x0000003b, 0x0000003a, 0x00000039,
8198c2ecf20Sopenharmony_ci	0x00000038, 0x00000037, 0x00000036, 0x00000035, 0x00000034, 0x00000033,
8208c2ecf20Sopenharmony_ci	0x00000032, 0x00000031, 0x00000030, 0x0000002f, 0x0000002e, 0x0000002d,
8218c2ecf20Sopenharmony_ci	0x0000002c, 0x0000002b, 0x0000002a, 0x00000029, 0x00000028, 0x00000027,
8228c2ecf20Sopenharmony_ci	0x00000026, 0x00000025, 0x00000024, 0x00000023, 0x00000022, 0x00000021,
8238c2ecf20Sopenharmony_ci	0x00000020, 0x0000001f, 0x0000001e, 0x0000001d, 0x0000001c, 0x0000001b,
8248c2ecf20Sopenharmony_ci	0x0000001a, 0x00000019, 0x00000018, 0x00000017, 0x00000016, 0x00000015,
8258c2ecf20Sopenharmony_ci	0x00000014, 0x00000013, 0x00000012, 0x00000011, 0x00000000, 0x00000000,
8268c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8278c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8288c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8298c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8308c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8318c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8328c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8338c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8348c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8358c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8368c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8378c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8388c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8398c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8408c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8418c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8428c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8438c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8448c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8458c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8468c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
8478c2ecf20Sopenharmony_ci	0x000075a0, 0x000075a0, 0x000075a1, 0x000075a1, 0x000075a2, 0x000075a2,
8488c2ecf20Sopenharmony_ci	0x000075a3, 0x000075a3, 0x000074b0, 0x000074b0, 0x000074b1, 0x000074b1,
8498c2ecf20Sopenharmony_ci	0x000074b2, 0x000074b2, 0x000074b3, 0x000074b3, 0x00006d20, 0x00006d20,
8508c2ecf20Sopenharmony_ci	0x00006d21, 0x00006d21, 0x00006d22, 0x00006d22, 0x00006d23, 0x00006d23,
8518c2ecf20Sopenharmony_ci	0x00004660, 0x00004660, 0x00004661, 0x00004661, 0x00004662, 0x00004662,
8528c2ecf20Sopenharmony_ci	0x00004663, 0x00004663, 0x00003e60, 0x00003e60, 0x00003e61, 0x00003e61,
8538c2ecf20Sopenharmony_ci	0x00003e62, 0x00003e62, 0x00003e63, 0x00003e63, 0x00003660, 0x00003660,
8548c2ecf20Sopenharmony_ci	0x00003661, 0x00003661, 0x00003662, 0x00003662, 0x00003663, 0x00003663,
8558c2ecf20Sopenharmony_ci	0x00002e60, 0x00002e60, 0x00002e61, 0x00002e61, 0x00002e62, 0x00002e62,
8568c2ecf20Sopenharmony_ci	0x00002e63, 0x00002e63, 0x00002660, 0x00002660, 0x00002661, 0x00002661,
8578c2ecf20Sopenharmony_ci	0x00002662, 0x00002662, 0x00002663, 0x00002663, 0x000025e0, 0x000025e0,
8588c2ecf20Sopenharmony_ci	0x000025e1, 0x000025e1, 0x000025e2, 0x000025e2, 0x000025e3, 0x000025e3,
8598c2ecf20Sopenharmony_ci	0x00001de0, 0x00001de0, 0x00001de1, 0x00001de1, 0x00001de2, 0x00001de2,
8608c2ecf20Sopenharmony_ci	0x00001de3, 0x00001de3, 0x00001d60, 0x00001d60, 0x00001d61, 0x00001d61,
8618c2ecf20Sopenharmony_ci	0x00001d62, 0x00001d62, 0x00001d63, 0x00001d63, 0x00001560, 0x00001560,
8628c2ecf20Sopenharmony_ci	0x00001561, 0x00001561, 0x00001562, 0x00001562, 0x00001563, 0x00001563,
8638c2ecf20Sopenharmony_ci	0x00000d60, 0x00000d60, 0x00000d61, 0x00000d61, 0x00000d62, 0x00000d62,
8648c2ecf20Sopenharmony_ci	0x00000d63, 0x00000d63, 0x00000ce0, 0x00000ce0, 0x00000ce1, 0x00000ce1,
8658c2ecf20Sopenharmony_ci	0x00000ce2, 0x00000ce2, 0x00000ce3, 0x00000ce3, 0x00000e10, 0x00000e10,
8668c2ecf20Sopenharmony_ci	0x00000e11, 0x00000e11, 0x00000e12, 0x00000e12, 0x00000e13, 0x00000e13,
8678c2ecf20Sopenharmony_ci	0x00000bf0, 0x00000bf0, 0x00000bf1, 0x00000bf1, 0x00000bf2, 0x00000bf2,
8688c2ecf20Sopenharmony_ci	0x00000bf3, 0x00000bf3, 0x04200000, 0x04000000, 0x04200000, 0x04000000,
8698c2ecf20Sopenharmony_ci	0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000,
8708c2ecf20Sopenharmony_ci	0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000,
8718c2ecf20Sopenharmony_ci	0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000,
8728c2ecf20Sopenharmony_ci	0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000,
8738c2ecf20Sopenharmony_ci	0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000,
8748c2ecf20Sopenharmony_ci	0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000,
8758c2ecf20Sopenharmony_ci	0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000,
8768c2ecf20Sopenharmony_ci	0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000,
8778c2ecf20Sopenharmony_ci	0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000,
8788c2ecf20Sopenharmony_ci	0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000,
8798c2ecf20Sopenharmony_ci	0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000,
8808c2ecf20Sopenharmony_ci	0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000,
8818c2ecf20Sopenharmony_ci	0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000,
8828c2ecf20Sopenharmony_ci	0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000,
8838c2ecf20Sopenharmony_ci	0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000,
8848c2ecf20Sopenharmony_ci	0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000,
8858c2ecf20Sopenharmony_ci	0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000,
8868c2ecf20Sopenharmony_ci	0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000,
8878c2ecf20Sopenharmony_ci	0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000,
8888c2ecf20Sopenharmony_ci	0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000,
8898c2ecf20Sopenharmony_ci	0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x000000ff, 0x000002fc,
8908c2ecf20Sopenharmony_ci	0x0000fa08, 0x00000305, 0x00000206, 0x00000304, 0x0000fb04, 0x0000fcff,
8918c2ecf20Sopenharmony_ci	0x000005fb, 0x0000fd01, 0x00000401, 0x00000006, 0x0000ff03, 0x000007fc,
8928c2ecf20Sopenharmony_ci	0x0000fc08, 0x00000203, 0x0000fffb, 0x00000600, 0x0000fa01, 0x0000fc03,
8938c2ecf20Sopenharmony_ci	0x0000fe06, 0x0000fe00, 0x00000102, 0x000007fd, 0x000004fb, 0x000006ff,
8948c2ecf20Sopenharmony_ci	0x000004fd, 0x0000fdfa, 0x000007fb, 0x0000fdfa, 0x0000fa06, 0x00000500,
8958c2ecf20Sopenharmony_ci	0x0000f902, 0x000007fa, 0x0000fafa, 0x00000500, 0x000007fa, 0x00000700,
8968c2ecf20Sopenharmony_ci	0x00000305, 0x000004ff, 0x00000801, 0x00000503, 0x000005f9, 0x00000404,
8978c2ecf20Sopenharmony_ci	0x0000fb08, 0x000005fd, 0x00000501, 0x00000405, 0x0000fb03, 0x000007fc,
8988c2ecf20Sopenharmony_ci	0x00000403, 0x00000303, 0x00000402, 0x0000faff, 0x0000fe05, 0x000005fd,
8998c2ecf20Sopenharmony_ci	0x0000fe01, 0x000007fa, 0x00000202, 0x00000504, 0x00000102, 0x000008fe,
9008c2ecf20Sopenharmony_ci	0x0000fa04, 0x0000fafc, 0x0000fe08, 0x000000f9, 0x000002fa, 0x000003fe,
9018c2ecf20Sopenharmony_ci	0x00000304, 0x000004f9, 0x00000100, 0x0000fd06, 0x000008fc, 0x00000701,
9028c2ecf20Sopenharmony_ci	0x00000504, 0x0000fdfe, 0x0000fdfc, 0x000003fe, 0x00000704, 0x000002fc,
9038c2ecf20Sopenharmony_ci	0x000004f9, 0x0000fdfd, 0x0000fa07, 0x00000205, 0x000003fd, 0x000005fb,
9048c2ecf20Sopenharmony_ci	0x000004f9, 0x00000804, 0x0000fc06, 0x0000fcf9, 0x00000100, 0x0000fe05,
9058c2ecf20Sopenharmony_ci	0x00000408, 0x0000fb02, 0x00000304, 0x000006fe, 0x000004fa, 0x00000305,
9068c2ecf20Sopenharmony_ci	0x000008fc, 0x00000102, 0x000001fd, 0x000004fc, 0x0000fe03, 0x00000701,
9078c2ecf20Sopenharmony_ci	0x000001fb, 0x000001f9, 0x00000206, 0x000006fd, 0x00000508, 0x00000700,
9088c2ecf20Sopenharmony_ci	0x00000304, 0x000005fe, 0x000005ff, 0x0000fa04, 0x00000303, 0x0000fefb,
9098c2ecf20Sopenharmony_ci	0x000007f9, 0x0000fefc, 0x000004fd, 0x000005fc, 0x0000fffd, 0x0000fc08,
9108c2ecf20Sopenharmony_ci	0x0000fbf9, 0x0000fd07, 0x000008fb, 0x0000fe02, 0x000006fb, 0x00000702,
9118c2ecf20Sopenharmony_ci};
9128c2ecf20Sopenharmony_ci
9138c2ecf20Sopenharmony_cistatic const u32 lpphy_gain_idx_table[] = {
9148c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
9158c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
9168c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
9178c2ecf20Sopenharmony_ci	0x10000001, 0x00000000, 0x20000082, 0x00000000, 0x40000104, 0x00000000,
9188c2ecf20Sopenharmony_ci	0x60004207, 0x00000001, 0x7000838a, 0x00000001, 0xd021050d, 0x00000001,
9198c2ecf20Sopenharmony_ci	0xe041c683, 0x00000001, 0x50828805, 0x00000000, 0x80e34288, 0x00000000,
9208c2ecf20Sopenharmony_ci	0xb144040b, 0x00000000, 0xe1a6058e, 0x00000000, 0x12064711, 0x00000001,
9218c2ecf20Sopenharmony_ci	0xb0a18612, 0x00000010, 0xe1024794, 0x00000010, 0x11630915, 0x00000011,
9228c2ecf20Sopenharmony_ci	0x31c3ca1b, 0x00000011, 0xc1848a9c, 0x00000018, 0xf1e50da0, 0x00000018,
9238c2ecf20Sopenharmony_ci	0x22468e21, 0x00000019, 0x4286d023, 0x00000019, 0xa347d0a4, 0x00000019,
9248c2ecf20Sopenharmony_ci	0xb36811a6, 0x00000019, 0xf3e89227, 0x00000019, 0x0408d329, 0x0000001a,
9258c2ecf20Sopenharmony_ci	0x244953aa, 0x0000001a, 0x346994ab, 0x0000001a, 0x54aa152c, 0x0000001a,
9268c2ecf20Sopenharmony_ci	0x64ca55ad, 0x0000001a, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
9278c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
9288c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
9298c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x10000001, 0x00000000, 0x20000082, 0x00000000,
9308c2ecf20Sopenharmony_ci	0x40000104, 0x00000000, 0x60004207, 0x00000001, 0x7000838a, 0x00000001,
9318c2ecf20Sopenharmony_ci	0xd021050d, 0x00000001, 0xe041c683, 0x00000001, 0x50828805, 0x00000000,
9328c2ecf20Sopenharmony_ci	0x80e34288, 0x00000000, 0xb144040b, 0x00000000, 0xe1a6058e, 0x00000000,
9338c2ecf20Sopenharmony_ci	0x12064711, 0x00000001, 0xb0a18612, 0x00000010, 0xe1024794, 0x00000010,
9348c2ecf20Sopenharmony_ci	0x11630915, 0x00000011, 0x31c3ca1b, 0x00000011, 0xc1848a9c, 0x00000018,
9358c2ecf20Sopenharmony_ci	0xf1e50da0, 0x00000018, 0x22468e21, 0x00000019, 0x4286d023, 0x00000019,
9368c2ecf20Sopenharmony_ci	0xa347d0a4, 0x00000019, 0xb36811a6, 0x00000019, 0xf3e89227, 0x00000019,
9378c2ecf20Sopenharmony_ci	0x0408d329, 0x0000001a, 0x244953aa, 0x0000001a, 0x346994ab, 0x0000001a,
9388c2ecf20Sopenharmony_ci	0x54aa152c, 0x0000001a, 0x64ca55ad, 0x0000001a,
9398c2ecf20Sopenharmony_ci};
9408c2ecf20Sopenharmony_ci
9418c2ecf20Sopenharmony_cistatic const u16 lpphy_aux_gain_idx_table[] = {
9428c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
9438c2ecf20Sopenharmony_ci	0x0001, 0x0002, 0x0004, 0x0016, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
9448c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0001, 0x0002, 0x0004, 0x0016,
9458c2ecf20Sopenharmony_ci};
9468c2ecf20Sopenharmony_ci
9478c2ecf20Sopenharmony_cistatic const u32 lpphy_gain_value_table[] = {
9488c2ecf20Sopenharmony_ci	0x00000008, 0x0000000e, 0x00000014, 0x0000001a, 0x000000fb, 0x00000004,
9498c2ecf20Sopenharmony_ci	0x00000008, 0x0000000d, 0x00000001, 0x00000004, 0x00000007, 0x0000000a,
9508c2ecf20Sopenharmony_ci	0x0000000d, 0x00000010, 0x00000012, 0x00000015, 0x00000000, 0x00000006,
9518c2ecf20Sopenharmony_ci	0x0000000c, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000,
9528c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000018, 0x00000000, 0x00000000, 0x00000000,
9538c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
9548c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
9558c2ecf20Sopenharmony_ci	0x0000001e, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
9568c2ecf20Sopenharmony_ci	0x00000000, 0x00000003, 0x00000006, 0x00000009, 0x0000000c, 0x0000000f,
9578c2ecf20Sopenharmony_ci	0x00000012, 0x00000015, 0x00000018, 0x0000001b, 0x0000001e, 0x00000000,
9588c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000009, 0x000000f1,
9598c2ecf20Sopenharmony_ci	0x00000000, 0x00000000,
9608c2ecf20Sopenharmony_ci};
9618c2ecf20Sopenharmony_ci
9628c2ecf20Sopenharmony_cistatic const u16 lpphy_gain_table[] = {
9638c2ecf20Sopenharmony_ci	0x0000, 0x0400, 0x0800, 0x0802, 0x0804, 0x0806, 0x0807, 0x0808, 0x080a,
9648c2ecf20Sopenharmony_ci	0x080b, 0x080c, 0x080e, 0x080f, 0x0810, 0x0812, 0x0813, 0x0814, 0x0816,
9658c2ecf20Sopenharmony_ci	0x0817, 0x081a, 0x081b, 0x081f, 0x0820, 0x0824, 0x0830, 0x0834, 0x0837,
9668c2ecf20Sopenharmony_ci	0x083b, 0x083f, 0x0840, 0x0844, 0x0857, 0x085b, 0x085f, 0x08d7, 0x08db,
9678c2ecf20Sopenharmony_ci	0x08df, 0x0957, 0x095b, 0x095f, 0x0b57, 0x0b5b, 0x0b5f, 0x0f5f, 0x135f,
9688c2ecf20Sopenharmony_ci	0x175f, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
9698c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
9708c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
9718c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
9728c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
9738c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
9748c2ecf20Sopenharmony_ci};
9758c2ecf20Sopenharmony_ci
9768c2ecf20Sopenharmony_cistatic const u32 lpphy_a0_gain_idx_table[] = {
9778c2ecf20Sopenharmony_ci	0x001111e0, 0x00652051, 0x00606055, 0x005b005a, 0x00555060, 0x00511065,
9788c2ecf20Sopenharmony_ci	0x004c806b, 0x0047d072, 0x00444078, 0x00400080, 0x003ca087, 0x0039408f,
9798c2ecf20Sopenharmony_ci	0x0035e098, 0x0032e0a1, 0x003030aa, 0x002d80b4, 0x002ae0bf, 0x002880ca,
9808c2ecf20Sopenharmony_ci	0x002640d6, 0x002410e3, 0x002220f0, 0x002020ff, 0x001e510e, 0x001ca11e,
9818c2ecf20Sopenharmony_ci	0x001b012f, 0x00199140, 0x00182153, 0x0016c168, 0x0015817d, 0x00145193,
9828c2ecf20Sopenharmony_ci	0x001321ab, 0x001211c5, 0x001111e0, 0x001021fc, 0x000f321a, 0x000e523a,
9838c2ecf20Sopenharmony_ci	0x000d925c, 0x000cd27f, 0x000c12a5, 0x000b62cd, 0x000ac2f8, 0x000a2325,
9848c2ecf20Sopenharmony_ci	0x00099355, 0x00091387, 0x000883bd, 0x000813f5, 0x0007a432, 0x00073471,
9858c2ecf20Sopenharmony_ci	0x0006c4b5, 0x000664fc, 0x00061547, 0x0005b598, 0x000565ec, 0x00051646,
9868c2ecf20Sopenharmony_ci	0x0004d6a5, 0x0004870a, 0x00044775, 0x000407e6, 0x0003d85e, 0x000398dd,
9878c2ecf20Sopenharmony_ci	0x00036963, 0x000339f2, 0x00030a89, 0x0002db28,
9888c2ecf20Sopenharmony_ci};
9898c2ecf20Sopenharmony_ci
9908c2ecf20Sopenharmony_cistatic const u16 lpphy_a0_aux_gain_idx_table[] = {
9918c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
9928c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0002, 0x0014, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
9938c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0002, 0x0014,
9948c2ecf20Sopenharmony_ci};
9958c2ecf20Sopenharmony_ci
9968c2ecf20Sopenharmony_cistatic const u32 lpphy_a0_gain_value_table[] = {
9978c2ecf20Sopenharmony_ci	0x00000008, 0x0000000e, 0x00000014, 0x0000001a, 0x000000fb, 0x00000004,
9988c2ecf20Sopenharmony_ci	0x00000008, 0x0000000d, 0x00000001, 0x00000004, 0x00000007, 0x0000000a,
9998c2ecf20Sopenharmony_ci	0x0000000d, 0x00000010, 0x00000012, 0x00000015, 0x00000000, 0x00000006,
10008c2ecf20Sopenharmony_ci	0x0000000c, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000,
10018c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000018, 0x00000000, 0x00000000, 0x00000000,
10028c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
10038c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
10048c2ecf20Sopenharmony_ci	0x0000001e, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
10058c2ecf20Sopenharmony_ci	0x00000000, 0x00000003, 0x00000006, 0x00000009, 0x0000000c, 0x0000000f,
10068c2ecf20Sopenharmony_ci	0x00000012, 0x00000015, 0x00000018, 0x0000001b, 0x0000001e, 0x00000000,
10078c2ecf20Sopenharmony_ci	0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000f, 0x000000f7,
10088c2ecf20Sopenharmony_ci	0x00000000, 0x00000000,
10098c2ecf20Sopenharmony_ci};
10108c2ecf20Sopenharmony_ci
10118c2ecf20Sopenharmony_cistatic const u16 lpphy_a0_gain_table[] = {
10128c2ecf20Sopenharmony_ci	0x0000, 0x0002, 0x0004, 0x0006, 0x0007, 0x0008, 0x000a, 0x000b, 0x000c,
10138c2ecf20Sopenharmony_ci	0x000e, 0x000f, 0x0010, 0x0012, 0x0013, 0x0014, 0x0016, 0x0017, 0x001a,
10148c2ecf20Sopenharmony_ci	0x001b, 0x001f, 0x0020, 0x0024, 0x0030, 0x0034, 0x0037, 0x003b, 0x003f,
10158c2ecf20Sopenharmony_ci	0x0040, 0x0044, 0x0057, 0x005b, 0x005f, 0x00d7, 0x00db, 0x00df, 0x0157,
10168c2ecf20Sopenharmony_ci	0x015b, 0x015f, 0x0357, 0x035b, 0x035f, 0x075f, 0x0b5f, 0x0f5f, 0x0000,
10178c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
10188c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
10198c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
10208c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
10218c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
10228c2ecf20Sopenharmony_ci	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
10238c2ecf20Sopenharmony_ci};
10248c2ecf20Sopenharmony_ci
10258c2ecf20Sopenharmony_cistatic const u16 lpphy_sw_control_table[] = {
10268c2ecf20Sopenharmony_ci	0x0128, 0x0128, 0x0009, 0x0009, 0x0028, 0x0028, 0x0028, 0x0028, 0x0128,
10278c2ecf20Sopenharmony_ci	0x0128, 0x0009, 0x0009, 0x0028, 0x0028, 0x0028, 0x0028, 0x0009, 0x0009,
10288c2ecf20Sopenharmony_ci	0x0009, 0x0009, 0x0009, 0x0009, 0x0009, 0x0009, 0x0018, 0x0018, 0x0018,
10298c2ecf20Sopenharmony_ci	0x0018, 0x0018, 0x0018, 0x0018, 0x0018, 0x0128, 0x0128, 0x0009, 0x0009,
10308c2ecf20Sopenharmony_ci	0x0028, 0x0028, 0x0028, 0x0028, 0x0128, 0x0128, 0x0009, 0x0009, 0x0028,
10318c2ecf20Sopenharmony_ci	0x0028, 0x0028, 0x0028, 0x0009, 0x0009, 0x0009, 0x0009, 0x0009, 0x0009,
10328c2ecf20Sopenharmony_ci	0x0009, 0x0009, 0x0018, 0x0018, 0x0018, 0x0018, 0x0018, 0x0018, 0x0018,
10338c2ecf20Sopenharmony_ci	0x0018,
10348c2ecf20Sopenharmony_ci};
10358c2ecf20Sopenharmony_ci
10368c2ecf20Sopenharmony_cistatic const u8 lpphy_hf_table[] = {
10378c2ecf20Sopenharmony_ci	0x4b, 0x36, 0x24, 0x18, 0x49, 0x34, 0x23, 0x17, 0x48,
10388c2ecf20Sopenharmony_ci	0x33, 0x23, 0x17, 0x48, 0x33, 0x23, 0x17,
10398c2ecf20Sopenharmony_ci};
10408c2ecf20Sopenharmony_ci
10418c2ecf20Sopenharmony_cistatic const u32 lpphy_papd_eps_table[] = {
10428c2ecf20Sopenharmony_ci	0x00000000, 0x00013ffc, 0x0001dff3, 0x0001bff0, 0x00023fe9, 0x00021fdf,
10438c2ecf20Sopenharmony_ci	0x00028fdf, 0x00033fd2, 0x00039fcb, 0x00043fc7, 0x0004efc2, 0x00055fb5,
10448c2ecf20Sopenharmony_ci	0x0005cfb0, 0x00063fa8, 0x00068fa3, 0x00071f98, 0x0007ef92, 0x00084f8b,
10458c2ecf20Sopenharmony_ci	0x0008df82, 0x00097f77, 0x0009df69, 0x000a3f62, 0x000adf57, 0x000b6f4c,
10468c2ecf20Sopenharmony_ci	0x000bff41, 0x000c9f39, 0x000cff30, 0x000dbf27, 0x000e4f1e, 0x000edf16,
10478c2ecf20Sopenharmony_ci	0x000f7f13, 0x00102f11, 0x00110f10, 0x0011df11, 0x0012ef15, 0x00143f1c,
10488c2ecf20Sopenharmony_ci	0x00158f27, 0x00172f35, 0x00193f47, 0x001baf5f, 0x001e6f7e, 0x0021cfa4,
10498c2ecf20Sopenharmony_ci	0x0025bfd2, 0x002a2008, 0x002fb047, 0x00360090, 0x003d40e0, 0x0045c135,
10508c2ecf20Sopenharmony_ci	0x004fb189, 0x005ae1d7, 0x0067221d, 0x0075025a, 0x007ff291, 0x007ff2bf,
10518c2ecf20Sopenharmony_ci	0x007ff2e3, 0x007ff2ff, 0x007ff315, 0x007ff329, 0x007ff33f, 0x007ff356,
10528c2ecf20Sopenharmony_ci	0x007ff36e, 0x007ff39c, 0x007ff441, 0x007ff506,
10538c2ecf20Sopenharmony_ci};
10548c2ecf20Sopenharmony_ci
10558c2ecf20Sopenharmony_cistatic const u32 lpphy_papd_mult_table[] = {
10568c2ecf20Sopenharmony_ci	0x001111e0, 0x00652051, 0x00606055, 0x005b005a, 0x00555060, 0x00511065,
10578c2ecf20Sopenharmony_ci	0x004c806b, 0x0047d072, 0x00444078, 0x00400080, 0x003ca087, 0x0039408f,
10588c2ecf20Sopenharmony_ci	0x0035e098, 0x0032e0a1, 0x003030aa, 0x002d80b4, 0x002ae0bf, 0x002880ca,
10598c2ecf20Sopenharmony_ci	0x002640d6, 0x002410e3, 0x002220f0, 0x002020ff, 0x001e510e, 0x001ca11e,
10608c2ecf20Sopenharmony_ci	0x001b012f, 0x00199140, 0x00182153, 0x0016c168, 0x0015817d, 0x00145193,
10618c2ecf20Sopenharmony_ci	0x001321ab, 0x001211c5, 0x001111e0, 0x001021fc, 0x000f321a, 0x000e523a,
10628c2ecf20Sopenharmony_ci	0x000d925c, 0x000cd27f, 0x000c12a5, 0x000b62cd, 0x000ac2f8, 0x000a2325,
10638c2ecf20Sopenharmony_ci	0x00099355, 0x00091387, 0x000883bd, 0x000813f5, 0x0007a432, 0x00073471,
10648c2ecf20Sopenharmony_ci	0x0006c4b5, 0x000664fc, 0x00061547, 0x0005b598, 0x000565ec, 0x00051646,
10658c2ecf20Sopenharmony_ci	0x0004d6a5, 0x0004870a, 0x00044775, 0x000407e6, 0x0003d85e, 0x000398dd,
10668c2ecf20Sopenharmony_ci	0x00036963, 0x000339f2, 0x00030a89, 0x0002db28,
10678c2ecf20Sopenharmony_ci};
10688c2ecf20Sopenharmony_ci
10698c2ecf20Sopenharmony_cistatic struct lpphy_tx_gain_table_entry lpphy_rev0_nopa_tx_gain_table[] = {
10708c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 152, },
10718c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 147, },
10728c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 143, },
10738c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 139, },
10748c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 135, },
10758c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 131, },
10768c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 128, },
10778c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 124, },
10788c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 121, },
10798c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 117, },
10808c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 114, },
10818c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 111, },
10828c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 107, },
10838c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 104, },
10848c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 101, },
10858c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 99, },
10868c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 96, },
10878c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 93, },
10888c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 90, },
10898c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 88, },
10908c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 85, },
10918c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 83, },
10928c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 81, },
10938c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 78, },
10948c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 76, },
10958c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 74, },
10968c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 72, },
10978c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 70, },
10988c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 68, },
10998c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 66, },
11008c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 64, },
11018c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 62, },
11028c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 60, },
11038c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 59, },
11048c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 57, },
11058c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 72, },
11068c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 70, },
11078c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 68, },
11088c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 66, },
11098c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 64, },
11108c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 62, },
11118c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 60, },
11128c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 59, },
11138c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 57, },
11148c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 71, },
11158c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 69, },
11168c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 67, },
11178c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 65, },
11188c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 63, },
11198c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 62, },
11208c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 60, },
11218c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 58, },
11228c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 57, },
11238c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 70, },
11248c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 68, },
11258c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 66, },
11268c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 65, },
11278c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 63, },
11288c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 61, },
11298c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 59, },
11308c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 58, },
11318c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 71, },
11328c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 69, },
11338c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 67, },
11348c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 65, },
11358c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 63, },
11368c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 61, },
11378c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 60, },
11388c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 58, },
11398c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 56, },
11408c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 70, },
11418c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 68, },
11428c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 66, },
11438c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 64, },
11448c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 62, },
11458c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 60, },
11468c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 59, },
11478c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 72, },
11488c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 70, },
11498c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 68, },
11508c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 66, },
11518c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 64, },
11528c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 62, },
11538c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 60, },
11548c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 59, },
11558c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 72, },
11568c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 70, },
11578c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 68, },
11588c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 66, },
11598c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 64, },
11608c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 63, },
11618c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 61, },
11628c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 59, },
11638c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 57, },
11648c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 72, },
11658c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 70, },
11668c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 68, },
11678c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 66, },
11688c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 64, },
11698c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 62, },
11708c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 60, },
11718c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 59, },
11728c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 72, },
11738c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 70, },
11748c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 68, },
11758c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 66, },
11768c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 64, },
11778c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 62, },
11788c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 61, },
11798c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 59, },
11808c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 73, },
11818c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 71, },
11828c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 69, },
11838c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 67, },
11848c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 65, },
11858c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 63, },
11868c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 61, },
11878c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 59, },
11888c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 72, },
11898c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 70, },
11908c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 68, },
11918c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 66, },
11928c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 65, },
11938c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 63, },
11948c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 61, },
11958c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 59, },
11968c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 73, },
11978c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 71, },
11988c2ecf20Sopenharmony_ci};
11998c2ecf20Sopenharmony_ci
12008c2ecf20Sopenharmony_cistatic struct lpphy_tx_gain_table_entry lpphy_rev0_2ghz_tx_gain_table[] = {
12018c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 64, },
12028c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 62, },
12038c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 60, },
12048c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 59, },
12058c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 72, },
12068c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 70, },
12078c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 68, },
12088c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 66, },
12098c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 64, },
12108c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 62, },
12118c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 60, },
12128c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 59, },
12138c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 72, },
12148c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 70, },
12158c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 68, },
12168c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 66, },
12178c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 64, },
12188c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 63, },
12198c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 61, },
12208c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 59, },
12218c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 57, },
12228c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 72, },
12238c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 70, },
12248c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 68, },
12258c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 66, },
12268c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 64, },
12278c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 62, },
12288c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 60, },
12298c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 59, },
12308c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 72, },
12318c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 70, },
12328c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 68, },
12338c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 66, },
12348c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 64, },
12358c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 62, },
12368c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 61, },
12378c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 59, },
12388c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 73, },
12398c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 71, },
12408c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 69, },
12418c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 67, },
12428c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 65, },
12438c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 63, },
12448c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 61, },
12458c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 59, },
12468c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 72, },
12478c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 70, },
12488c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 68, },
12498c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 66, },
12508c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 65, },
12518c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 63, },
12528c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 61, },
12538c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 59, },
12548c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 73, },
12558c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 71, },
12568c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 69, },
12578c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 67, },
12588c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 65, },
12598c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 63, },
12608c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 61, },
12618c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 60, },
12628c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 72, },
12638c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 70, },
12648c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 68, },
12658c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 66, },
12668c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 64, },
12678c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 62, },
12688c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 60, },
12698c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 59, },
12708c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 72, },
12718c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 70, },
12728c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 68, },
12738c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 66, },
12748c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 64, },
12758c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 62, },
12768c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 60, },
12778c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 59, },
12788c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 70, },
12798c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 68, },
12808c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 66, },
12818c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 64, },
12828c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 63, },
12838c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 61, },
12848c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 59, },
12858c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 71, },
12868c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 69, },
12878c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 67, },
12888c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 65, },
12898c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 63, },
12908c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 62, },
12918c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 60, },
12928c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 58, },
12938c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 8, .pad = 4, .dac = 0, .bb_mult = 70, },
12948c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 8, .pad = 4, .dac = 0, .bb_mult = 68, },
12958c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 8, .pad = 4, .dac = 0, .bb_mult = 66, },
12968c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 8, .pad = 4, .dac = 0, .bb_mult = 65, },
12978c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 8, .pad = 4, .dac = 0, .bb_mult = 63, },
12988c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 8, .pad = 4, .dac = 0, .bb_mult = 61, },
12998c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 8, .pad = 4, .dac = 0, .bb_mult = 59, },
13008c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 7, .pad = 4, .dac = 0, .bb_mult = 68, },
13018c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 7, .pad = 4, .dac = 0, .bb_mult = 66, },
13028c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 7, .pad = 4, .dac = 0, .bb_mult = 64, },
13038c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 7, .pad = 4, .dac = 0, .bb_mult = 62, },
13048c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 7, .pad = 4, .dac = 0, .bb_mult = 61, },
13058c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 7, .pad = 4, .dac = 0, .bb_mult = 59, },
13068c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 7, .pad = 3, .dac = 0, .bb_mult = 67, },
13078c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 7, .pad = 3, .dac = 0, .bb_mult = 65, },
13088c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 7, .pad = 3, .dac = 0, .bb_mult = 63, },
13098c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 7, .pad = 3, .dac = 0, .bb_mult = 62, },
13108c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 7, .pad = 3, .dac = 0, .bb_mult = 60, },
13118c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 6, .pad = 3, .dac = 0, .bb_mult = 65, },
13128c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 6, .pad = 3, .dac = 0, .bb_mult = 63, },
13138c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 6, .pad = 3, .dac = 0, .bb_mult = 61, },
13148c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 6, .pad = 3, .dac = 0, .bb_mult = 60, },
13158c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 6, .pad = 3, .dac = 0, .bb_mult = 58, },
13168c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 5, .pad = 3, .dac = 0, .bb_mult = 68, },
13178c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 5, .pad = 3, .dac = 0, .bb_mult = 66, },
13188c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 5, .pad = 3, .dac = 0, .bb_mult = 64, },
13198c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 5, .pad = 3, .dac = 0, .bb_mult = 62, },
13208c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 5, .pad = 3, .dac = 0, .bb_mult = 60, },
13218c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 5, .pad = 3, .dac = 0, .bb_mult = 59, },
13228c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 5, .pad = 3, .dac = 0, .bb_mult = 57, },
13238c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 4, .pad = 2, .dac = 0, .bb_mult = 83, },
13248c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 4, .pad = 2, .dac = 0, .bb_mult = 81, },
13258c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 4, .pad = 2, .dac = 0, .bb_mult = 78, },
13268c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 4, .pad = 2, .dac = 0, .bb_mult = 76, },
13278c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 4, .pad = 2, .dac = 0, .bb_mult = 74, },
13288c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 4, .pad = 2, .dac = 0, .bb_mult = 72, },
13298c2ecf20Sopenharmony_ci};
13308c2ecf20Sopenharmony_ci
13318c2ecf20Sopenharmony_cistatic struct lpphy_tx_gain_table_entry lpphy_rev0_5ghz_tx_gain_table[] = {
13328c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 99, },
13338c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 96, },
13348c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 93, },
13358c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 90, },
13368c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 88, },
13378c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 85, },
13388c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 83, },
13398c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 81, },
13408c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 78, },
13418c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 76, },
13428c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 74, },
13438c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 72, },
13448c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 70, },
13458c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 68, },
13468c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 66, },
13478c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 64, },
13488c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 62, },
13498c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 60, },
13508c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 59, },
13518c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 57, },
13528c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 55, },
13538c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 72, },
13548c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 70, },
13558c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 68, },
13568c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 66, },
13578c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 64, },
13588c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 62, },
13598c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 60, },
13608c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 58, },
13618c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 56, },
13628c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 55, },
13638c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 71, },
13648c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 69, },
13658c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 67, },
13668c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 65, },
13678c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 63, },
13688c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 62, },
13698c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 60, },
13708c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 58, },
13718c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 56, },
13728c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 72, },
13738c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 70, },
13748c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 68, },
13758c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 66, },
13768c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 64, },
13778c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 62, },
13788c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 60, },
13798c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 59, },
13808c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 57, },
13818c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 73, },
13828c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 71, },
13838c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 69, },
13848c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 67, },
13858c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 65, },
13868c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 63, },
13878c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 61, },
13888c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 60, },
13898c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 58, },
13908c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 71, },
13918c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 69, },
13928c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 67, },
13938c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 65, },
13948c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 63, },
13958c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 61, },
13968c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 60, },
13978c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 58, },
13988c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 70, },
13998c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 68, },
14008c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 66, },
14018c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 64, },
14028c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 62, },
14038c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 61, },
14048c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 59, },
14058c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 57, },
14068c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 56, },
14078c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 68, },
14088c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 66, },
14098c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 65, },
14108c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 63, },
14118c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 61, },
14128c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 59, },
14138c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 58, },
14148c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 70, },
14158c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 68, },
14168c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 66, },
14178c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 64, },
14188c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 63, },
14198c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 61, },
14208c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 59, },
14218c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 57, },
14228c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 70, },
14238c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 68, },
14248c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 66, },
14258c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 64, },
14268c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 62, },
14278c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 60, },
14288c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 59, },
14298c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 57, },
14308c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 70, },
14318c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 68, },
14328c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 66, },
14338c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 64, },
14348c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 62, },
14358c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 61, },
14368c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 59, },
14378c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 57, },
14388c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 70, },
14398c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 68, },
14408c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 66, },
14418c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 64, },
14428c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 62, },
14438c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 61, },
14448c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 59, },
14458c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 57, },
14468c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 70, },
14478c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 68, },
14488c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 66, },
14498c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 64, },
14508c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 62, },
14518c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 61, },
14528c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 59, },
14538c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 57, },
14548c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 69, },
14558c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 67, },
14568c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 65, },
14578c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 63, },
14588c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 62, },
14598c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 60, },
14608c2ecf20Sopenharmony_ci};
14618c2ecf20Sopenharmony_ci
14628c2ecf20Sopenharmony_cistatic struct lpphy_tx_gain_table_entry lpphy_rev1_nopa_tx_gain_table[] = {
14638c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 152, },
14648c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 147, },
14658c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 143, },
14668c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 139, },
14678c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 135, },
14688c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 131, },
14698c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 128, },
14708c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 124, },
14718c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 121, },
14728c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 117, },
14738c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 114, },
14748c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 111, },
14758c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 107, },
14768c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 104, },
14778c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 101, },
14788c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 99, },
14798c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 96, },
14808c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 93, },
14818c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 90, },
14828c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 88, },
14838c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 85, },
14848c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 83, },
14858c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 81, },
14868c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 78, },
14878c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 76, },
14888c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 74, },
14898c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 72, },
14908c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 70, },
14918c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 68, },
14928c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 66, },
14938c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 64, },
14948c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 62, },
14958c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 60, },
14968c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 59, },
14978c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 57, },
14988c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 72, },
14998c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 70, },
15008c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 68, },
15018c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 66, },
15028c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 64, },
15038c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 62, },
15048c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 60, },
15058c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 59, },
15068c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 57, },
15078c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 72, },
15088c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 70, },
15098c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 68, },
15108c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 66, },
15118c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 64, },
15128c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 62, },
15138c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 60, },
15148c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 59, },
15158c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 57, },
15168c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 71, },
15178c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 69, },
15188c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 67, },
15198c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 65, },
15208c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 63, },
15218c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 62, },
15228c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 60, },
15238c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 58, },
15248c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 57, },
15258c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 70, },
15268c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 68, },
15278c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 66, },
15288c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 65, },
15298c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 63, },
15308c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 61, },
15318c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 59, },
15328c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 58, },
15338c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 71, },
15348c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 69, },
15358c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 67, },
15368c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 65, },
15378c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 63, },
15388c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 61, },
15398c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 60, },
15408c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 58, },
15418c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 56, },
15428c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 70, },
15438c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 68, },
15448c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 66, },
15458c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 64, },
15468c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 62, },
15478c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 60, },
15488c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 59, },
15498c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 72, },
15508c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 70, },
15518c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 68, },
15528c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 66, },
15538c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 64, },
15548c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 62, },
15558c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 60, },
15568c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 59, },
15578c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 72, },
15588c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 70, },
15598c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 68, },
15608c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 66, },
15618c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 64, },
15628c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 63, },
15638c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 61, },
15648c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 59, },
15658c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 57, },
15668c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 72, },
15678c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 70, },
15688c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 68, },
15698c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 66, },
15708c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 64, },
15718c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 62, },
15728c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 60, },
15738c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 59, },
15748c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 72, },
15758c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 70, },
15768c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 68, },
15778c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 66, },
15788c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 64, },
15798c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 62, },
15808c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 61, },
15818c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 59, },
15828c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 73, },
15838c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 71, },
15848c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 69, },
15858c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 67, },
15868c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 65, },
15878c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 63, },
15888c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 61, },
15898c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 59, },
15908c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 72, },
15918c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 70, },
15928c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 68, },
15938c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 66, },
15948c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 65, },
15958c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 63, },
15968c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 61, },
15978c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 59, },
15988c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 73, },
15998c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 71, },
16008c2ecf20Sopenharmony_ci};
16018c2ecf20Sopenharmony_ci
16028c2ecf20Sopenharmony_cistatic struct lpphy_tx_gain_table_entry lpphy_rev1_2ghz_tx_gain_table[] = {
16038c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 90, },
16048c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 88, },
16058c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 85, },
16068c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 83, },
16078c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 81, },
16088c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 78, },
16098c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 76, },
16108c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 74, },
16118c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 72, },
16128c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 70, },
16138c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 68, },
16148c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 66, },
16158c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 64, },
16168c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 62, },
16178c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 60, },
16188c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 59, },
16198c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 72, },
16208c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 70, },
16218c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 68, },
16228c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 66, },
16238c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 64, },
16248c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 62, },
16258c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 60, },
16268c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 59, },
16278c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 72, },
16288c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 70, },
16298c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 68, },
16308c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 66, },
16318c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 64, },
16328c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 62, },
16338c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 60, },
16348c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 59, },
16358c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 72, },
16368c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 70, },
16378c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 68, },
16388c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 66, },
16398c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 64, },
16408c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 62, },
16418c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 60, },
16428c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 59, },
16438c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 72, },
16448c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 70, },
16458c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 68, },
16468c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 66, },
16478c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 64, },
16488c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 62, },
16498c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 60, },
16508c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 59, },
16518c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 72, },
16528c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 70, },
16538c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 68, },
16548c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 66, },
16558c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 64, },
16568c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 62, },
16578c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 60, },
16588c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 59, },
16598c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 72, },
16608c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 70, },
16618c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 68, },
16628c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 66, },
16638c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 64, },
16648c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 62, },
16658c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 60, },
16668c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 59, },
16678c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 72, },
16688c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 70, },
16698c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 68, },
16708c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 66, },
16718c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 64, },
16728c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 62, },
16738c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 60, },
16748c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 59, },
16758c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 72, },
16768c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 70, },
16778c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 68, },
16788c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 66, },
16798c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 64, },
16808c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 63, },
16818c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 61, },
16828c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 59, },
16838c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 57, },
16848c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 72, },
16858c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 70, },
16868c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 68, },
16878c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 66, },
16888c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 64, },
16898c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 62, },
16908c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 60, },
16918c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 59, },
16928c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 72, },
16938c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 70, },
16948c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 68, },
16958c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 66, },
16968c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 64, },
16978c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 62, },
16988c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 61, },
16998c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 59, },
17008c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 73, },
17018c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 71, },
17028c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 69, },
17038c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 67, },
17048c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 65, },
17058c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 63, },
17068c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 61, },
17078c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 59, },
17088c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 72, },
17098c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 70, },
17108c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 68, },
17118c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 66, },
17128c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 65, },
17138c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 63, },
17148c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 61, },
17158c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 59, },
17168c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 73, },
17178c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 71, },
17188c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 69, },
17198c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 67, },
17208c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 65, },
17218c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 63, },
17228c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 61, },
17238c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 60, },
17248c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 72, },
17258c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 70, },
17268c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 68, },
17278c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 66, },
17288c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 64, },
17298c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 62, },
17308c2ecf20Sopenharmony_ci	{ .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 60, },
17318c2ecf20Sopenharmony_ci};
17328c2ecf20Sopenharmony_ci
17338c2ecf20Sopenharmony_cistatic struct lpphy_tx_gain_table_entry lpphy_rev1_5ghz_tx_gain_table[] = {
17348c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 99, },
17358c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 96, },
17368c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 93, },
17378c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 90, },
17388c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 88, },
17398c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 85, },
17408c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 83, },
17418c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 81, },
17428c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 78, },
17438c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 76, },
17448c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 74, },
17458c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 72, },
17468c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 70, },
17478c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 68, },
17488c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 66, },
17498c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 64, },
17508c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 62, },
17518c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 60, },
17528c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 59, },
17538c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 57, },
17548c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 55, },
17558c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 72, },
17568c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 70, },
17578c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 68, },
17588c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 66, },
17598c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 64, },
17608c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 62, },
17618c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 60, },
17628c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 58, },
17638c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 56, },
17648c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 55, },
17658c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 71, },
17668c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 69, },
17678c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 67, },
17688c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 65, },
17698c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 63, },
17708c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 62, },
17718c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 60, },
17728c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 58, },
17738c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 56, },
17748c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 72, },
17758c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 70, },
17768c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 68, },
17778c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 66, },
17788c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 64, },
17798c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 62, },
17808c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 60, },
17818c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 59, },
17828c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 57, },
17838c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 73, },
17848c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 71, },
17858c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 69, },
17868c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 67, },
17878c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 65, },
17888c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 63, },
17898c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 61, },
17908c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 60, },
17918c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 58, },
17928c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 71, },
17938c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 69, },
17948c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 67, },
17958c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 65, },
17968c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 63, },
17978c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 61, },
17988c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 60, },
17998c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 58, },
18008c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 70, },
18018c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 68, },
18028c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 66, },
18038c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 64, },
18048c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 62, },
18058c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 61, },
18068c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 59, },
18078c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 57, },
18088c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 56, },
18098c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 68, },
18108c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 66, },
18118c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 65, },
18128c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 63, },
18138c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 61, },
18148c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 59, },
18158c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 58, },
18168c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 70, },
18178c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 68, },
18188c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 66, },
18198c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 64, },
18208c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 63, },
18218c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 61, },
18228c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 59, },
18238c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 57, },
18248c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 70, },
18258c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 68, },
18268c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 66, },
18278c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 64, },
18288c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 62, },
18298c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 60, },
18308c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 59, },
18318c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 57, },
18328c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 70, },
18338c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 68, },
18348c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 66, },
18358c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 64, },
18368c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 62, },
18378c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 61, },
18388c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 59, },
18398c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 57, },
18408c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 70, },
18418c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 68, },
18428c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 66, },
18438c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 64, },
18448c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 62, },
18458c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 61, },
18468c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 59, },
18478c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 57, },
18488c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 70, },
18498c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 68, },
18508c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 66, },
18518c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 64, },
18528c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 62, },
18538c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 61, },
18548c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 59, },
18558c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 57, },
18568c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 69, },
18578c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 67, },
18588c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 65, },
18598c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 63, },
18608c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 62, },
18618c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 60, },
18628c2ecf20Sopenharmony_ci};
18638c2ecf20Sopenharmony_ci
18648c2ecf20Sopenharmony_cistatic struct lpphy_tx_gain_table_entry lpphy_rev2_nopa_tx_gain_table[] = {
18658c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 152, },
18668c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 147, },
18678c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 143, },
18688c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 139, },
18698c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 135, },
18708c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 131, },
18718c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 128, },
18728c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 124, },
18738c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 121, },
18748c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 117, },
18758c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 114, },
18768c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 111, },
18778c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 107, },
18788c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 104, },
18798c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 101, },
18808c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 99, },
18818c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 96, },
18828c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 93, },
18838c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 90, },
18848c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 88, },
18858c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 85, },
18868c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 83, },
18878c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 81, },
18888c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 78, },
18898c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 76, },
18908c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 74, },
18918c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 72, },
18928c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 70, },
18938c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 68, },
18948c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 66, },
18958c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 64, },
18968c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 197, .dac = 0, .bb_mult = 64, },
18978c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 192, .dac = 0, .bb_mult = 64, },
18988c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 186, .dac = 0, .bb_mult = 64, },
18998c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 181, .dac = 0, .bb_mult = 64, },
19008c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 176, .dac = 0, .bb_mult = 64, },
19018c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 171, .dac = 0, .bb_mult = 64, },
19028c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 166, .dac = 0, .bb_mult = 64, },
19038c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 161, .dac = 0, .bb_mult = 64, },
19048c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 157, .dac = 0, .bb_mult = 64, },
19058c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 152, .dac = 0, .bb_mult = 64, },
19068c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 148, .dac = 0, .bb_mult = 64, },
19078c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 144, .dac = 0, .bb_mult = 64, },
19088c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 140, .dac = 0, .bb_mult = 64, },
19098c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 136, .dac = 0, .bb_mult = 64, },
19108c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 132, .dac = 0, .bb_mult = 64, },
19118c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 128, .dac = 0, .bb_mult = 64, },
19128c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 124, .dac = 0, .bb_mult = 64, },
19138c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 121, .dac = 0, .bb_mult = 64, },
19148c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 117, .dac = 0, .bb_mult = 64, },
19158c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 114, .dac = 0, .bb_mult = 64, },
19168c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 111, .dac = 0, .bb_mult = 64, },
19178c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 108, .dac = 0, .bb_mult = 64, },
19188c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 105, .dac = 0, .bb_mult = 64, },
19198c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 102, .dac = 0, .bb_mult = 64, },
19208c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 99, .dac = 0, .bb_mult = 64, },
19218c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 96, .dac = 0, .bb_mult = 64, },
19228c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 93, .dac = 0, .bb_mult = 64, },
19238c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 91, .dac = 0, .bb_mult = 64, },
19248c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 88, .dac = 0, .bb_mult = 64, },
19258c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 86, .dac = 0, .bb_mult = 64, },
19268c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 83, .dac = 0, .bb_mult = 64, },
19278c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 81, .dac = 0, .bb_mult = 64, },
19288c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 79, .dac = 0, .bb_mult = 64, },
19298c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 76, .dac = 0, .bb_mult = 64, },
19308c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 74, .dac = 0, .bb_mult = 64, },
19318c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 72, .dac = 0, .bb_mult = 64, },
19328c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 70, .dac = 0, .bb_mult = 64, },
19338c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 68, .dac = 0, .bb_mult = 64, },
19348c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 66, .dac = 0, .bb_mult = 64, },
19358c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 64, .dac = 0, .bb_mult = 64, },
19368c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 248, .pad = 64, .dac = 0, .bb_mult = 64, },
19378c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 248, .pad = 62, .dac = 0, .bb_mult = 64, },
19388c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 241, .pad = 62, .dac = 0, .bb_mult = 64, },
19398c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 241, .pad = 60, .dac = 0, .bb_mult = 64, },
19408c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 234, .pad = 60, .dac = 0, .bb_mult = 64, },
19418c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 234, .pad = 59, .dac = 0, .bb_mult = 64, },
19428c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 227, .pad = 59, .dac = 0, .bb_mult = 64, },
19438c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 227, .pad = 57, .dac = 0, .bb_mult = 64, },
19448c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 221, .pad = 57, .dac = 0, .bb_mult = 64, },
19458c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 221, .pad = 55, .dac = 0, .bb_mult = 64, },
19468c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 215, .pad = 55, .dac = 0, .bb_mult = 64, },
19478c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 215, .pad = 54, .dac = 0, .bb_mult = 64, },
19488c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 208, .pad = 54, .dac = 0, .bb_mult = 64, },
19498c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 208, .pad = 52, .dac = 0, .bb_mult = 64, },
19508c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 203, .pad = 52, .dac = 0, .bb_mult = 64, },
19518c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 203, .pad = 51, .dac = 0, .bb_mult = 64, },
19528c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 197, .pad = 51, .dac = 0, .bb_mult = 64, },
19538c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 197, .pad = 49, .dac = 0, .bb_mult = 64, },
19548c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 191, .pad = 49, .dac = 0, .bb_mult = 64, },
19558c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 191, .pad = 48, .dac = 0, .bb_mult = 64, },
19568c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 186, .pad = 48, .dac = 0, .bb_mult = 64, },
19578c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 186, .pad = 47, .dac = 0, .bb_mult = 64, },
19588c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 181, .pad = 47, .dac = 0, .bb_mult = 64, },
19598c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 181, .pad = 45, .dac = 0, .bb_mult = 64, },
19608c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 175, .pad = 45, .dac = 0, .bb_mult = 64, },
19618c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 175, .pad = 44, .dac = 0, .bb_mult = 64, },
19628c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 170, .pad = 44, .dac = 0, .bb_mult = 64, },
19638c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 170, .pad = 43, .dac = 0, .bb_mult = 64, },
19648c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 166, .pad = 43, .dac = 0, .bb_mult = 64, },
19658c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 166, .pad = 42, .dac = 0, .bb_mult = 64, },
19668c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 161, .pad = 42, .dac = 0, .bb_mult = 64, },
19678c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 161, .pad = 40, .dac = 0, .bb_mult = 64, },
19688c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 156, .pad = 40, .dac = 0, .bb_mult = 64, },
19698c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 156, .pad = 39, .dac = 0, .bb_mult = 64, },
19708c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 152, .pad = 39, .dac = 0, .bb_mult = 64, },
19718c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 152, .pad = 38, .dac = 0, .bb_mult = 64, },
19728c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 148, .pad = 38, .dac = 0, .bb_mult = 64, },
19738c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 148, .pad = 37, .dac = 0, .bb_mult = 64, },
19748c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 143, .pad = 37, .dac = 0, .bb_mult = 64, },
19758c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 143, .pad = 36, .dac = 0, .bb_mult = 64, },
19768c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 139, .pad = 36, .dac = 0, .bb_mult = 64, },
19778c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 139, .pad = 35, .dac = 0, .bb_mult = 64, },
19788c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 135, .pad = 35, .dac = 0, .bb_mult = 64, },
19798c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 135, .pad = 34, .dac = 0, .bb_mult = 64, },
19808c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 132, .pad = 34, .dac = 0, .bb_mult = 64, },
19818c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 132, .pad = 33, .dac = 0, .bb_mult = 64, },
19828c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 128, .pad = 33, .dac = 0, .bb_mult = 64, },
19838c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 128, .pad = 32, .dac = 0, .bb_mult = 64, },
19848c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 124, .pad = 32, .dac = 0, .bb_mult = 64, },
19858c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 124, .pad = 31, .dac = 0, .bb_mult = 64, },
19868c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 121, .pad = 31, .dac = 0, .bb_mult = 64, },
19878c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 121, .pad = 30, .dac = 0, .bb_mult = 64, },
19888c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 117, .pad = 30, .dac = 0, .bb_mult = 64, },
19898c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 117, .pad = 29, .dac = 0, .bb_mult = 64, },
19908c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 114, .pad = 29, .dac = 0, .bb_mult = 64, },
19918c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 114, .pad = 29, .dac = 0, .bb_mult = 64, },
19928c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 111, .pad = 29, .dac = 0, .bb_mult = 64, },
19938c2ecf20Sopenharmony_ci};
19948c2ecf20Sopenharmony_ci
19958c2ecf20Sopenharmony_cistatic struct lpphy_tx_gain_table_entry lpphy_rev2_2ghz_tx_gain_table[] = {
19968c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 99, .pad = 255, .dac = 0, .bb_mult = 64, },
19978c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 96, .pad = 255, .dac = 0, .bb_mult = 64, },
19988c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 93, .pad = 255, .dac = 0, .bb_mult = 64, },
19998c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 90, .pad = 255, .dac = 0, .bb_mult = 64, },
20008c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 88, .pad = 255, .dac = 0, .bb_mult = 64, },
20018c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 85, .pad = 255, .dac = 0, .bb_mult = 64, },
20028c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 83, .pad = 255, .dac = 0, .bb_mult = 64, },
20038c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 81, .pad = 255, .dac = 0, .bb_mult = 64, },
20048c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 78, .pad = 255, .dac = 0, .bb_mult = 64, },
20058c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 76, .pad = 255, .dac = 0, .bb_mult = 64, },
20068c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 74, .pad = 255, .dac = 0, .bb_mult = 64, },
20078c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 72, .pad = 255, .dac = 0, .bb_mult = 64, },
20088c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 70, .pad = 255, .dac = 0, .bb_mult = 64, },
20098c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 68, .pad = 255, .dac = 0, .bb_mult = 64, },
20108c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 66, .pad = 255, .dac = 0, .bb_mult = 64, },
20118c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 64, .pad = 255, .dac = 0, .bb_mult = 64, },
20128c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 64, .pad = 255, .dac = 0, .bb_mult = 64, },
20138c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 62, .pad = 255, .dac = 0, .bb_mult = 64, },
20148c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 62, .pad = 248, .dac = 0, .bb_mult = 64, },
20158c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 60, .pad = 248, .dac = 0, .bb_mult = 64, },
20168c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 60, .pad = 241, .dac = 0, .bb_mult = 64, },
20178c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 59, .pad = 241, .dac = 0, .bb_mult = 64, },
20188c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 59, .pad = 234, .dac = 0, .bb_mult = 64, },
20198c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 57, .pad = 234, .dac = 0, .bb_mult = 64, },
20208c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 57, .pad = 227, .dac = 0, .bb_mult = 64, },
20218c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 55, .pad = 227, .dac = 0, .bb_mult = 64, },
20228c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 55, .pad = 221, .dac = 0, .bb_mult = 64, },
20238c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 54, .pad = 221, .dac = 0, .bb_mult = 64, },
20248c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 54, .pad = 215, .dac = 0, .bb_mult = 64, },
20258c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 52, .pad = 215, .dac = 0, .bb_mult = 64, },
20268c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 52, .pad = 208, .dac = 0, .bb_mult = 64, },
20278c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 51, .pad = 208, .dac = 0, .bb_mult = 64, },
20288c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 51, .pad = 203, .dac = 0, .bb_mult = 64, },
20298c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 49, .pad = 203, .dac = 0, .bb_mult = 64, },
20308c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 49, .pad = 197, .dac = 0, .bb_mult = 64, },
20318c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 48, .pad = 197, .dac = 0, .bb_mult = 64, },
20328c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 48, .pad = 191, .dac = 0, .bb_mult = 64, },
20338c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 47, .pad = 191, .dac = 0, .bb_mult = 64, },
20348c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 47, .pad = 186, .dac = 0, .bb_mult = 64, },
20358c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 45, .pad = 186, .dac = 0, .bb_mult = 64, },
20368c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 45, .pad = 181, .dac = 0, .bb_mult = 64, },
20378c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 44, .pad = 181, .dac = 0, .bb_mult = 64, },
20388c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 44, .pad = 175, .dac = 0, .bb_mult = 64, },
20398c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 43, .pad = 175, .dac = 0, .bb_mult = 64, },
20408c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 43, .pad = 170, .dac = 0, .bb_mult = 64, },
20418c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 42, .pad = 170, .dac = 0, .bb_mult = 64, },
20428c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 42, .pad = 166, .dac = 0, .bb_mult = 64, },
20438c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 40, .pad = 166, .dac = 0, .bb_mult = 64, },
20448c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 40, .pad = 161, .dac = 0, .bb_mult = 64, },
20458c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 39, .pad = 161, .dac = 0, .bb_mult = 64, },
20468c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 39, .pad = 156, .dac = 0, .bb_mult = 64, },
20478c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 38, .pad = 156, .dac = 0, .bb_mult = 64, },
20488c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 38, .pad = 152, .dac = 0, .bb_mult = 64, },
20498c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 37, .pad = 152, .dac = 0, .bb_mult = 64, },
20508c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 37, .pad = 148, .dac = 0, .bb_mult = 64, },
20518c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 36, .pad = 148, .dac = 0, .bb_mult = 64, },
20528c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 36, .pad = 143, .dac = 0, .bb_mult = 64, },
20538c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 35, .pad = 143, .dac = 0, .bb_mult = 64, },
20548c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 35, .pad = 139, .dac = 0, .bb_mult = 64, },
20558c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 34, .pad = 139, .dac = 0, .bb_mult = 64, },
20568c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 34, .pad = 135, .dac = 0, .bb_mult = 64, },
20578c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 33, .pad = 135, .dac = 0, .bb_mult = 64, },
20588c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 33, .pad = 132, .dac = 0, .bb_mult = 64, },
20598c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 32, .pad = 132, .dac = 0, .bb_mult = 64, },
20608c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 32, .pad = 128, .dac = 0, .bb_mult = 64, },
20618c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 31, .pad = 128, .dac = 0, .bb_mult = 64, },
20628c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 31, .pad = 124, .dac = 0, .bb_mult = 64, },
20638c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 30, .pad = 124, .dac = 0, .bb_mult = 64, },
20648c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 30, .pad = 121, .dac = 0, .bb_mult = 64, },
20658c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 29, .pad = 121, .dac = 0, .bb_mult = 64, },
20668c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 29, .pad = 117, .dac = 0, .bb_mult = 64, },
20678c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 29, .pad = 117, .dac = 0, .bb_mult = 64, },
20688c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 29, .pad = 114, .dac = 0, .bb_mult = 64, },
20698c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 28, .pad = 114, .dac = 0, .bb_mult = 64, },
20708c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 28, .pad = 111, .dac = 0, .bb_mult = 64, },
20718c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 27, .pad = 111, .dac = 0, .bb_mult = 64, },
20728c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 27, .pad = 108, .dac = 0, .bb_mult = 64, },
20738c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 26, .pad = 108, .dac = 0, .bb_mult = 64, },
20748c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 26, .pad = 104, .dac = 0, .bb_mult = 64, },
20758c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 25, .pad = 104, .dac = 0, .bb_mult = 64, },
20768c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 25, .pad = 102, .dac = 0, .bb_mult = 64, },
20778c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 25, .pad = 102, .dac = 0, .bb_mult = 64, },
20788c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 25, .pad = 99, .dac = 0, .bb_mult = 64, },
20798c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 24, .pad = 99, .dac = 0, .bb_mult = 64, },
20808c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 24, .pad = 96, .dac = 0, .bb_mult = 64, },
20818c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 23, .pad = 96, .dac = 0, .bb_mult = 64, },
20828c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 23, .pad = 93, .dac = 0, .bb_mult = 64, },
20838c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 23, .pad = 93, .dac = 0, .bb_mult = 64, },
20848c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 23, .pad = 90, .dac = 0, .bb_mult = 64, },
20858c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 22, .pad = 90, .dac = 0, .bb_mult = 64, },
20868c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 22, .pad = 88, .dac = 0, .bb_mult = 64, },
20878c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 21, .pad = 88, .dac = 0, .bb_mult = 64, },
20888c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 21, .pad = 85, .dac = 0, .bb_mult = 64, },
20898c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 21, .pad = 85, .dac = 0, .bb_mult = 64, },
20908c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 21, .pad = 83, .dac = 0, .bb_mult = 64, },
20918c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 20, .pad = 83, .dac = 0, .bb_mult = 64, },
20928c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 20, .pad = 81, .dac = 0, .bb_mult = 64, },
20938c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 20, .pad = 81, .dac = 0, .bb_mult = 64, },
20948c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 20, .pad = 78, .dac = 0, .bb_mult = 64, },
20958c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 19, .pad = 78, .dac = 0, .bb_mult = 64, },
20968c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 19, .pad = 76, .dac = 0, .bb_mult = 64, },
20978c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 19, .pad = 76, .dac = 0, .bb_mult = 64, },
20988c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 19, .pad = 74, .dac = 0, .bb_mult = 64, },
20998c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 18, .pad = 74, .dac = 0, .bb_mult = 64, },
21008c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 18, .pad = 72, .dac = 0, .bb_mult = 64, },
21018c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 18, .pad = 72, .dac = 0, .bb_mult = 64, },
21028c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 18, .pad = 70, .dac = 0, .bb_mult = 64, },
21038c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 17, .pad = 70, .dac = 0, .bb_mult = 64, },
21048c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 17, .pad = 68, .dac = 0, .bb_mult = 64, },
21058c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 17, .pad = 68, .dac = 0, .bb_mult = 64, },
21068c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 17, .pad = 66, .dac = 0, .bb_mult = 64, },
21078c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 16, .pad = 66, .dac = 0, .bb_mult = 64, },
21088c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 16, .pad = 64, .dac = 0, .bb_mult = 64, },
21098c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 16, .pad = 64, .dac = 0, .bb_mult = 64, },
21108c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 16, .pad = 62, .dac = 0, .bb_mult = 64, },
21118c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 62, .dac = 0, .bb_mult = 64, },
21128c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 60, .dac = 0, .bb_mult = 64, },
21138c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 60, .dac = 0, .bb_mult = 64, },
21148c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 15, .pad = 59, .dac = 0, .bb_mult = 64, },
21158c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 59, .dac = 0, .bb_mult = 64, },
21168c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 57, .dac = 0, .bb_mult = 64, },
21178c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 57, .dac = 0, .bb_mult = 64, },
21188c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 55, .dac = 0, .bb_mult = 64, },
21198c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 55, .dac = 0, .bb_mult = 64, },
21208c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 14, .pad = 54, .dac = 0, .bb_mult = 64, },
21218c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 54, .dac = 0, .bb_mult = 64, },
21228c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 52, .dac = 0, .bb_mult = 64, },
21238c2ecf20Sopenharmony_ci	{ .gm = 7, .pga = 13, .pad = 52, .dac = 0, .bb_mult = 64, },
21248c2ecf20Sopenharmony_ci};
21258c2ecf20Sopenharmony_ci
21268c2ecf20Sopenharmony_cistatic struct lpphy_tx_gain_table_entry lpphy_rev2_5ghz_tx_gain_table[] = {
21278c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 152, },
21288c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 147, },
21298c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 143, },
21308c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 139, },
21318c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 135, },
21328c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 131, },
21338c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 128, },
21348c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 124, },
21358c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 121, },
21368c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 117, },
21378c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 114, },
21388c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 111, },
21398c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 107, },
21408c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 104, },
21418c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 101, },
21428c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 99, },
21438c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 96, },
21448c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 93, },
21458c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 90, },
21468c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 88, },
21478c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 85, },
21488c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 83, },
21498c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 81, },
21508c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 78, },
21518c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 76, },
21528c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 74, },
21538c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 72, },
21548c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 70, },
21558c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 68, },
21568c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 66, },
21578c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 64, },
21588c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 248, .dac = 0, .bb_mult = 64, },
21598c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 241, .dac = 0, .bb_mult = 64, },
21608c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 234, .dac = 0, .bb_mult = 64, },
21618c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 227, .dac = 0, .bb_mult = 64, },
21628c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 221, .dac = 0, .bb_mult = 64, },
21638c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 215, .dac = 0, .bb_mult = 64, },
21648c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 208, .dac = 0, .bb_mult = 64, },
21658c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 64, },
21668c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 197, .dac = 0, .bb_mult = 64, },
21678c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 191, .dac = 0, .bb_mult = 64, },
21688c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 186, .dac = 0, .bb_mult = 64, },
21698c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 181, .dac = 0, .bb_mult = 64, },
21708c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 175, .dac = 0, .bb_mult = 64, },
21718c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 170, .dac = 0, .bb_mult = 64, },
21728c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 166, .dac = 0, .bb_mult = 64, },
21738c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 161, .dac = 0, .bb_mult = 64, },
21748c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 156, .dac = 0, .bb_mult = 64, },
21758c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 152, .dac = 0, .bb_mult = 64, },
21768c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 148, .dac = 0, .bb_mult = 64, },
21778c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 143, .dac = 0, .bb_mult = 64, },
21788c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 139, .dac = 0, .bb_mult = 64, },
21798c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 135, .dac = 0, .bb_mult = 64, },
21808c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 132, .dac = 0, .bb_mult = 64, },
21818c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 128, .dac = 0, .bb_mult = 64, },
21828c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 124, .dac = 0, .bb_mult = 64, },
21838c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 121, .dac = 0, .bb_mult = 64, },
21848c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 117, .dac = 0, .bb_mult = 64, },
21858c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 114, .dac = 0, .bb_mult = 64, },
21868c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 111, .dac = 0, .bb_mult = 64, },
21878c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 108, .dac = 0, .bb_mult = 64, },
21888c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 104, .dac = 0, .bb_mult = 64, },
21898c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 102, .dac = 0, .bb_mult = 64, },
21908c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 99, .dac = 0, .bb_mult = 64, },
21918c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 96, .dac = 0, .bb_mult = 64, },
21928c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 93, .dac = 0, .bb_mult = 64, },
21938c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 90, .dac = 0, .bb_mult = 64, },
21948c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 88, .dac = 0, .bb_mult = 64, },
21958c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 85, .dac = 0, .bb_mult = 64, },
21968c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 83, .dac = 0, .bb_mult = 64, },
21978c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 81, .dac = 0, .bb_mult = 64, },
21988c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 78, .dac = 0, .bb_mult = 64, },
21998c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 76, .dac = 0, .bb_mult = 64, },
22008c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 74, .dac = 0, .bb_mult = 64, },
22018c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 72, .dac = 0, .bb_mult = 64, },
22028c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 70, .dac = 0, .bb_mult = 64, },
22038c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 68, .dac = 0, .bb_mult = 64, },
22048c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 66, .dac = 0, .bb_mult = 64, },
22058c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 64, .dac = 0, .bb_mult = 64, },
22068c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 64, .dac = 0, .bb_mult = 64, },
22078c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 255, .pad = 62, .dac = 0, .bb_mult = 64, },
22088c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 248, .pad = 62, .dac = 0, .bb_mult = 64, },
22098c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 248, .pad = 60, .dac = 0, .bb_mult = 64, },
22108c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 241, .pad = 60, .dac = 0, .bb_mult = 64, },
22118c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 241, .pad = 59, .dac = 0, .bb_mult = 64, },
22128c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 234, .pad = 59, .dac = 0, .bb_mult = 64, },
22138c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 234, .pad = 57, .dac = 0, .bb_mult = 64, },
22148c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 227, .pad = 57, .dac = 0, .bb_mult = 64, },
22158c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 227, .pad = 55, .dac = 0, .bb_mult = 64, },
22168c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 221, .pad = 55, .dac = 0, .bb_mult = 64, },
22178c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 221, .pad = 54, .dac = 0, .bb_mult = 64, },
22188c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 215, .pad = 54, .dac = 0, .bb_mult = 64, },
22198c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 215, .pad = 52, .dac = 0, .bb_mult = 64, },
22208c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 208, .pad = 52, .dac = 0, .bb_mult = 64, },
22218c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 208, .pad = 51, .dac = 0, .bb_mult = 64, },
22228c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 203, .pad = 51, .dac = 0, .bb_mult = 64, },
22238c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 203, .pad = 49, .dac = 0, .bb_mult = 64, },
22248c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 197, .pad = 49, .dac = 0, .bb_mult = 64, },
22258c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 197, .pad = 48, .dac = 0, .bb_mult = 64, },
22268c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 191, .pad = 48, .dac = 0, .bb_mult = 64, },
22278c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 191, .pad = 47, .dac = 0, .bb_mult = 64, },
22288c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 186, .pad = 47, .dac = 0, .bb_mult = 64, },
22298c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 186, .pad = 45, .dac = 0, .bb_mult = 64, },
22308c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 181, .pad = 45, .dac = 0, .bb_mult = 64, },
22318c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 181, .pad = 44, .dac = 0, .bb_mult = 64, },
22328c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 175, .pad = 44, .dac = 0, .bb_mult = 64, },
22338c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 175, .pad = 43, .dac = 0, .bb_mult = 64, },
22348c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 170, .pad = 43, .dac = 0, .bb_mult = 64, },
22358c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 170, .pad = 42, .dac = 0, .bb_mult = 64, },
22368c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 166, .pad = 42, .dac = 0, .bb_mult = 64, },
22378c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 166, .pad = 40, .dac = 0, .bb_mult = 64, },
22388c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 161, .pad = 40, .dac = 0, .bb_mult = 64, },
22398c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 161, .pad = 39, .dac = 0, .bb_mult = 64, },
22408c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 156, .pad = 39, .dac = 0, .bb_mult = 64, },
22418c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 156, .pad = 38, .dac = 0, .bb_mult = 64, },
22428c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 152, .pad = 38, .dac = 0, .bb_mult = 64, },
22438c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 152, .pad = 37, .dac = 0, .bb_mult = 64, },
22448c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 148, .pad = 37, .dac = 0, .bb_mult = 64, },
22458c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 148, .pad = 36, .dac = 0, .bb_mult = 64, },
22468c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 143, .pad = 36, .dac = 0, .bb_mult = 64, },
22478c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 143, .pad = 35, .dac = 0, .bb_mult = 64, },
22488c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 139, .pad = 35, .dac = 0, .bb_mult = 64, },
22498c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 139, .pad = 34, .dac = 0, .bb_mult = 64, },
22508c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 135, .pad = 34, .dac = 0, .bb_mult = 64, },
22518c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 135, .pad = 33, .dac = 0, .bb_mult = 64, },
22528c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 132, .pad = 33, .dac = 0, .bb_mult = 64, },
22538c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 132, .pad = 32, .dac = 0, .bb_mult = 64, },
22548c2ecf20Sopenharmony_ci	{ .gm = 255, .pga = 128, .pad = 32, .dac = 0, .bb_mult = 64, },
22558c2ecf20Sopenharmony_ci};
22568c2ecf20Sopenharmony_ci
22578c2ecf20Sopenharmony_civoid lpphy_rev0_1_table_init(struct b43_wldev *dev)
22588c2ecf20Sopenharmony_ci{
22598c2ecf20Sopenharmony_ci	B43_WARN_ON(dev->phy.rev >= 2);
22608c2ecf20Sopenharmony_ci
22618c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB8(2, 0),
22628c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_min_sig_sq_table), lpphy_min_sig_sq_table);
22638c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB16(1, 0),
22648c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_rev01_noise_scale_table), lpphy_rev01_noise_scale_table);
22658c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB16(14, 0),
22668c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_crs_gain_nft_table), lpphy_crs_gain_nft_table);
22678c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB16(8, 0),
22688c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_rev01_filter_control_table), lpphy_rev01_filter_control_table);
22698c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB32(9, 0),
22708c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_rev01_ps_control_table), lpphy_rev01_ps_control_table);
22718c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB8(6, 0),
22728c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_pll_fraction_table), lpphy_pll_fraction_table);
22738c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB16(0, 0),
22748c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_iqlo_cal_table), lpphy_iqlo_cal_table);
22758c2ecf20Sopenharmony_ci	if (dev->phy.rev == 0) {
22768c2ecf20Sopenharmony_ci		b43_lptab_write_bulk(dev, B43_LPTAB16(13, 0),
22778c2ecf20Sopenharmony_ci			ARRAY_SIZE(lpphy_rev0_ofdm_cck_gain_table), lpphy_rev0_ofdm_cck_gain_table);
22788c2ecf20Sopenharmony_ci		b43_lptab_write_bulk(dev, B43_LPTAB16(12, 0),
22798c2ecf20Sopenharmony_ci			ARRAY_SIZE(lpphy_rev0_ofdm_cck_gain_table), lpphy_rev0_ofdm_cck_gain_table);
22808c2ecf20Sopenharmony_ci	} else {
22818c2ecf20Sopenharmony_ci		b43_lptab_write_bulk(dev, B43_LPTAB16(13, 0),
22828c2ecf20Sopenharmony_ci			ARRAY_SIZE(lpphy_rev1_ofdm_cck_gain_table), lpphy_rev1_ofdm_cck_gain_table);
22838c2ecf20Sopenharmony_ci		b43_lptab_write_bulk(dev, B43_LPTAB16(12, 0),
22848c2ecf20Sopenharmony_ci			ARRAY_SIZE(lpphy_rev1_ofdm_cck_gain_table), lpphy_rev1_ofdm_cck_gain_table);
22858c2ecf20Sopenharmony_ci}
22868c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB16(15, 0),
22878c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_gain_delta_table), lpphy_gain_delta_table);
22888c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB32(10, 0),
22898c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_tx_power_control_table), lpphy_tx_power_control_table);
22908c2ecf20Sopenharmony_ci}
22918c2ecf20Sopenharmony_ci
22928c2ecf20Sopenharmony_civoid lpphy_rev2plus_table_init(struct b43_wldev *dev)
22938c2ecf20Sopenharmony_ci{
22948c2ecf20Sopenharmony_ci	int i;
22958c2ecf20Sopenharmony_ci
22968c2ecf20Sopenharmony_ci	B43_WARN_ON(dev->phy.rev < 2);
22978c2ecf20Sopenharmony_ci
22988c2ecf20Sopenharmony_ci	for (i = 0; i < 704; i++)
22998c2ecf20Sopenharmony_ci		b43_lptab_write(dev, B43_LPTAB32(7, i), 0);
23008c2ecf20Sopenharmony_ci
23018c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB8(2, 0),
23028c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_min_sig_sq_table), lpphy_min_sig_sq_table);
23038c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB16(1, 0),
23048c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_rev2plus_noise_scale_table), lpphy_rev2plus_noise_scale_table);
23058c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB32(11, 0),
23068c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_rev2plus_filter_control_table), lpphy_rev2plus_filter_control_table);
23078c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB32(12, 0),
23088c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_rev2plus_ps_control_table), lpphy_rev2plus_ps_control_table);
23098c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB32(13, 0),
23108c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_gain_idx_table), lpphy_gain_idx_table);
23118c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB16(14, 0),
23128c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_aux_gain_idx_table), lpphy_aux_gain_idx_table);
23138c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB16(15, 0),
23148c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_sw_control_table), lpphy_sw_control_table);
23158c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB8(16, 0),
23168c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_hf_table), lpphy_hf_table);
23178c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB32(17, 0),
23188c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_gain_value_table), lpphy_gain_value_table);
23198c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB16(18, 0),
23208c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_gain_table), lpphy_gain_table);
23218c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB8(6, 0),
23228c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_pll_fraction_table), lpphy_pll_fraction_table);
23238c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB16(0, 0),
23248c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_iqlo_cal_table), lpphy_iqlo_cal_table);
23258c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB32(9, 0),
23268c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_papd_eps_table), lpphy_papd_eps_table);
23278c2ecf20Sopenharmony_ci	b43_lptab_write_bulk(dev, B43_LPTAB32(10, 0),
23288c2ecf20Sopenharmony_ci		ARRAY_SIZE(lpphy_papd_mult_table), lpphy_papd_mult_table);
23298c2ecf20Sopenharmony_ci
23308c2ecf20Sopenharmony_ci	if ((dev->dev->chip_id == 0x4325) && (dev->dev->chip_rev == 0)) {
23318c2ecf20Sopenharmony_ci		b43_lptab_write_bulk(dev, B43_LPTAB32(13, 0),
23328c2ecf20Sopenharmony_ci			ARRAY_SIZE(lpphy_a0_gain_idx_table), lpphy_a0_gain_idx_table);
23338c2ecf20Sopenharmony_ci		b43_lptab_write_bulk(dev, B43_LPTAB16(14, 0),
23348c2ecf20Sopenharmony_ci			ARRAY_SIZE(lpphy_a0_aux_gain_idx_table), lpphy_a0_aux_gain_idx_table);
23358c2ecf20Sopenharmony_ci		b43_lptab_write_bulk(dev, B43_LPTAB32(17, 0),
23368c2ecf20Sopenharmony_ci			ARRAY_SIZE(lpphy_a0_gain_value_table), lpphy_a0_gain_value_table);
23378c2ecf20Sopenharmony_ci		b43_lptab_write_bulk(dev, B43_LPTAB16(18, 0),
23388c2ecf20Sopenharmony_ci			ARRAY_SIZE(lpphy_a0_gain_table), lpphy_a0_gain_table);
23398c2ecf20Sopenharmony_ci	}
23408c2ecf20Sopenharmony_ci}
23418c2ecf20Sopenharmony_ci
23428c2ecf20Sopenharmony_cistatic void lpphy_rev0_1_write_gain_table(struct b43_wldev *dev, int offset,
23438c2ecf20Sopenharmony_ci				struct lpphy_tx_gain_table_entry data)
23448c2ecf20Sopenharmony_ci{
23458c2ecf20Sopenharmony_ci	u32 tmp;
23468c2ecf20Sopenharmony_ci
23478c2ecf20Sopenharmony_ci	B43_WARN_ON(dev->phy.rev >= 2);
23488c2ecf20Sopenharmony_ci
23498c2ecf20Sopenharmony_ci	tmp  = data.pad << 11;
23508c2ecf20Sopenharmony_ci	tmp |= data.pga << 7;
23518c2ecf20Sopenharmony_ci	tmp |= data.gm  << 4;
23528c2ecf20Sopenharmony_ci	tmp |= data.dac;
23538c2ecf20Sopenharmony_ci	b43_lptab_write(dev, B43_LPTAB32(10, 0xC0 + offset), tmp);
23548c2ecf20Sopenharmony_ci	tmp  = data.bb_mult << 20;
23558c2ecf20Sopenharmony_ci	b43_lptab_write(dev, B43_LPTAB32(10, 0x140 + offset), tmp);
23568c2ecf20Sopenharmony_ci}
23578c2ecf20Sopenharmony_ci
23588c2ecf20Sopenharmony_cistatic void lpphy_rev2plus_write_gain_table(struct b43_wldev *dev, int offset,
23598c2ecf20Sopenharmony_ci				struct lpphy_tx_gain_table_entry data)
23608c2ecf20Sopenharmony_ci{
23618c2ecf20Sopenharmony_ci	u32 tmp;
23628c2ecf20Sopenharmony_ci
23638c2ecf20Sopenharmony_ci	B43_WARN_ON(dev->phy.rev < 2);
23648c2ecf20Sopenharmony_ci
23658c2ecf20Sopenharmony_ci	tmp  = data.pad << 16;
23668c2ecf20Sopenharmony_ci	tmp |= data.pga << 8;
23678c2ecf20Sopenharmony_ci	tmp |= data.gm;
23688c2ecf20Sopenharmony_ci	if (dev->phy.rev >= 3) {
23698c2ecf20Sopenharmony_ci		if (b43_current_band(dev->wl) == NL80211_BAND_5GHZ)
23708c2ecf20Sopenharmony_ci			tmp |= 0x10 << 24;
23718c2ecf20Sopenharmony_ci		else
23728c2ecf20Sopenharmony_ci			tmp |= 0x70 << 24;
23738c2ecf20Sopenharmony_ci	} else {
23748c2ecf20Sopenharmony_ci		if (b43_current_band(dev->wl) == NL80211_BAND_5GHZ)
23758c2ecf20Sopenharmony_ci			tmp |= 0x14 << 24;
23768c2ecf20Sopenharmony_ci		else
23778c2ecf20Sopenharmony_ci			tmp |= 0x7F << 24;
23788c2ecf20Sopenharmony_ci	}
23798c2ecf20Sopenharmony_ci	b43_lptab_write(dev, B43_LPTAB32(7, 0xC0 + offset), tmp);
23808c2ecf20Sopenharmony_ci	tmp  = data.bb_mult << 20;
23818c2ecf20Sopenharmony_ci	tmp |= data.dac << 28;
23828c2ecf20Sopenharmony_ci	b43_lptab_write(dev, B43_LPTAB32(7, 0x140 + offset), tmp);
23838c2ecf20Sopenharmony_ci}
23848c2ecf20Sopenharmony_ci
23858c2ecf20Sopenharmony_civoid lpphy_write_gain_table(struct b43_wldev *dev, int offset,
23868c2ecf20Sopenharmony_ci			    struct lpphy_tx_gain_table_entry data)
23878c2ecf20Sopenharmony_ci{
23888c2ecf20Sopenharmony_ci	if (dev->phy.rev >= 2)
23898c2ecf20Sopenharmony_ci		lpphy_rev2plus_write_gain_table(dev, offset, data);
23908c2ecf20Sopenharmony_ci	else
23918c2ecf20Sopenharmony_ci		lpphy_rev0_1_write_gain_table(dev, offset, data);
23928c2ecf20Sopenharmony_ci}
23938c2ecf20Sopenharmony_ci
23948c2ecf20Sopenharmony_civoid lpphy_write_gain_table_bulk(struct b43_wldev *dev, int offset, int count,
23958c2ecf20Sopenharmony_ci				 struct lpphy_tx_gain_table_entry *table)
23968c2ecf20Sopenharmony_ci{
23978c2ecf20Sopenharmony_ci	int i;
23988c2ecf20Sopenharmony_ci
23998c2ecf20Sopenharmony_ci	for (i = offset; i < count; i++)
24008c2ecf20Sopenharmony_ci		lpphy_write_gain_table(dev, i, table[i]);
24018c2ecf20Sopenharmony_ci}
24028c2ecf20Sopenharmony_ci
24038c2ecf20Sopenharmony_civoid lpphy_init_tx_gain_table(struct b43_wldev *dev)
24048c2ecf20Sopenharmony_ci{
24058c2ecf20Sopenharmony_ci	struct ssb_sprom *sprom = dev->dev->bus_sprom;
24068c2ecf20Sopenharmony_ci
24078c2ecf20Sopenharmony_ci	switch (dev->phy.rev) {
24088c2ecf20Sopenharmony_ci	case 0:
24098c2ecf20Sopenharmony_ci		if ((sprom->boardflags_hi & B43_BFH_NOPA) ||
24108c2ecf20Sopenharmony_ci		    (sprom->boardflags_lo & B43_BFL_HGPA))
24118c2ecf20Sopenharmony_ci			lpphy_write_gain_table_bulk(dev, 0, 128,
24128c2ecf20Sopenharmony_ci					lpphy_rev0_nopa_tx_gain_table);
24138c2ecf20Sopenharmony_ci		else if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ)
24148c2ecf20Sopenharmony_ci			lpphy_write_gain_table_bulk(dev, 0, 128,
24158c2ecf20Sopenharmony_ci					lpphy_rev0_2ghz_tx_gain_table);
24168c2ecf20Sopenharmony_ci		else
24178c2ecf20Sopenharmony_ci			lpphy_write_gain_table_bulk(dev, 0, 128,
24188c2ecf20Sopenharmony_ci					lpphy_rev0_5ghz_tx_gain_table);
24198c2ecf20Sopenharmony_ci		break;
24208c2ecf20Sopenharmony_ci	case 1:
24218c2ecf20Sopenharmony_ci		if ((sprom->boardflags_hi & B43_BFH_NOPA) ||
24228c2ecf20Sopenharmony_ci		    (sprom->boardflags_lo & B43_BFL_HGPA))
24238c2ecf20Sopenharmony_ci			lpphy_write_gain_table_bulk(dev, 0, 128,
24248c2ecf20Sopenharmony_ci					lpphy_rev1_nopa_tx_gain_table);
24258c2ecf20Sopenharmony_ci		else if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ)
24268c2ecf20Sopenharmony_ci			lpphy_write_gain_table_bulk(dev, 0, 128,
24278c2ecf20Sopenharmony_ci					lpphy_rev1_2ghz_tx_gain_table);
24288c2ecf20Sopenharmony_ci		else
24298c2ecf20Sopenharmony_ci			lpphy_write_gain_table_bulk(dev, 0, 128,
24308c2ecf20Sopenharmony_ci					lpphy_rev1_5ghz_tx_gain_table);
24318c2ecf20Sopenharmony_ci		break;
24328c2ecf20Sopenharmony_ci	default:
24338c2ecf20Sopenharmony_ci		if (sprom->boardflags_hi & B43_BFH_NOPA)
24348c2ecf20Sopenharmony_ci			lpphy_write_gain_table_bulk(dev, 0, 128,
24358c2ecf20Sopenharmony_ci					lpphy_rev2_nopa_tx_gain_table);
24368c2ecf20Sopenharmony_ci		else if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ)
24378c2ecf20Sopenharmony_ci			lpphy_write_gain_table_bulk(dev, 0, 128,
24388c2ecf20Sopenharmony_ci					lpphy_rev2_2ghz_tx_gain_table);
24398c2ecf20Sopenharmony_ci		else
24408c2ecf20Sopenharmony_ci			lpphy_write_gain_table_bulk(dev, 0, 128,
24418c2ecf20Sopenharmony_ci					lpphy_rev2_5ghz_tx_gain_table);
24428c2ecf20Sopenharmony_ci	}
24438c2ecf20Sopenharmony_ci}
2444