1 /* This file is GENERATED AUTOMATICALLY. DO NOT EDIT OR MODIFY.
2 * --------------------------------------------------------------------
4 * Copyright (C) 1999 AbsoluteValue Systems, Inc. All Rights Reserved.
5 * --------------------------------------------------------------------
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/
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.
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.
30 * --------------------------------------------------------------------
32 * Inquiries regarding the linux-wlan Open Source project can be
35 * AbsoluteValue Systems Inc.
37 * http://www.linux-wlan.com
39 * --------------------------------------------------------------------
41 * Portions of the development of this software were funded by
42 * Intersil Corporation as part of PRISM(R) chipset product development.
44 * --------------------------------------------------------------------
47 #ifndef _P80211MKMETASTRUCT_H
48 #define _P80211MKMETASTRUCT_H
51 typedef struct p80211msg_dot11req_mibget
55 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
56 p80211item_unk392_t mibattribute ;
57 p80211item_uint32_t resultcode ;
58 } __WLAN_ATTRIB_PACK__ p80211msg_dot11req_mibget_t;
60 typedef struct p80211msg_dot11req_mibset
64 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
65 p80211item_unk392_t mibattribute ;
66 p80211item_uint32_t resultcode ;
67 } __WLAN_ATTRIB_PACK__ p80211msg_dot11req_mibset_t;
69 typedef struct p80211msg_dot11req_powermgmt
73 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
74 p80211item_uint32_t powermgmtmode ;
75 p80211item_uint32_t wakeup ;
76 p80211item_uint32_t receivedtims ;
77 p80211item_uint32_t resultcode ;
78 } __WLAN_ATTRIB_PACK__ p80211msg_dot11req_powermgmt_t;
80 typedef struct p80211msg_dot11req_scan
84 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
85 p80211item_uint32_t bsstype ;
86 p80211item_pstr6_t bssid ;
88 p80211item_pstr32_t ssid ;
90 p80211item_uint32_t scantype ;
91 p80211item_uint32_t probedelay ;
92 p80211item_pstr14_t channellist ;
94 p80211item_uint32_t minchanneltime ;
95 p80211item_uint32_t maxchanneltime ;
96 p80211item_uint32_t resultcode ;
97 p80211item_uint32_t numbss ;
98 p80211item_uint32_t append ;
99 } __WLAN_ATTRIB_PACK__ p80211msg_dot11req_scan_t;
101 typedef struct p80211msg_dot11req_scan_results
105 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
106 p80211item_uint32_t bssindex ;
107 p80211item_uint32_t resultcode ;
108 p80211item_uint32_t signal ;
109 p80211item_uint32_t noise ;
110 p80211item_pstr6_t bssid ;
112 p80211item_pstr32_t ssid ;
114 p80211item_uint32_t bsstype ;
115 p80211item_uint32_t beaconperiod ;
116 p80211item_uint32_t dtimperiod ;
117 p80211item_uint32_t timestamp ;
118 p80211item_uint32_t localtime ;
119 p80211item_uint32_t fhdwelltime ;
120 p80211item_uint32_t fhhopset ;
121 p80211item_uint32_t fhhoppattern ;
122 p80211item_uint32_t fhhopindex ;
123 p80211item_uint32_t dschannel ;
124 p80211item_uint32_t cfpcount ;
125 p80211item_uint32_t cfpperiod ;
126 p80211item_uint32_t cfpmaxduration ;
127 p80211item_uint32_t cfpdurremaining ;
128 p80211item_uint32_t ibssatimwindow ;
129 p80211item_uint32_t cfpollable ;
130 p80211item_uint32_t cfpollreq ;
131 p80211item_uint32_t privacy ;
132 p80211item_uint32_t basicrate1 ;
133 p80211item_uint32_t basicrate2 ;
134 p80211item_uint32_t basicrate3 ;
135 p80211item_uint32_t basicrate4 ;
136 p80211item_uint32_t basicrate5 ;
137 p80211item_uint32_t basicrate6 ;
138 p80211item_uint32_t basicrate7 ;
139 p80211item_uint32_t basicrate8 ;
140 p80211item_uint32_t supprate1 ;
141 p80211item_uint32_t supprate2 ;
142 p80211item_uint32_t supprate3 ;
143 p80211item_uint32_t supprate4 ;
144 p80211item_uint32_t supprate5 ;
145 p80211item_uint32_t supprate6 ;
146 p80211item_uint32_t supprate7 ;
147 p80211item_uint32_t supprate8 ;
148 } __WLAN_ATTRIB_PACK__ p80211msg_dot11req_scan_results_t;
150 typedef struct p80211msg_dot11req_join
154 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
155 p80211item_pstr6_t bssid ;
157 p80211item_uint32_t joinfailuretimeout ;
158 p80211item_uint32_t basicrate1 ;
159 p80211item_uint32_t basicrate2 ;
160 p80211item_uint32_t basicrate3 ;
161 p80211item_uint32_t basicrate4 ;
162 p80211item_uint32_t basicrate5 ;
163 p80211item_uint32_t basicrate6 ;
164 p80211item_uint32_t basicrate7 ;
165 p80211item_uint32_t basicrate8 ;
166 p80211item_uint32_t operationalrate1 ;
167 p80211item_uint32_t operationalrate2 ;
168 p80211item_uint32_t operationalrate3 ;
169 p80211item_uint32_t operationalrate4 ;
170 p80211item_uint32_t operationalrate5 ;
171 p80211item_uint32_t operationalrate6 ;
172 p80211item_uint32_t operationalrate7 ;
173 p80211item_uint32_t operationalrate8 ;
174 p80211item_uint32_t resultcode ;
175 } __WLAN_ATTRIB_PACK__ p80211msg_dot11req_join_t;
177 typedef struct p80211msg_dot11req_authenticate
181 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
182 p80211item_pstr6_t peerstaaddress ;
184 p80211item_uint32_t authenticationtype ;
185 p80211item_uint32_t authenticationfailuretimeout ;
186 p80211item_uint32_t resultcode ;
187 } __WLAN_ATTRIB_PACK__ p80211msg_dot11req_authenticate_t;
189 typedef struct p80211msg_dot11req_deauthenticate
193 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
194 p80211item_pstr6_t peerstaaddress ;
196 p80211item_uint32_t reasoncode ;
197 p80211item_uint32_t resultcode ;
198 } __WLAN_ATTRIB_PACK__ p80211msg_dot11req_deauthenticate_t;
200 typedef struct p80211msg_dot11req_associate
204 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
205 p80211item_pstr6_t peerstaaddress ;
207 p80211item_uint32_t associatefailuretimeout ;
208 p80211item_uint32_t cfpollable ;
209 p80211item_uint32_t cfpollreq ;
210 p80211item_uint32_t privacy ;
211 p80211item_uint32_t listeninterval ;
212 p80211item_uint32_t resultcode ;
213 } __WLAN_ATTRIB_PACK__ p80211msg_dot11req_associate_t;
215 typedef struct p80211msg_dot11req_reassociate
219 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
220 p80211item_pstr6_t newapaddress ;
222 p80211item_uint32_t reassociatefailuretimeout ;
223 p80211item_uint32_t cfpollable ;
224 p80211item_uint32_t cfpollreq ;
225 p80211item_uint32_t privacy ;
226 p80211item_uint32_t listeninterval ;
227 p80211item_uint32_t resultcode ;
228 } __WLAN_ATTRIB_PACK__ p80211msg_dot11req_reassociate_t;
230 typedef struct p80211msg_dot11req_disassociate
234 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
235 p80211item_pstr6_t peerstaaddress ;
237 p80211item_uint32_t reasoncode ;
238 p80211item_uint32_t resultcode ;
239 } __WLAN_ATTRIB_PACK__ p80211msg_dot11req_disassociate_t;
241 typedef struct p80211msg_dot11req_reset
245 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
246 p80211item_uint32_t setdefaultmib ;
247 p80211item_pstr6_t macaddress ;
249 p80211item_uint32_t resultcode ;
250 } __WLAN_ATTRIB_PACK__ p80211msg_dot11req_reset_t;
252 typedef struct p80211msg_dot11req_start
256 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
257 p80211item_pstr32_t ssid ;
259 p80211item_uint32_t bsstype ;
260 p80211item_uint32_t beaconperiod ;
261 p80211item_uint32_t dtimperiod ;
262 p80211item_uint32_t cfpperiod ;
263 p80211item_uint32_t cfpmaxduration ;
264 p80211item_uint32_t fhdwelltime ;
265 p80211item_uint32_t fhhopset ;
266 p80211item_uint32_t fhhoppattern ;
267 p80211item_uint32_t dschannel ;
268 p80211item_uint32_t ibssatimwindow ;
269 p80211item_uint32_t probedelay ;
270 p80211item_uint32_t cfpollable ;
271 p80211item_uint32_t cfpollreq ;
272 p80211item_uint32_t basicrate1 ;
273 p80211item_uint32_t basicrate2 ;
274 p80211item_uint32_t basicrate3 ;
275 p80211item_uint32_t basicrate4 ;
276 p80211item_uint32_t basicrate5 ;
277 p80211item_uint32_t basicrate6 ;
278 p80211item_uint32_t basicrate7 ;
279 p80211item_uint32_t basicrate8 ;
280 p80211item_uint32_t operationalrate1 ;
281 p80211item_uint32_t operationalrate2 ;
282 p80211item_uint32_t operationalrate3 ;
283 p80211item_uint32_t operationalrate4 ;
284 p80211item_uint32_t operationalrate5 ;
285 p80211item_uint32_t operationalrate6 ;
286 p80211item_uint32_t operationalrate7 ;
287 p80211item_uint32_t operationalrate8 ;
288 p80211item_uint32_t resultcode ;
289 } __WLAN_ATTRIB_PACK__ p80211msg_dot11req_start_t;
291 typedef struct p80211msg_dot11ind_authenticate
295 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
296 p80211item_pstr6_t peerstaaddress ;
298 p80211item_uint32_t authenticationtype ;
299 } __WLAN_ATTRIB_PACK__ p80211msg_dot11ind_authenticate_t;
301 typedef struct p80211msg_dot11ind_deauthenticate
305 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
306 p80211item_pstr6_t peerstaaddress ;
308 p80211item_uint32_t reasoncode ;
309 } __WLAN_ATTRIB_PACK__ p80211msg_dot11ind_deauthenticate_t;
311 typedef struct p80211msg_dot11ind_associate
315 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
316 p80211item_pstr6_t peerstaaddress ;
318 p80211item_uint32_t aid ;
319 } __WLAN_ATTRIB_PACK__ p80211msg_dot11ind_associate_t;
321 typedef struct p80211msg_dot11ind_reassociate
325 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
326 p80211item_pstr6_t peerstaaddress ;
328 p80211item_uint32_t aid ;
329 p80211item_pstr6_t oldapaddress ;
331 } __WLAN_ATTRIB_PACK__ p80211msg_dot11ind_reassociate_t;
333 typedef struct p80211msg_dot11ind_disassociate
337 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
338 p80211item_pstr6_t peerstaaddress ;
340 p80211item_uint32_t reasoncode ;
341 } __WLAN_ATTRIB_PACK__ p80211msg_dot11ind_disassociate_t;
343 typedef struct p80211msg_lnxreq_ifstate
347 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
348 p80211item_uint32_t ifstate ;
349 p80211item_uint32_t resultcode ;
350 } __WLAN_ATTRIB_PACK__ p80211msg_lnxreq_ifstate_t;
352 typedef struct p80211msg_lnxreq_wlansniff
356 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
357 p80211item_uint32_t enable ;
358 p80211item_uint32_t channel ;
359 p80211item_uint32_t prismheader ;
360 p80211item_uint32_t wlanheader ;
361 p80211item_uint32_t keepwepflags ;
362 p80211item_uint32_t stripfcs ;
363 p80211item_uint32_t packet_trunc ;
364 p80211item_uint32_t resultcode ;
365 } __WLAN_ATTRIB_PACK__ p80211msg_lnxreq_wlansniff_t;
367 typedef struct p80211msg_lnxreq_hostwep
371 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
372 p80211item_uint32_t resultcode ;
373 p80211item_uint32_t decrypt ;
374 p80211item_uint32_t encrypt ;
375 } __WLAN_ATTRIB_PACK__ p80211msg_lnxreq_hostwep_t;
377 typedef struct p80211msg_lnxreq_commsquality
381 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
382 p80211item_uint32_t resultcode ;
383 p80211item_uint32_t dbm ;
384 p80211item_uint32_t link ;
385 p80211item_uint32_t level ;
386 p80211item_uint32_t noise ;
387 } __WLAN_ATTRIB_PACK__ p80211msg_lnxreq_commsquality_t;
389 typedef struct p80211msg_lnxreq_autojoin
393 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
394 p80211item_pstr32_t ssid ;
396 p80211item_uint32_t authtype ;
397 p80211item_uint32_t resultcode ;
398 } __WLAN_ATTRIB_PACK__ p80211msg_lnxreq_autojoin_t;
400 typedef struct p80211msg_lnxind_wlansniffrm
404 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
405 p80211item_uint32_t hosttime ;
406 p80211item_uint32_t mactime ;
407 p80211item_uint32_t channel ;
408 p80211item_uint32_t rssi ;
409 p80211item_uint32_t sq ;
410 p80211item_uint32_t signal ;
411 p80211item_uint32_t noise ;
412 p80211item_uint32_t rate ;
413 p80211item_uint32_t istx ;
414 p80211item_uint32_t frmlen ;
415 } __WLAN_ATTRIB_PACK__ p80211msg_lnxind_wlansniffrm_t;
417 typedef struct p80211msg_lnxind_roam
421 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
422 p80211item_uint32_t reason ;
423 } __WLAN_ATTRIB_PACK__ p80211msg_lnxind_roam_t;
425 typedef struct p80211msg_p2req_join
429 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
430 p80211item_pstr6_t bssid ;
432 p80211item_uint32_t basicrate1 ;
433 p80211item_uint32_t basicrate2 ;
434 p80211item_uint32_t basicrate3 ;
435 p80211item_uint32_t basicrate4 ;
436 p80211item_uint32_t basicrate5 ;
437 p80211item_uint32_t basicrate6 ;
438 p80211item_uint32_t basicrate7 ;
439 p80211item_uint32_t basicrate8 ;
440 p80211item_uint32_t operationalrate1 ;
441 p80211item_uint32_t operationalrate2 ;
442 p80211item_uint32_t operationalrate3 ;
443 p80211item_uint32_t operationalrate4 ;
444 p80211item_uint32_t operationalrate5 ;
445 p80211item_uint32_t operationalrate6 ;
446 p80211item_uint32_t operationalrate7 ;
447 p80211item_uint32_t operationalrate8 ;
448 p80211item_pstr32_t ssid ;
450 p80211item_uint32_t channel ;
451 p80211item_uint32_t authtype ;
452 p80211item_uint32_t resultcode ;
453 } __WLAN_ATTRIB_PACK__ p80211msg_p2req_join_t;
455 typedef struct p80211msg_p2req_readpda
459 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
460 p80211item_unk1024_t pda ;
461 p80211item_uint32_t resultcode ;
462 } __WLAN_ATTRIB_PACK__ p80211msg_p2req_readpda_t;
464 typedef struct p80211msg_p2req_readcis
468 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
469 p80211item_unk1024_t cis ;
470 p80211item_uint32_t resultcode ;
471 } __WLAN_ATTRIB_PACK__ p80211msg_p2req_readcis_t;
473 typedef struct p80211msg_p2req_auxport_state
477 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
478 p80211item_uint32_t enable ;
479 p80211item_uint32_t resultcode ;
480 } __WLAN_ATTRIB_PACK__ p80211msg_p2req_auxport_state_t;
482 typedef struct p80211msg_p2req_auxport_read
486 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
487 p80211item_uint32_t addr ;
488 p80211item_uint32_t len ;
489 p80211item_unk1024_t data ;
490 p80211item_uint32_t resultcode ;
491 } __WLAN_ATTRIB_PACK__ p80211msg_p2req_auxport_read_t;
493 typedef struct p80211msg_p2req_auxport_write
497 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
498 p80211item_uint32_t addr ;
499 p80211item_uint32_t len ;
500 p80211item_unk1024_t data ;
501 p80211item_uint32_t resultcode ;
502 } __WLAN_ATTRIB_PACK__ p80211msg_p2req_auxport_write_t;
504 typedef struct p80211msg_p2req_low_level
508 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
509 p80211item_uint32_t command ;
510 p80211item_uint32_t param0 ;
511 p80211item_uint32_t param1 ;
512 p80211item_uint32_t param2 ;
513 p80211item_uint32_t resp0 ;
514 p80211item_uint32_t resp1 ;
515 p80211item_uint32_t resp2 ;
516 p80211item_uint32_t resultcode ;
517 } __WLAN_ATTRIB_PACK__ p80211msg_p2req_low_level_t;
519 typedef struct p80211msg_p2req_test_command
523 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
524 p80211item_uint32_t testcode ;
525 p80211item_uint32_t testparam ;
526 p80211item_uint32_t resultcode ;
527 p80211item_uint32_t status ;
528 p80211item_uint32_t resp0 ;
529 p80211item_uint32_t resp1 ;
530 p80211item_uint32_t resp2 ;
531 } __WLAN_ATTRIB_PACK__ p80211msg_p2req_test_command_t;
533 typedef struct p80211msg_p2req_mmi_read
537 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
538 p80211item_uint32_t addr ;
539 p80211item_uint32_t value ;
540 p80211item_uint32_t resultcode ;
541 } __WLAN_ATTRIB_PACK__ p80211msg_p2req_mmi_read_t;
543 typedef struct p80211msg_p2req_mmi_write
547 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
548 p80211item_uint32_t addr ;
549 p80211item_uint32_t data ;
550 p80211item_uint32_t resultcode ;
551 } __WLAN_ATTRIB_PACK__ p80211msg_p2req_mmi_write_t;
553 typedef struct p80211msg_p2req_ramdl_state
557 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
558 p80211item_uint32_t enable ;
559 p80211item_uint32_t exeaddr ;
560 p80211item_uint32_t resultcode ;
561 } __WLAN_ATTRIB_PACK__ p80211msg_p2req_ramdl_state_t;
563 typedef struct p80211msg_p2req_ramdl_write
567 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
568 p80211item_uint32_t addr ;
569 p80211item_uint32_t len ;
570 p80211item_unk4096_t data ;
571 p80211item_uint32_t resultcode ;
572 } __WLAN_ATTRIB_PACK__ p80211msg_p2req_ramdl_write_t;
574 typedef struct p80211msg_p2req_flashdl_state
578 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
579 p80211item_uint32_t enable ;
580 p80211item_uint32_t resultcode ;
581 } __WLAN_ATTRIB_PACK__ p80211msg_p2req_flashdl_state_t;
583 typedef struct p80211msg_p2req_flashdl_write
587 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
588 p80211item_uint32_t addr ;
589 p80211item_uint32_t len ;
590 p80211item_unk4096_t data ;
591 p80211item_uint32_t resultcode ;
592 } __WLAN_ATTRIB_PACK__ p80211msg_p2req_flashdl_write_t;
594 typedef struct p80211msg_p2req_mm_state
598 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
599 p80211item_uint32_t enable ;
600 p80211item_uint32_t resultcode ;
601 } __WLAN_ATTRIB_PACK__ p80211msg_p2req_mm_state_t;
603 typedef struct p80211msg_p2req_dump_state
607 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
608 p80211item_uint32_t level ;
609 p80211item_uint32_t resultcode ;
610 } __WLAN_ATTRIB_PACK__ p80211msg_p2req_dump_state_t;
612 typedef struct p80211msg_p2req_channel_info
616 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
617 p80211item_uint32_t channellist ;
618 p80211item_uint32_t channeldwelltime ;
619 p80211item_uint32_t resultcode ;
620 p80211item_uint32_t numchinfo ;
621 } __WLAN_ATTRIB_PACK__ p80211msg_p2req_channel_info_t;
623 typedef struct p80211msg_p2req_channel_info_results
627 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
628 p80211item_uint32_t channel ;
629 p80211item_uint32_t resultcode ;
630 p80211item_uint32_t avgnoiselevel ;
631 p80211item_uint32_t peaknoiselevel ;
632 p80211item_uint32_t bssactive ;
633 p80211item_uint32_t pcfactive ;
634 } __WLAN_ATTRIB_PACK__ p80211msg_p2req_channel_info_results_t;
636 typedef struct p80211msg_p2req_enable
640 UINT8 devname[WLAN_DEVNAMELEN_MAX] ;
641 p80211item_uint32_t resultcode ;
642 } __WLAN_ATTRIB_PACK__ p80211msg_p2req_enable_t;