include: replace linux/module.h with "struct module" wherever possible
[linux-2.6/next.git] / drivers / staging / wlan-ng / p80211metadef.h
blob0ccfba1294de6d8727ad471b8a83e418cf1f82b1
1 /* This file is GENERATED AUTOMATICALLY. DO NOT EDIT OR MODIFY.
2 * --------------------------------------------------------------------
4 * Copyright (C) 1999 AbsoluteValue Systems, Inc. All Rights Reserved.
5 * --------------------------------------------------------------------
7 * linux-wlan
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
33 * made directly to:
35 * AbsoluteValue Systems Inc.
36 * info@linux-wlan.com
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 _P80211MKMETADEF_H
48 #define _P80211MKMETADEF_H
50 #define DIDmsg_dot11req_mibget \
51 (P80211DID_MKSECTION(1) | \
52 P80211DID_MKGROUP(1))
53 #define DIDmsg_dot11req_mibget_mibattribute \
54 (P80211DID_MKSECTION(1) | \
55 P80211DID_MKGROUP(1) | \
56 P80211DID_MKITEM(1) | 0x00000000)
57 #define DIDmsg_dot11req_mibget_resultcode \
58 (P80211DID_MKSECTION(1) | \
59 P80211DID_MKGROUP(1) | \
60 P80211DID_MKITEM(2) | 0x00000000)
61 #define DIDmsg_dot11req_mibset \
62 (P80211DID_MKSECTION(1) | \
63 P80211DID_MKGROUP(2))
64 #define DIDmsg_dot11req_mibset_mibattribute \
65 (P80211DID_MKSECTION(1) | \
66 P80211DID_MKGROUP(2) | \
67 P80211DID_MKITEM(1) | 0x00000000)
68 #define DIDmsg_dot11req_mibset_resultcode \
69 (P80211DID_MKSECTION(1) | \
70 P80211DID_MKGROUP(2) | \
71 P80211DID_MKITEM(2) | 0x00000000)
72 #define DIDmsg_dot11req_scan \
73 (P80211DID_MKSECTION(1) | \
74 P80211DID_MKGROUP(4))
75 #define DIDmsg_dot11req_scan_results \
76 (P80211DID_MKSECTION(1) | \
77 P80211DID_MKGROUP(5))
78 #define DIDmsg_dot11req_start \
79 (P80211DID_MKSECTION(1) | \
80 P80211DID_MKGROUP(13))
81 #define DIDmsg_dot11ind_authenticate \
82 (P80211DID_MKSECTION(2) | \
83 P80211DID_MKGROUP(1))
84 #define DIDmsg_dot11ind_associate \
85 (P80211DID_MKSECTION(2) | \
86 P80211DID_MKGROUP(3))
87 #define DIDmsg_lnxreq_ifstate \
88 (P80211DID_MKSECTION(3) | \
89 P80211DID_MKGROUP(1))
90 #define DIDmsg_lnxreq_wlansniff \
91 (P80211DID_MKSECTION(3) | \
92 P80211DID_MKGROUP(2))
93 #define DIDmsg_lnxreq_hostwep \
94 (P80211DID_MKSECTION(3) | \
95 P80211DID_MKGROUP(3))
96 #define DIDmsg_lnxreq_commsquality \
97 (P80211DID_MKSECTION(3) | \
98 P80211DID_MKGROUP(4))
99 #define DIDmsg_lnxreq_autojoin \
100 (P80211DID_MKSECTION(3) | \
101 P80211DID_MKGROUP(5))
102 #define DIDmsg_p2req_readpda \
103 (P80211DID_MKSECTION(5) | \
104 P80211DID_MKGROUP(2))
105 #define DIDmsg_p2req_readpda_pda \
106 (P80211DID_MKSECTION(5) | \
107 P80211DID_MKGROUP(2) | \
108 P80211DID_MKITEM(1) | 0x00000000)
109 #define DIDmsg_p2req_readpda_resultcode \
110 (P80211DID_MKSECTION(5) | \
111 P80211DID_MKGROUP(2) | \
112 P80211DID_MKITEM(2) | 0x00000000)
113 #define DIDmsg_p2req_ramdl_state \
114 (P80211DID_MKSECTION(5) | \
115 P80211DID_MKGROUP(11))
116 #define DIDmsg_p2req_ramdl_state_enable \
117 (P80211DID_MKSECTION(5) | \
118 P80211DID_MKGROUP(11) | \
119 P80211DID_MKITEM(1) | 0x00000000)
120 #define DIDmsg_p2req_ramdl_state_exeaddr \
121 (P80211DID_MKSECTION(5) | \
122 P80211DID_MKGROUP(11) | \
123 P80211DID_MKITEM(2) | 0x00000000)
124 #define DIDmsg_p2req_ramdl_state_resultcode \
125 (P80211DID_MKSECTION(5) | \
126 P80211DID_MKGROUP(11) | \
127 P80211DID_MKITEM(3) | 0x00000000)
128 #define DIDmsg_p2req_ramdl_write \
129 (P80211DID_MKSECTION(5) | \
130 P80211DID_MKGROUP(12))
131 #define DIDmsg_p2req_ramdl_write_addr \
132 (P80211DID_MKSECTION(5) | \
133 P80211DID_MKGROUP(12) | \
134 P80211DID_MKITEM(1) | 0x00000000)
135 #define DIDmsg_p2req_ramdl_write_len \
136 (P80211DID_MKSECTION(5) | \
137 P80211DID_MKGROUP(12) | \
138 P80211DID_MKITEM(2) | 0x00000000)
139 #define DIDmsg_p2req_ramdl_write_data \
140 (P80211DID_MKSECTION(5) | \
141 P80211DID_MKGROUP(12) | \
142 P80211DID_MKITEM(3) | 0x00000000)
143 #define DIDmsg_p2req_ramdl_write_resultcode \
144 (P80211DID_MKSECTION(5) | \
145 P80211DID_MKGROUP(12) | \
146 P80211DID_MKITEM(4) | 0x00000000)
147 #define DIDmsg_p2req_flashdl_state \
148 (P80211DID_MKSECTION(5) | \
149 P80211DID_MKGROUP(13))
150 #define DIDmsg_p2req_flashdl_write \
151 (P80211DID_MKSECTION(5) | \
152 P80211DID_MKGROUP(14))
153 #define DIDmib_cat_dot11smt \
154 P80211DID_MKSECTION(1)
155 #define DIDmib_dot11smt_dot11WEPDefaultKeysTable \
156 (P80211DID_MKSECTION(1) | \
157 P80211DID_MKGROUP(4))
158 #define DIDmib_dot11smt_dot11WEPDefaultKeysTable_dot11WEPDefaultKey0 \
159 (P80211DID_MKSECTION(1) | \
160 P80211DID_MKGROUP(4) | \
161 P80211DID_MKITEM(1) | 0x0c000000)
162 #define DIDmib_dot11smt_dot11WEPDefaultKeysTable_dot11WEPDefaultKey1 \
163 (P80211DID_MKSECTION(1) | \
164 P80211DID_MKGROUP(4) | \
165 P80211DID_MKITEM(2) | 0x0c000000)
166 #define DIDmib_dot11smt_dot11WEPDefaultKeysTable_dot11WEPDefaultKey2 \
167 (P80211DID_MKSECTION(1) | \
168 P80211DID_MKGROUP(4) | \
169 P80211DID_MKITEM(3) | 0x0c000000)
170 #define DIDmib_dot11smt_dot11WEPDefaultKeysTable_dot11WEPDefaultKey3 \
171 (P80211DID_MKSECTION(1) | \
172 P80211DID_MKGROUP(4) | \
173 P80211DID_MKITEM(4) | 0x0c000000)
174 #define DIDmib_dot11smt_dot11PrivacyTable \
175 (P80211DID_MKSECTION(1) | \
176 P80211DID_MKGROUP(6))
177 #define DIDmib_dot11smt_dot11PrivacyTable_dot11PrivacyInvoked \
178 (P80211DID_MKSECTION(1) | \
179 P80211DID_MKGROUP(6) | \
180 P80211DID_MKITEM(1) | 0x18000000)
181 #define DIDmib_dot11smt_dot11PrivacyTable_dot11WEPDefaultKeyID \
182 (P80211DID_MKSECTION(1) | \
183 P80211DID_MKGROUP(6) | \
184 P80211DID_MKITEM(2) | 0x18000000)
185 #define DIDmib_dot11smt_dot11PrivacyTable_dot11ExcludeUnencrypted \
186 (P80211DID_MKSECTION(1) | \
187 P80211DID_MKGROUP(6) | \
188 P80211DID_MKITEM(4) | 0x18000000)
189 #define DIDmib_dot11mac_dot11OperationTable \
190 (P80211DID_MKSECTION(2) | \
191 P80211DID_MKGROUP(1))
192 #define DIDmib_dot11mac_dot11OperationTable_dot11MACAddress \
193 (P80211DID_MKSECTION(2) | \
194 P80211DID_MKGROUP(1) | \
195 P80211DID_MKITEM(1) | 0x18000000)
196 #define DIDmib_dot11mac_dot11OperationTable_dot11RTSThreshold \
197 (P80211DID_MKSECTION(2) | \
198 P80211DID_MKGROUP(1) | \
199 P80211DID_MKITEM(2) | 0x18000000)
200 #define DIDmib_dot11mac_dot11OperationTable_dot11ShortRetryLimit \
201 (P80211DID_MKSECTION(2) | \
202 P80211DID_MKGROUP(1) | \
203 P80211DID_MKITEM(3) | 0x10000000)
204 #define DIDmib_dot11mac_dot11OperationTable_dot11LongRetryLimit \
205 (P80211DID_MKSECTION(2) | \
206 P80211DID_MKGROUP(1) | \
207 P80211DID_MKITEM(4) | 0x10000000)
208 #define DIDmib_dot11mac_dot11OperationTable_dot11FragmentationThreshold \
209 (P80211DID_MKSECTION(2) | \
210 P80211DID_MKGROUP(1) | \
211 P80211DID_MKITEM(5) | 0x18000000)
212 #define DIDmib_dot11mac_dot11OperationTable_dot11MaxTransmitMSDULifetime \
213 (P80211DID_MKSECTION(2) | \
214 P80211DID_MKGROUP(1) | \
215 P80211DID_MKITEM(6) | 0x10000000)
216 #define DIDmib_cat_dot11phy \
217 P80211DID_MKSECTION(3)
218 #define DIDmib_dot11phy_dot11PhyOperationTable \
219 (P80211DID_MKSECTION(3) | \
220 P80211DID_MKGROUP(1))
221 #define DIDmib_dot11phy_dot11PhyTxPowerTable_dot11CurrentTxPowerLevel \
222 (P80211DID_MKSECTION(3) | \
223 P80211DID_MKGROUP(3) | \
224 P80211DID_MKITEM(10) | 0x18000000)
225 #define DIDmib_dot11phy_dot11PhyDSSSTable \
226 (P80211DID_MKSECTION(3) | \
227 P80211DID_MKGROUP(5))
228 #define DIDmib_dot11phy_dot11PhyDSSSTable_dot11CurrentChannel \
229 (P80211DID_MKSECTION(3) | \
230 P80211DID_MKGROUP(5) | \
231 P80211DID_MKITEM(1) | 0x10000000)
232 #define DIDmib_cat_lnx \
233 P80211DID_MKSECTION(4)
234 #define DIDmib_lnx_lnxConfigTable \
235 (P80211DID_MKSECTION(4) | \
236 P80211DID_MKGROUP(1))
237 #define DIDmib_lnx_lnxConfigTable_lnxRSNAIE \
238 (P80211DID_MKSECTION(4) | \
239 P80211DID_MKGROUP(1) | \
240 P80211DID_MKITEM(1) | 0x18000000)
241 #define DIDmib_cat_p2 \
242 P80211DID_MKSECTION(5)
243 #define DIDmib_p2_p2Static \
244 (P80211DID_MKSECTION(5) | \
245 P80211DID_MKGROUP(2))
246 #define DIDmib_p2_p2Static_p2CnfPortType \
247 (P80211DID_MKSECTION(5) | \
248 P80211DID_MKGROUP(2) | \
249 P80211DID_MKITEM(1) | 0x18000000)
250 #define DIDmib_p2_p2NIC_p2PRISupRange \
251 (P80211DID_MKSECTION(5) | \
252 P80211DID_MKGROUP(5) | \
253 P80211DID_MKITEM(6) | 0x10000000)
254 #define DIDmib_p2_p2MAC \
255 (P80211DID_MKSECTION(5) | \
256 P80211DID_MKGROUP(6))
257 #define DIDmib_p2_p2MAC_p2CurrentTxRate \
258 (P80211DID_MKSECTION(5) | \
259 P80211DID_MKGROUP(6) | \
260 P80211DID_MKITEM(12) | 0x10000000)
261 #endif