1 /* SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) */
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 struct p80211msg_dot11req_mibget
{
53 u8 devname
[WLAN_DEVNAMELEN_MAX
];
54 struct p80211item_unk392 mibattribute
;
55 struct p80211item_uint32 resultcode
;
58 struct p80211msg_dot11req_mibset
{
61 u8 devname
[WLAN_DEVNAMELEN_MAX
];
62 struct p80211item_unk392 mibattribute
;
63 struct p80211item_uint32 resultcode
;
66 struct p80211msg_dot11req_scan
{
69 u8 devname
[WLAN_DEVNAMELEN_MAX
];
70 struct p80211item_uint32 bsstype
;
71 struct p80211item_pstr6 bssid
;
73 struct p80211item_pstr32 ssid
;
75 struct p80211item_uint32 scantype
;
76 struct p80211item_uint32 probedelay
;
77 struct p80211item_pstr14 channellist
;
79 struct p80211item_uint32 minchanneltime
;
80 struct p80211item_uint32 maxchanneltime
;
81 struct p80211item_uint32 resultcode
;
82 struct p80211item_uint32 numbss
;
83 struct p80211item_uint32 append
;
86 struct p80211msg_dot11req_scan_results
{
89 u8 devname
[WLAN_DEVNAMELEN_MAX
];
90 struct p80211item_uint32 bssindex
;
91 struct p80211item_uint32 resultcode
;
92 struct p80211item_uint32 signal
;
93 struct p80211item_uint32 noise
;
94 struct p80211item_pstr6 bssid
;
96 struct p80211item_pstr32 ssid
;
98 struct p80211item_uint32 bsstype
;
99 struct p80211item_uint32 beaconperiod
;
100 struct p80211item_uint32 dtimperiod
;
101 struct p80211item_uint32 timestamp
;
102 struct p80211item_uint32 localtime
;
103 struct p80211item_uint32 fhdwelltime
;
104 struct p80211item_uint32 fhhopset
;
105 struct p80211item_uint32 fhhoppattern
;
106 struct p80211item_uint32 fhhopindex
;
107 struct p80211item_uint32 dschannel
;
108 struct p80211item_uint32 cfpcount
;
109 struct p80211item_uint32 cfpperiod
;
110 struct p80211item_uint32 cfpmaxduration
;
111 struct p80211item_uint32 cfpdurremaining
;
112 struct p80211item_uint32 ibssatimwindow
;
113 struct p80211item_uint32 cfpollable
;
114 struct p80211item_uint32 cfpollreq
;
115 struct p80211item_uint32 privacy
;
116 struct p80211item_uint32 capinfo
;
117 struct p80211item_uint32 basicrate1
;
118 struct p80211item_uint32 basicrate2
;
119 struct p80211item_uint32 basicrate3
;
120 struct p80211item_uint32 basicrate4
;
121 struct p80211item_uint32 basicrate5
;
122 struct p80211item_uint32 basicrate6
;
123 struct p80211item_uint32 basicrate7
;
124 struct p80211item_uint32 basicrate8
;
125 struct p80211item_uint32 supprate1
;
126 struct p80211item_uint32 supprate2
;
127 struct p80211item_uint32 supprate3
;
128 struct p80211item_uint32 supprate4
;
129 struct p80211item_uint32 supprate5
;
130 struct p80211item_uint32 supprate6
;
131 struct p80211item_uint32 supprate7
;
132 struct p80211item_uint32 supprate8
;
135 struct p80211msg_dot11req_start
{
138 u8 devname
[WLAN_DEVNAMELEN_MAX
];
139 struct p80211item_pstr32 ssid
;
141 struct p80211item_uint32 bsstype
;
142 struct p80211item_uint32 beaconperiod
;
143 struct p80211item_uint32 dtimperiod
;
144 struct p80211item_uint32 cfpperiod
;
145 struct p80211item_uint32 cfpmaxduration
;
146 struct p80211item_uint32 fhdwelltime
;
147 struct p80211item_uint32 fhhopset
;
148 struct p80211item_uint32 fhhoppattern
;
149 struct p80211item_uint32 dschannel
;
150 struct p80211item_uint32 ibssatimwindow
;
151 struct p80211item_uint32 probedelay
;
152 struct p80211item_uint32 cfpollable
;
153 struct p80211item_uint32 cfpollreq
;
154 struct p80211item_uint32 basicrate1
;
155 struct p80211item_uint32 basicrate2
;
156 struct p80211item_uint32 basicrate3
;
157 struct p80211item_uint32 basicrate4
;
158 struct p80211item_uint32 basicrate5
;
159 struct p80211item_uint32 basicrate6
;
160 struct p80211item_uint32 basicrate7
;
161 struct p80211item_uint32 basicrate8
;
162 struct p80211item_uint32 operationalrate1
;
163 struct p80211item_uint32 operationalrate2
;
164 struct p80211item_uint32 operationalrate3
;
165 struct p80211item_uint32 operationalrate4
;
166 struct p80211item_uint32 operationalrate5
;
167 struct p80211item_uint32 operationalrate6
;
168 struct p80211item_uint32 operationalrate7
;
169 struct p80211item_uint32 operationalrate8
;
170 struct p80211item_uint32 resultcode
;
173 struct p80211msg_lnxreq_ifstate
{
176 u8 devname
[WLAN_DEVNAMELEN_MAX
];
177 struct p80211item_uint32 ifstate
;
178 struct p80211item_uint32 resultcode
;
181 struct p80211msg_lnxreq_wlansniff
{
184 u8 devname
[WLAN_DEVNAMELEN_MAX
];
185 struct p80211item_uint32 enable
;
186 struct p80211item_uint32 channel
;
187 struct p80211item_uint32 prismheader
;
188 struct p80211item_uint32 wlanheader
;
189 struct p80211item_uint32 keepwepflags
;
190 struct p80211item_uint32 stripfcs
;
191 struct p80211item_uint32 packet_trunc
;
192 struct p80211item_uint32 resultcode
;
195 struct p80211msg_lnxreq_hostwep
{
198 u8 devname
[WLAN_DEVNAMELEN_MAX
];
199 struct p80211item_uint32 resultcode
;
200 struct p80211item_uint32 decrypt
;
201 struct p80211item_uint32 encrypt
;
204 struct p80211msg_lnxreq_commsquality
{
207 u8 devname
[WLAN_DEVNAMELEN_MAX
];
208 struct p80211item_uint32 resultcode
;
209 struct p80211item_uint32 dbm
;
210 struct p80211item_uint32 link
;
211 struct p80211item_uint32 level
;
212 struct p80211item_uint32 noise
;
213 struct p80211item_uint32 txrate
;
216 struct p80211msg_lnxreq_autojoin
{
219 u8 devname
[WLAN_DEVNAMELEN_MAX
];
220 struct p80211item_pstr32 ssid
;
222 struct p80211item_uint32 authtype
;
223 struct p80211item_uint32 resultcode
;
226 struct p80211msg_p2req_readpda
{
229 u8 devname
[WLAN_DEVNAMELEN_MAX
];
230 struct p80211item_unk1024 pda
;
231 struct p80211item_uint32 resultcode
;
234 struct p80211msg_p2req_ramdl_state
{
237 u8 devname
[WLAN_DEVNAMELEN_MAX
];
238 struct p80211item_uint32 enable
;
239 struct p80211item_uint32 exeaddr
;
240 struct p80211item_uint32 resultcode
;
243 struct p80211msg_p2req_ramdl_write
{
246 u8 devname
[WLAN_DEVNAMELEN_MAX
];
247 struct p80211item_uint32 addr
;
248 struct p80211item_uint32 len
;
249 struct p80211item_unk4096 data
;
250 struct p80211item_uint32 resultcode
;
253 struct p80211msg_p2req_flashdl_state
{
256 u8 devname
[WLAN_DEVNAMELEN_MAX
];
257 struct p80211item_uint32 enable
;
258 struct p80211item_uint32 resultcode
;
261 struct p80211msg_p2req_flashdl_write
{
264 u8 devname
[WLAN_DEVNAMELEN_MAX
];
265 struct p80211item_uint32 addr
;
266 struct p80211item_uint32 len
;
267 struct p80211item_unk4096 data
;
268 struct p80211item_uint32 resultcode
;