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