xref: /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phytbl_lcn.h (revision 24bce201d79807b668bf9d9e0aca801c5c0d5f78)
1 // SPDX-License-Identifier: ISC
2 /*
3  * Copyright (c) 2010 Broadcom Corporation
4  */
5 
6 #include <types.h>
7 #include "phy_int.h"
8 
9 extern const struct phytbl_info dot11lcnphytbl_rx_gain_info_rev0[];
10 extern const u32 dot11lcnphytbl_rx_gain_info_sz_rev0;
11 extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313;
12 extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_bt_ipa;
13 extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_epa;
14 extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_epa_combo;
15 extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_bt_epa;
16 extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_bt_epa_p250;
17 
18 extern const struct phytbl_info dot11lcnphytbl_info_rev0[];
19 extern const u32 dot11lcnphytbl_info_sz_rev0;
20 
21 extern const struct phytbl_info dot11lcnphytbl_rx_gain_info_2G_rev2[];
22 extern const u32 dot11lcnphytbl_rx_gain_info_2G_rev2_sz;
23 
24 extern const struct phytbl_info dot11lcnphytbl_rx_gain_info_5G_rev2[];
25 extern const u32 dot11lcnphytbl_rx_gain_info_5G_rev2_sz;
26 
27 extern const struct phytbl_info dot11lcnphytbl_rx_gain_info_extlna_2G_rev2[];
28 
29 extern const struct phytbl_info dot11lcnphytbl_rx_gain_info_extlna_5G_rev2[];
30 
31 struct 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 
39 extern const struct lcnphy_tx_gain_tbl_entry dot11lcnphy_2GHz_gaintable_rev0[];
40 
41 extern const struct
42 lcnphy_tx_gain_tbl_entry dot11lcnphy_2GHz_extPA_gaintable_rev0[];
43 
44 extern const struct lcnphy_tx_gain_tbl_entry dot11lcnphy_5GHz_gaintable_rev0[];
45