Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
conf.h
Go to the documentation of this file.
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 
25 #define WL18XX_CONF_MAGIC 0x10e100ca
26 #define WL18XX_CONF_VERSION (WLCORE_CONF_VERSION | 0x0003)
27 #define WL18XX_CONF_MASK 0x0000ffff
28 #define WL18XX_CONF_SIZE (WLCORE_CONF_SIZE + \
29  sizeof(struct wl18xx_priv_conf))
30 
31 #define NUM_OF_CHANNELS_11_ABG 150
32 #define NUM_OF_CHANNELS_11_P 7
33 #define WL18XX_NUM_OF_SUB_BANDS 9
34 #define SRF_TABLE_LEN 16
35 #define PIN_MUXING_SIZE 2
36 
44 
46 
47  /* Bit 0: One Hot, Bit 1: Control Enable, Bit 2: 1.8V, Bit 3: 3V */
49 
51 
52  /* Bit 0: One Hot, Bit 1: Control Enable, Bit 2: 1.8V, Bit 3: 3V */
78  /* enable point saturation */
80  /* low/medium/high Tx power in dBm */
84  u8 padding[1];
85 } __packed;
86 
88  /* Default - use MIMO, fallback to SISO20 */
90 
91  /* Wide - use SISO40 */
93 
94  /* Use SISO20 */
96 };
97 
99  /* DEFAULT / WIDE / SISO20 */
101 } __packed;
102 
104  /* Module params structures */
106 
107  /* this structure is copied wholesale to FW */
109 } __packed;
110 
111 #endif /* __WL18XX_CONF_H__ */