spi-topcliff-pch: supports a spi mode setup and bit order setup by IO control
[zen-stable.git] / drivers / net / wireless / brcm80211 / brcmsmac / phy / phytbl_lcn.h
blob5f75e16bf5a712523a193978eb81f1f45a39ecaa
1 /*
2 * Copyright (c) 2010 Broadcom Corporation
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.
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.
17 #include <types.h>
18 #include "phy_int.h"
20 extern const struct phytbl_info dot11lcnphytbl_rx_gain_info_rev0[];
21 extern const u32 dot11lcnphytbl_rx_gain_info_sz_rev0;
22 extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313;
23 extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_epa;
24 extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_epa_combo;
25 extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_bt_epa;
26 extern const struct phytbl_info dot11lcn_sw_ctrl_tbl_info_4313_bt_epa_p250;
28 extern const struct phytbl_info dot11lcnphytbl_info_rev0[];
29 extern const u32 dot11lcnphytbl_info_sz_rev0;
31 extern const struct phytbl_info dot11lcnphytbl_rx_gain_info_2G_rev2[];
32 extern const u32 dot11lcnphytbl_rx_gain_info_2G_rev2_sz;
34 extern const struct phytbl_info dot11lcnphytbl_rx_gain_info_5G_rev2[];
35 extern const u32 dot11lcnphytbl_rx_gain_info_5G_rev2_sz;
37 extern const struct phytbl_info dot11lcnphytbl_rx_gain_info_extlna_2G_rev2[];
39 extern const struct phytbl_info dot11lcnphytbl_rx_gain_info_extlna_5G_rev2[];
41 struct lcnphy_tx_gain_tbl_entry {
42 unsigned char gm;
43 unsigned char pga;
44 unsigned char pad;
45 unsigned char dac;
46 unsigned char bb_mult;
49 extern const struct lcnphy_tx_gain_tbl_entry dot11lcnphy_2GHz_gaintable_rev0[];
51 extern const struct
52 lcnphy_tx_gain_tbl_entry dot11lcnphy_2GHz_extPA_gaintable_rev0[];
54 extern const struct lcnphy_tx_gain_tbl_entry dot11lcnphy_5GHz_gaintable_rev0[];