wlcore/wl18xx: the conf structs must be packed so they can be exported
[deliverable/linux.git] / drivers / net / wireless / ti / wl18xx / conf.h
CommitLineData
46a1d512
LC
1/*
2 * This file is part of wl18xx
3 *
4 * Copyright (C) 2011 Texas Instruments Inc.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * version 2 as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18 * 02110-1301 USA
19 *
20 */
21
22#ifndef __WL18XX_CONF_H__
23#define __WL18XX_CONF_H__
24
25struct wl18xx_conf_phy {
26 u8 phy_standalone;
27 u8 rdl;
28 u8 enable_clpc;
29 u8 enable_tx_low_pwr_on_siso_rdl;
30 u8 auto_detect;
31 u8 dedicated_fem;
32 u8 low_band_component;
33 u8 low_band_component_type;
34 u8 high_band_component;
35 u8 high_band_component_type;
46a1d512
LC
36 u8 tcxo_ldo_voltage;
37 u8 xtal_itrim_val;
38 u8 srf_state;
39 u8 io_configuration;
40 u8 sdio_configuration;
41 u8 settings;
42 u8 rx_profile;
43 u8 primary_clock_setting_time;
44 u8 clock_valid_on_wake_up;
45 u8 secondary_clock_setting_time;
5add82ed 46 u8 pwr_limit_reference_11_abg;
16ea4733
IR
47 u8 psat;
48 s8 low_power_val;
49 s8 med_power_val;
50 s8 high_power_val;
34bacf73 51} __packed;
46a1d512 52
23ee9bf8 53struct wl18xx_priv_conf {
46a1d512 54 struct wl18xx_conf_phy phy;
34bacf73 55} __packed;
46a1d512
LC
56
57#endif /* __WL18XX_CONF_H__ */
This page took 0.031142 seconds and 5 git commands to generate.