Merge tag 'platform-drivers-x86-v4.5-3' of git://git.infradead.org/users/dvhart/linux...
[linux-2.6-block.git] / drivers / staging / wlan-ng / p80211metadef.h
CommitLineData
00b3ed16
GKH
1/* This file is GENERATED AUTOMATICALLY. DO NOT EDIT OR MODIFY.
2* --------------------------------------------------------------------
3*
4* Copyright (C) 1999 AbsoluteValue Systems, Inc. All Rights Reserved.
5* --------------------------------------------------------------------
6*
7* linux-wlan
8*
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/
13*
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.
18*
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.
29*
30* --------------------------------------------------------------------
31*
32* Inquiries regarding the linux-wlan Open Source project can be
33* made directly to:
34*
35* AbsoluteValue Systems Inc.
36* info@linux-wlan.com
37* http://www.linux-wlan.com
38*
39* --------------------------------------------------------------------
40*
41* Portions of the development of this software were funded by
42* Intersil Corporation as part of PRISM(R) chipset product development.
43*
44* --------------------------------------------------------------------
45*/
46
47#ifndef _P80211MKMETADEF_H
48#define _P80211MKMETADEF_H
49
00b3ed16
GKH
50#define DIDmsg_dot11req_mibget \
51 (P80211DID_MKSECTION(1) | \
52 P80211DID_MKGROUP(1))
76e3e7c4
KR
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)
00b3ed16
GKH
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)
00b3ed16
GKH
72#define DIDmsg_dot11req_scan \
73 (P80211DID_MKSECTION(1) | \
74 P80211DID_MKGROUP(4))
00b3ed16
GKH
75#define DIDmsg_dot11req_scan_results \
76 (P80211DID_MKSECTION(1) | \
77 P80211DID_MKGROUP(5))
00b3ed16
GKH
78#define DIDmsg_dot11req_start \
79 (P80211DID_MKSECTION(1) | \
80 P80211DID_MKGROUP(13))
00b3ed16
GKH
81#define DIDmsg_dot11ind_authenticate \
82 (P80211DID_MKSECTION(2) | \
83 P80211DID_MKGROUP(1))
00b3ed16
GKH
84#define DIDmsg_dot11ind_associate \
85 (P80211DID_MKSECTION(2) | \
86 P80211DID_MKGROUP(3))
00b3ed16
GKH
87#define DIDmsg_lnxreq_ifstate \
88 (P80211DID_MKSECTION(3) | \
89 P80211DID_MKGROUP(1))
00b3ed16
GKH
90#define DIDmsg_lnxreq_wlansniff \
91 (P80211DID_MKSECTION(3) | \
92 P80211DID_MKGROUP(2))
00b3ed16
GKH
93#define DIDmsg_lnxreq_hostwep \
94 (P80211DID_MKSECTION(3) | \
95 P80211DID_MKGROUP(3))
00b3ed16
GKH
96#define DIDmsg_lnxreq_commsquality \
97 (P80211DID_MKSECTION(3) | \
98 P80211DID_MKGROUP(4))
00b3ed16
GKH
99#define DIDmsg_lnxreq_autojoin \
100 (P80211DID_MKSECTION(3) | \
101 P80211DID_MKGROUP(5))
00b3ed16
GKH
102#define DIDmsg_p2req_readpda \
103 (P80211DID_MKSECTION(5) | \
104 P80211DID_MKGROUP(2))
76e3e7c4
KR
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)
00b3ed16
GKH
113#define DIDmsg_p2req_ramdl_state \
114 (P80211DID_MKSECTION(5) | \
115 P80211DID_MKGROUP(11))
76e3e7c4
KR
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)
00b3ed16
GKH
128#define DIDmsg_p2req_ramdl_write \
129 (P80211DID_MKSECTION(5) | \
130 P80211DID_MKGROUP(12))
76e3e7c4
KR
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)
00b3ed16
GKH
147#define DIDmsg_p2req_flashdl_state \
148 (P80211DID_MKSECTION(5) | \
149 P80211DID_MKGROUP(13))
00b3ed16
GKH
150#define DIDmsg_p2req_flashdl_write \
151 (P80211DID_MKSECTION(5) | \
152 P80211DID_MKGROUP(14))
00b3ed16
GKH
153#define DIDmib_cat_dot11smt \
154 P80211DID_MKSECTION(1)
00b3ed16
GKH
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)
00b3ed16
GKH
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)
00b3ed16
GKH
185#define DIDmib_dot11smt_dot11PrivacyTable_dot11ExcludeUnencrypted \
186 (P80211DID_MKSECTION(1) | \
187 P80211DID_MKGROUP(6) | \
188 P80211DID_MKITEM(4) | 0x18000000)
00b3ed16
GKH
189#define DIDmib_dot11mac_dot11OperationTable \
190 (P80211DID_MKSECTION(2) | \
191 P80211DID_MKGROUP(1))
192#define DIDmib_dot11mac_dot11OperationTable_dot11MACAddress \
ef1a0ed7
AE
193 (P80211DID_MKSECTION(2) | \
194 P80211DID_MKGROUP(1) | \
195 P80211DID_MKITEM(1) | 0x18000000)
00b3ed16
GKH
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 \
ef1a0ed7
AE
213 (P80211DID_MKSECTION(2) | \
214 P80211DID_MKGROUP(1) | \
215 P80211DID_MKITEM(6) | 0x10000000)
00b3ed16
GKH
216#define DIDmib_cat_dot11phy \
217 P80211DID_MKSECTION(3)
218#define DIDmib_dot11phy_dot11PhyOperationTable \
219 (P80211DID_MKSECTION(3) | \
220 P80211DID_MKGROUP(1))
1e720183 221#define DIDmib_dot11phy_dot11PhyTxPowerTable_dot11CurrentTxPowerLevel \
ef1a0ed7
AE
222 (P80211DID_MKSECTION(3) | \
223 P80211DID_MKGROUP(3) | \
224 P80211DID_MKITEM(10) | 0x18000000)
00b3ed16
GKH
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)
00b3ed16
GKH
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)
00b3ed16
GKH
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)
76e3e7c4
KR
250#define DIDmib_p2_p2NIC_p2PRISupRange \
251 (P80211DID_MKSECTION(5) | \
252 P80211DID_MKGROUP(5) | \
253 P80211DID_MKITEM(6) | 0x10000000)
00b3ed16
GKH
254#define DIDmib_p2_p2MAC \
255 (P80211DID_MKSECTION(5) | \
256 P80211DID_MKGROUP(6))
00b3ed16
GKH
257#define DIDmib_p2_p2MAC_p2CurrentTxRate \
258 (P80211DID_MKSECTION(5) | \
259 P80211DID_MKGROUP(6) | \
260 P80211DID_MKITEM(12) | 0x10000000)
00b3ed16 261#endif