root/drivers/staging/wlan-ng/p80211metadef.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) */
   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 
  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_WEPDEFAULTKEYSTABLE \
 156                         (P80211DID_MKSECTION(1) | \
 157                         P80211DID_MKGROUP(4))
 158 #define didmib_dot11smt_wepdefaultkeystable_key(_i) \
 159                         (DIDMIB_DOT11SMT_WEPDEFAULTKEYSTABLE | \
 160                         P80211DID_MKITEM(_i) | 0x0c000000)
 161 #define DIDMIB_DOT11SMT_PRIVACYTABLE \
 162                         (P80211DID_MKSECTION(1) | \
 163                         P80211DID_MKGROUP(6))
 164 #define DIDMIB_DOT11SMT_PRIVACYTABLE_PRIVACYINVOKED \
 165                         (P80211DID_MKSECTION(1) | \
 166                         P80211DID_MKGROUP(6) | \
 167                         P80211DID_MKITEM(1) | 0x18000000)
 168 #define DIDMIB_DOT11SMT_PRIVACYTABLE_WEPDEFAULTKEYID \
 169                         (P80211DID_MKSECTION(1) | \
 170                         P80211DID_MKGROUP(6) | \
 171                         P80211DID_MKITEM(2) | 0x18000000)
 172 #define DIDMIB_DOT11SMT_PRIVACYTABLE_EXCLUDEUNENCRYPTED \
 173                         (P80211DID_MKSECTION(1) | \
 174                         P80211DID_MKGROUP(6) | \
 175                         P80211DID_MKITEM(4) | 0x18000000)
 176 #define DIDMIB_DOT11MAC_OPERATIONTABLE \
 177                         (P80211DID_MKSECTION(2) | \
 178                         P80211DID_MKGROUP(1))
 179 #define DIDMIB_DOT11MAC_OPERATIONTABLE_MACADDRESS \
 180                         (P80211DID_MKSECTION(2) | \
 181                         P80211DID_MKGROUP(1) | \
 182                         P80211DID_MKITEM(1) | 0x18000000)
 183 #define DIDMIB_DOT11MAC_OPERATIONTABLE_RTSTHRESHOLD \
 184                         (P80211DID_MKSECTION(2) | \
 185                         P80211DID_MKGROUP(1) | \
 186                         P80211DID_MKITEM(2) | 0x18000000)
 187 #define DIDMIB_DOT11MAC_OPERATIONTABLE_SHORTRETRYLIMIT \
 188                         (P80211DID_MKSECTION(2) | \
 189                         P80211DID_MKGROUP(1) | \
 190                         P80211DID_MKITEM(3) | 0x10000000)
 191 #define DIDMIB_DOT11MAC_OPERATIONTABLE_LONGRETRYLIMIT \
 192                         (P80211DID_MKSECTION(2) | \
 193                         P80211DID_MKGROUP(1) | \
 194                         P80211DID_MKITEM(4) | 0x10000000)
 195 #define DIDMIB_DOT11MAC_OPERATIONTABLE_FRAGMENTATIONTHRESHOLD \
 196                         (P80211DID_MKSECTION(2) | \
 197                         P80211DID_MKGROUP(1) | \
 198                         P80211DID_MKITEM(5) | 0x18000000)
 199 #define DIDMIB_DOT11MAC_OPERATIONTABLE_MAXTRANSMITMSDULIFETIME \
 200                         (P80211DID_MKSECTION(2) | \
 201                         P80211DID_MKGROUP(1) | \
 202                         P80211DID_MKITEM(6) | 0x10000000)
 203 #define DIDMIB_CAT_DOT11PHY \
 204                         P80211DID_MKSECTION(3)
 205 #define DIDMIB_DOT11PHY_OPERATIONTABLE \
 206                         (P80211DID_MKSECTION(3) | \
 207                         P80211DID_MKGROUP(1))
 208 #define DIDMIB_DOT11PHY_TXPOWERTABLE_CURRENTTXPOWERLEVEL \
 209                         (P80211DID_MKSECTION(3) | \
 210                         P80211DID_MKGROUP(3) | \
 211                         P80211DID_MKITEM(10) | 0x18000000)
 212 #define DIDMIB_DOT11PHY_DSSSTABLE \
 213                         (P80211DID_MKSECTION(3) | \
 214                         P80211DID_MKGROUP(5))
 215 #define DIDMIB_DOT11PHY_DSSSTABLE_CURRENTCHANNEL \
 216                         (P80211DID_MKSECTION(3) | \
 217                         P80211DID_MKGROUP(5) | \
 218                         P80211DID_MKITEM(1) | 0x10000000)
 219 #define DIDMIB_CAT_LNX \
 220                         P80211DID_MKSECTION(4)
 221 #define DIDMIB_LNX_CONFIGTABLE \
 222                         (P80211DID_MKSECTION(4) | \
 223                         P80211DID_MKGROUP(1))
 224 #define DIDMIB_LNX_CONFIGTABLE_RSNAIE \
 225                         (P80211DID_MKSECTION(4) | \
 226                         P80211DID_MKGROUP(1) | \
 227                         P80211DID_MKITEM(1) | 0x18000000)
 228 #define DIDMIB_CAT_P2 \
 229                         P80211DID_MKSECTION(5)
 230 #define DIDMIB_P2_STATIC \
 231                         (P80211DID_MKSECTION(5) | \
 232                         P80211DID_MKGROUP(2))
 233 #define DIDMIB_P2_STATIC_CNFPORTTYPE \
 234                         (P80211DID_MKSECTION(5) | \
 235                         P80211DID_MKGROUP(2) | \
 236                         P80211DID_MKITEM(1) | 0x18000000)
 237 #define DIDMIB_P2_NIC_PRISUPRANGE \
 238                         (P80211DID_MKSECTION(5) | \
 239                         P80211DID_MKGROUP(5) | \
 240                         P80211DID_MKITEM(6) | 0x10000000)
 241 #define DIDMIB_P2_MAC \
 242                         (P80211DID_MKSECTION(5) | \
 243                         P80211DID_MKGROUP(6))
 244 #define DIDMIB_P2_MAC_CURRENTTXRATE \
 245                         (P80211DID_MKSECTION(5) | \
 246                         P80211DID_MKGROUP(6) | \
 247                         P80211DID_MKITEM(12) | 0x10000000)
 248 #endif

/* [<][>][^][v][top][bottom][index][help] */