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 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 } __packed;
57 
58 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 } __packed;
65 
66 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 } __packed;
85 
86 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 capinfo;
117 	p80211item_uint32_t basicrate1;
118 	p80211item_uint32_t basicrate2;
119 	p80211item_uint32_t basicrate3;
120 	p80211item_uint32_t basicrate4;
121 	p80211item_uint32_t basicrate5;
122 	p80211item_uint32_t basicrate6;
123 	p80211item_uint32_t basicrate7;
124 	p80211item_uint32_t basicrate8;
125 	p80211item_uint32_t supprate1;
126 	p80211item_uint32_t supprate2;
127 	p80211item_uint32_t supprate3;
128 	p80211item_uint32_t supprate4;
129 	p80211item_uint32_t supprate5;
130 	p80211item_uint32_t supprate6;
131 	p80211item_uint32_t supprate7;
132 	p80211item_uint32_t supprate8;
133 } __packed;
134 
135 struct p80211msg_dot11req_start {
136 	u32 msgcode;
137 	u32 msglen;
138 	u8 devname[WLAN_DEVNAMELEN_MAX];
139 	p80211item_pstr32_t ssid;
140 	u8 pad_12D[3];
141 	p80211item_uint32_t bsstype;
142 	p80211item_uint32_t beaconperiod;
143 	p80211item_uint32_t dtimperiod;
144 	p80211item_uint32_t cfpperiod;
145 	p80211item_uint32_t cfpmaxduration;
146 	p80211item_uint32_t fhdwelltime;
147 	p80211item_uint32_t fhhopset;
148 	p80211item_uint32_t fhhoppattern;
149 	p80211item_uint32_t dschannel;
150 	p80211item_uint32_t ibssatimwindow;
151 	p80211item_uint32_t probedelay;
152 	p80211item_uint32_t cfpollable;
153 	p80211item_uint32_t cfpollreq;
154 	p80211item_uint32_t basicrate1;
155 	p80211item_uint32_t basicrate2;
156 	p80211item_uint32_t basicrate3;
157 	p80211item_uint32_t basicrate4;
158 	p80211item_uint32_t basicrate5;
159 	p80211item_uint32_t basicrate6;
160 	p80211item_uint32_t basicrate7;
161 	p80211item_uint32_t basicrate8;
162 	p80211item_uint32_t operationalrate1;
163 	p80211item_uint32_t operationalrate2;
164 	p80211item_uint32_t operationalrate3;
165 	p80211item_uint32_t operationalrate4;
166 	p80211item_uint32_t operationalrate5;
167 	p80211item_uint32_t operationalrate6;
168 	p80211item_uint32_t operationalrate7;
169 	p80211item_uint32_t operationalrate8;
170 	p80211item_uint32_t resultcode;
171 } __packed;
172 
173 struct p80211msg_lnxreq_ifstate {
174 	u32 msgcode;
175 	u32 msglen;
176 	u8 devname[WLAN_DEVNAMELEN_MAX];
177 	p80211item_uint32_t ifstate;
178 	p80211item_uint32_t resultcode;
179 } __packed;
180 
181 struct p80211msg_lnxreq_wlansniff {
182 	u32 msgcode;
183 	u32 msglen;
184 	u8 devname[WLAN_DEVNAMELEN_MAX];
185 	p80211item_uint32_t enable;
186 	p80211item_uint32_t channel;
187 	p80211item_uint32_t prismheader;
188 	p80211item_uint32_t wlanheader;
189 	p80211item_uint32_t keepwepflags;
190 	p80211item_uint32_t stripfcs;
191 	p80211item_uint32_t packet_trunc;
192 	p80211item_uint32_t resultcode;
193 } __packed;
194 
195 struct p80211msg_lnxreq_hostwep {
196 	u32 msgcode;
197 	u32 msglen;
198 	u8 devname[WLAN_DEVNAMELEN_MAX];
199 	p80211item_uint32_t resultcode;
200 	p80211item_uint32_t decrypt;
201 	p80211item_uint32_t encrypt;
202 } __packed;
203 
204 struct p80211msg_lnxreq_commsquality {
205 	u32 msgcode;
206 	u32 msglen;
207 	u8 devname[WLAN_DEVNAMELEN_MAX];
208 	p80211item_uint32_t resultcode;
209 	p80211item_uint32_t dbm;
210 	p80211item_uint32_t link;
211 	p80211item_uint32_t level;
212 	p80211item_uint32_t noise;
213 	p80211item_uint32_t txrate;
214 } __packed;
215 
216 struct p80211msg_lnxreq_autojoin {
217 	u32 msgcode;
218 	u32 msglen;
219 	u8 devname[WLAN_DEVNAMELEN_MAX];
220 	p80211item_pstr32_t ssid;
221 	u8 pad_19D[3];
222 	p80211item_uint32_t authtype;
223 	p80211item_uint32_t resultcode;
224 } __packed;
225 
226 struct p80211msg_p2req_readpda {
227 	u32 msgcode;
228 	u32 msglen;
229 	u8 devname[WLAN_DEVNAMELEN_MAX];
230 	p80211item_unk1024_t pda;
231 	p80211item_uint32_t resultcode;
232 } __packed;
233 
234 struct p80211msg_p2req_ramdl_state {
235 	u32 msgcode;
236 	u32 msglen;
237 	u8 devname[WLAN_DEVNAMELEN_MAX];
238 	p80211item_uint32_t enable;
239 	p80211item_uint32_t exeaddr;
240 	p80211item_uint32_t resultcode;
241 } __packed;
242 
243 struct p80211msg_p2req_ramdl_write {
244 	u32 msgcode;
245 	u32 msglen;
246 	u8 devname[WLAN_DEVNAMELEN_MAX];
247 	p80211item_uint32_t addr;
248 	p80211item_uint32_t len;
249 	p80211item_unk4096_t data;
250 	p80211item_uint32_t resultcode;
251 } __packed;
252 
253 struct p80211msg_p2req_flashdl_state {
254 	u32 msgcode;
255 	u32 msglen;
256 	u8 devname[WLAN_DEVNAMELEN_MAX];
257 	p80211item_uint32_t enable;
258 	p80211item_uint32_t resultcode;
259 } __packed;
260 
261 struct p80211msg_p2req_flashdl_write {
262 	u32 msgcode;
263 	u32 msglen;
264 	u8 devname[WLAN_DEVNAMELEN_MAX];
265 	p80211item_uint32_t addr;
266 	p80211item_uint32_t len;
267 	p80211item_unk4096_t data;
268 	p80211item_uint32_t resultcode;
269 } __packed;
270 
271 #endif
272