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
50 typedef struct p80211msg_dot11req_mibget {
53 u8 devname[WLAN_DEVNAMELEN_MAX];
54 p80211item_unk392_t mibattribute;
55 p80211item_uint32_t resultcode;
56 } __attribute__ ((packed)) p80211msg_dot11req_mibget_t;
58 typedef struct p80211msg_dot11req_mibset {
61 u8 devname[WLAN_DEVNAMELEN_MAX];
62 p80211item_unk392_t mibattribute;
63 p80211item_uint32_t resultcode;
64 } __attribute__ ((packed)) p80211msg_dot11req_mibset_t;
66 typedef struct p80211msg_dot11req_scan {
69 u8 devname[WLAN_DEVNAMELEN_MAX];
70 p80211item_uint32_t bsstype;
71 p80211item_pstr6_t bssid;
73 p80211item_pstr32_t ssid;
75 p80211item_uint32_t scantype;
76 p80211item_uint32_t probedelay;
77 p80211item_pstr14_t channellist;
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;
86 typedef struct p80211msg_dot11req_scan_results {
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;
96 p80211item_pstr32_t ssid;
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;
134 typedef struct p80211msg_dot11req_start {
137 u8 devname[WLAN_DEVNAMELEN_MAX];
138 p80211item_pstr32_t ssid;
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;
172 typedef struct p80211msg_lnxreq_ifstate {
175 u8 devname[WLAN_DEVNAMELEN_MAX];
176 p80211item_uint32_t ifstate;
177 p80211item_uint32_t resultcode;
178 } __attribute__ ((packed)) p80211msg_lnxreq_ifstate_t;
180 typedef struct p80211msg_lnxreq_wlansniff {
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;
194 typedef struct p80211msg_lnxreq_hostwep {
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;
203 typedef struct p80211msg_lnxreq_commsquality {
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;
214 typedef struct p80211msg_lnxreq_autojoin {
217 u8 devname[WLAN_DEVNAMELEN_MAX];
218 p80211item_pstr32_t ssid;
220 p80211item_uint32_t authtype;
221 p80211item_uint32_t resultcode;
222 } __attribute__ ((packed)) p80211msg_lnxreq_autojoin_t;
224 typedef struct p80211msg_p2req_readpda {
227 u8 devname[WLAN_DEVNAMELEN_MAX];
228 p80211item_unk1024_t pda;
229 p80211item_uint32_t resultcode;
230 } __attribute__ ((packed)) p80211msg_p2req_readpda_t;
232 typedef struct p80211msg_p2req_ramdl_state {
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;
241 typedef struct p80211msg_p2req_ramdl_write {
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;
251 typedef struct p80211msg_p2req_flashdl_state {
254 u8 devname[WLAN_DEVNAMELEN_MAX];
255 p80211item_uint32_t enable;
256 p80211item_uint32_t resultcode;
257 } __attribute__ ((packed)) p80211msg_p2req_flashdl_state_t;
259 typedef struct p80211msg_p2req_flashdl_write {
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;