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