1// SPDX-License-Identifier: ISC
2/*
3 * Copyright (c) 2010 Broadcom Corporation
4 */
5
6#include <types.h>
7#include "phy_int.h"
8
9extern const struct phytbl_info dot11lcnphytbl_rx_gain_info_rev0[];
10extern const u32 dot11lcnphytbl_rx_gain_info_sz_rev0;
11extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313;
12extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_bt_ipa;
13extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_epa;
14extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_epa_combo;
15extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_bt_epa;
16extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_bt_epa_p250;
17
18extern const struct phytbl_info dot11lcnphytbl_info_rev0[];
19extern const u32 dot11lcnphytbl_info_sz_rev0;
20
21extern const struct phytbl_info dot11lcnphytbl_rx_gain_info_2G_rev2[];
22extern const u32 dot11lcnphytbl_rx_gain_info_2G_rev2_sz;
23
24extern const struct phytbl_info dot11lcnphytbl_rx_gain_info_5G_rev2[];
25extern const u32 dot11lcnphytbl_rx_gain_info_5G_rev2_sz;
26
27extern const struct phytbl_info dot11lcnphytbl_rx_gain_info_extlna_2G_rev2[];
28
29extern const struct phytbl_info dot11lcnphytbl_rx_gain_info_extlna_5G_rev2[];
30
31struct lcnphy_tx_gain_tbl_entry {
32	unsigned char gm;
33	unsigned char pga;
34	unsigned char pad;
35	unsigned char dac;
36	unsigned char bb_mult;
37};
38
39extern const struct lcnphy_tx_gain_tbl_entry dot11lcnphy_2GHz_gaintable_rev0[];
40
41extern const struct
42lcnphy_tx_gain_tbl_entry dot11lcnphy_2GHz_extPA_gaintable_rev0[];
43
44extern const struct lcnphy_tx_gain_tbl_entry dot11lcnphy_5GHz_gaintable_rev0[];
45