mfd: wm8350-i2c: Make sure the i2c regmap functions are compiled
[linux/fpc-iii.git] / drivers / net / wireless / ti / wl12xx / conf.h
blob75e29897a0f58f85619e26403db10c4b73245022
1 /*
2 * This file is part of wl12xx
4 * Copyright (C) 2011 Texas Instruments Inc.
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.
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.
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
22 #ifndef __WL12XX_CONF_H__
23 #define __WL12XX_CONF_H__
25 /* these are number of channels on the band divided by two, rounded up */
26 #define CONF_TX_PWR_COMPENSATION_LEN_2 7
27 #define CONF_TX_PWR_COMPENSATION_LEN_5 18
29 struct wl12xx_conf_rf {
31 * Per channel power compensation for 2.4GHz
33 * Range: s8
35 u8 tx_per_channel_power_compensation_2[CONF_TX_PWR_COMPENSATION_LEN_2];
38 * Per channel power compensation for 5GHz
40 * Range: s8
42 u8 tx_per_channel_power_compensation_5[CONF_TX_PWR_COMPENSATION_LEN_5];
45 struct wl12xx_priv_conf {
46 struct wl12xx_conf_rf rf;
47 struct conf_memory_settings mem_wl127x;
50 #endif /* __WL12XX_CONF_H__ */