p80211metadef.h 8.8 KB

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