1/* 2 * Copyright (c) 2010 Broadcom Corporation 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 11 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 13 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 14 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15 */ 16 17typedef phytbl_info_t dot11lcnphytbl_info_t; 18 19extern const dot11lcnphytbl_info_t dot11lcnphytbl_rx_gain_info_rev0[]; 20extern const u32 dot11lcnphytbl_rx_gain_info_sz_rev0; 21extern const dot11lcnphytbl_info_t dot11lcn_sw_ctrl_tbl_info_4313; 22extern const dot11lcnphytbl_info_t dot11lcn_sw_ctrl_tbl_info_4313_epa; 23extern const dot11lcnphytbl_info_t dot11lcn_sw_ctrl_tbl_info_4313_epa_combo; 24 25extern const dot11lcnphytbl_info_t dot11lcnphytbl_info_rev0[]; 26extern const u32 dot11lcnphytbl_info_sz_rev0; 27 28extern const dot11lcnphytbl_info_t dot11lcnphytbl_rx_gain_info_2G_rev2[]; 29extern const u32 dot11lcnphytbl_rx_gain_info_2G_rev2_sz; 30 31extern const dot11lcnphytbl_info_t dot11lcnphytbl_rx_gain_info_5G_rev2[]; 32extern const u32 dot11lcnphytbl_rx_gain_info_5G_rev2_sz; 33 34extern const dot11lcnphytbl_info_t dot11lcnphytbl_rx_gain_info_extlna_2G_rev2[]; 35 36extern const dot11lcnphytbl_info_t dot11lcnphytbl_rx_gain_info_extlna_5G_rev2[]; 37 38typedef struct { 39 unsigned char gm; 40 unsigned char pga; 41 unsigned char pad; 42 unsigned char dac; 43 unsigned char bb_mult; 44} lcnphy_tx_gain_tbl_entry; 45 46extern const lcnphy_tx_gain_tbl_entry dot11lcnphy_2GHz_gaintable_rev0[]; 47extern const lcnphy_tx_gain_tbl_entry dot11lcnphy_2GHz_extPA_gaintable_rev0[]; 48 49extern const lcnphy_tx_gain_tbl_entry dot11lcnphy_5GHz_gaintable_rev0[]; 50