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