162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-or-later 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci 462306a36Sopenharmony_ci Broadcom B43 wireless driver 562306a36Sopenharmony_ci IEEE 802.11a/g LP-PHY and radio device data tables 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci Copyright (c) 2009 Michael Buesch <m@bues.ch> 862306a36Sopenharmony_ci Copyright (c) 2009 Gábor Stefanik <netrolller.3d@gmail.com> 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci*/ 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci#include "b43.h" 1462306a36Sopenharmony_ci#include "tables_lpphy.h" 1562306a36Sopenharmony_ci#include "phy_common.h" 1662306a36Sopenharmony_ci#include "phy_lp.h" 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci/* Entry of the 2062/2063 radio init table */ 2062306a36Sopenharmony_cistruct b206x_init_tab_entry { 2162306a36Sopenharmony_ci u16 offset; 2262306a36Sopenharmony_ci u16 value_a; 2362306a36Sopenharmony_ci u16 value_g; 2462306a36Sopenharmony_ci u8 flags; 2562306a36Sopenharmony_ci}; 2662306a36Sopenharmony_ci#define B206X_FLAG_A 0x01 /* Flag: Init in A mode */ 2762306a36Sopenharmony_ci#define B206X_FLAG_G 0x02 /* Flag: Init in G mode */ 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_cistatic const struct b206x_init_tab_entry b2062_init_tab[] = { 3062306a36Sopenharmony_ci /* { .offset = B2062_N_COMM1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 3162306a36Sopenharmony_ci /* { .offset = 0x0001, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 3262306a36Sopenharmony_ci /* { .offset = B2062_N_COMM2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 3362306a36Sopenharmony_ci /* { .offset = B2062_N_COMM3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 3462306a36Sopenharmony_ci { .offset = B2062_N_COMM4, .value_a = 0x0001, .value_g = 0x0000, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 3562306a36Sopenharmony_ci /* { .offset = B2062_N_COMM5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 3662306a36Sopenharmony_ci /* { .offset = B2062_N_COMM6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 3762306a36Sopenharmony_ci /* { .offset = B2062_N_COMM7, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 3862306a36Sopenharmony_ci /* { .offset = B2062_N_COMM8, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 3962306a36Sopenharmony_ci /* { .offset = B2062_N_COMM9, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 4062306a36Sopenharmony_ci /* { .offset = B2062_N_COMM10, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 4162306a36Sopenharmony_ci /* { .offset = B2062_N_COMM11, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 4262306a36Sopenharmony_ci /* { .offset = B2062_N_COMM12, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 4362306a36Sopenharmony_ci /* { .offset = B2062_N_COMM13, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 4462306a36Sopenharmony_ci /* { .offset = B2062_N_COMM14, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 4562306a36Sopenharmony_ci /* { .offset = B2062_N_COMM15, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 4662306a36Sopenharmony_ci /* { .offset = B2062_N_PDN_CTL0, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 4762306a36Sopenharmony_ci { .offset = B2062_N_PDN_CTL1, .value_a = 0x0000, .value_g = 0x00CA, .flags = B206X_FLAG_G, }, 4862306a36Sopenharmony_ci /* { .offset = B2062_N_PDN_CTL2, .value_a = 0x0018, .value_g = 0x0018, .flags = 0, }, */ 4962306a36Sopenharmony_ci { .offset = B2062_N_PDN_CTL3, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 5062306a36Sopenharmony_ci { .offset = B2062_N_PDN_CTL4, .value_a = 0x0015, .value_g = 0x002A, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 5162306a36Sopenharmony_ci /* { .offset = B2062_N_GEN_CTL0, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 5262306a36Sopenharmony_ci /* { .offset = B2062_N_IQ_CALIB, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */ 5362306a36Sopenharmony_ci { .offset = B2062_N_LGENC, .value_a = 0x00DB, .value_g = 0x00FF, .flags = B206X_FLAG_A, }, 5462306a36Sopenharmony_ci /* { .offset = B2062_N_LGENA_LPF, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */ 5562306a36Sopenharmony_ci /* { .offset = B2062_N_LGENA_BIAS0, .value_a = 0x0041, .value_g = 0x0041, .flags = 0, }, */ 5662306a36Sopenharmony_ci /* { .offset = B2062_N_LGNEA_BIAS1, .value_a = 0x0002, .value_g = 0x0002, .flags = 0, }, */ 5762306a36Sopenharmony_ci /* { .offset = B2062_N_LGENA_CTL0, .value_a = 0x0032, .value_g = 0x0032, .flags = 0, }, */ 5862306a36Sopenharmony_ci /* { .offset = B2062_N_LGENA_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 5962306a36Sopenharmony_ci /* { .offset = B2062_N_LGENA_CTL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 6062306a36Sopenharmony_ci { .offset = B2062_N_LGENA_TUNE0, .value_a = 0x00DD, .value_g = 0x0000, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 6162306a36Sopenharmony_ci /* { .offset = B2062_N_LGENA_TUNE1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 6262306a36Sopenharmony_ci { .offset = B2062_N_LGENA_TUNE2, .value_a = 0x00DD, .value_g = 0x0000, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 6362306a36Sopenharmony_ci { .offset = B2062_N_LGENA_TUNE3, .value_a = 0x0077, .value_g = 0x00B5, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 6462306a36Sopenharmony_ci { .offset = B2062_N_LGENA_CTL3, .value_a = 0x0000, .value_g = 0x00FF, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 6562306a36Sopenharmony_ci /* { .offset = B2062_N_LGENA_CTL4, .value_a = 0x001F, .value_g = 0x001F, .flags = 0, }, */ 6662306a36Sopenharmony_ci /* { .offset = B2062_N_LGENA_CTL5, .value_a = 0x0032, .value_g = 0x0032, .flags = 0, }, */ 6762306a36Sopenharmony_ci /* { .offset = B2062_N_LGENA_CTL6, .value_a = 0x0032, .value_g = 0x0032, .flags = 0, }, */ 6862306a36Sopenharmony_ci { .offset = B2062_N_LGENA_CTL7, .value_a = 0x0033, .value_g = 0x0033, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 6962306a36Sopenharmony_ci /* { .offset = B2062_N_RXA_CTL0, .value_a = 0x0009, .value_g = 0x0009, .flags = 0, }, */ 7062306a36Sopenharmony_ci { .offset = B2062_N_RXA_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, }, 7162306a36Sopenharmony_ci /* { .offset = B2062_N_RXA_CTL2, .value_a = 0x0018, .value_g = 0x0018, .flags = 0, }, */ 7262306a36Sopenharmony_ci /* { .offset = B2062_N_RXA_CTL3, .value_a = 0x0027, .value_g = 0x0027, .flags = 0, }, */ 7362306a36Sopenharmony_ci /* { .offset = B2062_N_RXA_CTL4, .value_a = 0x0028, .value_g = 0x0028, .flags = 0, }, */ 7462306a36Sopenharmony_ci /* { .offset = B2062_N_RXA_CTL5, .value_a = 0x0007, .value_g = 0x0007, .flags = 0, }, */ 7562306a36Sopenharmony_ci /* { .offset = B2062_N_RXA_CTL6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 7662306a36Sopenharmony_ci /* { .offset = B2062_N_RXA_CTL7, .value_a = 0x0008, .value_g = 0x0008, .flags = 0, }, */ 7762306a36Sopenharmony_ci { .offset = B2062_N_RXBB_CTL0, .value_a = 0x0082, .value_g = 0x0080, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 7862306a36Sopenharmony_ci /* { .offset = B2062_N_RXBB_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 7962306a36Sopenharmony_ci /* { .offset = B2062_N_RXBB_CTL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 8062306a36Sopenharmony_ci /* { .offset = B2062_N_RXBB_GAIN0, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 8162306a36Sopenharmony_ci { .offset = B2062_N_RXBB_GAIN1, .value_a = 0x0004, .value_g = 0x0004, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 8262306a36Sopenharmony_ci { .offset = B2062_N_RXBB_GAIN2, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 8362306a36Sopenharmony_ci /* { .offset = B2062_N_RXBB_GAIN3, .value_a = 0x0011, .value_g = 0x0011, .flags = 0, }, */ 8462306a36Sopenharmony_ci /* { .offset = B2062_N_RXBB_RSSI0, .value_a = 0x0043, .value_g = 0x0043, .flags = 0, }, */ 8562306a36Sopenharmony_ci /* { .offset = B2062_N_RXBB_RSSI1, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */ 8662306a36Sopenharmony_ci /* { .offset = B2062_N_RXBB_CALIB0, .value_a = 0x0010, .value_g = 0x0010, .flags = 0, }, */ 8762306a36Sopenharmony_ci /* { .offset = B2062_N_RXBB_CALIB1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 8862306a36Sopenharmony_ci /* { .offset = B2062_N_RXBB_CALIB2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 8962306a36Sopenharmony_ci /* { .offset = B2062_N_RXBB_BIAS0, .value_a = 0x0006, .value_g = 0x0006, .flags = 0, }, */ 9062306a36Sopenharmony_ci /* { .offset = B2062_N_RXBB_BIAS1, .value_a = 0x002A, .value_g = 0x002A, .flags = 0, }, */ 9162306a36Sopenharmony_ci /* { .offset = B2062_N_RXBB_BIAS2, .value_a = 0x00AA, .value_g = 0x00AA, .flags = 0, }, */ 9262306a36Sopenharmony_ci /* { .offset = B2062_N_RXBB_BIAS3, .value_a = 0x0021, .value_g = 0x0021, .flags = 0, }, */ 9362306a36Sopenharmony_ci /* { .offset = B2062_N_RXBB_BIAS4, .value_a = 0x00AA, .value_g = 0x00AA, .flags = 0, }, */ 9462306a36Sopenharmony_ci /* { .offset = B2062_N_RXBB_BIAS5, .value_a = 0x0022, .value_g = 0x0022, .flags = 0, }, */ 9562306a36Sopenharmony_ci /* { .offset = B2062_N_RXBB_RSSI2, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */ 9662306a36Sopenharmony_ci /* { .offset = B2062_N_RXBB_RSSI3, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */ 9762306a36Sopenharmony_ci /* { .offset = B2062_N_RXBB_RSSI4, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */ 9862306a36Sopenharmony_ci /* { .offset = B2062_N_RXBB_RSSI5, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */ 9962306a36Sopenharmony_ci /* { .offset = B2062_N_TX_CTL0, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */ 10062306a36Sopenharmony_ci /* { .offset = B2062_N_TX_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 10162306a36Sopenharmony_ci /* { .offset = B2062_N_TX_CTL2, .value_a = 0x0084, .value_g = 0x0084, .flags = 0, }, */ 10262306a36Sopenharmony_ci /* { .offset = B2062_N_TX_CTL3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 10362306a36Sopenharmony_ci { .offset = B2062_N_TX_CTL4, .value_a = 0x0003, .value_g = 0x0003, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 10462306a36Sopenharmony_ci { .offset = B2062_N_TX_CTL5, .value_a = 0x0002, .value_g = 0x0002, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 10562306a36Sopenharmony_ci /* { .offset = B2062_N_TX_CTL6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 10662306a36Sopenharmony_ci /* { .offset = B2062_N_TX_CTL7, .value_a = 0x0058, .value_g = 0x0058, .flags = 0, }, */ 10762306a36Sopenharmony_ci /* { .offset = B2062_N_TX_CTL8, .value_a = 0x0082, .value_g = 0x0082, .flags = 0, }, */ 10862306a36Sopenharmony_ci /* { .offset = B2062_N_TX_CTL9, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 10962306a36Sopenharmony_ci /* { .offset = B2062_N_TX_CTL_A, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 11062306a36Sopenharmony_ci /* { .offset = B2062_N_TX_GC2G, .value_a = 0x00FF, .value_g = 0x00FF, .flags = 0, }, */ 11162306a36Sopenharmony_ci /* { .offset = B2062_N_TX_GC5G, .value_a = 0x00FF, .value_g = 0x00FF, .flags = 0, }, */ 11262306a36Sopenharmony_ci { .offset = B2062_N_TX_TUNE, .value_a = 0x0088, .value_g = 0x001B, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 11362306a36Sopenharmony_ci /* { .offset = B2062_N_TX_PAD, .value_a = 0x0088, .value_g = 0x0088, .flags = 0, }, */ 11462306a36Sopenharmony_ci /* { .offset = B2062_N_TX_PGA, .value_a = 0x0088, .value_g = 0x0088, .flags = 0, }, */ 11562306a36Sopenharmony_ci /* { .offset = B2062_N_TX_PADAUX, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */ 11662306a36Sopenharmony_ci /* { .offset = B2062_N_TX_PGAAUX, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */ 11762306a36Sopenharmony_ci /* { .offset = B2062_N_TSSI_CTL0, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 11862306a36Sopenharmony_ci /* { .offset = B2062_N_TSSI_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 11962306a36Sopenharmony_ci /* { .offset = B2062_N_TSSI_CTL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 12062306a36Sopenharmony_ci /* { .offset = B2062_N_IQ_CALIB_CTL0, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */ 12162306a36Sopenharmony_ci /* { .offset = B2062_N_IQ_CALIB_CTL1, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */ 12262306a36Sopenharmony_ci /* { .offset = B2062_N_IQ_CALIB_CTL2, .value_a = 0x0032, .value_g = 0x0032, .flags = 0, }, */ 12362306a36Sopenharmony_ci /* { .offset = B2062_N_CALIB_TS, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 12462306a36Sopenharmony_ci /* { .offset = B2062_N_CALIB_CTL0, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 12562306a36Sopenharmony_ci /* { .offset = B2062_N_CALIB_CTL1, .value_a = 0x0015, .value_g = 0x0015, .flags = 0, }, */ 12662306a36Sopenharmony_ci /* { .offset = B2062_N_CALIB_CTL2, .value_a = 0x000F, .value_g = 0x000F, .flags = 0, }, */ 12762306a36Sopenharmony_ci /* { .offset = B2062_N_CALIB_CTL3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 12862306a36Sopenharmony_ci /* { .offset = B2062_N_CALIB_CTL4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 12962306a36Sopenharmony_ci /* { .offset = B2062_N_CALIB_DBG0, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 13062306a36Sopenharmony_ci /* { .offset = B2062_N_CALIB_DBG1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 13162306a36Sopenharmony_ci /* { .offset = B2062_N_CALIB_DBG2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 13262306a36Sopenharmony_ci /* { .offset = B2062_N_CALIB_DBG3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 13362306a36Sopenharmony_ci /* { .offset = B2062_N_PSENSE_CTL0, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 13462306a36Sopenharmony_ci /* { .offset = B2062_N_PSENSE_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 13562306a36Sopenharmony_ci /* { .offset = B2062_N_PSENSE_CTL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 13662306a36Sopenharmony_ci /* { .offset = B2062_N_TEST_BUF0, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 13762306a36Sopenharmony_ci /* { .offset = B2062_S_COMM1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 13862306a36Sopenharmony_ci /* { .offset = B2062_S_RADIO_ID_CODE, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 13962306a36Sopenharmony_ci /* { .offset = B2062_S_COMM2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 14062306a36Sopenharmony_ci /* { .offset = B2062_S_COMM3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 14162306a36Sopenharmony_ci { .offset = B2062_S_COMM4, .value_a = 0x0001, .value_g = 0x0000, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 14262306a36Sopenharmony_ci /* { .offset = B2062_S_COMM5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 14362306a36Sopenharmony_ci /* { .offset = B2062_S_COMM6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 14462306a36Sopenharmony_ci /* { .offset = B2062_S_COMM7, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 14562306a36Sopenharmony_ci /* { .offset = B2062_S_COMM8, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 14662306a36Sopenharmony_ci /* { .offset = B2062_S_COMM9, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 14762306a36Sopenharmony_ci /* { .offset = B2062_S_COMM10, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 14862306a36Sopenharmony_ci /* { .offset = B2062_S_COMM11, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 14962306a36Sopenharmony_ci /* { .offset = B2062_S_COMM12, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 15062306a36Sopenharmony_ci /* { .offset = B2062_S_COMM13, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 15162306a36Sopenharmony_ci /* { .offset = B2062_S_COMM14, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 15262306a36Sopenharmony_ci /* { .offset = B2062_S_COMM15, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 15362306a36Sopenharmony_ci { .offset = B2062_S_PDS_CTL0, .value_a = 0x00FF, .value_g = 0x00FF, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 15462306a36Sopenharmony_ci /* { .offset = B2062_S_PDS_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 15562306a36Sopenharmony_ci /* { .offset = B2062_S_PDS_CTL2, .value_a = 0x008E, .value_g = 0x008E, .flags = 0, }, */ 15662306a36Sopenharmony_ci /* { .offset = B2062_S_PDS_CTL3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 15762306a36Sopenharmony_ci /* { .offset = B2062_S_BG_CTL0, .value_a = 0x0006, .value_g = 0x0006, .flags = 0, }, */ 15862306a36Sopenharmony_ci /* { .offset = B2062_S_BG_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 15962306a36Sopenharmony_ci /* { .offset = B2062_S_BG_CTL2, .value_a = 0x0011, .value_g = 0x0011, .flags = 0, }, */ 16062306a36Sopenharmony_ci { .offset = B2062_S_LGENG_CTL0, .value_a = 0x00F8, .value_g = 0x00D8, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 16162306a36Sopenharmony_ci { .offset = B2062_S_LGENG_CTL1, .value_a = 0x003C, .value_g = 0x0024, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 16262306a36Sopenharmony_ci /* { .offset = B2062_S_LGENG_CTL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 16362306a36Sopenharmony_ci /* { .offset = B2062_S_LGENG_CTL3, .value_a = 0x0041, .value_g = 0x0041, .flags = 0, }, */ 16462306a36Sopenharmony_ci /* { .offset = B2062_S_LGENG_CTL4, .value_a = 0x0002, .value_g = 0x0002, .flags = 0, }, */ 16562306a36Sopenharmony_ci /* { .offset = B2062_S_LGENG_CTL5, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */ 16662306a36Sopenharmony_ci /* { .offset = B2062_S_LGENG_CTL6, .value_a = 0x0022, .value_g = 0x0022, .flags = 0, }, */ 16762306a36Sopenharmony_ci /* { .offset = B2062_S_LGENG_CTL7, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 16862306a36Sopenharmony_ci { .offset = B2062_S_LGENG_CTL8, .value_a = 0x0088, .value_g = 0x0080, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 16962306a36Sopenharmony_ci /* { .offset = B2062_S_LGENG_CTL9, .value_a = 0x0088, .value_g = 0x0088, .flags = 0, }, */ 17062306a36Sopenharmony_ci { .offset = B2062_S_LGENG_CTL10, .value_a = 0x0088, .value_g = 0x0080, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 17162306a36Sopenharmony_ci /* { .offset = B2062_S_LGENG_CTL11, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 17262306a36Sopenharmony_ci /* { .offset = B2062_S_REFPLL_CTL0, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 17362306a36Sopenharmony_ci /* { .offset = B2062_S_REFPLL_CTL1, .value_a = 0x0007, .value_g = 0x0007, .flags = 0, }, */ 17462306a36Sopenharmony_ci /* { .offset = B2062_S_REFPLL_CTL2, .value_a = 0x00AF, .value_g = 0x00AF, .flags = 0, }, */ 17562306a36Sopenharmony_ci /* { .offset = B2062_S_REFPLL_CTL3, .value_a = 0x0012, .value_g = 0x0012, .flags = 0, }, */ 17662306a36Sopenharmony_ci /* { .offset = B2062_S_REFPLL_CTL4, .value_a = 0x000B, .value_g = 0x000B, .flags = 0, }, */ 17762306a36Sopenharmony_ci /* { .offset = B2062_S_REFPLL_CTL5, .value_a = 0x005F, .value_g = 0x005F, .flags = 0, }, */ 17862306a36Sopenharmony_ci /* { .offset = B2062_S_REFPLL_CTL6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 17962306a36Sopenharmony_ci /* { .offset = B2062_S_REFPLL_CTL7, .value_a = 0x0040, .value_g = 0x0040, .flags = 0, }, */ 18062306a36Sopenharmony_ci /* { .offset = B2062_S_REFPLL_CTL8, .value_a = 0x0052, .value_g = 0x0052, .flags = 0, }, */ 18162306a36Sopenharmony_ci /* { .offset = B2062_S_REFPLL_CTL9, .value_a = 0x0026, .value_g = 0x0026, .flags = 0, }, */ 18262306a36Sopenharmony_ci /* { .offset = B2062_S_REFPLL_CTL10, .value_a = 0x0003, .value_g = 0x0003, .flags = 0, }, */ 18362306a36Sopenharmony_ci /* { .offset = B2062_S_REFPLL_CTL11, .value_a = 0x0036, .value_g = 0x0036, .flags = 0, }, */ 18462306a36Sopenharmony_ci /* { .offset = B2062_S_REFPLL_CTL12, .value_a = 0x0057, .value_g = 0x0057, .flags = 0, }, */ 18562306a36Sopenharmony_ci /* { .offset = B2062_S_REFPLL_CTL13, .value_a = 0x0011, .value_g = 0x0011, .flags = 0, }, */ 18662306a36Sopenharmony_ci /* { .offset = B2062_S_REFPLL_CTL14, .value_a = 0x0075, .value_g = 0x0075, .flags = 0, }, */ 18762306a36Sopenharmony_ci /* { .offset = B2062_S_REFPLL_CTL15, .value_a = 0x00B4, .value_g = 0x00B4, .flags = 0, }, */ 18862306a36Sopenharmony_ci /* { .offset = B2062_S_REFPLL_CTL16, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 18962306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL0, .value_a = 0x0098, .value_g = 0x0098, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 19062306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL1, .value_a = 0x0010, .value_g = 0x0010, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 19162306a36Sopenharmony_ci /* { .offset = B2062_S_RFPLL_CTL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 19262306a36Sopenharmony_ci /* { .offset = B2062_S_RFPLL_CTL3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 19362306a36Sopenharmony_ci /* { .offset = B2062_S_RFPLL_CTL4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 19462306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL5, .value_a = 0x0043, .value_g = 0x0043, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 19562306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL6, .value_a = 0x0047, .value_g = 0x0047, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 19662306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL7, .value_a = 0x000C, .value_g = 0x000C, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 19762306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL8, .value_a = 0x0011, .value_g = 0x0011, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 19862306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL9, .value_a = 0x0011, .value_g = 0x0011, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 19962306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL10, .value_a = 0x000E, .value_g = 0x000E, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 20062306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL11, .value_a = 0x0008, .value_g = 0x0008, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 20162306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL12, .value_a = 0x0033, .value_g = 0x0033, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 20262306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL13, .value_a = 0x000A, .value_g = 0x000A, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 20362306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL14, .value_a = 0x0006, .value_g = 0x0006, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 20462306a36Sopenharmony_ci /* { .offset = B2062_S_RFPLL_CTL15, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 20562306a36Sopenharmony_ci /* { .offset = B2062_S_RFPLL_CTL16, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 20662306a36Sopenharmony_ci /* { .offset = B2062_S_RFPLL_CTL17, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 20762306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL18, .value_a = 0x003E, .value_g = 0x003E, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 20862306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL19, .value_a = 0x0013, .value_g = 0x0013, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 20962306a36Sopenharmony_ci /* { .offset = B2062_S_RFPLL_CTL20, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 21062306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL21, .value_a = 0x0062, .value_g = 0x0062, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 21162306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL22, .value_a = 0x0007, .value_g = 0x0007, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 21262306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL23, .value_a = 0x0016, .value_g = 0x0016, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 21362306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL24, .value_a = 0x005C, .value_g = 0x005C, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 21462306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL25, .value_a = 0x0095, .value_g = 0x0095, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 21562306a36Sopenharmony_ci /* { .offset = B2062_S_RFPLL_CTL26, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 21662306a36Sopenharmony_ci /* { .offset = B2062_S_RFPLL_CTL27, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 21762306a36Sopenharmony_ci /* { .offset = B2062_S_RFPLL_CTL28, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 21862306a36Sopenharmony_ci /* { .offset = B2062_S_RFPLL_CTL29, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 21962306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL30, .value_a = 0x00A0, .value_g = 0x00A0, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 22062306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL31, .value_a = 0x0004, .value_g = 0x0004, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 22162306a36Sopenharmony_ci /* { .offset = B2062_S_RFPLL_CTL32, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 22262306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL33, .value_a = 0x00CC, .value_g = 0x00CC, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 22362306a36Sopenharmony_ci { .offset = B2062_S_RFPLL_CTL34, .value_a = 0x0007, .value_g = 0x0007, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 22462306a36Sopenharmony_ci /* { .offset = B2062_S_RXG_CNT0, .value_a = 0x0010, .value_g = 0x0010, .flags = 0, }, */ 22562306a36Sopenharmony_ci /* { .offset = B2062_S_RXG_CNT1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 22662306a36Sopenharmony_ci /* { .offset = B2062_S_RXG_CNT2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 22762306a36Sopenharmony_ci /* { .offset = B2062_S_RXG_CNT3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 22862306a36Sopenharmony_ci /* { .offset = B2062_S_RXG_CNT4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 22962306a36Sopenharmony_ci /* { .offset = B2062_S_RXG_CNT5, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */ 23062306a36Sopenharmony_ci /* { .offset = B2062_S_RXG_CNT6, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */ 23162306a36Sopenharmony_ci /* { .offset = B2062_S_RXG_CNT7, .value_a = 0x0005, .value_g = 0x0005, .flags = 0, }, */ 23262306a36Sopenharmony_ci { .offset = B2062_S_RXG_CNT8, .value_a = 0x000F, .value_g = 0x000F, .flags = B206X_FLAG_A, }, 23362306a36Sopenharmony_ci /* { .offset = B2062_S_RXG_CNT9, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 23462306a36Sopenharmony_ci /* { .offset = B2062_S_RXG_CNT10, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */ 23562306a36Sopenharmony_ci /* { .offset = B2062_S_RXG_CNT11, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */ 23662306a36Sopenharmony_ci /* { .offset = B2062_S_RXG_CNT12, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */ 23762306a36Sopenharmony_ci /* { .offset = B2062_S_RXG_CNT13, .value_a = 0x0044, .value_g = 0x0044, .flags = 0, }, */ 23862306a36Sopenharmony_ci /* { .offset = B2062_S_RXG_CNT14, .value_a = 0x00A0, .value_g = 0x00A0, .flags = 0, }, */ 23962306a36Sopenharmony_ci /* { .offset = B2062_S_RXG_CNT15, .value_a = 0x0004, .value_g = 0x0004, .flags = 0, }, */ 24062306a36Sopenharmony_ci /* { .offset = B2062_S_RXG_CNT16, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 24162306a36Sopenharmony_ci /* { .offset = B2062_S_RXG_CNT17, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */ 24262306a36Sopenharmony_ci}; 24362306a36Sopenharmony_ci 24462306a36Sopenharmony_cistatic const struct b206x_init_tab_entry b2063_init_tab[] = { 24562306a36Sopenharmony_ci { .offset = B2063_COMM1, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, }, 24662306a36Sopenharmony_ci /* { .offset = B2063_COMM2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 24762306a36Sopenharmony_ci /* { .offset = B2063_COMM3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 24862306a36Sopenharmony_ci /* { .offset = B2063_COMM4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 24962306a36Sopenharmony_ci /* { .offset = B2063_COMM5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 25062306a36Sopenharmony_ci /* { .offset = B2063_COMM6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 25162306a36Sopenharmony_ci /* { .offset = B2063_COMM7, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 25262306a36Sopenharmony_ci /* { .offset = B2063_COMM8, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 25362306a36Sopenharmony_ci /* { .offset = B2063_COMM9, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 25462306a36Sopenharmony_ci { .offset = B2063_COMM10, .value_a = 0x0001, .value_g = 0x0000, .flags = B206X_FLAG_A, }, 25562306a36Sopenharmony_ci /* { .offset = B2063_COMM11, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 25662306a36Sopenharmony_ci /* { .offset = B2063_COMM12, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 25762306a36Sopenharmony_ci /* { .offset = B2063_COMM13, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 25862306a36Sopenharmony_ci /* { .offset = B2063_COMM14, .value_a = 0x0006, .value_g = 0x0006, .flags = 0, }, */ 25962306a36Sopenharmony_ci /* { .offset = B2063_COMM15, .value_a = 0x000f, .value_g = 0x000f, .flags = 0, }, */ 26062306a36Sopenharmony_ci { .offset = B2063_COMM16, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, }, 26162306a36Sopenharmony_ci { .offset = B2063_COMM17, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, }, 26262306a36Sopenharmony_ci { .offset = B2063_COMM18, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, }, 26362306a36Sopenharmony_ci { .offset = B2063_COMM19, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, }, 26462306a36Sopenharmony_ci { .offset = B2063_COMM20, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, }, 26562306a36Sopenharmony_ci { .offset = B2063_COMM21, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, }, 26662306a36Sopenharmony_ci { .offset = B2063_COMM22, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, }, 26762306a36Sopenharmony_ci { .offset = B2063_COMM23, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, }, 26862306a36Sopenharmony_ci { .offset = B2063_COMM24, .value_a = 0x0000, .value_g = 0x0000, .flags = B206X_FLAG_G, }, 26962306a36Sopenharmony_ci /* { .offset = B2063_PWR_SWITCH_CTL, .value_a = 0x007f, .value_g = 0x007f, .flags = 0, }, */ 27062306a36Sopenharmony_ci /* { .offset = B2063_PLL_SP1, .value_a = 0x003f, .value_g = 0x003f, .flags = 0, }, */ 27162306a36Sopenharmony_ci /* { .offset = B2063_PLL_SP2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 27262306a36Sopenharmony_ci { .offset = B2063_LOGEN_SP1, .value_a = 0x00e8, .value_g = 0x00d4, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 27362306a36Sopenharmony_ci { .offset = B2063_LOGEN_SP2, .value_a = 0x00a7, .value_g = 0x0053, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 27462306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_SP3, .value_a = 0x00ff, .value_g = 0x00ff, .flags = 0, }, */ 27562306a36Sopenharmony_ci { .offset = B2063_LOGEN_SP4, .value_a = 0x00f0, .value_g = 0x000f, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 27662306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_SP5, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */ 27762306a36Sopenharmony_ci { .offset = B2063_G_RX_SP1, .value_a = 0x001f, .value_g = 0x005e, .flags = B206X_FLAG_G, }, 27862306a36Sopenharmony_ci { .offset = B2063_G_RX_SP2, .value_a = 0x007f, .value_g = 0x007e, .flags = B206X_FLAG_G, }, 27962306a36Sopenharmony_ci { .offset = B2063_G_RX_SP3, .value_a = 0x0030, .value_g = 0x00f0, .flags = B206X_FLAG_G, }, 28062306a36Sopenharmony_ci /* { .offset = B2063_G_RX_SP4, .value_a = 0x0035, .value_g = 0x0035, .flags = 0, }, */ 28162306a36Sopenharmony_ci /* { .offset = B2063_G_RX_SP5, .value_a = 0x003f, .value_g = 0x003f, .flags = 0, }, */ 28262306a36Sopenharmony_ci /* { .offset = B2063_G_RX_SP6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 28362306a36Sopenharmony_ci { .offset = B2063_G_RX_SP7, .value_a = 0x007f, .value_g = 0x007f, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 28462306a36Sopenharmony_ci /* { .offset = B2063_G_RX_SP8, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 28562306a36Sopenharmony_ci /* { .offset = B2063_G_RX_SP9, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 28662306a36Sopenharmony_ci { .offset = B2063_G_RX_SP10, .value_a = 0x000c, .value_g = 0x000c, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 28762306a36Sopenharmony_ci /* { .offset = B2063_G_RX_SP11, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 28862306a36Sopenharmony_ci { .offset = B2063_A_RX_SP1, .value_a = 0x003c, .value_g = 0x003f, .flags = B206X_FLAG_A, }, 28962306a36Sopenharmony_ci { .offset = B2063_A_RX_SP2, .value_a = 0x00fc, .value_g = 0x00fe, .flags = B206X_FLAG_A, }, 29062306a36Sopenharmony_ci /* { .offset = B2063_A_RX_SP3, .value_a = 0x00ff, .value_g = 0x00ff, .flags = 0, }, */ 29162306a36Sopenharmony_ci /* { .offset = B2063_A_RX_SP4, .value_a = 0x00ff, .value_g = 0x00ff, .flags = 0, }, */ 29262306a36Sopenharmony_ci /* { .offset = B2063_A_RX_SP5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 29362306a36Sopenharmony_ci /* { .offset = B2063_A_RX_SP6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 29462306a36Sopenharmony_ci { .offset = B2063_A_RX_SP7, .value_a = 0x0008, .value_g = 0x0008, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 29562306a36Sopenharmony_ci /* { .offset = B2063_RX_BB_SP1, .value_a = 0x000f, .value_g = 0x000f, .flags = 0, }, */ 29662306a36Sopenharmony_ci /* { .offset = B2063_RX_BB_SP2, .value_a = 0x0022, .value_g = 0x0022, .flags = 0, }, */ 29762306a36Sopenharmony_ci /* { .offset = B2063_RX_BB_SP3, .value_a = 0x00a8, .value_g = 0x00a8, .flags = 0, }, */ 29862306a36Sopenharmony_ci { .offset = B2063_RX_BB_SP4, .value_a = 0x0060, .value_g = 0x0060, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 29962306a36Sopenharmony_ci /* { .offset = B2063_RX_BB_SP5, .value_a = 0x0011, .value_g = 0x0011, .flags = 0, }, */ 30062306a36Sopenharmony_ci /* { .offset = B2063_RX_BB_SP6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 30162306a36Sopenharmony_ci /* { .offset = B2063_RX_BB_SP7, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 30262306a36Sopenharmony_ci { .offset = B2063_RX_BB_SP8, .value_a = 0x0030, .value_g = 0x0030, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 30362306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_SP1, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */ 30462306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_SP2, .value_a = 0x0003, .value_g = 0x0003, .flags = 0, }, */ 30562306a36Sopenharmony_ci { .offset = B2063_TX_RF_SP3, .value_a = 0x000c, .value_g = 0x000b, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 30662306a36Sopenharmony_ci { .offset = B2063_TX_RF_SP4, .value_a = 0x0010, .value_g = 0x000f, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 30762306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_SP5, .value_a = 0x000f, .value_g = 0x000f, .flags = 0, }, */ 30862306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_SP6, .value_a = 0x0080, .value_g = 0x0080, .flags = 0, }, */ 30962306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_SP7, .value_a = 0x0068, .value_g = 0x0068, .flags = 0, }, */ 31062306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_SP8, .value_a = 0x0068, .value_g = 0x0068, .flags = 0, }, */ 31162306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_SP9, .value_a = 0x0080, .value_g = 0x0080, .flags = 0, }, */ 31262306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_SP10, .value_a = 0x00ff, .value_g = 0x00ff, .flags = 0, }, */ 31362306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_SP11, .value_a = 0x0003, .value_g = 0x0003, .flags = 0, }, */ 31462306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_SP12, .value_a = 0x0038, .value_g = 0x0038, .flags = 0, }, */ 31562306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_SP13, .value_a = 0x00ff, .value_g = 0x00ff, .flags = 0, }, */ 31662306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_SP14, .value_a = 0x0038, .value_g = 0x0038, .flags = 0, }, */ 31762306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_SP15, .value_a = 0x00c0, .value_g = 0x00c0, .flags = 0, }, */ 31862306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_SP16, .value_a = 0x00ff, .value_g = 0x00ff, .flags = 0, }, */ 31962306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_SP17, .value_a = 0x00ff, .value_g = 0x00ff, .flags = 0, }, */ 32062306a36Sopenharmony_ci { .offset = B2063_PA_SP1, .value_a = 0x003d, .value_g = 0x00fd, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 32162306a36Sopenharmony_ci /* { .offset = B2063_PA_SP2, .value_a = 0x000c, .value_g = 0x000c, .flags = 0, }, */ 32262306a36Sopenharmony_ci /* { .offset = B2063_PA_SP3, .value_a = 0x0096, .value_g = 0x0096, .flags = 0, }, */ 32362306a36Sopenharmony_ci /* { .offset = B2063_PA_SP4, .value_a = 0x005a, .value_g = 0x005a, .flags = 0, }, */ 32462306a36Sopenharmony_ci /* { .offset = B2063_PA_SP5, .value_a = 0x007f, .value_g = 0x007f, .flags = 0, }, */ 32562306a36Sopenharmony_ci /* { .offset = B2063_PA_SP6, .value_a = 0x007f, .value_g = 0x007f, .flags = 0, }, */ 32662306a36Sopenharmony_ci /* { .offset = B2063_PA_SP7, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */ 32762306a36Sopenharmony_ci { .offset = B2063_TX_BB_SP1, .value_a = 0x0002, .value_g = 0x0002, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 32862306a36Sopenharmony_ci /* { .offset = B2063_TX_BB_SP2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 32962306a36Sopenharmony_ci /* { .offset = B2063_TX_BB_SP3, .value_a = 0x0030, .value_g = 0x0030, .flags = 0, }, */ 33062306a36Sopenharmony_ci /* { .offset = B2063_REG_SP1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 33162306a36Sopenharmony_ci { .offset = B2063_BANDGAP_CTL1, .value_a = 0x0056, .value_g = 0x0056, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 33262306a36Sopenharmony_ci /* { .offset = B2063_BANDGAP_CTL2, .value_a = 0x0006, .value_g = 0x0006, .flags = 0, }, */ 33362306a36Sopenharmony_ci /* { .offset = B2063_LPO_CTL1, .value_a = 0x000e, .value_g = 0x000e, .flags = 0, }, */ 33462306a36Sopenharmony_ci /* { .offset = B2063_RC_CALIB_CTL1, .value_a = 0x007e, .value_g = 0x007e, .flags = 0, }, */ 33562306a36Sopenharmony_ci /* { .offset = B2063_RC_CALIB_CTL2, .value_a = 0x0015, .value_g = 0x0015, .flags = 0, }, */ 33662306a36Sopenharmony_ci /* { .offset = B2063_RC_CALIB_CTL3, .value_a = 0x000f, .value_g = 0x000f, .flags = 0, }, */ 33762306a36Sopenharmony_ci /* { .offset = B2063_RC_CALIB_CTL4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 33862306a36Sopenharmony_ci /* { .offset = B2063_RC_CALIB_CTL5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 33962306a36Sopenharmony_ci /* { .offset = B2063_RC_CALIB_CTL6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 34062306a36Sopenharmony_ci /* { .offset = B2063_RC_CALIB_CTL7, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 34162306a36Sopenharmony_ci /* { .offset = B2063_RC_CALIB_CTL8, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 34262306a36Sopenharmony_ci /* { .offset = B2063_RC_CALIB_CTL9, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 34362306a36Sopenharmony_ci /* { .offset = B2063_RC_CALIB_CTL10, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 34462306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_CALNRST, .value_a = 0x0004, .value_g = 0x0004, .flags = 0, }, */ 34562306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_IN_PLL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 34662306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_IN_PLL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 34762306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_CP1, .value_a = 0x00cf, .value_g = 0x00cf, .flags = 0, }, */ 34862306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_CP2, .value_a = 0x0059, .value_g = 0x0059, .flags = 0, }, */ 34962306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_CP3, .value_a = 0x0007, .value_g = 0x0007, .flags = 0, }, */ 35062306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_CP4, .value_a = 0x0042, .value_g = 0x0042, .flags = 0, }, */ 35162306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 35262306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_LF1, .value_a = 0x00db, .value_g = 0x00db, .flags = 0, }, */ 35362306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_LF2, .value_a = 0x0094, .value_g = 0x0094, .flags = 0, }, */ 35462306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_LF3, .value_a = 0x0028, .value_g = 0x0028, .flags = 0, }, */ 35562306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_LF4, .value_a = 0x0063, .value_g = 0x0063, .flags = 0, }, */ 35662306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_SG1, .value_a = 0x0007, .value_g = 0x0007, .flags = 0, }, */ 35762306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_SG2, .value_a = 0x00d3, .value_g = 0x00d3, .flags = 0, }, */ 35862306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_SG3, .value_a = 0x00b1, .value_g = 0x00b1, .flags = 0, }, */ 35962306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_SG4, .value_a = 0x003b, .value_g = 0x003b, .flags = 0, }, */ 36062306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_SG5, .value_a = 0x0006, .value_g = 0x0006, .flags = 0, }, */ 36162306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_VCO1, .value_a = 0x0058, .value_g = 0x0058, .flags = 0, }, */ 36262306a36Sopenharmony_ci { .offset = B2063_PLL_JTAG_PLL_VCO2, .value_a = 0x00f7, .value_g = 0x00f7, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 36362306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_VCO_CALIB1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 36462306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_VCO_CALIB2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 36562306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_VCO_CALIB3, .value_a = 0x0002, .value_g = 0x0002, .flags = 0, }, */ 36662306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_VCO_CALIB4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 36762306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_VCO_CALIB5, .value_a = 0x0009, .value_g = 0x0009, .flags = 0, }, */ 36862306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_VCO_CALIB6, .value_a = 0x0005, .value_g = 0x0005, .flags = 0, }, */ 36962306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_VCO_CALIB7, .value_a = 0x0016, .value_g = 0x0016, .flags = 0, }, */ 37062306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_VCO_CALIB8, .value_a = 0x006b, .value_g = 0x006b, .flags = 0, }, */ 37162306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_VCO_CALIB9, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 37262306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_VCO_CALIB10, .value_a = 0x00b3, .value_g = 0x00b3, .flags = 0, }, */ 37362306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_XTAL_12, .value_a = 0x0004, .value_g = 0x0004, .flags = 0, }, */ 37462306a36Sopenharmony_ci /* { .offset = B2063_PLL_JTAG_PLL_XTAL3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 37562306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_ACL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 37662306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_ACL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 37762306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_ACL3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 37862306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_ACL4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 37962306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_ACL5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 38062306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_INPUTS, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 38162306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 38262306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_CTL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 38362306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_CTL3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 38462306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_WAITCNT, .value_a = 0x0002, .value_g = 0x0002, .flags = 0, }, */ 38562306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_OVR1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 38662306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_OVR2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 38762306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_OVAL1, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */ 38862306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_OVAL2, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */ 38962306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_OVAL3, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */ 39062306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_OVAL4, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */ 39162306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_OVAL5, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */ 39262306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_OVAL6, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */ 39362306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_OVAL7, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */ 39462306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_CALVLD1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 39562306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_CALVLD2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 39662306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_CVAL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 39762306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_CVAL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 39862306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_CVAL3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 39962306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_CVAL4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 40062306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_CVAL5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 40162306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_CVAL6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 40262306a36Sopenharmony_ci /* { .offset = B2063_LO_CALIB_CVAL7, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 40362306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_CALIB_EN, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 40462306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_PEAKDET1, .value_a = 0x00ff, .value_g = 0x00ff, .flags = 0, }, */ 40562306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_RCCR1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 40662306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_VCOBUF1, .value_a = 0x0060, .value_g = 0x0060, .flags = 0, }, */ 40762306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_MIXER1, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */ 40862306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_MIXER2, .value_a = 0x000c, .value_g = 0x000c, .flags = 0, }, */ 40962306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_BUF1, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */ 41062306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_BUF2, .value_a = 0x000c, .value_g = 0x000c, .flags = 0, }, */ 41162306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_DIV1, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */ 41262306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_DIV2, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */ 41362306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_DIV3, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */ 41462306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_CBUFRX1, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */ 41562306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_CBUFRX2, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */ 41662306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_CBUFTX1, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */ 41762306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_CBUFTX2, .value_a = 0x0066, .value_g = 0x0066, .flags = 0, }, */ 41862306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_IDAC1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 41962306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_SPARE1, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */ 42062306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_SPARE2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 42162306a36Sopenharmony_ci /* { .offset = B2063_LOGEN_SPARE3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 42262306a36Sopenharmony_ci /* { .offset = B2063_G_RX_1ST1, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */ 42362306a36Sopenharmony_ci /* { .offset = B2063_G_RX_1ST2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 42462306a36Sopenharmony_ci /* { .offset = B2063_G_RX_1ST3, .value_a = 0x0005, .value_g = 0x0005, .flags = 0, }, */ 42562306a36Sopenharmony_ci /* { .offset = B2063_G_RX_2ND1, .value_a = 0x0030, .value_g = 0x0030, .flags = 0, }, */ 42662306a36Sopenharmony_ci /* { .offset = B2063_G_RX_2ND2, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */ 42762306a36Sopenharmony_ci /* { .offset = B2063_G_RX_2ND3, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */ 42862306a36Sopenharmony_ci /* { .offset = B2063_G_RX_2ND4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 42962306a36Sopenharmony_ci /* { .offset = B2063_G_RX_2ND5, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */ 43062306a36Sopenharmony_ci /* { .offset = B2063_G_RX_2ND6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 43162306a36Sopenharmony_ci /* { .offset = B2063_G_RX_2ND7, .value_a = 0x0035, .value_g = 0x0035, .flags = 0, }, */ 43262306a36Sopenharmony_ci /* { .offset = B2063_G_RX_2ND8, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 43362306a36Sopenharmony_ci /* { .offset = B2063_G_RX_PS1, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */ 43462306a36Sopenharmony_ci /* { .offset = B2063_G_RX_PS2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 43562306a36Sopenharmony_ci /* { .offset = B2063_G_RX_PS3, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */ 43662306a36Sopenharmony_ci /* { .offset = B2063_G_RX_PS4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 43762306a36Sopenharmony_ci /* { .offset = B2063_G_RX_PS5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 43862306a36Sopenharmony_ci /* { .offset = B2063_G_RX_MIX1, .value_a = 0x0044, .value_g = 0x0044, .flags = 0, }, */ 43962306a36Sopenharmony_ci /* { .offset = B2063_G_RX_MIX2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 44062306a36Sopenharmony_ci { .offset = B2063_G_RX_MIX3, .value_a = 0x0071, .value_g = 0x0071, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 44162306a36Sopenharmony_ci { .offset = B2063_G_RX_MIX4, .value_a = 0x0071, .value_g = 0x0071, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 44262306a36Sopenharmony_ci /* { .offset = B2063_G_RX_MIX5, .value_a = 0x0003, .value_g = 0x0003, .flags = 0, }, */ 44362306a36Sopenharmony_ci /* { .offset = B2063_G_RX_MIX6, .value_a = 0x0088, .value_g = 0x0088, .flags = 0, }, */ 44462306a36Sopenharmony_ci /* { .offset = B2063_G_RX_MIX7, .value_a = 0x0044, .value_g = 0x0044, .flags = 0, }, */ 44562306a36Sopenharmony_ci /* { .offset = B2063_G_RX_MIX8, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */ 44662306a36Sopenharmony_ci /* { .offset = B2063_G_RX_PDET1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 44762306a36Sopenharmony_ci /* { .offset = B2063_G_RX_SPARES1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 44862306a36Sopenharmony_ci /* { .offset = B2063_G_RX_SPARES2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 44962306a36Sopenharmony_ci /* { .offset = B2063_G_RX_SPARES3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 45062306a36Sopenharmony_ci /* { .offset = B2063_A_RX_1ST1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 45162306a36Sopenharmony_ci { .offset = B2063_A_RX_1ST2, .value_a = 0x00f0, .value_g = 0x0030, .flags = B206X_FLAG_A, }, 45262306a36Sopenharmony_ci /* { .offset = B2063_A_RX_1ST3, .value_a = 0x0005, .value_g = 0x0005, .flags = 0, }, */ 45362306a36Sopenharmony_ci /* { .offset = B2063_A_RX_1ST4, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */ 45462306a36Sopenharmony_ci /* { .offset = B2063_A_RX_1ST5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 45562306a36Sopenharmony_ci /* { .offset = B2063_A_RX_2ND1, .value_a = 0x0005, .value_g = 0x0005, .flags = 0, }, */ 45662306a36Sopenharmony_ci /* { .offset = B2063_A_RX_2ND2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 45762306a36Sopenharmony_ci /* { .offset = B2063_A_RX_2ND3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 45862306a36Sopenharmony_ci /* { .offset = B2063_A_RX_2ND4, .value_a = 0x0005, .value_g = 0x0005, .flags = 0, }, */ 45962306a36Sopenharmony_ci /* { .offset = B2063_A_RX_2ND5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 46062306a36Sopenharmony_ci /* { .offset = B2063_A_RX_2ND6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 46162306a36Sopenharmony_ci /* { .offset = B2063_A_RX_2ND7, .value_a = 0x0005, .value_g = 0x0005, .flags = 0, }, */ 46262306a36Sopenharmony_ci /* { .offset = B2063_A_RX_PS1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 46362306a36Sopenharmony_ci /* { .offset = B2063_A_RX_PS2, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */ 46462306a36Sopenharmony_ci /* { .offset = B2063_A_RX_PS3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 46562306a36Sopenharmony_ci /* { .offset = B2063_A_RX_PS4, .value_a = 0x0033, .value_g = 0x0033, .flags = 0, }, */ 46662306a36Sopenharmony_ci /* { .offset = B2063_A_RX_PS5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 46762306a36Sopenharmony_ci { .offset = B2063_A_RX_PS6, .value_a = 0x0077, .value_g = 0x0077, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 46862306a36Sopenharmony_ci /* { .offset = B2063_A_RX_MIX1, .value_a = 0x0088, .value_g = 0x0088, .flags = 0, }, */ 46962306a36Sopenharmony_ci /* { .offset = B2063_A_RX_MIX2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 47062306a36Sopenharmony_ci /* { .offset = B2063_A_RX_MIX3, .value_a = 0x0044, .value_g = 0x0044, .flags = 0, }, */ 47162306a36Sopenharmony_ci { .offset = B2063_A_RX_MIX4, .value_a = 0x0003, .value_g = 0x0003, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 47262306a36Sopenharmony_ci { .offset = B2063_A_RX_MIX5, .value_a = 0x000f, .value_g = 0x000f, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 47362306a36Sopenharmony_ci { .offset = B2063_A_RX_MIX6, .value_a = 0x000f, .value_g = 0x000f, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 47462306a36Sopenharmony_ci /* { .offset = B2063_A_RX_MIX7, .value_a = 0x0044, .value_g = 0x0044, .flags = 0, }, */ 47562306a36Sopenharmony_ci /* { .offset = B2063_A_RX_MIX8, .value_a = 0x0001, .value_g = 0x0001, .flags = 0, }, */ 47662306a36Sopenharmony_ci /* { .offset = B2063_A_RX_PWRDET1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 47762306a36Sopenharmony_ci /* { .offset = B2063_A_RX_SPARE1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 47862306a36Sopenharmony_ci /* { .offset = B2063_A_RX_SPARE2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 47962306a36Sopenharmony_ci /* { .offset = B2063_A_RX_SPARE3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 48062306a36Sopenharmony_ci { .offset = B2063_RX_TIA_CTL1, .value_a = 0x0077, .value_g = 0x0077, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 48162306a36Sopenharmony_ci /* { .offset = B2063_RX_TIA_CTL2, .value_a = 0x0058, .value_g = 0x0058, .flags = 0, }, */ 48262306a36Sopenharmony_ci { .offset = B2063_RX_TIA_CTL3, .value_a = 0x0077, .value_g = 0x0077, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 48362306a36Sopenharmony_ci /* { .offset = B2063_RX_TIA_CTL4, .value_a = 0x0058, .value_g = 0x0058, .flags = 0, }, */ 48462306a36Sopenharmony_ci /* { .offset = B2063_RX_TIA_CTL5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 48562306a36Sopenharmony_ci /* { .offset = B2063_RX_TIA_CTL6, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 48662306a36Sopenharmony_ci /* { .offset = B2063_RX_BB_CTL1, .value_a = 0x0074, .value_g = 0x0074, .flags = 0, }, */ 48762306a36Sopenharmony_ci { .offset = B2063_RX_BB_CTL2, .value_a = 0x0004, .value_g = 0x0004, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 48862306a36Sopenharmony_ci /* { .offset = B2063_RX_BB_CTL3, .value_a = 0x00a2, .value_g = 0x00a2, .flags = 0, }, */ 48962306a36Sopenharmony_ci /* { .offset = B2063_RX_BB_CTL4, .value_a = 0x00aa, .value_g = 0x00aa, .flags = 0, }, */ 49062306a36Sopenharmony_ci /* { .offset = B2063_RX_BB_CTL5, .value_a = 0x0024, .value_g = 0x0024, .flags = 0, }, */ 49162306a36Sopenharmony_ci /* { .offset = B2063_RX_BB_CTL6, .value_a = 0x00a9, .value_g = 0x00a9, .flags = 0, }, */ 49262306a36Sopenharmony_ci /* { .offset = B2063_RX_BB_CTL7, .value_a = 0x0028, .value_g = 0x0028, .flags = 0, }, */ 49362306a36Sopenharmony_ci /* { .offset = B2063_RX_BB_CTL8, .value_a = 0x0010, .value_g = 0x0010, .flags = 0, }, */ 49462306a36Sopenharmony_ci /* { .offset = B2063_RX_BB_CTL9, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */ 49562306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_CTL1, .value_a = 0x0080, .value_g = 0x0080, .flags = 0, }, */ 49662306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_IDAC_LO_RF_I, .value_a = 0x0088, .value_g = 0x0088, .flags = 0, }, */ 49762306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_IDAC_LO_RF_Q, .value_a = 0x0088, .value_g = 0x0088, .flags = 0, }, */ 49862306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_IDAC_LO_BB_I, .value_a = 0x0088, .value_g = 0x0088, .flags = 0, }, */ 49962306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_IDAC_LO_BB_Q, .value_a = 0x0088, .value_g = 0x0088, .flags = 0, }, */ 50062306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_CTL2, .value_a = 0x0080, .value_g = 0x0080, .flags = 0, }, */ 50162306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_CTL3, .value_a = 0x0038, .value_g = 0x0038, .flags = 0, }, */ 50262306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_CTL4, .value_a = 0x00b8, .value_g = 0x00b8, .flags = 0, }, */ 50362306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_CTL5, .value_a = 0x0080, .value_g = 0x0080, .flags = 0, }, */ 50462306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_CTL6, .value_a = 0x0038, .value_g = 0x0038, .flags = 0, }, */ 50562306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_CTL7, .value_a = 0x0078, .value_g = 0x0078, .flags = 0, }, */ 50662306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_CTL8, .value_a = 0x00c0, .value_g = 0x00c0, .flags = 0, }, */ 50762306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_CTL9, .value_a = 0x0003, .value_g = 0x0003, .flags = 0, }, */ 50862306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_CTL10, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 50962306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_CTL14, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 51062306a36Sopenharmony_ci /* { .offset = B2063_TX_RF_CTL15, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 51162306a36Sopenharmony_ci { .offset = B2063_PA_CTL1, .value_a = 0x0000, .value_g = 0x0004, .flags = B206X_FLAG_A, }, 51262306a36Sopenharmony_ci /* { .offset = B2063_PA_CTL2, .value_a = 0x000c, .value_g = 0x000c, .flags = 0, }, */ 51362306a36Sopenharmony_ci /* { .offset = B2063_PA_CTL3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 51462306a36Sopenharmony_ci /* { .offset = B2063_PA_CTL4, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 51562306a36Sopenharmony_ci /* { .offset = B2063_PA_CTL5, .value_a = 0x0096, .value_g = 0x0096, .flags = 0, }, */ 51662306a36Sopenharmony_ci /* { .offset = B2063_PA_CTL6, .value_a = 0x0077, .value_g = 0x0077, .flags = 0, }, */ 51762306a36Sopenharmony_ci /* { .offset = B2063_PA_CTL7, .value_a = 0x005a, .value_g = 0x005a, .flags = 0, }, */ 51862306a36Sopenharmony_ci /* { .offset = B2063_PA_CTL8, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 51962306a36Sopenharmony_ci /* { .offset = B2063_PA_CTL9, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 52062306a36Sopenharmony_ci /* { .offset = B2063_PA_CTL10, .value_a = 0x0021, .value_g = 0x0021, .flags = 0, }, */ 52162306a36Sopenharmony_ci /* { .offset = B2063_PA_CTL11, .value_a = 0x0070, .value_g = 0x0070, .flags = 0, }, */ 52262306a36Sopenharmony_ci /* { .offset = B2063_PA_CTL12, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 52362306a36Sopenharmony_ci /* { .offset = B2063_PA_CTL13, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 52462306a36Sopenharmony_ci /* { .offset = B2063_TX_BB_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 52562306a36Sopenharmony_ci /* { .offset = B2063_TX_BB_CTL2, .value_a = 0x00b3, .value_g = 0x00b3, .flags = 0, }, */ 52662306a36Sopenharmony_ci /* { .offset = B2063_TX_BB_CTL3, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */ 52762306a36Sopenharmony_ci /* { .offset = B2063_TX_BB_CTL4, .value_a = 0x000b, .value_g = 0x000b, .flags = 0, }, */ 52862306a36Sopenharmony_ci /* { .offset = B2063_GPIO_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 52962306a36Sopenharmony_ci { .offset = B2063_VREG_CTL1, .value_a = 0x0003, .value_g = 0x0003, .flags = B206X_FLAG_A | B206X_FLAG_G, }, 53062306a36Sopenharmony_ci /* { .offset = B2063_AMUX_CTL1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 53162306a36Sopenharmony_ci /* { .offset = B2063_IQ_CALIB_GVAR, .value_a = 0x00b3, .value_g = 0x00b3, .flags = 0, }, */ 53262306a36Sopenharmony_ci /* { .offset = B2063_IQ_CALIB_CTL1, .value_a = 0x0055, .value_g = 0x0055, .flags = 0, }, */ 53362306a36Sopenharmony_ci /* { .offset = B2063_IQ_CALIB_CTL2, .value_a = 0x0030, .value_g = 0x0030, .flags = 0, }, */ 53462306a36Sopenharmony_ci /* { .offset = B2063_TEMPSENSE_CTL1, .value_a = 0x0046, .value_g = 0x0046, .flags = 0, }, */ 53562306a36Sopenharmony_ci /* { .offset = B2063_TEMPSENSE_CTL2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 53662306a36Sopenharmony_ci /* { .offset = B2063_TX_RX_LOOPBACK1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 53762306a36Sopenharmony_ci /* { .offset = B2063_TX_RX_LOOPBACK2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 53862306a36Sopenharmony_ci /* { .offset = B2063_EXT_TSSI_CTL1, .value_a = 0x0021, .value_g = 0x0021, .flags = 0, }, */ 53962306a36Sopenharmony_ci /* { .offset = B2063_EXT_TSSI_CTL2, .value_a = 0x0023, .value_g = 0x0023, .flags = 0, }, */ 54062306a36Sopenharmony_ci /* { .offset = B2063_AFE_CTL , .value_a = 0x0002, .value_g = 0x0002, .flags = 0, }, */ 54162306a36Sopenharmony_ci}; 54262306a36Sopenharmony_ci 54362306a36Sopenharmony_civoid b2062_upload_init_table(struct b43_wldev *dev) 54462306a36Sopenharmony_ci{ 54562306a36Sopenharmony_ci const struct b206x_init_tab_entry *e; 54662306a36Sopenharmony_ci unsigned int i; 54762306a36Sopenharmony_ci 54862306a36Sopenharmony_ci for (i = 0; i < ARRAY_SIZE(b2062_init_tab); i++) { 54962306a36Sopenharmony_ci e = &b2062_init_tab[i]; 55062306a36Sopenharmony_ci if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) { 55162306a36Sopenharmony_ci if (!(e->flags & B206X_FLAG_G)) 55262306a36Sopenharmony_ci continue; 55362306a36Sopenharmony_ci b43_radio_write(dev, e->offset, e->value_g); 55462306a36Sopenharmony_ci } else { 55562306a36Sopenharmony_ci if (!(e->flags & B206X_FLAG_A)) 55662306a36Sopenharmony_ci continue; 55762306a36Sopenharmony_ci b43_radio_write(dev, e->offset, e->value_a); 55862306a36Sopenharmony_ci } 55962306a36Sopenharmony_ci } 56062306a36Sopenharmony_ci} 56162306a36Sopenharmony_ci 56262306a36Sopenharmony_civoid b2063_upload_init_table(struct b43_wldev *dev) 56362306a36Sopenharmony_ci{ 56462306a36Sopenharmony_ci const struct b206x_init_tab_entry *e; 56562306a36Sopenharmony_ci unsigned int i; 56662306a36Sopenharmony_ci 56762306a36Sopenharmony_ci for (i = 0; i < ARRAY_SIZE(b2063_init_tab); i++) { 56862306a36Sopenharmony_ci e = &b2063_init_tab[i]; 56962306a36Sopenharmony_ci if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) { 57062306a36Sopenharmony_ci if (!(e->flags & B206X_FLAG_G)) 57162306a36Sopenharmony_ci continue; 57262306a36Sopenharmony_ci b43_radio_write(dev, e->offset, e->value_g); 57362306a36Sopenharmony_ci } else { 57462306a36Sopenharmony_ci if (!(e->flags & B206X_FLAG_A)) 57562306a36Sopenharmony_ci continue; 57662306a36Sopenharmony_ci b43_radio_write(dev, e->offset, e->value_a); 57762306a36Sopenharmony_ci } 57862306a36Sopenharmony_ci } 57962306a36Sopenharmony_ci} 58062306a36Sopenharmony_ci 58162306a36Sopenharmony_ciu32 b43_lptab_read(struct b43_wldev *dev, u32 offset) 58262306a36Sopenharmony_ci{ 58362306a36Sopenharmony_ci u32 type, value; 58462306a36Sopenharmony_ci 58562306a36Sopenharmony_ci type = offset & B43_LPTAB_TYPEMASK; 58662306a36Sopenharmony_ci offset &= ~B43_LPTAB_TYPEMASK; 58762306a36Sopenharmony_ci B43_WARN_ON(offset > 0xFFFF); 58862306a36Sopenharmony_ci 58962306a36Sopenharmony_ci switch (type) { 59062306a36Sopenharmony_ci case B43_LPTAB_8BIT: 59162306a36Sopenharmony_ci b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset); 59262306a36Sopenharmony_ci value = b43_phy_read(dev, B43_LPPHY_TABLEDATALO) & 0xFF; 59362306a36Sopenharmony_ci break; 59462306a36Sopenharmony_ci case B43_LPTAB_16BIT: 59562306a36Sopenharmony_ci b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset); 59662306a36Sopenharmony_ci value = b43_phy_read(dev, B43_LPPHY_TABLEDATALO); 59762306a36Sopenharmony_ci break; 59862306a36Sopenharmony_ci case B43_LPTAB_32BIT: 59962306a36Sopenharmony_ci b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset); 60062306a36Sopenharmony_ci value = b43_phy_read(dev, B43_LPPHY_TABLEDATAHI); 60162306a36Sopenharmony_ci value <<= 16; 60262306a36Sopenharmony_ci value |= b43_phy_read(dev, B43_LPPHY_TABLEDATALO); 60362306a36Sopenharmony_ci break; 60462306a36Sopenharmony_ci default: 60562306a36Sopenharmony_ci B43_WARN_ON(1); 60662306a36Sopenharmony_ci value = 0; 60762306a36Sopenharmony_ci } 60862306a36Sopenharmony_ci 60962306a36Sopenharmony_ci return value; 61062306a36Sopenharmony_ci} 61162306a36Sopenharmony_ci 61262306a36Sopenharmony_civoid b43_lptab_read_bulk(struct b43_wldev *dev, u32 offset, 61362306a36Sopenharmony_ci unsigned int nr_elements, void *_data) 61462306a36Sopenharmony_ci{ 61562306a36Sopenharmony_ci u32 type; 61662306a36Sopenharmony_ci u8 *data = _data; 61762306a36Sopenharmony_ci unsigned int i; 61862306a36Sopenharmony_ci 61962306a36Sopenharmony_ci type = offset & B43_LPTAB_TYPEMASK; 62062306a36Sopenharmony_ci offset &= ~B43_LPTAB_TYPEMASK; 62162306a36Sopenharmony_ci B43_WARN_ON(offset > 0xFFFF); 62262306a36Sopenharmony_ci 62362306a36Sopenharmony_ci b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset); 62462306a36Sopenharmony_ci 62562306a36Sopenharmony_ci for (i = 0; i < nr_elements; i++) { 62662306a36Sopenharmony_ci switch (type) { 62762306a36Sopenharmony_ci case B43_LPTAB_8BIT: 62862306a36Sopenharmony_ci *data = b43_phy_read(dev, B43_LPPHY_TABLEDATALO) & 0xFF; 62962306a36Sopenharmony_ci data++; 63062306a36Sopenharmony_ci break; 63162306a36Sopenharmony_ci case B43_LPTAB_16BIT: 63262306a36Sopenharmony_ci *((u16 *)data) = b43_phy_read(dev, B43_LPPHY_TABLEDATALO); 63362306a36Sopenharmony_ci data += 2; 63462306a36Sopenharmony_ci break; 63562306a36Sopenharmony_ci case B43_LPTAB_32BIT: 63662306a36Sopenharmony_ci *((u32 *)data) = b43_phy_read(dev, B43_LPPHY_TABLEDATAHI); 63762306a36Sopenharmony_ci *((u32 *)data) <<= 16; 63862306a36Sopenharmony_ci *((u32 *)data) |= b43_phy_read(dev, B43_LPPHY_TABLEDATALO); 63962306a36Sopenharmony_ci data += 4; 64062306a36Sopenharmony_ci break; 64162306a36Sopenharmony_ci default: 64262306a36Sopenharmony_ci B43_WARN_ON(1); 64362306a36Sopenharmony_ci } 64462306a36Sopenharmony_ci } 64562306a36Sopenharmony_ci} 64662306a36Sopenharmony_ci 64762306a36Sopenharmony_civoid b43_lptab_write(struct b43_wldev *dev, u32 offset, u32 value) 64862306a36Sopenharmony_ci{ 64962306a36Sopenharmony_ci u32 type; 65062306a36Sopenharmony_ci 65162306a36Sopenharmony_ci type = offset & B43_LPTAB_TYPEMASK; 65262306a36Sopenharmony_ci offset &= ~B43_LPTAB_TYPEMASK; 65362306a36Sopenharmony_ci B43_WARN_ON(offset > 0xFFFF); 65462306a36Sopenharmony_ci 65562306a36Sopenharmony_ci switch (type) { 65662306a36Sopenharmony_ci case B43_LPTAB_8BIT: 65762306a36Sopenharmony_ci B43_WARN_ON(value & ~0xFF); 65862306a36Sopenharmony_ci b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset); 65962306a36Sopenharmony_ci b43_phy_write(dev, B43_LPPHY_TABLEDATALO, value); 66062306a36Sopenharmony_ci break; 66162306a36Sopenharmony_ci case B43_LPTAB_16BIT: 66262306a36Sopenharmony_ci B43_WARN_ON(value & ~0xFFFF); 66362306a36Sopenharmony_ci b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset); 66462306a36Sopenharmony_ci b43_phy_write(dev, B43_LPPHY_TABLEDATALO, value); 66562306a36Sopenharmony_ci break; 66662306a36Sopenharmony_ci case B43_LPTAB_32BIT: 66762306a36Sopenharmony_ci b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset); 66862306a36Sopenharmony_ci b43_phy_write(dev, B43_LPPHY_TABLEDATAHI, value >> 16); 66962306a36Sopenharmony_ci b43_phy_write(dev, B43_LPPHY_TABLEDATALO, value); 67062306a36Sopenharmony_ci break; 67162306a36Sopenharmony_ci default: 67262306a36Sopenharmony_ci B43_WARN_ON(1); 67362306a36Sopenharmony_ci } 67462306a36Sopenharmony_ci} 67562306a36Sopenharmony_ci 67662306a36Sopenharmony_civoid b43_lptab_write_bulk(struct b43_wldev *dev, u32 offset, 67762306a36Sopenharmony_ci unsigned int nr_elements, const void *_data) 67862306a36Sopenharmony_ci{ 67962306a36Sopenharmony_ci u32 type, value; 68062306a36Sopenharmony_ci const u8 *data = _data; 68162306a36Sopenharmony_ci unsigned int i; 68262306a36Sopenharmony_ci 68362306a36Sopenharmony_ci type = offset & B43_LPTAB_TYPEMASK; 68462306a36Sopenharmony_ci offset &= ~B43_LPTAB_TYPEMASK; 68562306a36Sopenharmony_ci B43_WARN_ON(offset > 0xFFFF); 68662306a36Sopenharmony_ci 68762306a36Sopenharmony_ci b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset); 68862306a36Sopenharmony_ci 68962306a36Sopenharmony_ci for (i = 0; i < nr_elements; i++) { 69062306a36Sopenharmony_ci switch (type) { 69162306a36Sopenharmony_ci case B43_LPTAB_8BIT: 69262306a36Sopenharmony_ci value = *data; 69362306a36Sopenharmony_ci data++; 69462306a36Sopenharmony_ci B43_WARN_ON(value & ~0xFF); 69562306a36Sopenharmony_ci b43_phy_write(dev, B43_LPPHY_TABLEDATALO, value); 69662306a36Sopenharmony_ci break; 69762306a36Sopenharmony_ci case B43_LPTAB_16BIT: 69862306a36Sopenharmony_ci value = *((u16 *)data); 69962306a36Sopenharmony_ci data += 2; 70062306a36Sopenharmony_ci B43_WARN_ON(value & ~0xFFFF); 70162306a36Sopenharmony_ci b43_phy_write(dev, B43_LPPHY_TABLEDATALO, value); 70262306a36Sopenharmony_ci break; 70362306a36Sopenharmony_ci case B43_LPTAB_32BIT: 70462306a36Sopenharmony_ci value = *((u32 *)data); 70562306a36Sopenharmony_ci data += 4; 70662306a36Sopenharmony_ci b43_phy_write(dev, B43_LPPHY_TABLEDATAHI, value >> 16); 70762306a36Sopenharmony_ci b43_phy_write(dev, B43_LPPHY_TABLEDATALO, value); 70862306a36Sopenharmony_ci break; 70962306a36Sopenharmony_ci default: 71062306a36Sopenharmony_ci B43_WARN_ON(1); 71162306a36Sopenharmony_ci } 71262306a36Sopenharmony_ci } 71362306a36Sopenharmony_ci} 71462306a36Sopenharmony_ci 71562306a36Sopenharmony_cistatic const u8 lpphy_min_sig_sq_table[] = { 71662306a36Sopenharmony_ci 0xde, 0xdc, 0xda, 0xd8, 0xd6, 0xd4, 0xd2, 0xcf, 0xcd, 71762306a36Sopenharmony_ci 0xca, 0xc7, 0xc4, 0xc1, 0xbe, 0xbe, 0xbe, 0xbe, 0xbe, 71862306a36Sopenharmony_ci 0xbe, 0xbe, 0xbe, 0xbe, 0xbe, 0xbe, 0xbe, 0xbe, 0x00, 71962306a36Sopenharmony_ci 0xbe, 0xbe, 0xbe, 0xbe, 0xbe, 0xbe, 0xbe, 0xbe, 0xbe, 72062306a36Sopenharmony_ci 0xbe, 0xbe, 0xbe, 0xbe, 0xc1, 0xc4, 0xc7, 0xca, 0xcd, 72162306a36Sopenharmony_ci 0xcf, 0xd2, 0xd4, 0xd6, 0xd8, 0xda, 0xdc, 0xde, 72262306a36Sopenharmony_ci}; 72362306a36Sopenharmony_ci 72462306a36Sopenharmony_cistatic const u16 lpphy_rev01_noise_scale_table[] = { 72562306a36Sopenharmony_ci 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 72662306a36Sopenharmony_ci 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0xa400, 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 72762306a36Sopenharmony_ci 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0xa4a4, 0x00a4, 72862306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x4c00, 0x2d36, 72962306a36Sopenharmony_ci 0x0000, 0x0000, 0x4c00, 0x2d36, 73062306a36Sopenharmony_ci}; 73162306a36Sopenharmony_ci 73262306a36Sopenharmony_cistatic const u16 lpphy_rev2plus_noise_scale_table[] = { 73362306a36Sopenharmony_ci 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 73462306a36Sopenharmony_ci 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 73562306a36Sopenharmony_ci 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x0000, 73662306a36Sopenharmony_ci 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 73762306a36Sopenharmony_ci 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 73862306a36Sopenharmony_ci 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 0x00a4, 73962306a36Sopenharmony_ci 0x00a4, 74062306a36Sopenharmony_ci}; 74162306a36Sopenharmony_ci 74262306a36Sopenharmony_cistatic const u16 lpphy_crs_gain_nft_table[] = { 74362306a36Sopenharmony_ci 0x0366, 0x036a, 0x036f, 0x0364, 0x0367, 0x036d, 0x0374, 0x037f, 0x036f, 74462306a36Sopenharmony_ci 0x037b, 0x038a, 0x0378, 0x0367, 0x036d, 0x0375, 0x0381, 0x0374, 0x0381, 74562306a36Sopenharmony_ci 0x0392, 0x03a9, 0x03c4, 0x03e1, 0x0001, 0x001f, 0x0040, 0x005e, 0x007f, 74662306a36Sopenharmony_ci 0x009e, 0x00bd, 0x00dd, 0x00fd, 0x011d, 0x013d, 74762306a36Sopenharmony_ci}; 74862306a36Sopenharmony_ci 74962306a36Sopenharmony_cistatic const u16 lpphy_rev01_filter_control_table[] = { 75062306a36Sopenharmony_ci 0xa0fc, 0x10fc, 0x10db, 0x20b7, 0xff93, 0x10bf, 0x109b, 0x2077, 0xff53, 75162306a36Sopenharmony_ci 0x0127, 75262306a36Sopenharmony_ci}; 75362306a36Sopenharmony_ci 75462306a36Sopenharmony_cistatic const u32 lpphy_rev2plus_filter_control_table[] = { 75562306a36Sopenharmony_ci 0x000141fc, 0x000021fc, 0x000021b7, 0x0000416f, 0x0001ff27, 0x0000217f, 75662306a36Sopenharmony_ci 0x00002137, 0x000040ef, 0x0001fea7, 0x0000024f, 75762306a36Sopenharmony_ci}; 75862306a36Sopenharmony_ci 75962306a36Sopenharmony_cistatic const u32 lpphy_rev01_ps_control_table[] = { 76062306a36Sopenharmony_ci 0x00010000, 0x000000a0, 0x00040000, 0x00000048, 0x08080101, 0x00000080, 76162306a36Sopenharmony_ci 0x08080101, 0x00000040, 0x08080101, 0x000000c0, 0x08a81501, 0x000000c0, 76262306a36Sopenharmony_ci 0x0fe8fd01, 0x000000c0, 0x08300105, 0x000000c0, 0x08080201, 0x000000c0, 76362306a36Sopenharmony_ci 0x08280205, 0x000000c0, 0xe80802fe, 0x000000c7, 0x28080206, 0x000000c0, 76462306a36Sopenharmony_ci 0x08080202, 0x000000c0, 0x0ba87602, 0x000000c0, 0x1068013d, 0x000000c0, 76562306a36Sopenharmony_ci 0x10280105, 0x000000c0, 0x08880102, 0x000000c0, 0x08280106, 0x000000c0, 76662306a36Sopenharmony_ci 0xe80801fd, 0x000000c7, 0xa8080115, 0x000000c0, 76762306a36Sopenharmony_ci}; 76862306a36Sopenharmony_ci 76962306a36Sopenharmony_cistatic const u32 lpphy_rev2plus_ps_control_table[] = { 77062306a36Sopenharmony_ci 0x00e38e08, 0x00e08e38, 0x00000000, 0x00000000, 0x00000000, 0x00002080, 77162306a36Sopenharmony_ci 0x00006180, 0x00003002, 0x00000040, 0x00002042, 0x00180047, 0x00080043, 77262306a36Sopenharmony_ci 0x00000041, 0x000020c1, 0x00046006, 0x00042002, 0x00040000, 0x00002003, 77362306a36Sopenharmony_ci 0x00180006, 0x00080002, 77462306a36Sopenharmony_ci}; 77562306a36Sopenharmony_ci 77662306a36Sopenharmony_cistatic const u8 lpphy_pll_fraction_table[] = { 77762306a36Sopenharmony_ci 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x80, 77862306a36Sopenharmony_ci 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 77962306a36Sopenharmony_ci}; 78062306a36Sopenharmony_ci 78162306a36Sopenharmony_cistatic const u16 lpphy_iqlo_cal_table[] = { 78262306a36Sopenharmony_ci 0x0200, 0x0300, 0x0400, 0x0600, 0x0800, 0x0b00, 0x1000, 0x1001, 0x1002, 78362306a36Sopenharmony_ci 0x1003, 0x1004, 0x1005, 0x1006, 0x1007, 0x1707, 0x2007, 0x2d07, 0x4007, 78462306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 78562306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0200, 0x0300, 0x0400, 0x0600, 78662306a36Sopenharmony_ci 0x0800, 0x0b00, 0x1000, 0x1001, 0x1002, 0x1003, 0x1004, 0x1005, 0x1006, 78762306a36Sopenharmony_ci 0x1007, 0x1707, 0x2007, 0x2d07, 0x4007, 0x0000, 0x0000, 0x0000, 0x0000, 78862306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 78962306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 79062306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 79162306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x4000, 0x0000, 0x0000, 79262306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 79362306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 79462306a36Sopenharmony_ci}; 79562306a36Sopenharmony_ci 79662306a36Sopenharmony_cistatic const u16 lpphy_rev0_ofdm_cck_gain_table[] = { 79762306a36Sopenharmony_ci 0x0001, 0x0001, 0x0001, 0x0001, 0x1001, 0x2001, 0x3001, 0x4001, 0x5001, 79862306a36Sopenharmony_ci 0x6001, 0x7001, 0x7011, 0x7021, 0x2035, 0x2045, 0x2055, 0x2065, 0x2075, 79962306a36Sopenharmony_ci 0x006d, 0x007d, 0x014d, 0x015d, 0x115d, 0x035d, 0x135d, 0x055d, 0x155d, 80062306a36Sopenharmony_ci 0x0d5d, 0x1d5d, 0x2d5d, 0x555d, 0x655d, 0x755d, 80162306a36Sopenharmony_ci}; 80262306a36Sopenharmony_ci 80362306a36Sopenharmony_cistatic const u16 lpphy_rev1_ofdm_cck_gain_table[] = { 80462306a36Sopenharmony_ci 0x5000, 0x6000, 0x7000, 0x0001, 0x1001, 0x2001, 0x3001, 0x4001, 0x5001, 80562306a36Sopenharmony_ci 0x6001, 0x7001, 0x7011, 0x7021, 0x2035, 0x2045, 0x2055, 0x2065, 0x2075, 80662306a36Sopenharmony_ci 0x006d, 0x007d, 0x014d, 0x015d, 0x115d, 0x035d, 0x135d, 0x055d, 0x155d, 80762306a36Sopenharmony_ci 0x0d5d, 0x1d5d, 0x2d5d, 0x555d, 0x655d, 0x755d, 80862306a36Sopenharmony_ci}; 80962306a36Sopenharmony_ci 81062306a36Sopenharmony_cistatic const u16 lpphy_gain_delta_table[] = { 81162306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 81262306a36Sopenharmony_ci}; 81362306a36Sopenharmony_ci 81462306a36Sopenharmony_cistatic const u32 lpphy_tx_power_control_table[] = { 81562306a36Sopenharmony_ci 0x00000050, 0x0000004f, 0x0000004e, 0x0000004d, 0x0000004c, 0x0000004b, 81662306a36Sopenharmony_ci 0x0000004a, 0x00000049, 0x00000048, 0x00000047, 0x00000046, 0x00000045, 81762306a36Sopenharmony_ci 0x00000044, 0x00000043, 0x00000042, 0x00000041, 0x00000040, 0x0000003f, 81862306a36Sopenharmony_ci 0x0000003e, 0x0000003d, 0x0000003c, 0x0000003b, 0x0000003a, 0x00000039, 81962306a36Sopenharmony_ci 0x00000038, 0x00000037, 0x00000036, 0x00000035, 0x00000034, 0x00000033, 82062306a36Sopenharmony_ci 0x00000032, 0x00000031, 0x00000030, 0x0000002f, 0x0000002e, 0x0000002d, 82162306a36Sopenharmony_ci 0x0000002c, 0x0000002b, 0x0000002a, 0x00000029, 0x00000028, 0x00000027, 82262306a36Sopenharmony_ci 0x00000026, 0x00000025, 0x00000024, 0x00000023, 0x00000022, 0x00000021, 82362306a36Sopenharmony_ci 0x00000020, 0x0000001f, 0x0000001e, 0x0000001d, 0x0000001c, 0x0000001b, 82462306a36Sopenharmony_ci 0x0000001a, 0x00000019, 0x00000018, 0x00000017, 0x00000016, 0x00000015, 82562306a36Sopenharmony_ci 0x00000014, 0x00000013, 0x00000012, 0x00000011, 0x00000000, 0x00000000, 82662306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 82762306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 82862306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 82962306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 83062306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 83162306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 83262306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 83362306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 83462306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 83562306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 83662306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 83762306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 83862306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 83962306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 84062306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 84162306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 84262306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 84362306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 84462306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 84562306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 84662306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 84762306a36Sopenharmony_ci 0x000075a0, 0x000075a0, 0x000075a1, 0x000075a1, 0x000075a2, 0x000075a2, 84862306a36Sopenharmony_ci 0x000075a3, 0x000075a3, 0x000074b0, 0x000074b0, 0x000074b1, 0x000074b1, 84962306a36Sopenharmony_ci 0x000074b2, 0x000074b2, 0x000074b3, 0x000074b3, 0x00006d20, 0x00006d20, 85062306a36Sopenharmony_ci 0x00006d21, 0x00006d21, 0x00006d22, 0x00006d22, 0x00006d23, 0x00006d23, 85162306a36Sopenharmony_ci 0x00004660, 0x00004660, 0x00004661, 0x00004661, 0x00004662, 0x00004662, 85262306a36Sopenharmony_ci 0x00004663, 0x00004663, 0x00003e60, 0x00003e60, 0x00003e61, 0x00003e61, 85362306a36Sopenharmony_ci 0x00003e62, 0x00003e62, 0x00003e63, 0x00003e63, 0x00003660, 0x00003660, 85462306a36Sopenharmony_ci 0x00003661, 0x00003661, 0x00003662, 0x00003662, 0x00003663, 0x00003663, 85562306a36Sopenharmony_ci 0x00002e60, 0x00002e60, 0x00002e61, 0x00002e61, 0x00002e62, 0x00002e62, 85662306a36Sopenharmony_ci 0x00002e63, 0x00002e63, 0x00002660, 0x00002660, 0x00002661, 0x00002661, 85762306a36Sopenharmony_ci 0x00002662, 0x00002662, 0x00002663, 0x00002663, 0x000025e0, 0x000025e0, 85862306a36Sopenharmony_ci 0x000025e1, 0x000025e1, 0x000025e2, 0x000025e2, 0x000025e3, 0x000025e3, 85962306a36Sopenharmony_ci 0x00001de0, 0x00001de0, 0x00001de1, 0x00001de1, 0x00001de2, 0x00001de2, 86062306a36Sopenharmony_ci 0x00001de3, 0x00001de3, 0x00001d60, 0x00001d60, 0x00001d61, 0x00001d61, 86162306a36Sopenharmony_ci 0x00001d62, 0x00001d62, 0x00001d63, 0x00001d63, 0x00001560, 0x00001560, 86262306a36Sopenharmony_ci 0x00001561, 0x00001561, 0x00001562, 0x00001562, 0x00001563, 0x00001563, 86362306a36Sopenharmony_ci 0x00000d60, 0x00000d60, 0x00000d61, 0x00000d61, 0x00000d62, 0x00000d62, 86462306a36Sopenharmony_ci 0x00000d63, 0x00000d63, 0x00000ce0, 0x00000ce0, 0x00000ce1, 0x00000ce1, 86562306a36Sopenharmony_ci 0x00000ce2, 0x00000ce2, 0x00000ce3, 0x00000ce3, 0x00000e10, 0x00000e10, 86662306a36Sopenharmony_ci 0x00000e11, 0x00000e11, 0x00000e12, 0x00000e12, 0x00000e13, 0x00000e13, 86762306a36Sopenharmony_ci 0x00000bf0, 0x00000bf0, 0x00000bf1, 0x00000bf1, 0x00000bf2, 0x00000bf2, 86862306a36Sopenharmony_ci 0x00000bf3, 0x00000bf3, 0x04200000, 0x04000000, 0x04200000, 0x04000000, 86962306a36Sopenharmony_ci 0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000, 87062306a36Sopenharmony_ci 0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000, 87162306a36Sopenharmony_ci 0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000, 87262306a36Sopenharmony_ci 0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000, 87362306a36Sopenharmony_ci 0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000, 87462306a36Sopenharmony_ci 0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000, 87562306a36Sopenharmony_ci 0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000, 87662306a36Sopenharmony_ci 0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000, 87762306a36Sopenharmony_ci 0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000, 87862306a36Sopenharmony_ci 0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000, 87962306a36Sopenharmony_ci 0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000, 88062306a36Sopenharmony_ci 0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000, 88162306a36Sopenharmony_ci 0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000, 88262306a36Sopenharmony_ci 0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000, 88362306a36Sopenharmony_ci 0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000, 88462306a36Sopenharmony_ci 0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000, 88562306a36Sopenharmony_ci 0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000, 88662306a36Sopenharmony_ci 0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000, 88762306a36Sopenharmony_ci 0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000, 88862306a36Sopenharmony_ci 0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x04200000, 0x04000000, 88962306a36Sopenharmony_ci 0x04200000, 0x04000000, 0x04200000, 0x04000000, 0x000000ff, 0x000002fc, 89062306a36Sopenharmony_ci 0x0000fa08, 0x00000305, 0x00000206, 0x00000304, 0x0000fb04, 0x0000fcff, 89162306a36Sopenharmony_ci 0x000005fb, 0x0000fd01, 0x00000401, 0x00000006, 0x0000ff03, 0x000007fc, 89262306a36Sopenharmony_ci 0x0000fc08, 0x00000203, 0x0000fffb, 0x00000600, 0x0000fa01, 0x0000fc03, 89362306a36Sopenharmony_ci 0x0000fe06, 0x0000fe00, 0x00000102, 0x000007fd, 0x000004fb, 0x000006ff, 89462306a36Sopenharmony_ci 0x000004fd, 0x0000fdfa, 0x000007fb, 0x0000fdfa, 0x0000fa06, 0x00000500, 89562306a36Sopenharmony_ci 0x0000f902, 0x000007fa, 0x0000fafa, 0x00000500, 0x000007fa, 0x00000700, 89662306a36Sopenharmony_ci 0x00000305, 0x000004ff, 0x00000801, 0x00000503, 0x000005f9, 0x00000404, 89762306a36Sopenharmony_ci 0x0000fb08, 0x000005fd, 0x00000501, 0x00000405, 0x0000fb03, 0x000007fc, 89862306a36Sopenharmony_ci 0x00000403, 0x00000303, 0x00000402, 0x0000faff, 0x0000fe05, 0x000005fd, 89962306a36Sopenharmony_ci 0x0000fe01, 0x000007fa, 0x00000202, 0x00000504, 0x00000102, 0x000008fe, 90062306a36Sopenharmony_ci 0x0000fa04, 0x0000fafc, 0x0000fe08, 0x000000f9, 0x000002fa, 0x000003fe, 90162306a36Sopenharmony_ci 0x00000304, 0x000004f9, 0x00000100, 0x0000fd06, 0x000008fc, 0x00000701, 90262306a36Sopenharmony_ci 0x00000504, 0x0000fdfe, 0x0000fdfc, 0x000003fe, 0x00000704, 0x000002fc, 90362306a36Sopenharmony_ci 0x000004f9, 0x0000fdfd, 0x0000fa07, 0x00000205, 0x000003fd, 0x000005fb, 90462306a36Sopenharmony_ci 0x000004f9, 0x00000804, 0x0000fc06, 0x0000fcf9, 0x00000100, 0x0000fe05, 90562306a36Sopenharmony_ci 0x00000408, 0x0000fb02, 0x00000304, 0x000006fe, 0x000004fa, 0x00000305, 90662306a36Sopenharmony_ci 0x000008fc, 0x00000102, 0x000001fd, 0x000004fc, 0x0000fe03, 0x00000701, 90762306a36Sopenharmony_ci 0x000001fb, 0x000001f9, 0x00000206, 0x000006fd, 0x00000508, 0x00000700, 90862306a36Sopenharmony_ci 0x00000304, 0x000005fe, 0x000005ff, 0x0000fa04, 0x00000303, 0x0000fefb, 90962306a36Sopenharmony_ci 0x000007f9, 0x0000fefc, 0x000004fd, 0x000005fc, 0x0000fffd, 0x0000fc08, 91062306a36Sopenharmony_ci 0x0000fbf9, 0x0000fd07, 0x000008fb, 0x0000fe02, 0x000006fb, 0x00000702, 91162306a36Sopenharmony_ci}; 91262306a36Sopenharmony_ci 91362306a36Sopenharmony_cistatic const u32 lpphy_gain_idx_table[] = { 91462306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 91562306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 91662306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 91762306a36Sopenharmony_ci 0x10000001, 0x00000000, 0x20000082, 0x00000000, 0x40000104, 0x00000000, 91862306a36Sopenharmony_ci 0x60004207, 0x00000001, 0x7000838a, 0x00000001, 0xd021050d, 0x00000001, 91962306a36Sopenharmony_ci 0xe041c683, 0x00000001, 0x50828805, 0x00000000, 0x80e34288, 0x00000000, 92062306a36Sopenharmony_ci 0xb144040b, 0x00000000, 0xe1a6058e, 0x00000000, 0x12064711, 0x00000001, 92162306a36Sopenharmony_ci 0xb0a18612, 0x00000010, 0xe1024794, 0x00000010, 0x11630915, 0x00000011, 92262306a36Sopenharmony_ci 0x31c3ca1b, 0x00000011, 0xc1848a9c, 0x00000018, 0xf1e50da0, 0x00000018, 92362306a36Sopenharmony_ci 0x22468e21, 0x00000019, 0x4286d023, 0x00000019, 0xa347d0a4, 0x00000019, 92462306a36Sopenharmony_ci 0xb36811a6, 0x00000019, 0xf3e89227, 0x00000019, 0x0408d329, 0x0000001a, 92562306a36Sopenharmony_ci 0x244953aa, 0x0000001a, 0x346994ab, 0x0000001a, 0x54aa152c, 0x0000001a, 92662306a36Sopenharmony_ci 0x64ca55ad, 0x0000001a, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 92762306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 92862306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 92962306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x10000001, 0x00000000, 0x20000082, 0x00000000, 93062306a36Sopenharmony_ci 0x40000104, 0x00000000, 0x60004207, 0x00000001, 0x7000838a, 0x00000001, 93162306a36Sopenharmony_ci 0xd021050d, 0x00000001, 0xe041c683, 0x00000001, 0x50828805, 0x00000000, 93262306a36Sopenharmony_ci 0x80e34288, 0x00000000, 0xb144040b, 0x00000000, 0xe1a6058e, 0x00000000, 93362306a36Sopenharmony_ci 0x12064711, 0x00000001, 0xb0a18612, 0x00000010, 0xe1024794, 0x00000010, 93462306a36Sopenharmony_ci 0x11630915, 0x00000011, 0x31c3ca1b, 0x00000011, 0xc1848a9c, 0x00000018, 93562306a36Sopenharmony_ci 0xf1e50da0, 0x00000018, 0x22468e21, 0x00000019, 0x4286d023, 0x00000019, 93662306a36Sopenharmony_ci 0xa347d0a4, 0x00000019, 0xb36811a6, 0x00000019, 0xf3e89227, 0x00000019, 93762306a36Sopenharmony_ci 0x0408d329, 0x0000001a, 0x244953aa, 0x0000001a, 0x346994ab, 0x0000001a, 93862306a36Sopenharmony_ci 0x54aa152c, 0x0000001a, 0x64ca55ad, 0x0000001a, 93962306a36Sopenharmony_ci}; 94062306a36Sopenharmony_ci 94162306a36Sopenharmony_cistatic const u16 lpphy_aux_gain_idx_table[] = { 94262306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 94362306a36Sopenharmony_ci 0x0001, 0x0002, 0x0004, 0x0016, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 94462306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0001, 0x0002, 0x0004, 0x0016, 94562306a36Sopenharmony_ci}; 94662306a36Sopenharmony_ci 94762306a36Sopenharmony_cistatic const u32 lpphy_gain_value_table[] = { 94862306a36Sopenharmony_ci 0x00000008, 0x0000000e, 0x00000014, 0x0000001a, 0x000000fb, 0x00000004, 94962306a36Sopenharmony_ci 0x00000008, 0x0000000d, 0x00000001, 0x00000004, 0x00000007, 0x0000000a, 95062306a36Sopenharmony_ci 0x0000000d, 0x00000010, 0x00000012, 0x00000015, 0x00000000, 0x00000006, 95162306a36Sopenharmony_ci 0x0000000c, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 95262306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000018, 0x00000000, 0x00000000, 0x00000000, 95362306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 95462306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 95562306a36Sopenharmony_ci 0x0000001e, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 95662306a36Sopenharmony_ci 0x00000000, 0x00000003, 0x00000006, 0x00000009, 0x0000000c, 0x0000000f, 95762306a36Sopenharmony_ci 0x00000012, 0x00000015, 0x00000018, 0x0000001b, 0x0000001e, 0x00000000, 95862306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000009, 0x000000f1, 95962306a36Sopenharmony_ci 0x00000000, 0x00000000, 96062306a36Sopenharmony_ci}; 96162306a36Sopenharmony_ci 96262306a36Sopenharmony_cistatic const u16 lpphy_gain_table[] = { 96362306a36Sopenharmony_ci 0x0000, 0x0400, 0x0800, 0x0802, 0x0804, 0x0806, 0x0807, 0x0808, 0x080a, 96462306a36Sopenharmony_ci 0x080b, 0x080c, 0x080e, 0x080f, 0x0810, 0x0812, 0x0813, 0x0814, 0x0816, 96562306a36Sopenharmony_ci 0x0817, 0x081a, 0x081b, 0x081f, 0x0820, 0x0824, 0x0830, 0x0834, 0x0837, 96662306a36Sopenharmony_ci 0x083b, 0x083f, 0x0840, 0x0844, 0x0857, 0x085b, 0x085f, 0x08d7, 0x08db, 96762306a36Sopenharmony_ci 0x08df, 0x0957, 0x095b, 0x095f, 0x0b57, 0x0b5b, 0x0b5f, 0x0f5f, 0x135f, 96862306a36Sopenharmony_ci 0x175f, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 96962306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 97062306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 97162306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 97262306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 97362306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 97462306a36Sopenharmony_ci}; 97562306a36Sopenharmony_ci 97662306a36Sopenharmony_cistatic const u32 lpphy_a0_gain_idx_table[] = { 97762306a36Sopenharmony_ci 0x001111e0, 0x00652051, 0x00606055, 0x005b005a, 0x00555060, 0x00511065, 97862306a36Sopenharmony_ci 0x004c806b, 0x0047d072, 0x00444078, 0x00400080, 0x003ca087, 0x0039408f, 97962306a36Sopenharmony_ci 0x0035e098, 0x0032e0a1, 0x003030aa, 0x002d80b4, 0x002ae0bf, 0x002880ca, 98062306a36Sopenharmony_ci 0x002640d6, 0x002410e3, 0x002220f0, 0x002020ff, 0x001e510e, 0x001ca11e, 98162306a36Sopenharmony_ci 0x001b012f, 0x00199140, 0x00182153, 0x0016c168, 0x0015817d, 0x00145193, 98262306a36Sopenharmony_ci 0x001321ab, 0x001211c5, 0x001111e0, 0x001021fc, 0x000f321a, 0x000e523a, 98362306a36Sopenharmony_ci 0x000d925c, 0x000cd27f, 0x000c12a5, 0x000b62cd, 0x000ac2f8, 0x000a2325, 98462306a36Sopenharmony_ci 0x00099355, 0x00091387, 0x000883bd, 0x000813f5, 0x0007a432, 0x00073471, 98562306a36Sopenharmony_ci 0x0006c4b5, 0x000664fc, 0x00061547, 0x0005b598, 0x000565ec, 0x00051646, 98662306a36Sopenharmony_ci 0x0004d6a5, 0x0004870a, 0x00044775, 0x000407e6, 0x0003d85e, 0x000398dd, 98762306a36Sopenharmony_ci 0x00036963, 0x000339f2, 0x00030a89, 0x0002db28, 98862306a36Sopenharmony_ci}; 98962306a36Sopenharmony_ci 99062306a36Sopenharmony_cistatic const u16 lpphy_a0_aux_gain_idx_table[] = { 99162306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 99262306a36Sopenharmony_ci 0x0000, 0x0000, 0x0002, 0x0014, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 99362306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0002, 0x0014, 99462306a36Sopenharmony_ci}; 99562306a36Sopenharmony_ci 99662306a36Sopenharmony_cistatic const u32 lpphy_a0_gain_value_table[] = { 99762306a36Sopenharmony_ci 0x00000008, 0x0000000e, 0x00000014, 0x0000001a, 0x000000fb, 0x00000004, 99862306a36Sopenharmony_ci 0x00000008, 0x0000000d, 0x00000001, 0x00000004, 0x00000007, 0x0000000a, 99962306a36Sopenharmony_ci 0x0000000d, 0x00000010, 0x00000012, 0x00000015, 0x00000000, 0x00000006, 100062306a36Sopenharmony_ci 0x0000000c, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 100162306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000018, 0x00000000, 0x00000000, 0x00000000, 100262306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 100362306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 100462306a36Sopenharmony_ci 0x0000001e, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 100562306a36Sopenharmony_ci 0x00000000, 0x00000003, 0x00000006, 0x00000009, 0x0000000c, 0x0000000f, 100662306a36Sopenharmony_ci 0x00000012, 0x00000015, 0x00000018, 0x0000001b, 0x0000001e, 0x00000000, 100762306a36Sopenharmony_ci 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000f, 0x000000f7, 100862306a36Sopenharmony_ci 0x00000000, 0x00000000, 100962306a36Sopenharmony_ci}; 101062306a36Sopenharmony_ci 101162306a36Sopenharmony_cistatic const u16 lpphy_a0_gain_table[] = { 101262306a36Sopenharmony_ci 0x0000, 0x0002, 0x0004, 0x0006, 0x0007, 0x0008, 0x000a, 0x000b, 0x000c, 101362306a36Sopenharmony_ci 0x000e, 0x000f, 0x0010, 0x0012, 0x0013, 0x0014, 0x0016, 0x0017, 0x001a, 101462306a36Sopenharmony_ci 0x001b, 0x001f, 0x0020, 0x0024, 0x0030, 0x0034, 0x0037, 0x003b, 0x003f, 101562306a36Sopenharmony_ci 0x0040, 0x0044, 0x0057, 0x005b, 0x005f, 0x00d7, 0x00db, 0x00df, 0x0157, 101662306a36Sopenharmony_ci 0x015b, 0x015f, 0x0357, 0x035b, 0x035f, 0x075f, 0x0b5f, 0x0f5f, 0x0000, 101762306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 101862306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 101962306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 102062306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 102162306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 102262306a36Sopenharmony_ci 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 102362306a36Sopenharmony_ci}; 102462306a36Sopenharmony_ci 102562306a36Sopenharmony_cistatic const u16 lpphy_sw_control_table[] = { 102662306a36Sopenharmony_ci 0x0128, 0x0128, 0x0009, 0x0009, 0x0028, 0x0028, 0x0028, 0x0028, 0x0128, 102762306a36Sopenharmony_ci 0x0128, 0x0009, 0x0009, 0x0028, 0x0028, 0x0028, 0x0028, 0x0009, 0x0009, 102862306a36Sopenharmony_ci 0x0009, 0x0009, 0x0009, 0x0009, 0x0009, 0x0009, 0x0018, 0x0018, 0x0018, 102962306a36Sopenharmony_ci 0x0018, 0x0018, 0x0018, 0x0018, 0x0018, 0x0128, 0x0128, 0x0009, 0x0009, 103062306a36Sopenharmony_ci 0x0028, 0x0028, 0x0028, 0x0028, 0x0128, 0x0128, 0x0009, 0x0009, 0x0028, 103162306a36Sopenharmony_ci 0x0028, 0x0028, 0x0028, 0x0009, 0x0009, 0x0009, 0x0009, 0x0009, 0x0009, 103262306a36Sopenharmony_ci 0x0009, 0x0009, 0x0018, 0x0018, 0x0018, 0x0018, 0x0018, 0x0018, 0x0018, 103362306a36Sopenharmony_ci 0x0018, 103462306a36Sopenharmony_ci}; 103562306a36Sopenharmony_ci 103662306a36Sopenharmony_cistatic const u8 lpphy_hf_table[] = { 103762306a36Sopenharmony_ci 0x4b, 0x36, 0x24, 0x18, 0x49, 0x34, 0x23, 0x17, 0x48, 103862306a36Sopenharmony_ci 0x33, 0x23, 0x17, 0x48, 0x33, 0x23, 0x17, 103962306a36Sopenharmony_ci}; 104062306a36Sopenharmony_ci 104162306a36Sopenharmony_cistatic const u32 lpphy_papd_eps_table[] = { 104262306a36Sopenharmony_ci 0x00000000, 0x00013ffc, 0x0001dff3, 0x0001bff0, 0x00023fe9, 0x00021fdf, 104362306a36Sopenharmony_ci 0x00028fdf, 0x00033fd2, 0x00039fcb, 0x00043fc7, 0x0004efc2, 0x00055fb5, 104462306a36Sopenharmony_ci 0x0005cfb0, 0x00063fa8, 0x00068fa3, 0x00071f98, 0x0007ef92, 0x00084f8b, 104562306a36Sopenharmony_ci 0x0008df82, 0x00097f77, 0x0009df69, 0x000a3f62, 0x000adf57, 0x000b6f4c, 104662306a36Sopenharmony_ci 0x000bff41, 0x000c9f39, 0x000cff30, 0x000dbf27, 0x000e4f1e, 0x000edf16, 104762306a36Sopenharmony_ci 0x000f7f13, 0x00102f11, 0x00110f10, 0x0011df11, 0x0012ef15, 0x00143f1c, 104862306a36Sopenharmony_ci 0x00158f27, 0x00172f35, 0x00193f47, 0x001baf5f, 0x001e6f7e, 0x0021cfa4, 104962306a36Sopenharmony_ci 0x0025bfd2, 0x002a2008, 0x002fb047, 0x00360090, 0x003d40e0, 0x0045c135, 105062306a36Sopenharmony_ci 0x004fb189, 0x005ae1d7, 0x0067221d, 0x0075025a, 0x007ff291, 0x007ff2bf, 105162306a36Sopenharmony_ci 0x007ff2e3, 0x007ff2ff, 0x007ff315, 0x007ff329, 0x007ff33f, 0x007ff356, 105262306a36Sopenharmony_ci 0x007ff36e, 0x007ff39c, 0x007ff441, 0x007ff506, 105362306a36Sopenharmony_ci}; 105462306a36Sopenharmony_ci 105562306a36Sopenharmony_cistatic const u32 lpphy_papd_mult_table[] = { 105662306a36Sopenharmony_ci 0x001111e0, 0x00652051, 0x00606055, 0x005b005a, 0x00555060, 0x00511065, 105762306a36Sopenharmony_ci 0x004c806b, 0x0047d072, 0x00444078, 0x00400080, 0x003ca087, 0x0039408f, 105862306a36Sopenharmony_ci 0x0035e098, 0x0032e0a1, 0x003030aa, 0x002d80b4, 0x002ae0bf, 0x002880ca, 105962306a36Sopenharmony_ci 0x002640d6, 0x002410e3, 0x002220f0, 0x002020ff, 0x001e510e, 0x001ca11e, 106062306a36Sopenharmony_ci 0x001b012f, 0x00199140, 0x00182153, 0x0016c168, 0x0015817d, 0x00145193, 106162306a36Sopenharmony_ci 0x001321ab, 0x001211c5, 0x001111e0, 0x001021fc, 0x000f321a, 0x000e523a, 106262306a36Sopenharmony_ci 0x000d925c, 0x000cd27f, 0x000c12a5, 0x000b62cd, 0x000ac2f8, 0x000a2325, 106362306a36Sopenharmony_ci 0x00099355, 0x00091387, 0x000883bd, 0x000813f5, 0x0007a432, 0x00073471, 106462306a36Sopenharmony_ci 0x0006c4b5, 0x000664fc, 0x00061547, 0x0005b598, 0x000565ec, 0x00051646, 106562306a36Sopenharmony_ci 0x0004d6a5, 0x0004870a, 0x00044775, 0x000407e6, 0x0003d85e, 0x000398dd, 106662306a36Sopenharmony_ci 0x00036963, 0x000339f2, 0x00030a89, 0x0002db28, 106762306a36Sopenharmony_ci}; 106862306a36Sopenharmony_ci 106962306a36Sopenharmony_cistatic struct lpphy_tx_gain_table_entry lpphy_rev0_nopa_tx_gain_table[] = { 107062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 152, }, 107162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 147, }, 107262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 143, }, 107362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 139, }, 107462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 135, }, 107562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 131, }, 107662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 128, }, 107762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 124, }, 107862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 121, }, 107962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 117, }, 108062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 114, }, 108162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 111, }, 108262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 107, }, 108362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 104, }, 108462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 101, }, 108562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 99, }, 108662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 96, }, 108762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 93, }, 108862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 90, }, 108962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 88, }, 109062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 85, }, 109162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 83, }, 109262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 81, }, 109362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 78, }, 109462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 76, }, 109562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 74, }, 109662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 72, }, 109762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 70, }, 109862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 68, }, 109962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 66, }, 110062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 64, }, 110162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 62, }, 110262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 60, }, 110362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 59, }, 110462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 57, }, 110562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 72, }, 110662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 70, }, 110762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 68, }, 110862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 66, }, 110962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 64, }, 111062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 62, }, 111162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 60, }, 111262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 59, }, 111362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 57, }, 111462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 71, }, 111562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 69, }, 111662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 67, }, 111762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 65, }, 111862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 63, }, 111962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 62, }, 112062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 60, }, 112162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 58, }, 112262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 57, }, 112362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 70, }, 112462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 68, }, 112562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 66, }, 112662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 65, }, 112762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 63, }, 112862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 61, }, 112962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 59, }, 113062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 58, }, 113162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 71, }, 113262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 69, }, 113362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 67, }, 113462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 65, }, 113562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 63, }, 113662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 61, }, 113762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 60, }, 113862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 58, }, 113962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 56, }, 114062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 70, }, 114162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 68, }, 114262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 66, }, 114362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 64, }, 114462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 62, }, 114562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 60, }, 114662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 59, }, 114762306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 72, }, 114862306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 70, }, 114962306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 68, }, 115062306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 66, }, 115162306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 64, }, 115262306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 62, }, 115362306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 60, }, 115462306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 59, }, 115562306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 72, }, 115662306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 70, }, 115762306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 68, }, 115862306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 66, }, 115962306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 64, }, 116062306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 63, }, 116162306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 61, }, 116262306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 59, }, 116362306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 57, }, 116462306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 72, }, 116562306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 70, }, 116662306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 68, }, 116762306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 66, }, 116862306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 64, }, 116962306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 62, }, 117062306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 60, }, 117162306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 59, }, 117262306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 72, }, 117362306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 70, }, 117462306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 68, }, 117562306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 66, }, 117662306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 64, }, 117762306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 62, }, 117862306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 61, }, 117962306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 59, }, 118062306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 73, }, 118162306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 71, }, 118262306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 69, }, 118362306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 67, }, 118462306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 65, }, 118562306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 63, }, 118662306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 61, }, 118762306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 59, }, 118862306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 72, }, 118962306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 70, }, 119062306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 68, }, 119162306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 66, }, 119262306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 65, }, 119362306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 63, }, 119462306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 61, }, 119562306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 59, }, 119662306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 73, }, 119762306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 71, }, 119862306a36Sopenharmony_ci}; 119962306a36Sopenharmony_ci 120062306a36Sopenharmony_cistatic struct lpphy_tx_gain_table_entry lpphy_rev0_2ghz_tx_gain_table[] = { 120162306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 64, }, 120262306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 62, }, 120362306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 60, }, 120462306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 59, }, 120562306a36Sopenharmony_ci { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 72, }, 120662306a36Sopenharmony_ci { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 70, }, 120762306a36Sopenharmony_ci { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 68, }, 120862306a36Sopenharmony_ci { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 66, }, 120962306a36Sopenharmony_ci { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 64, }, 121062306a36Sopenharmony_ci { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 62, }, 121162306a36Sopenharmony_ci { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 60, }, 121262306a36Sopenharmony_ci { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 59, }, 121362306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 72, }, 121462306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 70, }, 121562306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 68, }, 121662306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 66, }, 121762306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 64, }, 121862306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 63, }, 121962306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 61, }, 122062306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 59, }, 122162306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 57, }, 122262306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 72, }, 122362306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 70, }, 122462306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 68, }, 122562306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 66, }, 122662306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 64, }, 122762306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 62, }, 122862306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 60, }, 122962306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 59, }, 123062306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 72, }, 123162306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 70, }, 123262306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 68, }, 123362306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 66, }, 123462306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 64, }, 123562306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 62, }, 123662306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 61, }, 123762306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 59, }, 123862306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 73, }, 123962306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 71, }, 124062306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 69, }, 124162306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 67, }, 124262306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 65, }, 124362306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 63, }, 124462306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 61, }, 124562306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 59, }, 124662306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 72, }, 124762306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 70, }, 124862306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 68, }, 124962306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 66, }, 125062306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 65, }, 125162306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 63, }, 125262306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 61, }, 125362306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 59, }, 125462306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 73, }, 125562306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 71, }, 125662306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 69, }, 125762306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 67, }, 125862306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 65, }, 125962306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 63, }, 126062306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 61, }, 126162306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 60, }, 126262306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 72, }, 126362306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 70, }, 126462306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 68, }, 126562306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 66, }, 126662306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 64, }, 126762306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 62, }, 126862306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 60, }, 126962306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 59, }, 127062306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 72, }, 127162306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 70, }, 127262306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 68, }, 127362306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 66, }, 127462306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 64, }, 127562306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 62, }, 127662306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 60, }, 127762306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 59, }, 127862306a36Sopenharmony_ci { .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 70, }, 127962306a36Sopenharmony_ci { .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 68, }, 128062306a36Sopenharmony_ci { .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 66, }, 128162306a36Sopenharmony_ci { .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 64, }, 128262306a36Sopenharmony_ci { .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 63, }, 128362306a36Sopenharmony_ci { .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 61, }, 128462306a36Sopenharmony_ci { .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 59, }, 128562306a36Sopenharmony_ci { .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 71, }, 128662306a36Sopenharmony_ci { .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 69, }, 128762306a36Sopenharmony_ci { .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 67, }, 128862306a36Sopenharmony_ci { .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 65, }, 128962306a36Sopenharmony_ci { .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 63, }, 129062306a36Sopenharmony_ci { .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 62, }, 129162306a36Sopenharmony_ci { .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 60, }, 129262306a36Sopenharmony_ci { .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 58, }, 129362306a36Sopenharmony_ci { .gm = 4, .pga = 8, .pad = 4, .dac = 0, .bb_mult = 70, }, 129462306a36Sopenharmony_ci { .gm = 4, .pga = 8, .pad = 4, .dac = 0, .bb_mult = 68, }, 129562306a36Sopenharmony_ci { .gm = 4, .pga = 8, .pad = 4, .dac = 0, .bb_mult = 66, }, 129662306a36Sopenharmony_ci { .gm = 4, .pga = 8, .pad = 4, .dac = 0, .bb_mult = 65, }, 129762306a36Sopenharmony_ci { .gm = 4, .pga = 8, .pad = 4, .dac = 0, .bb_mult = 63, }, 129862306a36Sopenharmony_ci { .gm = 4, .pga = 8, .pad = 4, .dac = 0, .bb_mult = 61, }, 129962306a36Sopenharmony_ci { .gm = 4, .pga = 8, .pad = 4, .dac = 0, .bb_mult = 59, }, 130062306a36Sopenharmony_ci { .gm = 4, .pga = 7, .pad = 4, .dac = 0, .bb_mult = 68, }, 130162306a36Sopenharmony_ci { .gm = 4, .pga = 7, .pad = 4, .dac = 0, .bb_mult = 66, }, 130262306a36Sopenharmony_ci { .gm = 4, .pga = 7, .pad = 4, .dac = 0, .bb_mult = 64, }, 130362306a36Sopenharmony_ci { .gm = 4, .pga = 7, .pad = 4, .dac = 0, .bb_mult = 62, }, 130462306a36Sopenharmony_ci { .gm = 4, .pga = 7, .pad = 4, .dac = 0, .bb_mult = 61, }, 130562306a36Sopenharmony_ci { .gm = 4, .pga = 7, .pad = 4, .dac = 0, .bb_mult = 59, }, 130662306a36Sopenharmony_ci { .gm = 4, .pga = 7, .pad = 3, .dac = 0, .bb_mult = 67, }, 130762306a36Sopenharmony_ci { .gm = 4, .pga = 7, .pad = 3, .dac = 0, .bb_mult = 65, }, 130862306a36Sopenharmony_ci { .gm = 4, .pga = 7, .pad = 3, .dac = 0, .bb_mult = 63, }, 130962306a36Sopenharmony_ci { .gm = 4, .pga = 7, .pad = 3, .dac = 0, .bb_mult = 62, }, 131062306a36Sopenharmony_ci { .gm = 4, .pga = 7, .pad = 3, .dac = 0, .bb_mult = 60, }, 131162306a36Sopenharmony_ci { .gm = 4, .pga = 6, .pad = 3, .dac = 0, .bb_mult = 65, }, 131262306a36Sopenharmony_ci { .gm = 4, .pga = 6, .pad = 3, .dac = 0, .bb_mult = 63, }, 131362306a36Sopenharmony_ci { .gm = 4, .pga = 6, .pad = 3, .dac = 0, .bb_mult = 61, }, 131462306a36Sopenharmony_ci { .gm = 4, .pga = 6, .pad = 3, .dac = 0, .bb_mult = 60, }, 131562306a36Sopenharmony_ci { .gm = 4, .pga = 6, .pad = 3, .dac = 0, .bb_mult = 58, }, 131662306a36Sopenharmony_ci { .gm = 4, .pga = 5, .pad = 3, .dac = 0, .bb_mult = 68, }, 131762306a36Sopenharmony_ci { .gm = 4, .pga = 5, .pad = 3, .dac = 0, .bb_mult = 66, }, 131862306a36Sopenharmony_ci { .gm = 4, .pga = 5, .pad = 3, .dac = 0, .bb_mult = 64, }, 131962306a36Sopenharmony_ci { .gm = 4, .pga = 5, .pad = 3, .dac = 0, .bb_mult = 62, }, 132062306a36Sopenharmony_ci { .gm = 4, .pga = 5, .pad = 3, .dac = 0, .bb_mult = 60, }, 132162306a36Sopenharmony_ci { .gm = 4, .pga = 5, .pad = 3, .dac = 0, .bb_mult = 59, }, 132262306a36Sopenharmony_ci { .gm = 4, .pga = 5, .pad = 3, .dac = 0, .bb_mult = 57, }, 132362306a36Sopenharmony_ci { .gm = 4, .pga = 4, .pad = 2, .dac = 0, .bb_mult = 83, }, 132462306a36Sopenharmony_ci { .gm = 4, .pga = 4, .pad = 2, .dac = 0, .bb_mult = 81, }, 132562306a36Sopenharmony_ci { .gm = 4, .pga = 4, .pad = 2, .dac = 0, .bb_mult = 78, }, 132662306a36Sopenharmony_ci { .gm = 4, .pga = 4, .pad = 2, .dac = 0, .bb_mult = 76, }, 132762306a36Sopenharmony_ci { .gm = 4, .pga = 4, .pad = 2, .dac = 0, .bb_mult = 74, }, 132862306a36Sopenharmony_ci { .gm = 4, .pga = 4, .pad = 2, .dac = 0, .bb_mult = 72, }, 132962306a36Sopenharmony_ci}; 133062306a36Sopenharmony_ci 133162306a36Sopenharmony_cistatic struct lpphy_tx_gain_table_entry lpphy_rev0_5ghz_tx_gain_table[] = { 133262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 99, }, 133362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 96, }, 133462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 93, }, 133562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 90, }, 133662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 88, }, 133762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 85, }, 133862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 83, }, 133962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 81, }, 134062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 78, }, 134162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 76, }, 134262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 74, }, 134362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 72, }, 134462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 70, }, 134562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 68, }, 134662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 66, }, 134762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 64, }, 134862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 62, }, 134962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 60, }, 135062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 59, }, 135162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 57, }, 135262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 55, }, 135362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 72, }, 135462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 70, }, 135562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 68, }, 135662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 66, }, 135762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 64, }, 135862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 62, }, 135962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 60, }, 136062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 58, }, 136162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 56, }, 136262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 55, }, 136362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 71, }, 136462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 69, }, 136562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 67, }, 136662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 65, }, 136762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 63, }, 136862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 62, }, 136962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 60, }, 137062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 58, }, 137162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 56, }, 137262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 72, }, 137362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 70, }, 137462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 68, }, 137562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 66, }, 137662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 64, }, 137762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 62, }, 137862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 60, }, 137962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 59, }, 138062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 57, }, 138162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 73, }, 138262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 71, }, 138362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 69, }, 138462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 67, }, 138562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 65, }, 138662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 63, }, 138762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 61, }, 138862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 60, }, 138962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 58, }, 139062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 71, }, 139162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 69, }, 139262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 67, }, 139362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 65, }, 139462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 63, }, 139562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 61, }, 139662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 60, }, 139762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 58, }, 139862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 70, }, 139962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 68, }, 140062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 66, }, 140162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 64, }, 140262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 62, }, 140362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 61, }, 140462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 59, }, 140562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 57, }, 140662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 56, }, 140762306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 68, }, 140862306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 66, }, 140962306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 65, }, 141062306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 63, }, 141162306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 61, }, 141262306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 59, }, 141362306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 58, }, 141462306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 70, }, 141562306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 68, }, 141662306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 66, }, 141762306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 64, }, 141862306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 63, }, 141962306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 61, }, 142062306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 59, }, 142162306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 57, }, 142262306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 70, }, 142362306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 68, }, 142462306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 66, }, 142562306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 64, }, 142662306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 62, }, 142762306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 60, }, 142862306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 59, }, 142962306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 57, }, 143062306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 70, }, 143162306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 68, }, 143262306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 66, }, 143362306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 64, }, 143462306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 62, }, 143562306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 61, }, 143662306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 59, }, 143762306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 57, }, 143862306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 70, }, 143962306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 68, }, 144062306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 66, }, 144162306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 64, }, 144262306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 62, }, 144362306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 61, }, 144462306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 59, }, 144562306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 57, }, 144662306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 70, }, 144762306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 68, }, 144862306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 66, }, 144962306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 64, }, 145062306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 62, }, 145162306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 61, }, 145262306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 59, }, 145362306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 57, }, 145462306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 69, }, 145562306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 67, }, 145662306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 65, }, 145762306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 63, }, 145862306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 62, }, 145962306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 60, }, 146062306a36Sopenharmony_ci}; 146162306a36Sopenharmony_ci 146262306a36Sopenharmony_cistatic struct lpphy_tx_gain_table_entry lpphy_rev1_nopa_tx_gain_table[] = { 146362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 152, }, 146462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 147, }, 146562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 143, }, 146662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 139, }, 146762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 135, }, 146862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 131, }, 146962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 128, }, 147062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 124, }, 147162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 121, }, 147262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 117, }, 147362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 114, }, 147462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 111, }, 147562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 107, }, 147662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 104, }, 147762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 101, }, 147862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 99, }, 147962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 96, }, 148062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 93, }, 148162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 90, }, 148262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 88, }, 148362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 85, }, 148462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 83, }, 148562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 81, }, 148662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 78, }, 148762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 76, }, 148862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 74, }, 148962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 72, }, 149062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 70, }, 149162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 68, }, 149262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 66, }, 149362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 64, }, 149462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 62, }, 149562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 60, }, 149662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 59, }, 149762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 57, }, 149862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 72, }, 149962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 70, }, 150062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 68, }, 150162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 66, }, 150262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 64, }, 150362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 62, }, 150462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 60, }, 150562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 59, }, 150662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 57, }, 150762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 72, }, 150862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 70, }, 150962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 68, }, 151062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 66, }, 151162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 64, }, 151262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 62, }, 151362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 60, }, 151462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 59, }, 151562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 57, }, 151662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 71, }, 151762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 69, }, 151862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 67, }, 151962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 65, }, 152062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 63, }, 152162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 62, }, 152262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 60, }, 152362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 58, }, 152462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 57, }, 152562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 70, }, 152662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 68, }, 152762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 66, }, 152862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 65, }, 152962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 63, }, 153062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 61, }, 153162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 59, }, 153262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 58, }, 153362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 71, }, 153462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 69, }, 153562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 67, }, 153662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 65, }, 153762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 63, }, 153862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 61, }, 153962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 60, }, 154062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 58, }, 154162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 56, }, 154262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 70, }, 154362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 68, }, 154462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 66, }, 154562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 64, }, 154662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 62, }, 154762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 60, }, 154862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 59, }, 154962306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 72, }, 155062306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 70, }, 155162306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 68, }, 155262306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 66, }, 155362306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 64, }, 155462306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 62, }, 155562306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 60, }, 155662306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 59, }, 155762306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 72, }, 155862306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 70, }, 155962306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 68, }, 156062306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 66, }, 156162306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 64, }, 156262306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 63, }, 156362306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 61, }, 156462306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 59, }, 156562306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 57, }, 156662306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 72, }, 156762306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 70, }, 156862306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 68, }, 156962306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 66, }, 157062306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 64, }, 157162306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 62, }, 157262306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 60, }, 157362306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 59, }, 157462306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 72, }, 157562306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 70, }, 157662306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 68, }, 157762306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 66, }, 157862306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 64, }, 157962306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 62, }, 158062306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 61, }, 158162306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 59, }, 158262306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 73, }, 158362306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 71, }, 158462306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 69, }, 158562306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 67, }, 158662306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 65, }, 158762306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 63, }, 158862306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 61, }, 158962306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 59, }, 159062306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 72, }, 159162306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 70, }, 159262306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 68, }, 159362306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 66, }, 159462306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 65, }, 159562306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 63, }, 159662306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 61, }, 159762306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 59, }, 159862306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 73, }, 159962306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 71, }, 160062306a36Sopenharmony_ci}; 160162306a36Sopenharmony_ci 160262306a36Sopenharmony_cistatic struct lpphy_tx_gain_table_entry lpphy_rev1_2ghz_tx_gain_table[] = { 160362306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 90, }, 160462306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 88, }, 160562306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 85, }, 160662306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 83, }, 160762306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 81, }, 160862306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 78, }, 160962306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 76, }, 161062306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 74, }, 161162306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 72, }, 161262306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 70, }, 161362306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 68, }, 161462306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 66, }, 161562306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 64, }, 161662306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 62, }, 161762306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 60, }, 161862306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 59, }, 161962306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 72, }, 162062306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 70, }, 162162306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 68, }, 162262306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 66, }, 162362306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 64, }, 162462306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 62, }, 162562306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 60, }, 162662306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 59, }, 162762306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 72, }, 162862306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 70, }, 162962306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 68, }, 163062306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 66, }, 163162306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 64, }, 163262306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 62, }, 163362306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 60, }, 163462306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 59, }, 163562306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 72, }, 163662306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 70, }, 163762306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 68, }, 163862306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 66, }, 163962306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 64, }, 164062306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 62, }, 164162306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 60, }, 164262306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 59, }, 164362306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 72, }, 164462306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 70, }, 164562306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 68, }, 164662306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 66, }, 164762306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 64, }, 164862306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 62, }, 164962306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 60, }, 165062306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 59, }, 165162306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 72, }, 165262306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 70, }, 165362306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 68, }, 165462306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 66, }, 165562306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 64, }, 165662306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 62, }, 165762306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 60, }, 165862306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 59, }, 165962306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 72, }, 166062306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 70, }, 166162306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 68, }, 166262306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 66, }, 166362306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 64, }, 166462306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 62, }, 166562306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 60, }, 166662306a36Sopenharmony_ci { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 59, }, 166762306a36Sopenharmony_ci { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 72, }, 166862306a36Sopenharmony_ci { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 70, }, 166962306a36Sopenharmony_ci { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 68, }, 167062306a36Sopenharmony_ci { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 66, }, 167162306a36Sopenharmony_ci { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 64, }, 167262306a36Sopenharmony_ci { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 62, }, 167362306a36Sopenharmony_ci { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 60, }, 167462306a36Sopenharmony_ci { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 59, }, 167562306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 72, }, 167662306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 70, }, 167762306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 68, }, 167862306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 66, }, 167962306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 64, }, 168062306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 63, }, 168162306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 61, }, 168262306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 59, }, 168362306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 57, }, 168462306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 72, }, 168562306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 70, }, 168662306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 68, }, 168762306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 66, }, 168862306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 64, }, 168962306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 62, }, 169062306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 60, }, 169162306a36Sopenharmony_ci { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 59, }, 169262306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 72, }, 169362306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 70, }, 169462306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 68, }, 169562306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 66, }, 169662306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 64, }, 169762306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 62, }, 169862306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 61, }, 169962306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 59, }, 170062306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 73, }, 170162306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 71, }, 170262306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 69, }, 170362306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 67, }, 170462306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 65, }, 170562306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 63, }, 170662306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 61, }, 170762306a36Sopenharmony_ci { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 59, }, 170862306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 72, }, 170962306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 70, }, 171062306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 68, }, 171162306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 66, }, 171262306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 65, }, 171362306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 63, }, 171462306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 61, }, 171562306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 59, }, 171662306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 73, }, 171762306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 71, }, 171862306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 69, }, 171962306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 67, }, 172062306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 65, }, 172162306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 63, }, 172262306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 61, }, 172362306a36Sopenharmony_ci { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 60, }, 172462306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 72, }, 172562306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 70, }, 172662306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 68, }, 172762306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 66, }, 172862306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 64, }, 172962306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 62, }, 173062306a36Sopenharmony_ci { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 60, }, 173162306a36Sopenharmony_ci}; 173262306a36Sopenharmony_ci 173362306a36Sopenharmony_cistatic struct lpphy_tx_gain_table_entry lpphy_rev1_5ghz_tx_gain_table[] = { 173462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 99, }, 173562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 96, }, 173662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 93, }, 173762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 90, }, 173862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 88, }, 173962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 85, }, 174062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 83, }, 174162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 81, }, 174262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 78, }, 174362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 76, }, 174462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 74, }, 174562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 72, }, 174662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 70, }, 174762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 68, }, 174862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 66, }, 174962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 64, }, 175062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 62, }, 175162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 60, }, 175262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 59, }, 175362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 57, }, 175462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 55, }, 175562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 72, }, 175662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 70, }, 175762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 68, }, 175862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 66, }, 175962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 64, }, 176062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 62, }, 176162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 60, }, 176262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 58, }, 176362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 56, }, 176462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 55, }, 176562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 71, }, 176662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 69, }, 176762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 67, }, 176862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 65, }, 176962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 63, }, 177062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 62, }, 177162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 60, }, 177262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 58, }, 177362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 56, }, 177462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 72, }, 177562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 70, }, 177662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 68, }, 177762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 66, }, 177862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 64, }, 177962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 62, }, 178062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 60, }, 178162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 59, }, 178262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 57, }, 178362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 73, }, 178462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 71, }, 178562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 69, }, 178662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 67, }, 178762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 65, }, 178862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 63, }, 178962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 61, }, 179062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 60, }, 179162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 58, }, 179262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 71, }, 179362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 69, }, 179462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 67, }, 179562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 65, }, 179662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 63, }, 179762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 61, }, 179862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 60, }, 179962306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 58, }, 180062306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 70, }, 180162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 68, }, 180262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 66, }, 180362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 64, }, 180462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 62, }, 180562306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 61, }, 180662306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 59, }, 180762306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 57, }, 180862306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 56, }, 180962306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 68, }, 181062306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 66, }, 181162306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 65, }, 181262306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 63, }, 181362306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 61, }, 181462306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 59, }, 181562306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 58, }, 181662306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 70, }, 181762306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 68, }, 181862306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 66, }, 181962306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 64, }, 182062306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 63, }, 182162306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 61, }, 182262306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 59, }, 182362306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 57, }, 182462306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 70, }, 182562306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 68, }, 182662306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 66, }, 182762306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 64, }, 182862306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 62, }, 182962306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 60, }, 183062306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 59, }, 183162306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 57, }, 183262306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 70, }, 183362306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 68, }, 183462306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 66, }, 183562306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 64, }, 183662306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 62, }, 183762306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 61, }, 183862306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 59, }, 183962306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 57, }, 184062306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 70, }, 184162306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 68, }, 184262306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 66, }, 184362306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 64, }, 184462306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 62, }, 184562306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 61, }, 184662306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 59, }, 184762306a36Sopenharmony_ci { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 57, }, 184862306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 70, }, 184962306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 68, }, 185062306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 66, }, 185162306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 64, }, 185262306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 62, }, 185362306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 61, }, 185462306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 59, }, 185562306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 57, }, 185662306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 69, }, 185762306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 67, }, 185862306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 65, }, 185962306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 63, }, 186062306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 62, }, 186162306a36Sopenharmony_ci { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 60, }, 186262306a36Sopenharmony_ci}; 186362306a36Sopenharmony_ci 186462306a36Sopenharmony_cistatic struct lpphy_tx_gain_table_entry lpphy_rev2_nopa_tx_gain_table[] = { 186562306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 152, }, 186662306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 147, }, 186762306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 143, }, 186862306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 139, }, 186962306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 135, }, 187062306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 131, }, 187162306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 128, }, 187262306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 124, }, 187362306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 121, }, 187462306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 117, }, 187562306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 114, }, 187662306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 111, }, 187762306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 107, }, 187862306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 104, }, 187962306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 101, }, 188062306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 99, }, 188162306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 96, }, 188262306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 93, }, 188362306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 90, }, 188462306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 88, }, 188562306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 85, }, 188662306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 83, }, 188762306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 81, }, 188862306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 78, }, 188962306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 76, }, 189062306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 74, }, 189162306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 72, }, 189262306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 70, }, 189362306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 68, }, 189462306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 66, }, 189562306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 64, }, 189662306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 197, .dac = 0, .bb_mult = 64, }, 189762306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 192, .dac = 0, .bb_mult = 64, }, 189862306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 186, .dac = 0, .bb_mult = 64, }, 189962306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 181, .dac = 0, .bb_mult = 64, }, 190062306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 176, .dac = 0, .bb_mult = 64, }, 190162306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 171, .dac = 0, .bb_mult = 64, }, 190262306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 166, .dac = 0, .bb_mult = 64, }, 190362306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 161, .dac = 0, .bb_mult = 64, }, 190462306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 157, .dac = 0, .bb_mult = 64, }, 190562306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 152, .dac = 0, .bb_mult = 64, }, 190662306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 148, .dac = 0, .bb_mult = 64, }, 190762306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 144, .dac = 0, .bb_mult = 64, }, 190862306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 140, .dac = 0, .bb_mult = 64, }, 190962306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 136, .dac = 0, .bb_mult = 64, }, 191062306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 132, .dac = 0, .bb_mult = 64, }, 191162306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 128, .dac = 0, .bb_mult = 64, }, 191262306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 124, .dac = 0, .bb_mult = 64, }, 191362306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 121, .dac = 0, .bb_mult = 64, }, 191462306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 117, .dac = 0, .bb_mult = 64, }, 191562306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 114, .dac = 0, .bb_mult = 64, }, 191662306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 111, .dac = 0, .bb_mult = 64, }, 191762306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 108, .dac = 0, .bb_mult = 64, }, 191862306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 105, .dac = 0, .bb_mult = 64, }, 191962306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 102, .dac = 0, .bb_mult = 64, }, 192062306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 99, .dac = 0, .bb_mult = 64, }, 192162306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 96, .dac = 0, .bb_mult = 64, }, 192262306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 93, .dac = 0, .bb_mult = 64, }, 192362306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 91, .dac = 0, .bb_mult = 64, }, 192462306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 88, .dac = 0, .bb_mult = 64, }, 192562306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 86, .dac = 0, .bb_mult = 64, }, 192662306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 83, .dac = 0, .bb_mult = 64, }, 192762306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 81, .dac = 0, .bb_mult = 64, }, 192862306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 79, .dac = 0, .bb_mult = 64, }, 192962306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 76, .dac = 0, .bb_mult = 64, }, 193062306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 74, .dac = 0, .bb_mult = 64, }, 193162306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 72, .dac = 0, .bb_mult = 64, }, 193262306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 70, .dac = 0, .bb_mult = 64, }, 193362306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 68, .dac = 0, .bb_mult = 64, }, 193462306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 66, .dac = 0, .bb_mult = 64, }, 193562306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 64, .dac = 0, .bb_mult = 64, }, 193662306a36Sopenharmony_ci { .gm = 255, .pga = 248, .pad = 64, .dac = 0, .bb_mult = 64, }, 193762306a36Sopenharmony_ci { .gm = 255, .pga = 248, .pad = 62, .dac = 0, .bb_mult = 64, }, 193862306a36Sopenharmony_ci { .gm = 255, .pga = 241, .pad = 62, .dac = 0, .bb_mult = 64, }, 193962306a36Sopenharmony_ci { .gm = 255, .pga = 241, .pad = 60, .dac = 0, .bb_mult = 64, }, 194062306a36Sopenharmony_ci { .gm = 255, .pga = 234, .pad = 60, .dac = 0, .bb_mult = 64, }, 194162306a36Sopenharmony_ci { .gm = 255, .pga = 234, .pad = 59, .dac = 0, .bb_mult = 64, }, 194262306a36Sopenharmony_ci { .gm = 255, .pga = 227, .pad = 59, .dac = 0, .bb_mult = 64, }, 194362306a36Sopenharmony_ci { .gm = 255, .pga = 227, .pad = 57, .dac = 0, .bb_mult = 64, }, 194462306a36Sopenharmony_ci { .gm = 255, .pga = 221, .pad = 57, .dac = 0, .bb_mult = 64, }, 194562306a36Sopenharmony_ci { .gm = 255, .pga = 221, .pad = 55, .dac = 0, .bb_mult = 64, }, 194662306a36Sopenharmony_ci { .gm = 255, .pga = 215, .pad = 55, .dac = 0, .bb_mult = 64, }, 194762306a36Sopenharmony_ci { .gm = 255, .pga = 215, .pad = 54, .dac = 0, .bb_mult = 64, }, 194862306a36Sopenharmony_ci { .gm = 255, .pga = 208, .pad = 54, .dac = 0, .bb_mult = 64, }, 194962306a36Sopenharmony_ci { .gm = 255, .pga = 208, .pad = 52, .dac = 0, .bb_mult = 64, }, 195062306a36Sopenharmony_ci { .gm = 255, .pga = 203, .pad = 52, .dac = 0, .bb_mult = 64, }, 195162306a36Sopenharmony_ci { .gm = 255, .pga = 203, .pad = 51, .dac = 0, .bb_mult = 64, }, 195262306a36Sopenharmony_ci { .gm = 255, .pga = 197, .pad = 51, .dac = 0, .bb_mult = 64, }, 195362306a36Sopenharmony_ci { .gm = 255, .pga = 197, .pad = 49, .dac = 0, .bb_mult = 64, }, 195462306a36Sopenharmony_ci { .gm = 255, .pga = 191, .pad = 49, .dac = 0, .bb_mult = 64, }, 195562306a36Sopenharmony_ci { .gm = 255, .pga = 191, .pad = 48, .dac = 0, .bb_mult = 64, }, 195662306a36Sopenharmony_ci { .gm = 255, .pga = 186, .pad = 48, .dac = 0, .bb_mult = 64, }, 195762306a36Sopenharmony_ci { .gm = 255, .pga = 186, .pad = 47, .dac = 0, .bb_mult = 64, }, 195862306a36Sopenharmony_ci { .gm = 255, .pga = 181, .pad = 47, .dac = 0, .bb_mult = 64, }, 195962306a36Sopenharmony_ci { .gm = 255, .pga = 181, .pad = 45, .dac = 0, .bb_mult = 64, }, 196062306a36Sopenharmony_ci { .gm = 255, .pga = 175, .pad = 45, .dac = 0, .bb_mult = 64, }, 196162306a36Sopenharmony_ci { .gm = 255, .pga = 175, .pad = 44, .dac = 0, .bb_mult = 64, }, 196262306a36Sopenharmony_ci { .gm = 255, .pga = 170, .pad = 44, .dac = 0, .bb_mult = 64, }, 196362306a36Sopenharmony_ci { .gm = 255, .pga = 170, .pad = 43, .dac = 0, .bb_mult = 64, }, 196462306a36Sopenharmony_ci { .gm = 255, .pga = 166, .pad = 43, .dac = 0, .bb_mult = 64, }, 196562306a36Sopenharmony_ci { .gm = 255, .pga = 166, .pad = 42, .dac = 0, .bb_mult = 64, }, 196662306a36Sopenharmony_ci { .gm = 255, .pga = 161, .pad = 42, .dac = 0, .bb_mult = 64, }, 196762306a36Sopenharmony_ci { .gm = 255, .pga = 161, .pad = 40, .dac = 0, .bb_mult = 64, }, 196862306a36Sopenharmony_ci { .gm = 255, .pga = 156, .pad = 40, .dac = 0, .bb_mult = 64, }, 196962306a36Sopenharmony_ci { .gm = 255, .pga = 156, .pad = 39, .dac = 0, .bb_mult = 64, }, 197062306a36Sopenharmony_ci { .gm = 255, .pga = 152, .pad = 39, .dac = 0, .bb_mult = 64, }, 197162306a36Sopenharmony_ci { .gm = 255, .pga = 152, .pad = 38, .dac = 0, .bb_mult = 64, }, 197262306a36Sopenharmony_ci { .gm = 255, .pga = 148, .pad = 38, .dac = 0, .bb_mult = 64, }, 197362306a36Sopenharmony_ci { .gm = 255, .pga = 148, .pad = 37, .dac = 0, .bb_mult = 64, }, 197462306a36Sopenharmony_ci { .gm = 255, .pga = 143, .pad = 37, .dac = 0, .bb_mult = 64, }, 197562306a36Sopenharmony_ci { .gm = 255, .pga = 143, .pad = 36, .dac = 0, .bb_mult = 64, }, 197662306a36Sopenharmony_ci { .gm = 255, .pga = 139, .pad = 36, .dac = 0, .bb_mult = 64, }, 197762306a36Sopenharmony_ci { .gm = 255, .pga = 139, .pad = 35, .dac = 0, .bb_mult = 64, }, 197862306a36Sopenharmony_ci { .gm = 255, .pga = 135, .pad = 35, .dac = 0, .bb_mult = 64, }, 197962306a36Sopenharmony_ci { .gm = 255, .pga = 135, .pad = 34, .dac = 0, .bb_mult = 64, }, 198062306a36Sopenharmony_ci { .gm = 255, .pga = 132, .pad = 34, .dac = 0, .bb_mult = 64, }, 198162306a36Sopenharmony_ci { .gm = 255, .pga = 132, .pad = 33, .dac = 0, .bb_mult = 64, }, 198262306a36Sopenharmony_ci { .gm = 255, .pga = 128, .pad = 33, .dac = 0, .bb_mult = 64, }, 198362306a36Sopenharmony_ci { .gm = 255, .pga = 128, .pad = 32, .dac = 0, .bb_mult = 64, }, 198462306a36Sopenharmony_ci { .gm = 255, .pga = 124, .pad = 32, .dac = 0, .bb_mult = 64, }, 198562306a36Sopenharmony_ci { .gm = 255, .pga = 124, .pad = 31, .dac = 0, .bb_mult = 64, }, 198662306a36Sopenharmony_ci { .gm = 255, .pga = 121, .pad = 31, .dac = 0, .bb_mult = 64, }, 198762306a36Sopenharmony_ci { .gm = 255, .pga = 121, .pad = 30, .dac = 0, .bb_mult = 64, }, 198862306a36Sopenharmony_ci { .gm = 255, .pga = 117, .pad = 30, .dac = 0, .bb_mult = 64, }, 198962306a36Sopenharmony_ci { .gm = 255, .pga = 117, .pad = 29, .dac = 0, .bb_mult = 64, }, 199062306a36Sopenharmony_ci { .gm = 255, .pga = 114, .pad = 29, .dac = 0, .bb_mult = 64, }, 199162306a36Sopenharmony_ci { .gm = 255, .pga = 114, .pad = 29, .dac = 0, .bb_mult = 64, }, 199262306a36Sopenharmony_ci { .gm = 255, .pga = 111, .pad = 29, .dac = 0, .bb_mult = 64, }, 199362306a36Sopenharmony_ci}; 199462306a36Sopenharmony_ci 199562306a36Sopenharmony_cistatic struct lpphy_tx_gain_table_entry lpphy_rev2_2ghz_tx_gain_table[] = { 199662306a36Sopenharmony_ci { .gm = 7, .pga = 99, .pad = 255, .dac = 0, .bb_mult = 64, }, 199762306a36Sopenharmony_ci { .gm = 7, .pga = 96, .pad = 255, .dac = 0, .bb_mult = 64, }, 199862306a36Sopenharmony_ci { .gm = 7, .pga = 93, .pad = 255, .dac = 0, .bb_mult = 64, }, 199962306a36Sopenharmony_ci { .gm = 7, .pga = 90, .pad = 255, .dac = 0, .bb_mult = 64, }, 200062306a36Sopenharmony_ci { .gm = 7, .pga = 88, .pad = 255, .dac = 0, .bb_mult = 64, }, 200162306a36Sopenharmony_ci { .gm = 7, .pga = 85, .pad = 255, .dac = 0, .bb_mult = 64, }, 200262306a36Sopenharmony_ci { .gm = 7, .pga = 83, .pad = 255, .dac = 0, .bb_mult = 64, }, 200362306a36Sopenharmony_ci { .gm = 7, .pga = 81, .pad = 255, .dac = 0, .bb_mult = 64, }, 200462306a36Sopenharmony_ci { .gm = 7, .pga = 78, .pad = 255, .dac = 0, .bb_mult = 64, }, 200562306a36Sopenharmony_ci { .gm = 7, .pga = 76, .pad = 255, .dac = 0, .bb_mult = 64, }, 200662306a36Sopenharmony_ci { .gm = 7, .pga = 74, .pad = 255, .dac = 0, .bb_mult = 64, }, 200762306a36Sopenharmony_ci { .gm = 7, .pga = 72, .pad = 255, .dac = 0, .bb_mult = 64, }, 200862306a36Sopenharmony_ci { .gm = 7, .pga = 70, .pad = 255, .dac = 0, .bb_mult = 64, }, 200962306a36Sopenharmony_ci { .gm = 7, .pga = 68, .pad = 255, .dac = 0, .bb_mult = 64, }, 201062306a36Sopenharmony_ci { .gm = 7, .pga = 66, .pad = 255, .dac = 0, .bb_mult = 64, }, 201162306a36Sopenharmony_ci { .gm = 7, .pga = 64, .pad = 255, .dac = 0, .bb_mult = 64, }, 201262306a36Sopenharmony_ci { .gm = 7, .pga = 64, .pad = 255, .dac = 0, .bb_mult = 64, }, 201362306a36Sopenharmony_ci { .gm = 7, .pga = 62, .pad = 255, .dac = 0, .bb_mult = 64, }, 201462306a36Sopenharmony_ci { .gm = 7, .pga = 62, .pad = 248, .dac = 0, .bb_mult = 64, }, 201562306a36Sopenharmony_ci { .gm = 7, .pga = 60, .pad = 248, .dac = 0, .bb_mult = 64, }, 201662306a36Sopenharmony_ci { .gm = 7, .pga = 60, .pad = 241, .dac = 0, .bb_mult = 64, }, 201762306a36Sopenharmony_ci { .gm = 7, .pga = 59, .pad = 241, .dac = 0, .bb_mult = 64, }, 201862306a36Sopenharmony_ci { .gm = 7, .pga = 59, .pad = 234, .dac = 0, .bb_mult = 64, }, 201962306a36Sopenharmony_ci { .gm = 7, .pga = 57, .pad = 234, .dac = 0, .bb_mult = 64, }, 202062306a36Sopenharmony_ci { .gm = 7, .pga = 57, .pad = 227, .dac = 0, .bb_mult = 64, }, 202162306a36Sopenharmony_ci { .gm = 7, .pga = 55, .pad = 227, .dac = 0, .bb_mult = 64, }, 202262306a36Sopenharmony_ci { .gm = 7, .pga = 55, .pad = 221, .dac = 0, .bb_mult = 64, }, 202362306a36Sopenharmony_ci { .gm = 7, .pga = 54, .pad = 221, .dac = 0, .bb_mult = 64, }, 202462306a36Sopenharmony_ci { .gm = 7, .pga = 54, .pad = 215, .dac = 0, .bb_mult = 64, }, 202562306a36Sopenharmony_ci { .gm = 7, .pga = 52, .pad = 215, .dac = 0, .bb_mult = 64, }, 202662306a36Sopenharmony_ci { .gm = 7, .pga = 52, .pad = 208, .dac = 0, .bb_mult = 64, }, 202762306a36Sopenharmony_ci { .gm = 7, .pga = 51, .pad = 208, .dac = 0, .bb_mult = 64, }, 202862306a36Sopenharmony_ci { .gm = 7, .pga = 51, .pad = 203, .dac = 0, .bb_mult = 64, }, 202962306a36Sopenharmony_ci { .gm = 7, .pga = 49, .pad = 203, .dac = 0, .bb_mult = 64, }, 203062306a36Sopenharmony_ci { .gm = 7, .pga = 49, .pad = 197, .dac = 0, .bb_mult = 64, }, 203162306a36Sopenharmony_ci { .gm = 7, .pga = 48, .pad = 197, .dac = 0, .bb_mult = 64, }, 203262306a36Sopenharmony_ci { .gm = 7, .pga = 48, .pad = 191, .dac = 0, .bb_mult = 64, }, 203362306a36Sopenharmony_ci { .gm = 7, .pga = 47, .pad = 191, .dac = 0, .bb_mult = 64, }, 203462306a36Sopenharmony_ci { .gm = 7, .pga = 47, .pad = 186, .dac = 0, .bb_mult = 64, }, 203562306a36Sopenharmony_ci { .gm = 7, .pga = 45, .pad = 186, .dac = 0, .bb_mult = 64, }, 203662306a36Sopenharmony_ci { .gm = 7, .pga = 45, .pad = 181, .dac = 0, .bb_mult = 64, }, 203762306a36Sopenharmony_ci { .gm = 7, .pga = 44, .pad = 181, .dac = 0, .bb_mult = 64, }, 203862306a36Sopenharmony_ci { .gm = 7, .pga = 44, .pad = 175, .dac = 0, .bb_mult = 64, }, 203962306a36Sopenharmony_ci { .gm = 7, .pga = 43, .pad = 175, .dac = 0, .bb_mult = 64, }, 204062306a36Sopenharmony_ci { .gm = 7, .pga = 43, .pad = 170, .dac = 0, .bb_mult = 64, }, 204162306a36Sopenharmony_ci { .gm = 7, .pga = 42, .pad = 170, .dac = 0, .bb_mult = 64, }, 204262306a36Sopenharmony_ci { .gm = 7, .pga = 42, .pad = 166, .dac = 0, .bb_mult = 64, }, 204362306a36Sopenharmony_ci { .gm = 7, .pga = 40, .pad = 166, .dac = 0, .bb_mult = 64, }, 204462306a36Sopenharmony_ci { .gm = 7, .pga = 40, .pad = 161, .dac = 0, .bb_mult = 64, }, 204562306a36Sopenharmony_ci { .gm = 7, .pga = 39, .pad = 161, .dac = 0, .bb_mult = 64, }, 204662306a36Sopenharmony_ci { .gm = 7, .pga = 39, .pad = 156, .dac = 0, .bb_mult = 64, }, 204762306a36Sopenharmony_ci { .gm = 7, .pga = 38, .pad = 156, .dac = 0, .bb_mult = 64, }, 204862306a36Sopenharmony_ci { .gm = 7, .pga = 38, .pad = 152, .dac = 0, .bb_mult = 64, }, 204962306a36Sopenharmony_ci { .gm = 7, .pga = 37, .pad = 152, .dac = 0, .bb_mult = 64, }, 205062306a36Sopenharmony_ci { .gm = 7, .pga = 37, .pad = 148, .dac = 0, .bb_mult = 64, }, 205162306a36Sopenharmony_ci { .gm = 7, .pga = 36, .pad = 148, .dac = 0, .bb_mult = 64, }, 205262306a36Sopenharmony_ci { .gm = 7, .pga = 36, .pad = 143, .dac = 0, .bb_mult = 64, }, 205362306a36Sopenharmony_ci { .gm = 7, .pga = 35, .pad = 143, .dac = 0, .bb_mult = 64, }, 205462306a36Sopenharmony_ci { .gm = 7, .pga = 35, .pad = 139, .dac = 0, .bb_mult = 64, }, 205562306a36Sopenharmony_ci { .gm = 7, .pga = 34, .pad = 139, .dac = 0, .bb_mult = 64, }, 205662306a36Sopenharmony_ci { .gm = 7, .pga = 34, .pad = 135, .dac = 0, .bb_mult = 64, }, 205762306a36Sopenharmony_ci { .gm = 7, .pga = 33, .pad = 135, .dac = 0, .bb_mult = 64, }, 205862306a36Sopenharmony_ci { .gm = 7, .pga = 33, .pad = 132, .dac = 0, .bb_mult = 64, }, 205962306a36Sopenharmony_ci { .gm = 7, .pga = 32, .pad = 132, .dac = 0, .bb_mult = 64, }, 206062306a36Sopenharmony_ci { .gm = 7, .pga = 32, .pad = 128, .dac = 0, .bb_mult = 64, }, 206162306a36Sopenharmony_ci { .gm = 7, .pga = 31, .pad = 128, .dac = 0, .bb_mult = 64, }, 206262306a36Sopenharmony_ci { .gm = 7, .pga = 31, .pad = 124, .dac = 0, .bb_mult = 64, }, 206362306a36Sopenharmony_ci { .gm = 7, .pga = 30, .pad = 124, .dac = 0, .bb_mult = 64, }, 206462306a36Sopenharmony_ci { .gm = 7, .pga = 30, .pad = 121, .dac = 0, .bb_mult = 64, }, 206562306a36Sopenharmony_ci { .gm = 7, .pga = 29, .pad = 121, .dac = 0, .bb_mult = 64, }, 206662306a36Sopenharmony_ci { .gm = 7, .pga = 29, .pad = 117, .dac = 0, .bb_mult = 64, }, 206762306a36Sopenharmony_ci { .gm = 7, .pga = 29, .pad = 117, .dac = 0, .bb_mult = 64, }, 206862306a36Sopenharmony_ci { .gm = 7, .pga = 29, .pad = 114, .dac = 0, .bb_mult = 64, }, 206962306a36Sopenharmony_ci { .gm = 7, .pga = 28, .pad = 114, .dac = 0, .bb_mult = 64, }, 207062306a36Sopenharmony_ci { .gm = 7, .pga = 28, .pad = 111, .dac = 0, .bb_mult = 64, }, 207162306a36Sopenharmony_ci { .gm = 7, .pga = 27, .pad = 111, .dac = 0, .bb_mult = 64, }, 207262306a36Sopenharmony_ci { .gm = 7, .pga = 27, .pad = 108, .dac = 0, .bb_mult = 64, }, 207362306a36Sopenharmony_ci { .gm = 7, .pga = 26, .pad = 108, .dac = 0, .bb_mult = 64, }, 207462306a36Sopenharmony_ci { .gm = 7, .pga = 26, .pad = 104, .dac = 0, .bb_mult = 64, }, 207562306a36Sopenharmony_ci { .gm = 7, .pga = 25, .pad = 104, .dac = 0, .bb_mult = 64, }, 207662306a36Sopenharmony_ci { .gm = 7, .pga = 25, .pad = 102, .dac = 0, .bb_mult = 64, }, 207762306a36Sopenharmony_ci { .gm = 7, .pga = 25, .pad = 102, .dac = 0, .bb_mult = 64, }, 207862306a36Sopenharmony_ci { .gm = 7, .pga = 25, .pad = 99, .dac = 0, .bb_mult = 64, }, 207962306a36Sopenharmony_ci { .gm = 7, .pga = 24, .pad = 99, .dac = 0, .bb_mult = 64, }, 208062306a36Sopenharmony_ci { .gm = 7, .pga = 24, .pad = 96, .dac = 0, .bb_mult = 64, }, 208162306a36Sopenharmony_ci { .gm = 7, .pga = 23, .pad = 96, .dac = 0, .bb_mult = 64, }, 208262306a36Sopenharmony_ci { .gm = 7, .pga = 23, .pad = 93, .dac = 0, .bb_mult = 64, }, 208362306a36Sopenharmony_ci { .gm = 7, .pga = 23, .pad = 93, .dac = 0, .bb_mult = 64, }, 208462306a36Sopenharmony_ci { .gm = 7, .pga = 23, .pad = 90, .dac = 0, .bb_mult = 64, }, 208562306a36Sopenharmony_ci { .gm = 7, .pga = 22, .pad = 90, .dac = 0, .bb_mult = 64, }, 208662306a36Sopenharmony_ci { .gm = 7, .pga = 22, .pad = 88, .dac = 0, .bb_mult = 64, }, 208762306a36Sopenharmony_ci { .gm = 7, .pga = 21, .pad = 88, .dac = 0, .bb_mult = 64, }, 208862306a36Sopenharmony_ci { .gm = 7, .pga = 21, .pad = 85, .dac = 0, .bb_mult = 64, }, 208962306a36Sopenharmony_ci { .gm = 7, .pga = 21, .pad = 85, .dac = 0, .bb_mult = 64, }, 209062306a36Sopenharmony_ci { .gm = 7, .pga = 21, .pad = 83, .dac = 0, .bb_mult = 64, }, 209162306a36Sopenharmony_ci { .gm = 7, .pga = 20, .pad = 83, .dac = 0, .bb_mult = 64, }, 209262306a36Sopenharmony_ci { .gm = 7, .pga = 20, .pad = 81, .dac = 0, .bb_mult = 64, }, 209362306a36Sopenharmony_ci { .gm = 7, .pga = 20, .pad = 81, .dac = 0, .bb_mult = 64, }, 209462306a36Sopenharmony_ci { .gm = 7, .pga = 20, .pad = 78, .dac = 0, .bb_mult = 64, }, 209562306a36Sopenharmony_ci { .gm = 7, .pga = 19, .pad = 78, .dac = 0, .bb_mult = 64, }, 209662306a36Sopenharmony_ci { .gm = 7, .pga = 19, .pad = 76, .dac = 0, .bb_mult = 64, }, 209762306a36Sopenharmony_ci { .gm = 7, .pga = 19, .pad = 76, .dac = 0, .bb_mult = 64, }, 209862306a36Sopenharmony_ci { .gm = 7, .pga = 19, .pad = 74, .dac = 0, .bb_mult = 64, }, 209962306a36Sopenharmony_ci { .gm = 7, .pga = 18, .pad = 74, .dac = 0, .bb_mult = 64, }, 210062306a36Sopenharmony_ci { .gm = 7, .pga = 18, .pad = 72, .dac = 0, .bb_mult = 64, }, 210162306a36Sopenharmony_ci { .gm = 7, .pga = 18, .pad = 72, .dac = 0, .bb_mult = 64, }, 210262306a36Sopenharmony_ci { .gm = 7, .pga = 18, .pad = 70, .dac = 0, .bb_mult = 64, }, 210362306a36Sopenharmony_ci { .gm = 7, .pga = 17, .pad = 70, .dac = 0, .bb_mult = 64, }, 210462306a36Sopenharmony_ci { .gm = 7, .pga = 17, .pad = 68, .dac = 0, .bb_mult = 64, }, 210562306a36Sopenharmony_ci { .gm = 7, .pga = 17, .pad = 68, .dac = 0, .bb_mult = 64, }, 210662306a36Sopenharmony_ci { .gm = 7, .pga = 17, .pad = 66, .dac = 0, .bb_mult = 64, }, 210762306a36Sopenharmony_ci { .gm = 7, .pga = 16, .pad = 66, .dac = 0, .bb_mult = 64, }, 210862306a36Sopenharmony_ci { .gm = 7, .pga = 16, .pad = 64, .dac = 0, .bb_mult = 64, }, 210962306a36Sopenharmony_ci { .gm = 7, .pga = 16, .pad = 64, .dac = 0, .bb_mult = 64, }, 211062306a36Sopenharmony_ci { .gm = 7, .pga = 16, .pad = 62, .dac = 0, .bb_mult = 64, }, 211162306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 62, .dac = 0, .bb_mult = 64, }, 211262306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 60, .dac = 0, .bb_mult = 64, }, 211362306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 60, .dac = 0, .bb_mult = 64, }, 211462306a36Sopenharmony_ci { .gm = 7, .pga = 15, .pad = 59, .dac = 0, .bb_mult = 64, }, 211562306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 59, .dac = 0, .bb_mult = 64, }, 211662306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 57, .dac = 0, .bb_mult = 64, }, 211762306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 57, .dac = 0, .bb_mult = 64, }, 211862306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 55, .dac = 0, .bb_mult = 64, }, 211962306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 55, .dac = 0, .bb_mult = 64, }, 212062306a36Sopenharmony_ci { .gm = 7, .pga = 14, .pad = 54, .dac = 0, .bb_mult = 64, }, 212162306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 54, .dac = 0, .bb_mult = 64, }, 212262306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 52, .dac = 0, .bb_mult = 64, }, 212362306a36Sopenharmony_ci { .gm = 7, .pga = 13, .pad = 52, .dac = 0, .bb_mult = 64, }, 212462306a36Sopenharmony_ci}; 212562306a36Sopenharmony_ci 212662306a36Sopenharmony_cistatic struct lpphy_tx_gain_table_entry lpphy_rev2_5ghz_tx_gain_table[] = { 212762306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 152, }, 212862306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 147, }, 212962306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 143, }, 213062306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 139, }, 213162306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 135, }, 213262306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 131, }, 213362306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 128, }, 213462306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 124, }, 213562306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 121, }, 213662306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 117, }, 213762306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 114, }, 213862306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 111, }, 213962306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 107, }, 214062306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 104, }, 214162306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 101, }, 214262306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 99, }, 214362306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 96, }, 214462306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 93, }, 214562306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 90, }, 214662306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 88, }, 214762306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 85, }, 214862306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 83, }, 214962306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 81, }, 215062306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 78, }, 215162306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 76, }, 215262306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 74, }, 215362306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 72, }, 215462306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 70, }, 215562306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 68, }, 215662306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 66, }, 215762306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 64, }, 215862306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 248, .dac = 0, .bb_mult = 64, }, 215962306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 241, .dac = 0, .bb_mult = 64, }, 216062306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 234, .dac = 0, .bb_mult = 64, }, 216162306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 227, .dac = 0, .bb_mult = 64, }, 216262306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 221, .dac = 0, .bb_mult = 64, }, 216362306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 215, .dac = 0, .bb_mult = 64, }, 216462306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 208, .dac = 0, .bb_mult = 64, }, 216562306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 64, }, 216662306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 197, .dac = 0, .bb_mult = 64, }, 216762306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 191, .dac = 0, .bb_mult = 64, }, 216862306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 186, .dac = 0, .bb_mult = 64, }, 216962306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 181, .dac = 0, .bb_mult = 64, }, 217062306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 175, .dac = 0, .bb_mult = 64, }, 217162306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 170, .dac = 0, .bb_mult = 64, }, 217262306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 166, .dac = 0, .bb_mult = 64, }, 217362306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 161, .dac = 0, .bb_mult = 64, }, 217462306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 156, .dac = 0, .bb_mult = 64, }, 217562306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 152, .dac = 0, .bb_mult = 64, }, 217662306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 148, .dac = 0, .bb_mult = 64, }, 217762306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 143, .dac = 0, .bb_mult = 64, }, 217862306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 139, .dac = 0, .bb_mult = 64, }, 217962306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 135, .dac = 0, .bb_mult = 64, }, 218062306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 132, .dac = 0, .bb_mult = 64, }, 218162306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 128, .dac = 0, .bb_mult = 64, }, 218262306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 124, .dac = 0, .bb_mult = 64, }, 218362306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 121, .dac = 0, .bb_mult = 64, }, 218462306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 117, .dac = 0, .bb_mult = 64, }, 218562306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 114, .dac = 0, .bb_mult = 64, }, 218662306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 111, .dac = 0, .bb_mult = 64, }, 218762306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 108, .dac = 0, .bb_mult = 64, }, 218862306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 104, .dac = 0, .bb_mult = 64, }, 218962306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 102, .dac = 0, .bb_mult = 64, }, 219062306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 99, .dac = 0, .bb_mult = 64, }, 219162306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 96, .dac = 0, .bb_mult = 64, }, 219262306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 93, .dac = 0, .bb_mult = 64, }, 219362306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 90, .dac = 0, .bb_mult = 64, }, 219462306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 88, .dac = 0, .bb_mult = 64, }, 219562306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 85, .dac = 0, .bb_mult = 64, }, 219662306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 83, .dac = 0, .bb_mult = 64, }, 219762306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 81, .dac = 0, .bb_mult = 64, }, 219862306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 78, .dac = 0, .bb_mult = 64, }, 219962306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 76, .dac = 0, .bb_mult = 64, }, 220062306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 74, .dac = 0, .bb_mult = 64, }, 220162306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 72, .dac = 0, .bb_mult = 64, }, 220262306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 70, .dac = 0, .bb_mult = 64, }, 220362306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 68, .dac = 0, .bb_mult = 64, }, 220462306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 66, .dac = 0, .bb_mult = 64, }, 220562306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 64, .dac = 0, .bb_mult = 64, }, 220662306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 64, .dac = 0, .bb_mult = 64, }, 220762306a36Sopenharmony_ci { .gm = 255, .pga = 255, .pad = 62, .dac = 0, .bb_mult = 64, }, 220862306a36Sopenharmony_ci { .gm = 255, .pga = 248, .pad = 62, .dac = 0, .bb_mult = 64, }, 220962306a36Sopenharmony_ci { .gm = 255, .pga = 248, .pad = 60, .dac = 0, .bb_mult = 64, }, 221062306a36Sopenharmony_ci { .gm = 255, .pga = 241, .pad = 60, .dac = 0, .bb_mult = 64, }, 221162306a36Sopenharmony_ci { .gm = 255, .pga = 241, .pad = 59, .dac = 0, .bb_mult = 64, }, 221262306a36Sopenharmony_ci { .gm = 255, .pga = 234, .pad = 59, .dac = 0, .bb_mult = 64, }, 221362306a36Sopenharmony_ci { .gm = 255, .pga = 234, .pad = 57, .dac = 0, .bb_mult = 64, }, 221462306a36Sopenharmony_ci { .gm = 255, .pga = 227, .pad = 57, .dac = 0, .bb_mult = 64, }, 221562306a36Sopenharmony_ci { .gm = 255, .pga = 227, .pad = 55, .dac = 0, .bb_mult = 64, }, 221662306a36Sopenharmony_ci { .gm = 255, .pga = 221, .pad = 55, .dac = 0, .bb_mult = 64, }, 221762306a36Sopenharmony_ci { .gm = 255, .pga = 221, .pad = 54, .dac = 0, .bb_mult = 64, }, 221862306a36Sopenharmony_ci { .gm = 255, .pga = 215, .pad = 54, .dac = 0, .bb_mult = 64, }, 221962306a36Sopenharmony_ci { .gm = 255, .pga = 215, .pad = 52, .dac = 0, .bb_mult = 64, }, 222062306a36Sopenharmony_ci { .gm = 255, .pga = 208, .pad = 52, .dac = 0, .bb_mult = 64, }, 222162306a36Sopenharmony_ci { .gm = 255, .pga = 208, .pad = 51, .dac = 0, .bb_mult = 64, }, 222262306a36Sopenharmony_ci { .gm = 255, .pga = 203, .pad = 51, .dac = 0, .bb_mult = 64, }, 222362306a36Sopenharmony_ci { .gm = 255, .pga = 203, .pad = 49, .dac = 0, .bb_mult = 64, }, 222462306a36Sopenharmony_ci { .gm = 255, .pga = 197, .pad = 49, .dac = 0, .bb_mult = 64, }, 222562306a36Sopenharmony_ci { .gm = 255, .pga = 197, .pad = 48, .dac = 0, .bb_mult = 64, }, 222662306a36Sopenharmony_ci { .gm = 255, .pga = 191, .pad = 48, .dac = 0, .bb_mult = 64, }, 222762306a36Sopenharmony_ci { .gm = 255, .pga = 191, .pad = 47, .dac = 0, .bb_mult = 64, }, 222862306a36Sopenharmony_ci { .gm = 255, .pga = 186, .pad = 47, .dac = 0, .bb_mult = 64, }, 222962306a36Sopenharmony_ci { .gm = 255, .pga = 186, .pad = 45, .dac = 0, .bb_mult = 64, }, 223062306a36Sopenharmony_ci { .gm = 255, .pga = 181, .pad = 45, .dac = 0, .bb_mult = 64, }, 223162306a36Sopenharmony_ci { .gm = 255, .pga = 181, .pad = 44, .dac = 0, .bb_mult = 64, }, 223262306a36Sopenharmony_ci { .gm = 255, .pga = 175, .pad = 44, .dac = 0, .bb_mult = 64, }, 223362306a36Sopenharmony_ci { .gm = 255, .pga = 175, .pad = 43, .dac = 0, .bb_mult = 64, }, 223462306a36Sopenharmony_ci { .gm = 255, .pga = 170, .pad = 43, .dac = 0, .bb_mult = 64, }, 223562306a36Sopenharmony_ci { .gm = 255, .pga = 170, .pad = 42, .dac = 0, .bb_mult = 64, }, 223662306a36Sopenharmony_ci { .gm = 255, .pga = 166, .pad = 42, .dac = 0, .bb_mult = 64, }, 223762306a36Sopenharmony_ci { .gm = 255, .pga = 166, .pad = 40, .dac = 0, .bb_mult = 64, }, 223862306a36Sopenharmony_ci { .gm = 255, .pga = 161, .pad = 40, .dac = 0, .bb_mult = 64, }, 223962306a36Sopenharmony_ci { .gm = 255, .pga = 161, .pad = 39, .dac = 0, .bb_mult = 64, }, 224062306a36Sopenharmony_ci { .gm = 255, .pga = 156, .pad = 39, .dac = 0, .bb_mult = 64, }, 224162306a36Sopenharmony_ci { .gm = 255, .pga = 156, .pad = 38, .dac = 0, .bb_mult = 64, }, 224262306a36Sopenharmony_ci { .gm = 255, .pga = 152, .pad = 38, .dac = 0, .bb_mult = 64, }, 224362306a36Sopenharmony_ci { .gm = 255, .pga = 152, .pad = 37, .dac = 0, .bb_mult = 64, }, 224462306a36Sopenharmony_ci { .gm = 255, .pga = 148, .pad = 37, .dac = 0, .bb_mult = 64, }, 224562306a36Sopenharmony_ci { .gm = 255, .pga = 148, .pad = 36, .dac = 0, .bb_mult = 64, }, 224662306a36Sopenharmony_ci { .gm = 255, .pga = 143, .pad = 36, .dac = 0, .bb_mult = 64, }, 224762306a36Sopenharmony_ci { .gm = 255, .pga = 143, .pad = 35, .dac = 0, .bb_mult = 64, }, 224862306a36Sopenharmony_ci { .gm = 255, .pga = 139, .pad = 35, .dac = 0, .bb_mult = 64, }, 224962306a36Sopenharmony_ci { .gm = 255, .pga = 139, .pad = 34, .dac = 0, .bb_mult = 64, }, 225062306a36Sopenharmony_ci { .gm = 255, .pga = 135, .pad = 34, .dac = 0, .bb_mult = 64, }, 225162306a36Sopenharmony_ci { .gm = 255, .pga = 135, .pad = 33, .dac = 0, .bb_mult = 64, }, 225262306a36Sopenharmony_ci { .gm = 255, .pga = 132, .pad = 33, .dac = 0, .bb_mult = 64, }, 225362306a36Sopenharmony_ci { .gm = 255, .pga = 132, .pad = 32, .dac = 0, .bb_mult = 64, }, 225462306a36Sopenharmony_ci { .gm = 255, .pga = 128, .pad = 32, .dac = 0, .bb_mult = 64, }, 225562306a36Sopenharmony_ci}; 225662306a36Sopenharmony_ci 225762306a36Sopenharmony_civoid lpphy_rev0_1_table_init(struct b43_wldev *dev) 225862306a36Sopenharmony_ci{ 225962306a36Sopenharmony_ci B43_WARN_ON(dev->phy.rev >= 2); 226062306a36Sopenharmony_ci 226162306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB8(2, 0), 226262306a36Sopenharmony_ci ARRAY_SIZE(lpphy_min_sig_sq_table), lpphy_min_sig_sq_table); 226362306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB16(1, 0), 226462306a36Sopenharmony_ci ARRAY_SIZE(lpphy_rev01_noise_scale_table), lpphy_rev01_noise_scale_table); 226562306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB16(14, 0), 226662306a36Sopenharmony_ci ARRAY_SIZE(lpphy_crs_gain_nft_table), lpphy_crs_gain_nft_table); 226762306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB16(8, 0), 226862306a36Sopenharmony_ci ARRAY_SIZE(lpphy_rev01_filter_control_table), lpphy_rev01_filter_control_table); 226962306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB32(9, 0), 227062306a36Sopenharmony_ci ARRAY_SIZE(lpphy_rev01_ps_control_table), lpphy_rev01_ps_control_table); 227162306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB8(6, 0), 227262306a36Sopenharmony_ci ARRAY_SIZE(lpphy_pll_fraction_table), lpphy_pll_fraction_table); 227362306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB16(0, 0), 227462306a36Sopenharmony_ci ARRAY_SIZE(lpphy_iqlo_cal_table), lpphy_iqlo_cal_table); 227562306a36Sopenharmony_ci if (dev->phy.rev == 0) { 227662306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB16(13, 0), 227762306a36Sopenharmony_ci ARRAY_SIZE(lpphy_rev0_ofdm_cck_gain_table), lpphy_rev0_ofdm_cck_gain_table); 227862306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB16(12, 0), 227962306a36Sopenharmony_ci ARRAY_SIZE(lpphy_rev0_ofdm_cck_gain_table), lpphy_rev0_ofdm_cck_gain_table); 228062306a36Sopenharmony_ci } else { 228162306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB16(13, 0), 228262306a36Sopenharmony_ci ARRAY_SIZE(lpphy_rev1_ofdm_cck_gain_table), lpphy_rev1_ofdm_cck_gain_table); 228362306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB16(12, 0), 228462306a36Sopenharmony_ci ARRAY_SIZE(lpphy_rev1_ofdm_cck_gain_table), lpphy_rev1_ofdm_cck_gain_table); 228562306a36Sopenharmony_ci} 228662306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB16(15, 0), 228762306a36Sopenharmony_ci ARRAY_SIZE(lpphy_gain_delta_table), lpphy_gain_delta_table); 228862306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB32(10, 0), 228962306a36Sopenharmony_ci ARRAY_SIZE(lpphy_tx_power_control_table), lpphy_tx_power_control_table); 229062306a36Sopenharmony_ci} 229162306a36Sopenharmony_ci 229262306a36Sopenharmony_civoid lpphy_rev2plus_table_init(struct b43_wldev *dev) 229362306a36Sopenharmony_ci{ 229462306a36Sopenharmony_ci int i; 229562306a36Sopenharmony_ci 229662306a36Sopenharmony_ci B43_WARN_ON(dev->phy.rev < 2); 229762306a36Sopenharmony_ci 229862306a36Sopenharmony_ci for (i = 0; i < 704; i++) 229962306a36Sopenharmony_ci b43_lptab_write(dev, B43_LPTAB32(7, i), 0); 230062306a36Sopenharmony_ci 230162306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB8(2, 0), 230262306a36Sopenharmony_ci ARRAY_SIZE(lpphy_min_sig_sq_table), lpphy_min_sig_sq_table); 230362306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB16(1, 0), 230462306a36Sopenharmony_ci ARRAY_SIZE(lpphy_rev2plus_noise_scale_table), lpphy_rev2plus_noise_scale_table); 230562306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB32(11, 0), 230662306a36Sopenharmony_ci ARRAY_SIZE(lpphy_rev2plus_filter_control_table), lpphy_rev2plus_filter_control_table); 230762306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB32(12, 0), 230862306a36Sopenharmony_ci ARRAY_SIZE(lpphy_rev2plus_ps_control_table), lpphy_rev2plus_ps_control_table); 230962306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB32(13, 0), 231062306a36Sopenharmony_ci ARRAY_SIZE(lpphy_gain_idx_table), lpphy_gain_idx_table); 231162306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB16(14, 0), 231262306a36Sopenharmony_ci ARRAY_SIZE(lpphy_aux_gain_idx_table), lpphy_aux_gain_idx_table); 231362306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB16(15, 0), 231462306a36Sopenharmony_ci ARRAY_SIZE(lpphy_sw_control_table), lpphy_sw_control_table); 231562306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB8(16, 0), 231662306a36Sopenharmony_ci ARRAY_SIZE(lpphy_hf_table), lpphy_hf_table); 231762306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB32(17, 0), 231862306a36Sopenharmony_ci ARRAY_SIZE(lpphy_gain_value_table), lpphy_gain_value_table); 231962306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB16(18, 0), 232062306a36Sopenharmony_ci ARRAY_SIZE(lpphy_gain_table), lpphy_gain_table); 232162306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB8(6, 0), 232262306a36Sopenharmony_ci ARRAY_SIZE(lpphy_pll_fraction_table), lpphy_pll_fraction_table); 232362306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB16(0, 0), 232462306a36Sopenharmony_ci ARRAY_SIZE(lpphy_iqlo_cal_table), lpphy_iqlo_cal_table); 232562306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB32(9, 0), 232662306a36Sopenharmony_ci ARRAY_SIZE(lpphy_papd_eps_table), lpphy_papd_eps_table); 232762306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB32(10, 0), 232862306a36Sopenharmony_ci ARRAY_SIZE(lpphy_papd_mult_table), lpphy_papd_mult_table); 232962306a36Sopenharmony_ci 233062306a36Sopenharmony_ci if ((dev->dev->chip_id == 0x4325) && (dev->dev->chip_rev == 0)) { 233162306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB32(13, 0), 233262306a36Sopenharmony_ci ARRAY_SIZE(lpphy_a0_gain_idx_table), lpphy_a0_gain_idx_table); 233362306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB16(14, 0), 233462306a36Sopenharmony_ci ARRAY_SIZE(lpphy_a0_aux_gain_idx_table), lpphy_a0_aux_gain_idx_table); 233562306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB32(17, 0), 233662306a36Sopenharmony_ci ARRAY_SIZE(lpphy_a0_gain_value_table), lpphy_a0_gain_value_table); 233762306a36Sopenharmony_ci b43_lptab_write_bulk(dev, B43_LPTAB16(18, 0), 233862306a36Sopenharmony_ci ARRAY_SIZE(lpphy_a0_gain_table), lpphy_a0_gain_table); 233962306a36Sopenharmony_ci } 234062306a36Sopenharmony_ci} 234162306a36Sopenharmony_ci 234262306a36Sopenharmony_cistatic void lpphy_rev0_1_write_gain_table(struct b43_wldev *dev, int offset, 234362306a36Sopenharmony_ci struct lpphy_tx_gain_table_entry data) 234462306a36Sopenharmony_ci{ 234562306a36Sopenharmony_ci u32 tmp; 234662306a36Sopenharmony_ci 234762306a36Sopenharmony_ci B43_WARN_ON(dev->phy.rev >= 2); 234862306a36Sopenharmony_ci 234962306a36Sopenharmony_ci tmp = data.pad << 11; 235062306a36Sopenharmony_ci tmp |= data.pga << 7; 235162306a36Sopenharmony_ci tmp |= data.gm << 4; 235262306a36Sopenharmony_ci tmp |= data.dac; 235362306a36Sopenharmony_ci b43_lptab_write(dev, B43_LPTAB32(10, 0xC0 + offset), tmp); 235462306a36Sopenharmony_ci tmp = data.bb_mult << 20; 235562306a36Sopenharmony_ci b43_lptab_write(dev, B43_LPTAB32(10, 0x140 + offset), tmp); 235662306a36Sopenharmony_ci} 235762306a36Sopenharmony_ci 235862306a36Sopenharmony_cistatic void lpphy_rev2plus_write_gain_table(struct b43_wldev *dev, int offset, 235962306a36Sopenharmony_ci struct lpphy_tx_gain_table_entry data) 236062306a36Sopenharmony_ci{ 236162306a36Sopenharmony_ci u32 tmp; 236262306a36Sopenharmony_ci 236362306a36Sopenharmony_ci B43_WARN_ON(dev->phy.rev < 2); 236462306a36Sopenharmony_ci 236562306a36Sopenharmony_ci tmp = data.pad << 16; 236662306a36Sopenharmony_ci tmp |= data.pga << 8; 236762306a36Sopenharmony_ci tmp |= data.gm; 236862306a36Sopenharmony_ci if (dev->phy.rev >= 3) { 236962306a36Sopenharmony_ci if (b43_current_band(dev->wl) == NL80211_BAND_5GHZ) 237062306a36Sopenharmony_ci tmp |= 0x10 << 24; 237162306a36Sopenharmony_ci else 237262306a36Sopenharmony_ci tmp |= 0x70 << 24; 237362306a36Sopenharmony_ci } else { 237462306a36Sopenharmony_ci if (b43_current_band(dev->wl) == NL80211_BAND_5GHZ) 237562306a36Sopenharmony_ci tmp |= 0x14 << 24; 237662306a36Sopenharmony_ci else 237762306a36Sopenharmony_ci tmp |= 0x7F << 24; 237862306a36Sopenharmony_ci } 237962306a36Sopenharmony_ci b43_lptab_write(dev, B43_LPTAB32(7, 0xC0 + offset), tmp); 238062306a36Sopenharmony_ci tmp = data.bb_mult << 20; 238162306a36Sopenharmony_ci tmp |= data.dac << 28; 238262306a36Sopenharmony_ci b43_lptab_write(dev, B43_LPTAB32(7, 0x140 + offset), tmp); 238362306a36Sopenharmony_ci} 238462306a36Sopenharmony_ci 238562306a36Sopenharmony_civoid lpphy_write_gain_table(struct b43_wldev *dev, int offset, 238662306a36Sopenharmony_ci struct lpphy_tx_gain_table_entry data) 238762306a36Sopenharmony_ci{ 238862306a36Sopenharmony_ci if (dev->phy.rev >= 2) 238962306a36Sopenharmony_ci lpphy_rev2plus_write_gain_table(dev, offset, data); 239062306a36Sopenharmony_ci else 239162306a36Sopenharmony_ci lpphy_rev0_1_write_gain_table(dev, offset, data); 239262306a36Sopenharmony_ci} 239362306a36Sopenharmony_ci 239462306a36Sopenharmony_civoid lpphy_write_gain_table_bulk(struct b43_wldev *dev, int offset, int count, 239562306a36Sopenharmony_ci struct lpphy_tx_gain_table_entry *table) 239662306a36Sopenharmony_ci{ 239762306a36Sopenharmony_ci int i; 239862306a36Sopenharmony_ci 239962306a36Sopenharmony_ci for (i = offset; i < count; i++) 240062306a36Sopenharmony_ci lpphy_write_gain_table(dev, i, table[i]); 240162306a36Sopenharmony_ci} 240262306a36Sopenharmony_ci 240362306a36Sopenharmony_civoid lpphy_init_tx_gain_table(struct b43_wldev *dev) 240462306a36Sopenharmony_ci{ 240562306a36Sopenharmony_ci struct ssb_sprom *sprom = dev->dev->bus_sprom; 240662306a36Sopenharmony_ci 240762306a36Sopenharmony_ci switch (dev->phy.rev) { 240862306a36Sopenharmony_ci case 0: 240962306a36Sopenharmony_ci if ((sprom->boardflags_hi & B43_BFH_NOPA) || 241062306a36Sopenharmony_ci (sprom->boardflags_lo & B43_BFL_HGPA)) 241162306a36Sopenharmony_ci lpphy_write_gain_table_bulk(dev, 0, 128, 241262306a36Sopenharmony_ci lpphy_rev0_nopa_tx_gain_table); 241362306a36Sopenharmony_ci else if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) 241462306a36Sopenharmony_ci lpphy_write_gain_table_bulk(dev, 0, 128, 241562306a36Sopenharmony_ci lpphy_rev0_2ghz_tx_gain_table); 241662306a36Sopenharmony_ci else 241762306a36Sopenharmony_ci lpphy_write_gain_table_bulk(dev, 0, 128, 241862306a36Sopenharmony_ci lpphy_rev0_5ghz_tx_gain_table); 241962306a36Sopenharmony_ci break; 242062306a36Sopenharmony_ci case 1: 242162306a36Sopenharmony_ci if ((sprom->boardflags_hi & B43_BFH_NOPA) || 242262306a36Sopenharmony_ci (sprom->boardflags_lo & B43_BFL_HGPA)) 242362306a36Sopenharmony_ci lpphy_write_gain_table_bulk(dev, 0, 128, 242462306a36Sopenharmony_ci lpphy_rev1_nopa_tx_gain_table); 242562306a36Sopenharmony_ci else if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) 242662306a36Sopenharmony_ci lpphy_write_gain_table_bulk(dev, 0, 128, 242762306a36Sopenharmony_ci lpphy_rev1_2ghz_tx_gain_table); 242862306a36Sopenharmony_ci else 242962306a36Sopenharmony_ci lpphy_write_gain_table_bulk(dev, 0, 128, 243062306a36Sopenharmony_ci lpphy_rev1_5ghz_tx_gain_table); 243162306a36Sopenharmony_ci break; 243262306a36Sopenharmony_ci default: 243362306a36Sopenharmony_ci if (sprom->boardflags_hi & B43_BFH_NOPA) 243462306a36Sopenharmony_ci lpphy_write_gain_table_bulk(dev, 0, 128, 243562306a36Sopenharmony_ci lpphy_rev2_nopa_tx_gain_table); 243662306a36Sopenharmony_ci else if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) 243762306a36Sopenharmony_ci lpphy_write_gain_table_bulk(dev, 0, 128, 243862306a36Sopenharmony_ci lpphy_rev2_2ghz_tx_gain_table); 243962306a36Sopenharmony_ci else 244062306a36Sopenharmony_ci lpphy_write_gain_table_bulk(dev, 0, 128, 244162306a36Sopenharmony_ci lpphy_rev2_5ghz_tx_gain_table); 244262306a36Sopenharmony_ci } 244362306a36Sopenharmony_ci} 2444