Merge branch 'for-next' of git://git.o-hand.com/linux-mfd
[sfrench/cifs-2.6.git] / drivers / staging / wlan-ng / p80211metastruct.h
1 /* This file is GENERATED AUTOMATICALLY.  DO NOT EDIT OR MODIFY.
2 * --------------------------------------------------------------------
3 *
4 * Copyright (C) 1999 AbsoluteValue Systems, Inc.  All Rights Reserved.
5 * --------------------------------------------------------------------
6 *
7 * linux-wlan
8 *
9 *   The contents of this file are subject to the Mozilla Public
10 *   License Version 1.1 (the "License"); you may not use this file
11 *   except in compliance with the License. You may obtain a copy of
12 *   the License at http://www.mozilla.org/MPL/
13 *
14 *   Software distributed under the License is distributed on an "AS
15 *   IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
16 *   implied. See the License for the specific language governing
17 *   rights and limitations under the License.
18 *
19 *   Alternatively, the contents of this file may be used under the
20 *   terms of the GNU Public License version 2 (the "GPL"), in which
21 *   case the provisions of the GPL are applicable instead of the
22 *   above.  If you wish to allow the use of your version of this file
23 *   only under the terms of the GPL and not to allow others to use
24 *   your version of this file under the MPL, indicate your decision
25 *   by deleting the provisions above and replace them with the notice
26 *   and other provisions required by the GPL.  If you do not delete
27 *   the provisions above, a recipient may use your version of this
28 *   file under either the MPL or the GPL.
29 *
30 * --------------------------------------------------------------------
31 *
32 * Inquiries regarding the linux-wlan Open Source project can be
33 * made directly to:
34 *
35 * AbsoluteValue Systems Inc.
36 * info@linux-wlan.com
37 * http://www.linux-wlan.com
38 *
39 * --------------------------------------------------------------------
40 *
41 * Portions of the development of this software were funded by
42 * Intersil Corporation as part of PRISM(R) chipset product development.
43 *
44 * --------------------------------------------------------------------
45 */
46
47 #ifndef _P80211MKMETASTRUCT_H
48 #define _P80211MKMETASTRUCT_H
49
50 typedef struct p80211msg_dot11req_mibget {
51         u32 msgcode;
52         u32 msglen;
53         u8 devname[WLAN_DEVNAMELEN_MAX];
54         p80211item_unk392_t mibattribute;
55         p80211item_uint32_t resultcode;
56 } __attribute__ ((packed)) p80211msg_dot11req_mibget_t;
57
58 typedef struct p80211msg_dot11req_mibset {
59         u32 msgcode;
60         u32 msglen;
61         u8 devname[WLAN_DEVNAMELEN_MAX];
62         p80211item_unk392_t mibattribute;
63         p80211item_uint32_t resultcode;
64 } __attribute__ ((packed)) p80211msg_dot11req_mibset_t;
65
66 typedef struct p80211msg_dot11req_scan {
67         u32 msgcode;
68         u32 msglen;
69         u8 devname[WLAN_DEVNAMELEN_MAX];
70         p80211item_uint32_t bsstype;
71         p80211item_pstr6_t bssid;
72         u8 pad_0C[1];
73         p80211item_pstr32_t ssid;
74         u8 pad_1D[3];
75         p80211item_uint32_t scantype;
76         p80211item_uint32_t probedelay;
77         p80211item_pstr14_t channellist;
78         u8 pad_2C[1];
79         p80211item_uint32_t minchanneltime;
80         p80211item_uint32_t maxchanneltime;
81         p80211item_uint32_t resultcode;
82         p80211item_uint32_t numbss;
83         p80211item_uint32_t append;
84 } __attribute__ ((packed)) p80211msg_dot11req_scan_t;
85
86 typedef struct p80211msg_dot11req_scan_results {
87         u32 msgcode;
88         u32 msglen;
89         u8 devname[WLAN_DEVNAMELEN_MAX];
90         p80211item_uint32_t bssindex;
91         p80211item_uint32_t resultcode;
92         p80211item_uint32_t signal;
93         p80211item_uint32_t noise;
94         p80211item_pstr6_t bssid;
95         u8 pad_3C[1];
96         p80211item_pstr32_t ssid;
97         u8 pad_4D[3];
98         p80211item_uint32_t bsstype;
99         p80211item_uint32_t beaconperiod;
100         p80211item_uint32_t dtimperiod;
101         p80211item_uint32_t timestamp;
102         p80211item_uint32_t localtime;
103         p80211item_uint32_t fhdwelltime;
104         p80211item_uint32_t fhhopset;
105         p80211item_uint32_t fhhoppattern;
106         p80211item_uint32_t fhhopindex;
107         p80211item_uint32_t dschannel;
108         p80211item_uint32_t cfpcount;
109         p80211item_uint32_t cfpperiod;
110         p80211item_uint32_t cfpmaxduration;
111         p80211item_uint32_t cfpdurremaining;
112         p80211item_uint32_t ibssatimwindow;
113         p80211item_uint32_t cfpollable;
114         p80211item_uint32_t cfpollreq;
115         p80211item_uint32_t privacy;
116         p80211item_uint32_t basicrate1;
117         p80211item_uint32_t basicrate2;
118         p80211item_uint32_t basicrate3;
119         p80211item_uint32_t basicrate4;
120         p80211item_uint32_t basicrate5;
121         p80211item_uint32_t basicrate6;
122         p80211item_uint32_t basicrate7;
123         p80211item_uint32_t basicrate8;
124         p80211item_uint32_t supprate1;
125         p80211item_uint32_t supprate2;
126         p80211item_uint32_t supprate3;
127         p80211item_uint32_t supprate4;
128         p80211item_uint32_t supprate5;
129         p80211item_uint32_t supprate6;
130         p80211item_uint32_t supprate7;
131         p80211item_uint32_t supprate8;
132 } __attribute__ ((packed)) p80211msg_dot11req_scan_results_t;
133
134 typedef struct p80211msg_dot11req_start {
135         u32 msgcode;
136         u32 msglen;
137         u8 devname[WLAN_DEVNAMELEN_MAX];
138         p80211item_pstr32_t ssid;
139         u8 pad_12D[3];
140         p80211item_uint32_t bsstype;
141         p80211item_uint32_t beaconperiod;
142         p80211item_uint32_t dtimperiod;
143         p80211item_uint32_t cfpperiod;
144         p80211item_uint32_t cfpmaxduration;
145         p80211item_uint32_t fhdwelltime;
146         p80211item_uint32_t fhhopset;
147         p80211item_uint32_t fhhoppattern;
148         p80211item_uint32_t dschannel;
149         p80211item_uint32_t ibssatimwindow;
150         p80211item_uint32_t probedelay;
151         p80211item_uint32_t cfpollable;
152         p80211item_uint32_t cfpollreq;
153         p80211item_uint32_t basicrate1;
154         p80211item_uint32_t basicrate2;
155         p80211item_uint32_t basicrate3;
156         p80211item_uint32_t basicrate4;
157         p80211item_uint32_t basicrate5;
158         p80211item_uint32_t basicrate6;
159         p80211item_uint32_t basicrate7;
160         p80211item_uint32_t basicrate8;
161         p80211item_uint32_t operationalrate1;
162         p80211item_uint32_t operationalrate2;
163         p80211item_uint32_t operationalrate3;
164         p80211item_uint32_t operationalrate4;
165         p80211item_uint32_t operationalrate5;
166         p80211item_uint32_t operationalrate6;
167         p80211item_uint32_t operationalrate7;
168         p80211item_uint32_t operationalrate8;
169         p80211item_uint32_t resultcode;
170 } __attribute__ ((packed)) p80211msg_dot11req_start_t;
171
172 typedef struct p80211msg_lnxreq_ifstate {
173         u32 msgcode;
174         u32 msglen;
175         u8 devname[WLAN_DEVNAMELEN_MAX];
176         p80211item_uint32_t ifstate;
177         p80211item_uint32_t resultcode;
178 } __attribute__ ((packed)) p80211msg_lnxreq_ifstate_t;
179
180 typedef struct p80211msg_lnxreq_wlansniff {
181         u32 msgcode;
182         u32 msglen;
183         u8 devname[WLAN_DEVNAMELEN_MAX];
184         p80211item_uint32_t enable;
185         p80211item_uint32_t channel;
186         p80211item_uint32_t prismheader;
187         p80211item_uint32_t wlanheader;
188         p80211item_uint32_t keepwepflags;
189         p80211item_uint32_t stripfcs;
190         p80211item_uint32_t packet_trunc;
191         p80211item_uint32_t resultcode;
192 } __attribute__ ((packed)) p80211msg_lnxreq_wlansniff_t;
193
194 typedef struct p80211msg_lnxreq_hostwep {
195         u32 msgcode;
196         u32 msglen;
197         u8 devname[WLAN_DEVNAMELEN_MAX];
198         p80211item_uint32_t resultcode;
199         p80211item_uint32_t decrypt;
200         p80211item_uint32_t encrypt;
201 } __attribute__ ((packed)) p80211msg_lnxreq_hostwep_t;
202
203 typedef struct p80211msg_lnxreq_commsquality {
204         u32 msgcode;
205         u32 msglen;
206         u8 devname[WLAN_DEVNAMELEN_MAX];
207         p80211item_uint32_t resultcode;
208         p80211item_uint32_t dbm;
209         p80211item_uint32_t link;
210         p80211item_uint32_t level;
211         p80211item_uint32_t noise;
212 } __attribute__ ((packed)) p80211msg_lnxreq_commsquality_t;
213
214 typedef struct p80211msg_lnxreq_autojoin {
215         u32 msgcode;
216         u32 msglen;
217         u8 devname[WLAN_DEVNAMELEN_MAX];
218         p80211item_pstr32_t ssid;
219         u8 pad_19D[3];
220         p80211item_uint32_t authtype;
221         p80211item_uint32_t resultcode;
222 } __attribute__ ((packed)) p80211msg_lnxreq_autojoin_t;
223
224 typedef struct p80211msg_p2req_readpda {
225         u32 msgcode;
226         u32 msglen;
227         u8 devname[WLAN_DEVNAMELEN_MAX];
228         p80211item_unk1024_t pda;
229         p80211item_uint32_t resultcode;
230 } __attribute__ ((packed)) p80211msg_p2req_readpda_t;
231
232 typedef struct p80211msg_p2req_ramdl_state {
233         u32 msgcode;
234         u32 msglen;
235         u8 devname[WLAN_DEVNAMELEN_MAX];
236         p80211item_uint32_t enable;
237         p80211item_uint32_t exeaddr;
238         p80211item_uint32_t resultcode;
239 } __attribute__ ((packed)) p80211msg_p2req_ramdl_state_t;
240
241 typedef struct p80211msg_p2req_ramdl_write {
242         u32 msgcode;
243         u32 msglen;
244         u8 devname[WLAN_DEVNAMELEN_MAX];
245         p80211item_uint32_t addr;
246         p80211item_uint32_t len;
247         p80211item_unk4096_t data;
248         p80211item_uint32_t resultcode;
249 } __attribute__ ((packed)) p80211msg_p2req_ramdl_write_t;
250
251 typedef struct p80211msg_p2req_flashdl_state {
252         u32 msgcode;
253         u32 msglen;
254         u8 devname[WLAN_DEVNAMELEN_MAX];
255         p80211item_uint32_t enable;
256         p80211item_uint32_t resultcode;
257 } __attribute__ ((packed)) p80211msg_p2req_flashdl_state_t;
258
259 typedef struct p80211msg_p2req_flashdl_write {
260         u32 msgcode;
261         u32 msglen;
262         u8 devname[WLAN_DEVNAMELEN_MAX];
263         p80211item_uint32_t addr;
264         p80211item_uint32_t len;
265         p80211item_unk4096_t data;
266         p80211item_uint32_t resultcode;
267 } __attribute__ ((packed)) p80211msg_p2req_flashdl_write_t;
268
269 #endif