Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cmd.h
Go to the documentation of this file.
1 /*
2  * This file is part of wl12xx
3  *
4  * Copyright (C) 1998-2009, 2011 Texas Instruments. All rights reserved.
5  * Copyright (C) 2009 Nokia Corporation
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * version 2 as published by the Free Software Foundation.
10  *
11  * This program is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
19  * 02110-1301 USA
20  *
21  */
22 
23 #ifndef __WL12XX_CMD_H__
24 #define __WL12XX_CMD_H__
25 
26 #include "conf.h"
27 
28 #define TEST_CMD_INI_FILE_RADIO_PARAM 0x19
29 #define TEST_CMD_INI_FILE_GENERAL_PARAM 0x1E
30 
33 
35 
37 
43  u8 padding[3];
44 } __packed;
45 
48 
50 
52 
58  u8 padding[3];
59 } __packed;
60 
63 
65 
66  /* Static radio parameters */
69 
70  /* Dynamic radio parameters */
75 } __packed;
76 
79 
81 
82  /* Static radio parameters */
85 
87 
88  /* Dynamic radio parameters */
92 } __packed;
93 
94 #define TEST_CMD_INI_FILE_RF_EXTENDED_PARAM 0x26
95 
98 
100 
104 } __packed;
105 
106 int wl1271_cmd_general_parms(struct wl1271 *wl);
107 int wl128x_cmd_general_parms(struct wl1271 *wl);
108 int wl1271_cmd_radio_parms(struct wl1271 *wl);
109 int wl128x_cmd_radio_parms(struct wl1271 *wl);
110 int wl1271_cmd_ext_radio_parms(struct wl1271 *wl);
111 
112 #endif /* __WL12XX_CMD_H__ */