15b435de0d786869c95d1962121af0d7df2542009Arend van Spriel/* 25b435de0d786869c95d1962121af0d7df2542009Arend van Spriel * Copyright (c) 2010 Broadcom Corporation 35b435de0d786869c95d1962121af0d7df2542009Arend van Spriel * 45b435de0d786869c95d1962121af0d7df2542009Arend van Spriel * Permission to use, copy, modify, and/or distribute this software for any 55b435de0d786869c95d1962121af0d7df2542009Arend van Spriel * purpose with or without fee is hereby granted, provided that the above 65b435de0d786869c95d1962121af0d7df2542009Arend van Spriel * copyright notice and this permission notice appear in all copies. 75b435de0d786869c95d1962121af0d7df2542009Arend van Spriel * 85b435de0d786869c95d1962121af0d7df2542009Arend van Spriel * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 95b435de0d786869c95d1962121af0d7df2542009Arend van Spriel * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 105b435de0d786869c95d1962121af0d7df2542009Arend van Spriel * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 115b435de0d786869c95d1962121af0d7df2542009Arend van Spriel * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 125b435de0d786869c95d1962121af0d7df2542009Arend van Spriel * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 135b435de0d786869c95d1962121af0d7df2542009Arend van Spriel * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 145b435de0d786869c95d1962121af0d7df2542009Arend van Spriel * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 155b435de0d786869c95d1962121af0d7df2542009Arend van Spriel */ 165b435de0d786869c95d1962121af0d7df2542009Arend van Spriel 175b435de0d786869c95d1962121af0d7df2542009Arend van Spriel#include <types.h> 185b435de0d786869c95d1962121af0d7df2542009Arend van Spriel#include "phy_int.h" 195b435de0d786869c95d1962121af0d7df2542009Arend van Spriel 205b435de0d786869c95d1962121af0d7df2542009Arend van Sprielextern const struct phytbl_info dot11lcnphytbl_rx_gain_info_rev0[]; 215b435de0d786869c95d1962121af0d7df2542009Arend van Sprielextern const u32 dot11lcnphytbl_rx_gain_info_sz_rev0; 225b435de0d786869c95d1962121af0d7df2542009Arend van Sprielextern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313; 235b435de0d786869c95d1962121af0d7df2542009Arend van Sprielextern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_epa; 245b435de0d786869c95d1962121af0d7df2542009Arend van Sprielextern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_epa_combo; 255b435de0d786869c95d1962121af0d7df2542009Arend van Sprielextern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_bt_epa; 265b435de0d786869c95d1962121af0d7df2542009Arend van Sprielextern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_bt_epa_p250; 275b435de0d786869c95d1962121af0d7df2542009Arend van Spriel 285b435de0d786869c95d1962121af0d7df2542009Arend van Sprielextern const struct phytbl_info dot11lcnphytbl_info_rev0[]; 295b435de0d786869c95d1962121af0d7df2542009Arend van Sprielextern const u32 dot11lcnphytbl_info_sz_rev0; 305b435de0d786869c95d1962121af0d7df2542009Arend van Spriel 315b435de0d786869c95d1962121af0d7df2542009Arend van Sprielextern const struct phytbl_info dot11lcnphytbl_rx_gain_info_2G_rev2[]; 325b435de0d786869c95d1962121af0d7df2542009Arend van Sprielextern const u32 dot11lcnphytbl_rx_gain_info_2G_rev2_sz; 335b435de0d786869c95d1962121af0d7df2542009Arend van Spriel 345b435de0d786869c95d1962121af0d7df2542009Arend van Sprielextern const struct phytbl_info dot11lcnphytbl_rx_gain_info_5G_rev2[]; 355b435de0d786869c95d1962121af0d7df2542009Arend van Sprielextern const u32 dot11lcnphytbl_rx_gain_info_5G_rev2_sz; 365b435de0d786869c95d1962121af0d7df2542009Arend van Spriel 375b435de0d786869c95d1962121af0d7df2542009Arend van Sprielextern const struct phytbl_info dot11lcnphytbl_rx_gain_info_extlna_2G_rev2[]; 385b435de0d786869c95d1962121af0d7df2542009Arend van Spriel 395b435de0d786869c95d1962121af0d7df2542009Arend van Sprielextern const struct phytbl_info dot11lcnphytbl_rx_gain_info_extlna_5G_rev2[]; 405b435de0d786869c95d1962121af0d7df2542009Arend van Spriel 415b435de0d786869c95d1962121af0d7df2542009Arend van Sprielstruct lcnphy_tx_gain_tbl_entry { 425b435de0d786869c95d1962121af0d7df2542009Arend van Spriel unsigned char gm; 435b435de0d786869c95d1962121af0d7df2542009Arend van Spriel unsigned char pga; 445b435de0d786869c95d1962121af0d7df2542009Arend van Spriel unsigned char pad; 455b435de0d786869c95d1962121af0d7df2542009Arend van Spriel unsigned char dac; 465b435de0d786869c95d1962121af0d7df2542009Arend van Spriel unsigned char bb_mult; 475b435de0d786869c95d1962121af0d7df2542009Arend van Spriel}; 485b435de0d786869c95d1962121af0d7df2542009Arend van Spriel 495b435de0d786869c95d1962121af0d7df2542009Arend van Sprielextern const struct lcnphy_tx_gain_tbl_entry dot11lcnphy_2GHz_gaintable_rev0[]; 505b435de0d786869c95d1962121af0d7df2542009Arend van Spriel 515b435de0d786869c95d1962121af0d7df2542009Arend van Sprielextern const struct 525b435de0d786869c95d1962121af0d7df2542009Arend van Spriellcnphy_tx_gain_tbl_entry dot11lcnphy_2GHz_extPA_gaintable_rev0[]; 535b435de0d786869c95d1962121af0d7df2542009Arend van Spriel 545b435de0d786869c95d1962121af0d7df2542009Arend van Sprielextern const struct lcnphy_tx_gain_tbl_entry dot11lcnphy_5GHz_gaintable_rev0[]; 55