linux-bk/drivers/net/aironet4500_rid.c
<<
>>
Prefs
   1/*
   2 *       Aironet 4500 Pcmcia driver
   3 *
   4 *              Elmer Joandi, Januar 1999
   5 *      Copyright Elmer Joandi, all rights restricted
   6 *      
   7 *
   8 *      Revision 0.1 ,started  30.12.1998
   9 *
  10 *
  11 */
  12
  13#include <linux/module.h>
  14#include <linux/kernel.h>
  15
  16#include "aironet4500.h"
  17
  18
  19
  20#define awc_RID_gen_RidLen                              {(const struct aironet4500_rid_selector *)&aironet4500_RID_Select_General_Config,0x0000, 8,1,1,1,0, 0xffffffff,0x0000, "Length of RID" }
  21#define awc_RID_gen_OperatingMode_adhoc                 {&aironet4500_RID_Select_General_Config,0x0002,16,1,1,0,0, 0x00000003,0x0000,"Opmode IBSS Adhoc operation" } // Without AP
  22#define awc_RID_gen_OperatingMode_Infrastructure        {&aironet4500_RID_Select_General_Config,0x0002,16,1,1,0,0, 0x00000003,0x0001,"Opmode Infrastructure Station operation" }// With AP
  23#define awc_RID_gen_OperatingMode_AP                    {&aironet4500_RID_Select_General_Config,0x0002,16,1,1,0,0, 0x00000003,0x0002,"Opmode Access Point" } // Aironet doesn't release info on use 
  24#define awc_RID_gen_OperatingMode_AP_and_repeater       {&aironet4500_RID_Select_General_Config,0x0002,16,1,1,0,0, 0x00000003,0x0003,"Opmode Access Point and Repeater" } // no info
  25#define awc_RID_gen_OperatingMode_No_payload_modify     {&aironet4500_RID_Select_General_Config,0x0002,16,1,1,0,0, 0x00000100,0x0100,"Opmode Payload without modify" } 
  26#define awc_RID_gen_OperatingMode_LLC_802_3_convert     {&aironet4500_RID_Select_General_Config,0x0002,16,1,1,0,0, 0x00000100,0x0000,"Opmode LLC -> 802.3 convert" }
  27#define awc_RID_gen_OperatingMode_proprietary_ext       {&aironet4500_RID_Select_General_Config,0x0002,16,1,1,0,0, 0x00000200,0x0200,"Opmode Aironet Extentsions enabled" } // neened for 11Mbps
  28#define awc_RID_gen_OperatingMode_no_proprietary_ext    {&aironet4500_RID_Select_General_Config,0x0002,16,1,1,0,0,0x00000200,0x0000,"Opmode Aironet Extentsions disabled" }
  29#define awc_RID_gen_OperatingMode_AP_ext                {&aironet4500_RID_Select_General_Config,0x0002,16,1,1,0,0, 0x00000400,0x0400,"Opmode AP Extentsions enabled" }  // no info
  30#define awc_RID_gen_OperatingMode_no_AP_ext             {&aironet4500_RID_Select_General_Config,0x0002,16,1,1,0,0, 0x00000400,0x0000,"Opmode AP Extentsions disabled" }
  31#define awc_RID_gen_ReceiveMode                         {&aironet4500_RID_Select_General_Config,0x0004,16,1,1,0,0,0x0000ffff,0x0000,"RX Mode"}
  32#define awc_RID_gen_ReceiveMode_BMA                     {&aironet4500_RID_Select_General_Config,0x0004,16,1,1,0,0,0x0000000f,0x0000,"RX Mode BC MC ADDR"}
  33#define awc_RID_gen_ReceiveMode_BA                      {&aironet4500_RID_Select_General_Config,0x0004,16,1,1,0,0,0x0000000f,0x0001,"RX Mode BC ADDR"}
  34#define awc_RID_gen_ReceiveMode_A                       {&aironet4500_RID_Select_General_Config,0x0004,16,1,1,0,0,0x0000000f,0x0002,"RX Mode ADDR"}
  35#define awc_RID_gen_ReceiveMode_802_11_monitor          {&aironet4500_RID_Select_General_Config,0x0004,16,1,1,0,0,0x0000000f,0x0003,"RX Mode 802.11 Monitor current BSSID"}
  36#define awc_RID_gen_ReceiveMode_802_11_any_monitor      {&aironet4500_RID_Select_General_Config,0x0004,16,1,1,0,0,0x0000000f,0x0004,"RX Mode 802.11 Monitor any BSSID"}
  37#define awc_RID_gen_ReceiveMode_LAN_monitor             {&aironet4500_RID_Select_General_Config,0x0004,16,1,1,0,0,0x0000000f,0x0005,"RX Mode LAN Monitor current BSSID"}
  38#define awc_RID_gen_ReceiveMode_802_3_hdr_disable       {&aironet4500_RID_Select_General_Config,0x0004,16,1,1,0,0,0x00000100,0x0100,"RX Mode Disable RX 802.3 Header"}
  39#define awc_RID_gen_ReceiveMode_802_3_hdr_enable        {&aironet4500_RID_Select_General_Config,0x0004,16,1,1,0,0,0x00000100,0x0000,"RX Mode Enable RX 802.3 header"}
  40#define awc_RID_gen_Fragmentation_threshold             {&aironet4500_RID_Select_General_Config,0x0006,16,1,1,0,0,0x0000ffff,0x0000,"Fragmentation Threshold"}          // treshold of packet size starting to be fragmented
  41#define awc_RID_gen_RTS_threshold                       {&aironet4500_RID_Select_General_Config,0x0008,16,1,1,0,0,0xffff,0x0000,"RTS Threshold"}        // packet size, larger ones get sent with RTS/CTS
  42#define awc_RID_gen_Station_Mac_Id                      {&aironet4500_RID_Select_General_Config,0x000A, 8,6,1,0,0,0xff,0,"Station MAC Id"}
  43#define awc_RID_gen_Supported_rates                     {&aironet4500_RID_Select_General_Config,0x0010, 8,8,1,0,1,0xff,0x00,"Supported Rates"}  // Hex encoded 500kbps 
  44#define awc_RID_gen_Basic_Rate                          {&aironet4500_RID_Select_General_Config,0x0010, 8,1,1,0,1,0x80,0x80,"Basic Rate"}       // if 0x80 bit is set
  45#define awc_RID_gen_Rate_500kbps                        {&aironet4500_RID_Select_General_Config,0x0010, 8,1,1,0,1,0x7f,0x01,"Rate 500kbps"}
  46#define awc_RID_gen_Rate_1Mbps                          {&aironet4500_RID_Select_General_Config,0x0010, 8,1,1,0,1,0x7f,0x02,"Rate 1Mbps"}
  47#define awc_RID_gen_Rate_2Mbps                          {&aironet4500_RID_Select_General_Config,0x0010, 8,1,1,0,1,0x7f,0x04,"Rate 2Mbps"}
  48#define awc_RID_gen_Rate_4Mbps                          {&aironet4500_RID_Select_General_Config,0x0010, 8,1,1,0,1,0x7f,0x08,"Rate 4Mbps"}
  49#define awc_RID_gen_Rate_5Mbps                          {&aironet4500_RID_Select_General_Config,0x0010, 8,1,1,0,1,0x7f,0x0B,"Rate 5.5Mbps"}
  50#define awc_RID_gen_Rate_10Mbps                         {&aironet4500_RID_Select_General_Config,0x0010, 8,1,1,0,1,0x7f,0x14,"Rate 10Mbps"}
  51#define awc_RID_gen_Rate_11Mbps                         {&aironet4500_RID_Select_General_Config,0x0010, 8,1,1,0,1,0x7f,0x16,"Rate 11Mbps"}
  52#define awc_RID_gen_BasicRate_500kbps                   {&aironet4500_RID_Select_General_Config,0x0010, 8,1,1,0,1,0xff,0x81,"BasicRate 500kbps"}
  53#define awc_RID_gen_BasicRate_1Mbps                             {&aironet4500_RID_Select_General_Config,0x0010, 8,1,1,0,1,0xff,0x82,"BasicRate 1Mbps"}
  54#define awc_RID_gen_BasicRate_2Mbps                             {&aironet4500_RID_Select_General_Config,0x0010, 8,1,1,0,1,0xff,0x84,"BasicRate 2Mbps"}
  55#define awc_RID_gen_BasicRate_4Mbps                             {&aironet4500_RID_Select_General_Config,0x0010, 8,1,1,0,1,0xff,0x88,"BasicRate 4Mbps"}
  56#define awc_RID_gen_BasicRate_5Mbps                             {&aironet4500_RID_Select_General_Config,0x0010, 8,1,1,0,1,0xff,0x8B,"BasicRate 5.5Mbps"}
  57#define awc_RID_gen_BasicRate_10Mbps                    {&aironet4500_RID_Select_General_Config,0x0010, 8,1,1,0,1,0xff,0x94,"BasicRate 10Mbps"}
  58#define awc_RID_gen_BasicRate_11Mbps                    {&aironet4500_RID_Select_General_Config,0x0010, 8,1,1,0,1,0xff,0x96,"BasicRate 11Mbps"}
  59
  60
  61#define awc_RID_gen_Long_retry_limit                    {&aironet4500_RID_Select_General_Config,0x0018,16, 1,1,0,0,0xffff,0,"Short Retry Limit"}
  62#define awc_RID_gen_Short_retry_limit                   {&aironet4500_RID_Select_General_Config,0x001A,16, 1,1,0,0,0xffff,0,"Long Retry Limit"}
  63#define awc_RID_gen_Tx_MSDU_lifetime                    {&aironet4500_RID_Select_General_Config,0x001C,16, 1,1000,0,0,0xffff,0,"TX MSDU Lifetime"}
  64#define awc_RID_gen_Rx_MSDU_lifetime                    {&aironet4500_RID_Select_General_Config,0x001E,16, 1,1000,0,0,0xffff,0,"RX MSDU Lifetime"}
  65#define awc_RID_gen_Stationary                          {&aironet4500_RID_Select_General_Config,0x0020,16, 1,1,0,0,0xffff,0,"Stationary"}
  66#define awc_RID_gen_BC_MC_Ordering                      {&aironet4500_RID_Select_General_Config,0x0022,16, 1,1,0,0,0xffff,0,"Strictly order Bcast and Mcast"}
  67#define awc_RID_gen_Device_type                         {&aironet4500_RID_Select_General_Config,0x0024,16, 1,1,1,0,0xffff,0x00,"Radio Type"}
  68#define awc_RID_gen_Reserved_0x0026                     {&aironet4500_RID_Select_General_Config,0x0026, 8,10,1,0,0,0xff,0,"Reserved0x28"}
  69
  70
  71//SCANNING/ASSOCIATING
  72#define awc_RID_gen_ScanMode                            awc_def_gen_RID(0x0030,"ScanMode",              16,0xf,0, NULL)
  73#define awc_RID_gen_ScanMode_Active                     awc_def_gen_RID(0x0030,"ScanMode Active",               16,0xf,0, "Active")
  74#define awc_RID_gen_ScanMode_Passive                    awc_def_gen_RID(0x0030,"ScanMode Passive",              16,0xf,1, "Passive")
  75#define awc_RID_gen_ScanMode_Aironet_ext                awc_def_gen_RID(0x0030,"ScanMode Aironet Ext",          16,0xf,2, "Aironet Ext")
  76#define awc_RID_gen_ProbeDelay                          awc_def_gen_RID(0x0032,"ProbeDelay",            16,0xffff,0," msek")            //                 Time ms to wait after switching to a channel for clear channel assessment.
  77#define awc_RID_gen_ProbeEnergyTimeout                  awc_def_gen_RID(0x0034,"ProbeEnergyTimeout",    16,0xffff,0,"msek")     //          Time to wait for energy after an active probe.
  78#define awc_RID_gen_ProbeResponseTimeout                awc_def_gen_RID(0x0036,"ProbeResponseTimeout",  16,0xffff,0,"msek")     // Time to wait for a probe response after energy detected.
  79#define awc_RID_gen_BeaconListenTimeout                 awc_def_gen_RID(0x0038,"BeaconListenTimeout",   16,0xffff,0,"msek")     //    0 default    40          Time to listen for a beacon on each channel.
  80#define awc_RID_gen_IbssJoinNetTimeout                  awc_def_gen_RID(0x003A,"IbssJoinNetTimeout",    16,0xffff,0,"msek")     //       0 default    10000       IBSS: Time to scan for an IBSS before forming a
  81#define awc_RID_gen_AuthenticationTimeout               awc_def_gen_RID(0x003C,"AuthenticationTimeout",16,0xffff,0,"msek")      //       0 default    2000        Time limit after which an authentication sequence will
  82#define awc_RID_gen_AuthenticationType                  awc_def_gen_RID(0x003E,"AuthenticationType",    16,0xffff,0,NULL)       //       0 default    1 (open) //    Selects the desired authentication and privacy methods.             
  83#define awc_RID_gen_AuthenticationType_None             awc_def_gen_RID(0x003E,"AuthenticationType None",       16,0xffff,0,"None")     //   0x00 = None        
  84#define awc_RID_gen_AuthenticationType_Open             awc_def_gen_RID(0x003E,"AuthenticationType Open",       16,0xffff,1,"Open")     //             0x01 = Open
  85#define awc_RID_gen_AuthenticationType_Shared           awc_def_gen_RID(0x003E,"AuthenticationType Shared-Key", 16,0xffff,2,"Shared-Key")       //     0x02 = Shared-Key
  86#define awc_RID_gen_AuthenticationType_Exclude_Open     awc_def_gen_RID(0x003E,"AuthenticationType Exclude Open",       16,0xffff,4,"Exclude Open")     //              0x04 = Exclude Unencrypted
  87#define awc_RID_gen_AssociationTimeout                  awc_def_gen_RID(0x0040,"AssociationTimeout",    16,0xffff,0,"msek")     //       0 default    2000        ESS: Time limit after which an association sequence
  88#define awc_RID_gen_SpecifiedAPtimeout                  awc_def_gen_RID(0x0042,"SpecifiedAPtimeout",    16,0xffff,0,"msek")     //       0 default    10000       0 selects the factory default [~10 sec].
  89#define awc_RID_gen_OfflineScanInterval                 awc_def_gen_RID(0x0044,"OfflineScanInterval",   16,0xffff,0,"msek")     //       0            0           0 disables offline scanning.(kus)        The time period between offline scans.
  90#define awc_RID_gen_OfflineScanDuration                 awc_def_gen_RID(0x0046,"OfflineScanDuration",   16,0xffff,0,"msek")     //       0            0           0 disables offline scanning. //    (kus)        The duration of an offline scan.
  91#define awc_RID_gen_LinkLossDelay                       awc_def_gen_RID(0x0048,"LinkLossDelay", 16,0xffff,0,"msek")     //       0  0 Time to delay before reporting a loss of association
  92#define awc_RID_gen_MaxBeaconLostTime                   awc_def_gen_RID(0x004A,"MaxBeaconLostTime",     16,0xffff,0,"msek")     //      0 default    500        If no beacons are received for this time period, the unit
  93#define awc_RID_gen_RefreshInterval                     awc_def_gen_RID(0x004C,"RefreshInterval",       16,0xffff,0,"msek")             //      0 default    10000      At the specified interval, the station will send a refresh
  94//POWER SAVE OPERATION
  95#define awc_RID_gen_PowerSaveMode                       awc_def_gen_RID(0x0050,"PowerSaveMode", 16,0xffff,0,NULL)               //      0  0Note, for IBSS there is only one PSP mode and it is only enabled if the ATIMwindow is non-zero.
  96#define awc_RID_gen_PowerSaveMode_CAM           awc_def_gen_RID(0x0050,"PowerSaveMode CAM",     16,0x000f,0,"CAM")      // 0 = CAM
  97#define awc_RID_gen_PowerSaveMode_PSP           awc_def_gen_RID(0x0050,"PowerSaveMode PSP",     16,0x000f,1,"PSP")      // 1 = PSP
  98#define awc_RID_gen_PowerSaveMode_Fast_PSP              awc_def_gen_RID(0x0050,"PowerSaveMode Fast PSP",        16,0x000f,2,"Fast PSP") //2 = PSP-CAM [FASTPSP]
  99#define awc_RID_gen_SleepForDTIMs                       awc_def_gen_RID(0x0052,"SleepForDTIMs", 16,0xffff,0,"DTIMs")    //      0  0If non-zero, the station may sleep through DTIMs; this
 100#define awc_RID_gen_ListenInterval                      awc_def_gen_RID(0x0054,"ListenInterval",        16,0xffff,0,"msek")             //      0 default    200 kus    Maximum time to awaken for TIMs. 0 selects factory
 101#define awc_RID_gen_FastListenInterval          awc_def_gen_RID(0x0056,"FastListenInterval",    16,0xffff,0,"msek")     // 0 default    100 kus    The listen interval to be used immediately after
 102#define awc_RID_gen_ListenDecay                         awc_def_gen_RID(0x0058,"ListenDecay",           16,0xffff,0,"times")    //      0 default    2Number of times to use the current listen interval
 103#define awc_RID_gen_FastListenDelay             awc_def_gen_RID(0x005A,"FastListenDelay",       16,0xffff,0,"msek")     //      0 default    200 kus    Time interval to delay before going to fast listen
 104#define awc_RID_gen_Reserved0x005C                      awc_def_gen_RID(0x005C,"Reserved0x005C",        32,0xffffffff,0,"")     //
 105//ADHOC (or AP) OPERATION
 106#define awc_RID_gen_BeaconPeriod                        awc_def_gen_RID(0x0060,"BeaconPeriod",          16,0xffff,0,"msek")     //      0 default    100        0 selects the factory default of [~100 ms].  (kus)
 107#define awc_RID_gen_AtimDuration                        awc_def_gen_RID(0x0062,"AtimDuration",          16,0xffff,0,"msek")     //      0 default    5 kus      The time period reserved for ATIMs immediately after (kus)      the beacon. 0xFFFF will disable the ATIM window; power save mode will not operate.This parameter only applies to adhoc/IBSS.
 108#define awc_RID_gen_Reserved0x0064                      awc_def_gen_RID(0x0064,"Reserved64",            16,0xffff,0,"") //      0  0Reserved for future use
 109#define awc_RID_gen_DSChannel                   awc_def_gen_RID(0x0066,"DSChannel",             16,0xffff,0,"") //      0 default    1The desired operating channel.  ()refer to 802.11)       For North America, a Channel of 0 is 2412 MHz.
 110#define awc_RID_gen_Reserved0x0068                      awc_def_gen_RID(0x0068,"Reserved68",            16,0xffff,0,"") //      0  0Reserved for future use
 111#define awc_RID_gen_DTIM_Period                         awc_def_gen_RID(0x006A,"DTIM Period",           16,0xffff,0,"") //      0 default    1Selects how often a beacon is a DTIM for APs
 112#define awc_RID_gen_Reserved0x0006C             awc_def_gen_RID(0x006C,"Reserved6C",            32,0xffffffff,0,"")     //    0's0's        Reserved for future use
 113//RADIO OPERATION
 114#define awc_RID_gen_RadioSpreadType             awc_def_gen_RID(0x0070,"RadioSpreadType",       16,0xffff,0,NULL)       //      0 default    0Selects the radio operational mode. By default, this will
 115#define awc_RID_gen_RadioSpreadType_FH          awc_def_gen_RID(0x0070,"RadioSpreadType FH",    16,0xffff,0,"FH")       //0 = 802.11 FH Radio (Default)
 116#define awc_RID_gen_RadioSpreadType_DS          awc_def_gen_RID(0x0070,"RadioSpreadType DS",    16,0xffff,1,"DS")       //1 = 802.11 DS Radio
 117#define awc_RID_gen_RadioSpreadType_LM          awc_def_gen_RID(0x0070,"RadioSpreadType LM2000",        16,0xffff,2,"LM2000")   //2 = LM2000 (Legacy) DS Radio
 118#define awc_RID_gen_TX_antenna_Diversity                awc_def_gen_RID(0x0072,"TX antenna Diversity",  16,0xff00,0,NULL)       //       0 default    0x0303    This field is bit-mapped to select the operational
 119#define awc_RID_gen_TX_antenna_Diversity_default        awc_def_gen_RID(0x0072,"TX antenna Diversity Default",  16,0xff00,0x0000,"Default")     //  0 = Diversity as programmed at the factory
 120#define awc_RID_gen_TX_antenna_Diversity_1              awc_def_gen_RID(0x0072,"TX antenna Diversity Antenna 1",        16,0xff00,0x0100,"Antenna 1")   //  1 = Antenna 1 only
 121#define awc_RID_gen_TX_antenna_Diversity_2              awc_def_gen_RID(0x0072,"TX antenna Diversity Antenna 2",        16,0xff00,0x0200,"Antenna 2")   //  2 = Antenna 2 only
 122#define awc_RID_gen_TX_antenna_Diversity_both   awc_def_gen_RID(0x0072,"TX antenna Diversity both antennas",    16,0xff00,0x0300,"both antennas")       //  3 = Antennas 1 and 2 are active
 123#define awc_RID_gen_RX_antenna_Diversity                awc_def_gen_RID(0x0072,"RX antenna Diversity",  16,0x00ff,0,NULL)       //       0 default    0x0303    This field is bit-mapped to select the operational
 124#define awc_RID_gen_RX_antenna_Diversity_default        awc_def_gen_RID(0x0072,"RX antenna Diversity Default",  16,0x00ff,0,"Default")  //  0 = Diversity as programmed at the factory
 125#define awc_RID_gen_RX_antenna_Diversity_1              awc_def_gen_RID(0x0072,"RX antenna Diversity Antenna 1",        16,0x00ff,1,"Antenna 1")        //  1 = Antenna 1 only
 126#define awc_RID_gen_RX_antenna_Diversity_2              awc_def_gen_RID(0x0072,"RX antenna Diversity Antenna 2",        16,0x00ff,2,"Antenna 2")        //  2 = Antenna 2 only
 127#define awc_RID_gen_RX_antenna_Diversity_both   awc_def_gen_RID(0x0072,"RX antenna Diversity both antennas",    16,0x00ff,3,"both antennas")    //
 128#define awc_RID_gen_TransmitPower                       awc_def_gen_RID(0x0074,"TransmitPower", 16,0xffff,0,"mW (rounded up, btw)")     //       0 default    250 or    0 selects the default (maximum power allowed for the
 129#define awc_RID_gen_RSSIthreshold                       awc_def_gen_RID(0x0076,"RSSIthreshold", 16,0xffff,0,"units")    //       0 default    0         RSSI threshold. 0 selects factory default.
 130#define awc_RID_gen_Modulation                          awc_def_gen_RID(0x0078,"Modulation",    8,0xff,0,"")    //     modulation type
 131#define awc_RID_gen_Reserved0x0079                      awc_def_gen_RID(0x0079,"Reserved0x0079",        56,0xff,0,"")   //     0's0's       reserved for future radio specific parameters
 132
 133
 134//AIRONET EXTENSIONS
 135#define awc_RID_gen_NodeName                    awc_def_gen_RID(0x0080,"NodeName",              128,0,0,"")     //    0  0         Station name.
 136#define awc_RID_gen_ARLThreshold                        awc_def_gen_RID(0x0090,"ARLThreshold",          16,0xffff,0,"times")    //       0 default    0xFFFF    0 selects the factory defaults. (which for now is
 137#define awc_RID_gen_ARLDecay                    awc_def_gen_RID(0x0092,"ARLDecay",              16,0xffff,0,"times")    //       0 default    0xFFFF    0 selects the factory defaults. (which for now is
 138#define awc_RID_gen_ARLDelay                    awc_def_gen_RID(0x0094,"ARLDelay",              16,0xffff,0,"times")    //       0 default    0xFFFF    0 selects the factory defaults. (which for now is
 139#define awc_RID_gen_Unused0x0096                        awc_def_gen_RID(0x0096,"Reserved0x96",          16,0xffff,0,"") //
 140#define awc_RID_gen_MagicPacketAction           awc_def_gen_RID(0x0098,"MagicPacketAction",     8,0xff,0," hell knows what")    //        0  0         0 selects no action to be taken on a magic packet and"
 141#define awc_RID_gen_MagicPacketControl          awc_def_gen_RID(0x0099,"MagicPacketControl",    8,0xff,0," hell know what")     //        0  0         0 will disable the magic packet mode command"
 142
 143
 144#define awc_RID_act_RidLen                              {&aironet4500_RID_Select_Active_Config,0x0000, 8,1,1,1,0, 0xffffffff,0x0000, "Length of RID" }
 145#define awc_RID_act_OperatingMode_adhoc                 {&aironet4500_RID_Select_Active_Config,0x0002,16,1,1,0,0, 0x00000003,0x0000,"Opmode IBSS Adhoc operation" }
 146#define awc_RID_act_OperatingMode_Infrastructure        {&aironet4500_RID_Select_Active_Config,0x0002,16,1,1,0,0, 0x00000003,0x0001,"Opmode Infrastructure Station operation" }
 147#define awc_RID_act_OperatingMode_AP            {&aironet4500_RID_Select_Active_Config,0x0002,16,1,1,0,0, 0x00000003,0x0002,"Opmode Access Point" }
 148#define awc_RID_act_OperatingMode_AP_and_repeater       {&aironet4500_RID_Select_Active_Config,0x0002,16,1,1,0,0, 0x00000003,0x0003,"Opmode Access Point and Repeater" }
 149#define awc_RID_act_OperatingMode_No_payload_modify     {&aironet4500_RID_Select_Active_Config,0x0002,16,1,1,0,0, 0x00000100,0x0100,"Opmode Payload without modify" }
 150#define awc_RID_act_OperatingMode_LLC_802_3_convert     {&aironet4500_RID_Select_Active_Config,0x0002,16,1,1,0,0, 0x00000100,0x0000,"Opmode LLC -> 802.3 convert" }
 151#define awc_RID_act_OperatingMode_proprietary_ext       {&aironet4500_RID_Select_Active_Config,0x0002,16,1,1,0,0, 0x00000200,0x0200,"Opmode Aironet Extentsions enabled" }
 152#define awc_RID_act_OperatingMode_no_proprietary_ext {&aironet4500_RID_Select_Active_Config,0x0002,16,1,1,0,0,0x00000200,0x0000,"Opmode Aironet Extentsions disabled" }
 153#define awc_RID_act_OperatingMode_AP_ext                {&aironet4500_RID_Select_Active_Config,0x0002,16,1,1,0,0, 0x00000400,0x0400,"Opmode AP Extentsions enabled" }
 154#define awc_RID_act_OperatingMode_no_AP_ext             {&aironet4500_RID_Select_Active_Config,0x0002,16,1,1,0,0, 0x00000400,0x0000,"Opmode AP Extentsions disabled" }
 155#define awc_RID_act_ReceiveMode                         {&aironet4500_RID_Select_Active_Config,0x0004,16,1,1,0,0,0xffffffff,0x0000,"RX Mode"}
 156#define awc_RID_act_ReceiveMode_BMA             {&aironet4500_RID_Select_Active_Config,0x0004,16,1,1,0,0,0x0000000f,0x0000,"RX Mode BC MC ADDR"}
 157#define awc_RID_act_ReceiveMode_BA                      {&aironet4500_RID_Select_Active_Config,0x0004,16,1,1,0,0,0x0000000f,0x0001,"RX Mode BC ADDR"}
 158#define awc_RID_act_ReceiveMode_A                       {&aironet4500_RID_Select_Active_Config,0x0004,16,1,1,0,0,0x0000000f,0x0002,"RX Mode ADDR"}
 159#define awc_RID_act_ReceiveMode_802_11_monitor  {&aironet4500_RID_Select_Active_Config,0x0004,16,1,1,0,0,0x0000000f,0x0003,"RX Mode 802.11 Monitor current BSSID"}
 160#define awc_RID_act_ReceiveMode_802_11_any_monitor      {&aironet4500_RID_Select_Active_Config,0x0004,16,1,1,0,0,0x0000000f,0x0004,"RX Mode 802.11 Monitor any BSSID"}
 161#define awc_RID_act_ReceiveMode_LAN_monitor     {&aironet4500_RID_Select_Active_Config,0x0004,16,1,1,0,0,0x0000000f,0x0005,"RX Mode LAN Monitor current BSSID"}
 162#define awc_RID_act_ReceiveMode_802_3_hdr_disable       {&aironet4500_RID_Select_Active_Config,0x0004,16,1,1,0,0,0x00000100,0x0100,"RX Mode Disable RX 802.3 Header"}
 163#define awc_RID_act_ReceiveMode_802_3_hdr_enable        {&aironet4500_RID_Select_Active_Config,0x0004,16,1,1,0,0,0x00000100,0x0000,"RX Mode Enable RX 802.3 header"}
 164#define awc_RID_act_Fragmentation_threshold             {&aironet4500_RID_Select_Active_Config,0x0006,16,1,1,0,0,0x0000ffff,0x0000,"Fragmentation Threshold"}
 165#define awc_RID_act_RTS_threshold                       {&aironet4500_RID_Select_Active_Config,0x0008,16,1,1,0,0,0xffff,0x0000,"RTS Threshold"}
 166#define awc_RID_act_Station_Mac_Id                      {&aironet4500_RID_Select_Active_Config,0x000A, 8,6,1,0,0,0xff,0,"Station MAC Id"}
 167#define awc_RID_act_Supported_rates                     {&aironet4500_RID_Select_Active_Config,0x0010, 8,8,1,0,1,0xff,0x00,"Supported Rates"}
 168#define awc_RID_act_Basic_Rate                          {&aironet4500_RID_Select_Active_Config,0x0010, 8,1,1,0,1,0x80,0x80,"Basic Rate"}
 169#define awc_RID_act_Rate_500kbps                        {&aironet4500_RID_Select_Active_Config,0x0010, 8,1,1,0,1,0x7f,0x01,"Rate 500kbps"}
 170#define awc_RID_act_Rate_1Mbps                          {&aironet4500_RID_Select_Active_Config,0x0010, 8,1,1,0,1,0x7f,0x02,"Rate 1Mbps"}
 171#define awc_RID_act_Rate_2Mbps                          {&aironet4500_RID_Select_Active_Config,0x0010, 8,1,1,0,1,0x7f,0x04,"Rate 2Mbps"}
 172#define awc_RID_act_Rate_4Mbps                          {&aironet4500_RID_Select_Active_Config,0x0010, 8,1,1,0,1,0x7f,0x08,"Rate 4Mbps"}
 173#define awc_RID_act_Rate_5Mbps                          {&aironet4500_RID_Select_Active_Config,0x0010, 8,1,1,0,1,0x7f,0x0B,"Rate 5.5Mbps"}
 174#define awc_RID_act_Rate_10Mbps                         {&aironet4500_RID_Select_Active_Config,0x0010, 8,1,1,0,1,0x7f,0x14,"Rate 10Mbps"}
 175#define awc_RID_act_Rate_11Mbps                         {&aironet4500_RID_Select_Active_Config,0x0010, 8,1,1,0,1,0x7f,0x16,"Rate 11Mbps"}
 176#define awc_RID_act_BasicRate_500kbps                   {&aironet4500_RID_Select_Active_Config,0x0010, 8,1,1,0,1,0xff,0x81,"BasicRate 500kbps"}
 177#define awc_RID_act_BasicRate_1Mbps                             {&aironet4500_RID_Select_Active_Config,0x0010, 8,1,1,0,1,0xff,0x82,"BasicRate 1Mbps"}
 178#define awc_RID_act_BasicRate_2Mbps                             {&aironet4500_RID_Select_Active_Config,0x0010, 8,1,1,0,1,0xff,0x84,"BasicRate 2Mbps"}
 179#define awc_RID_act_BasicRate_4Mbps                             {&aironet4500_RID_Select_Active_Config,0x0010, 8,1,1,0,1,0xff,0x88,"BasicRate 4Mbps"}
 180#define awc_RID_act_BasicRate_5Mbps                             {&aironet4500_RID_Select_Active_Config,0x0010, 8,1,1,0,1,0xff,0x8B,"BasicRate 5.5Mbps"}
 181#define awc_RID_act_BasicRate_10Mbps                    {&aironet4500_RID_Select_Active_Config,0x0010, 8,1,1,0,1,0xff,0x94,"BasicRate 10Mbps"}
 182#define awc_RID_act_BasicRate_11Mbps                    {&aironet4500_RID_Select_Active_Config,0x0010, 8,1,1,0,1,0xff,0x96,"BasicRate 11Mbps"}
 183
 184
 185#define awc_RID_act_Long_retry_limit            {&aironet4500_RID_Select_Active_Config,0x0018,16, 1,1,0,0,0xffff,0,"Short Retry Limit"}
 186#define awc_RID_act_Short_retry_limit           {&aironet4500_RID_Select_Active_Config,0x001A,16, 1,1,0,0,0xffff,0,"Long Retry Limit"}
 187#define awc_RID_act_Tx_MSDU_lifetime            {&aironet4500_RID_Select_Active_Config,0x001C,16, 1,1000,0,0,0xffff,0,"TX MSDU Lifetime"}
 188#define awc_RID_act_Rx_MSDU_lifetime            {&aironet4500_RID_Select_Active_Config,0x001E,16, 1,1000,0,0,0xffff,0,"RX MSDU Lifetime"}
 189#define awc_RID_act_Stationary                  {&aironet4500_RID_Select_Active_Config,0x0020,16, 1,1,0,0,0xffff,0,"Stationary"}
 190#define awc_RID_act_BC_MC_Ordering                      {&aironet4500_RID_Select_Active_Config,0x0022,16, 1,1,0,0,0xffff,0,"Strictly order Bcast and Mcast"}
 191#define awc_RID_act_Device_type                         {&aironet4500_RID_Select_Active_Config,0x0024,16, 1,1,1,0,0xffff,0x0065,"Radio Type PC4500"}
 192#define awc_RID_act_Reserved_0x0026                     {&aironet4500_RID_Select_Active_Config,0x0026, 8,10,1,0,0,0xff,0,"Reserved0x28"}
 193
 194
 195//SCANNING/ASSOCIATING
 196#define awc_RID_act_ScanMode                    awc_def_act_RID(0x0030,"ScanMode",              16,0xf,0, NULL)
 197#define awc_RID_act_ScanMode_Active             awc_def_act_RID(0x0030,"ScanMode Active",               16,0xf,0, "Active")
 198#define awc_RID_act_ScanMode_Passive            awc_def_act_RID(0x0030,"ScanMode Passive",              16,0xf,1, "Passive")
 199#define awc_RID_act_ScanMode_Aironet_ext                awc_def_act_RID(0x0030,"ScanMode Aironet Ext",  16,0xf,2, "Aironet Ext")
 200#define awc_RID_act_ProbeDelay                  awc_def_act_RID(0x0032,"ProbeDelay",            16,0xffff,0," msek")            //                 Time ms to wait after switching to a channel for clear channel assessment.
 201#define awc_RID_act_ProbeEnergyTimeout          awc_def_act_RID(0x0034,"ProbeEnergyTimeout",    16,0xffff,0,"msek")     //          Time to wait for energy after an active probe.
 202#define awc_RID_act_ProbeResponseTimeout                awc_def_act_RID(0x0036,"ProbeResponseTimeout",  16,0xffff,0,"msek")     // Time to wait for a probe response after energy detected.
 203#define awc_RID_act_BeaconListenTimeout                 awc_def_act_RID(0x0038,"BeaconListenTimeout",   16,0xffff,0,"msek")     //    0 default    40          Time to listen for a beacon on each channel.
 204#define awc_RID_act_IbssJoinNetTimeout          awc_def_act_RID(0x003A,"IbssJoinNetTimeout",    16,0xffff,0,"msek")     //       0 default    10000       IBSS: Time to scan for an IBSS before forming a
 205#define awc_RID_act_AuthenticationTimeout               awc_def_act_RID(0x003C,"AuthenticationTimeout",16,0xffff,0,"msek")      //       0 default    2000        Time limit after which an authentication sequence will
 206#define awc_RID_act_AuthenticationType          awc_def_act_RID(0x003E,"AuthenticationType",    16,0xffff,0,NULL)       //       0 default    1 (open) //    Selects the desired authentication and privacy methods.             
 207#define awc_RID_act_AuthenticationType_None     awc_def_act_RID(0x003E,"AuthenticationType None",       16,0xffff,0,"None")     //   0x00 = None        
 208#define awc_RID_act_AuthenticationType_Open             awc_def_act_RID(0x003E,"AuthenticationType Open",       16,0xffff,1,"Open")     //             0x01 = Open
 209#define awc_RID_act_AuthenticationType_Shared   awc_def_act_RID(0x003E,"AuthenticationType Shared-Key", 16,0xffff,2,"Shared-Key")       //     0x02 = Shared-Key
 210#define awc_RID_act_AuthenticationType_Exclude_Open awc_def_act_RID(0x003E,"AuthenticationType Exclude Open",   16,0xffff,4,"Exclude Open")     //              0x04 = Exclude Unencrypted
 211#define awc_RID_act_AssociationTimeout          awc_def_act_RID(0x0040,"AssociationTimeout",    16,0xffff,0,"msek")     //       0 default    2000        ESS: Time limit after which an association sequence
 212#define awc_RID_act_SpecifiedAPtimeout          awc_def_act_RID(0x0042,"SpecifiedAPtimeout",    16,0xffff,0,"msek")     //       0 default    10000       0 selects the factory default [~10 sec].
 213#define awc_RID_act_OfflineScanInterval                 awc_def_act_RID(0x0044,"OfflineScanInterval",   16,0xffff,0,"msek")     //       0            0           0 disables offline scanning.(kus)        The time period between offline scans.
 214#define awc_RID_act_OfflineScanDuration                 awc_def_act_RID(0x0046,"OfflineScanDuration",   16,0xffff,0,"msek")     //       0            0           0 disables offline scanning. //    (kus)        The duration of an offline scan.
 215#define awc_RID_act_LinkLossDelay                       awc_def_act_RID(0x0048,"LinkLossDelay", 16,0xffff,0,"msek")     //       0  0 Time to delay before reporting a loss of association
 216#define awc_RID_act_MaxBeaconLostTime           awc_def_act_RID(0x004A,"MaxBeaconLostTime",     16,0xffff,0,"msek")     //      0 default    500        If no beacons are received for this time period, the unit
 217#define awc_RID_act_RefreshInterval             awc_def_act_RID(0x004C,"RefreshInterval",       16,0xffff,0,"msek")             //      0 default    10000      At the specified interval, the station will send a refresh
 218//POWER SAVE OPERATION
 219#define awc_RID_act_PowerSaveMode                       awc_def_act_RID(0x0050,"PowerSaveMode", 16,0xffff,0,NULL)               //      0  0Note, for IBSS there is only one PSP mode and it is only enabled if the ATIMwindow is non-zero.
 220#define awc_RID_act_PowerSaveMode_CAM           awc_def_act_RID(0x0050,"PowerSaveMode CAM",     16,0x000f,0,"CAM")      // 0 = CAM
 221#define awc_RID_act_PowerSaveMode_PSP           awc_def_act_RID(0x0050,"PowerSaveMode PSP",     16,0x000f,1,"PSP")      // 1 = PSP
 222#define awc_RID_act_PowerSaveMode_Fast_PSP              awc_def_act_RID(0x0050,"PowerSaveMode Fast PSP",        16,0x000f,2,"Fast PSP") //2 = PSP-CAM [FASTPSP]
 223#define awc_RID_act_SleepForDTIMs                       awc_def_act_RID(0x0052,"SleepForDTIMs", 16,0xffff,0,"DTIMs")    //      0  0If non-zero, the station may sleep through DTIMs; this
 224#define awc_RID_act_ListenInterval                      awc_def_act_RID(0x0054,"ListenInterval",        16,0xffff,0,"msek")             //      0 default    200 kus    Maximum time to awaken for TIMs. 0 selects factory
 225#define awc_RID_act_FastListenInterval          awc_def_act_RID(0x0056,"FastListenInterval",    16,0xffff,0,"msek")  //    0 default    100 kus    The listen interval to be used immediately after
 226#define awc_RID_act_ListenDecay                         awc_def_act_RID(0x0058,"ListenDecay",           16,0xffff,0,"times")    //      0 default    2Number of times to use the current listen interval
 227#define awc_RID_act_FastListenDelay             awc_def_act_RID(0x005A,"FastListenDelay",       16,0xffff,0,"msek")     //      0 default    200 kus    Time interval to delay before going to fast listen
 228#define awc_RID_act_Reserved0x005C                      awc_def_act_RID(0x005C,"Reserved0x005C",        32,0,0,"")      //
 229//ADHOC (or AP) OPERATION
 230#define awc_RID_act_BeaconPeriod                        awc_def_act_RID(0x0060,"BeaconPeriod",          16,0xffff,0,"msek")     //      0 default    100        0 selects the factory default of [~100 ms].  (kus)
 231#define awc_RID_act_AtimDuration                        awc_def_act_RID(0x0062,"AtimDuration",          16,0xffff,0,"msek")     //      0 default    5 kus      The time period reserved for ATIMs immediately after (kus)      the beacon. 0xFFFF will disable the ATIM window; power save mode will not operate.This parameter only applies to adhoc/IBSS.
 232#define awc_RID_act_Reserved0x0064                      awc_def_act_RID(0x0064,"Reserved64",            16,0xffff,0,"") //      0  0Reserved for future use
 233#define awc_RID_act_DSChannel                   awc_def_act_RID(0x0066,"DSChannel",             16,0xffff,0,"") //      0 default    1The desired operating channel.  ()refer to 802.11)       For North America, a Channel of 0 is 2412 MHz.
 234#define awc_RID_act_Reserved0x0068                      awc_def_act_RID(0x0068,"Reserved68",            16,0xffff,0,"") //      0  0Reserved for future use
 235#define awc_RID_act_DTIM_Period                         awc_def_act_RID(0x006A,"DTIM Period",           16,0xffff,0,"") //      0 default    1Selects how often a beacon is a DTIM for APs
 236#define awc_RID_act_Reserved0x0006C             awc_def_act_RID(0x006C,"Reserved6C",            32,0xffffffff,0,"")     //    0's0's        Reserved for future use
 237//RADIO OPERATION
 238#define awc_RID_act_RadioSpreadType             awc_def_act_RID(0x0070,"RadioSpreadType",       16,0xffff,0,NULL)       //      0 default    0Selects the radio operational mode. By default, this will
 239#define awc_RID_act_RadioSpreadType_FH          awc_def_act_RID(0x0070,"RadioSpreadType FH",    16,0xffff,0,"FH")       //0 = 802.11 FH Radio (Default)
 240#define awc_RID_act_RadioSpreadType_DS          awc_def_act_RID(0x0070,"RadioSpreadType DS",    16,0xffff,1,"DS")       //1 = 802.11 DS Radio
 241#define awc_RID_act_RadioSpreadType_LM          awc_def_act_RID(0x0070,"RadioSpreadType LM2000",        16,0xffff,2,"LM2000")   //2 = LM2000 (Legacy) DS Radio
 242#define awc_RID_act_TX_antenna_Diversity                awc_def_act_RID(0x0072,"TX antenna Diversity",  16,0xff00,0,NULL)       //       0 default    0x0303    This field is bit-mapped to select the operational
 243#define awc_RID_act_TX_antenna_Diversity_default        awc_def_act_RID(0x0072,"TX antenna Diversity Default",  16,0xff00,0x0000,"Default")     //  0 = Diversity as programmed at the factory
 244#define awc_RID_act_TX_antenna_Diversity_1              awc_def_act_RID(0x0072,"TX antenna Diversity Antenna 1",        16,0xff00,0x0100,"Antenna 1")   //  1 = Antenna 1 only
 245#define awc_RID_act_TX_antenna_Diversity_2              awc_def_act_RID(0x0072,"TX antenna Diversity Antenna 2",        16,0xff00,0x0200,"Antenna 2")   //  2 = Antenna 2 only
 246#define awc_RID_act_TX_antenna_Diversity_both   awc_def_act_RID(0x0072,"TX antenna Diversity both antennas",    16,0xff00,0x0300,"both antennas")       //  3 = Antennas 1 and 2 are active
 247#define awc_RID_act_RX_antenna_Diversity                awc_def_act_RID(0x0072,"RX antenna Diversity",  16,0x00ff,0,NULL)       //       0 default    0x0303    This field is bit-mapped to select the operational
 248#define awc_RID_act_RX_antenna_Diversity_default        awc_def_act_RID(0x0072,"RX antenna Diversity Default",  16,0x00ff,0,"Default")  //  0 = Diversity as programmed at the factory
 249#define awc_RID_act_RX_antenna_Diversity_1              awc_def_act_RID(0x0072,"RX antenna Diversity Antenna 1",        16,0x00ff,1,"Antenna 1")        //  1 = Antenna 1 only
 250#define awc_RID_act_RX_antenna_Diversity_2              awc_def_act_RID(0x0072,"RX antenna Diversity Antenna 2",        16,0x00ff,2,"Antenna 2")        //  2 = Antenna 2 only
 251#define awc_RID_act_RX_antenna_Diversity_both   awc_def_act_RID(0x0072,"RX antenna Diversity both antennas",    16,0x00ff,3,"both antennas")    //
 252#define awc_RID_act_TransmitPower                       awc_def_act_RID(0x0074,"TransmitPower", 16,0xffff,0,"mW (rounded up, btw)")     //       0 default    250 or    0 selects the default (maximum power allowed for the
 253#define awc_RID_act_RSSIthreshold                       awc_def_act_RID(0x0076,"RSSIthreshold", 16,0xffff,0,"units")    //       0 default    0         RSSI threshold. 0 selects factory default.
 254#define awc_RID_act_Reserved0x0078                      awc_def_act_RID(0x0078,"Reserved0x0078",        64,0,0,"")      //     0's0's       reserved for future radio specific parameters
 255#define awc_RID_act_Modulation                          awc_def_act_RID(0x0078,"Modulation",    8,0xff,0,"")    //     modulation type
 256#define awc_RID_act_Reserved0x0079                      awc_def_act_RID(0x0079,"Reserved0x0079",        56,0xff,0,"")   //     0's0's       reserved for future radio specific parameters
 257
 258//AIRONET EXTENSIONS
 259#define awc_RID_act_NodeName                    awc_def_act_RID(0x0080,"NodeName",              128,0,0,"")     //    0  0         Station name.
 260#define awc_RID_act_ARLThreshold                awc_def_act_RID(0x0090,"ARLThreshold",          16,0xffff,0,"times")    //       0 default    0xFFFF    0 selects the factory defaults. (which for now is
 261#define awc_RID_act_ARLDecay                    awc_def_act_RID(0x0092,"ARLDecay",              16,0xffff,0,"times")    //       0 default    0xFFFF    0 selects the factory defaults. (which for now is
 262#define awc_RID_act_ARLDelay                    awc_def_act_RID(0x0094,"ARLDelay",              16,0xffff,0,"times")    //       0 default    0xFFFF    0 selects the factory defaults. (which for now is
 263#define awc_RID_act_Unused0x0096                awc_def_act_RID(0x0096,"Reserved0x96",          16,0xffff,0,"") //
 264#define awc_RID_act_MagicPacketAction           awc_def_act_RID(0x0098,"MagicPacketAction",     8,0xff,0," hell knows what")    //        0  0         0 selects no action to be taken on a magic packet and"
 265#define awc_RID_act_MagicPacketControl          awc_def_act_RID(0x0099,"MagicPacketControl",    8,0xff,0," hell know what")     //        0  0         0 will disable the magic packet mode command"
 266
 267
 268
 269// ***************************        SSID  RID
 270
 271
 272
 273#define awc_RID_SSID_RidLen                             awc_def_SSID_RID(0x0000,"RidLen",               16,0xffff,0,"") //RidLen     ",16,0xffff,,"")   //      read-only        Length of this RID including the length field 0x68
 274#define awc_RID_SSID_Accept_any                 awc_def_SSID_RID(0x0002,"Accept Any SSID",      16,0xffff,0,"Accept ANY SSID")  //
 275#define awc_RID_SSIDlen1                        awc_def_SSID_RID(0x0002,"SSIDlen1",             16,0xffff,0,"") //      7      The length of the SSID1 byte string.
 276#define awc_RID_SSID1                           awc_def_SSID_RID(0x0004,"SSID1",                255,0,0,"")     //    "tsunami"        The identifier uniquely identifying the wireless system.
 277#define awc_RID_SSIDlen2                        awc_def_SSID_RID(0x0024,"SSIDlen2",             16,0xffff,0,"") //      0      The length of the SSID2 byte string.
 278#define awc_RID_SSID2                           awc_def_SSID_RID(0x0026,"SSID2",                255,0,0,"")     //   
 279#define awc_RID_SSIDlen3                        awc_def_SSID_RID(0x0046,"SSIDlen3",             16,0xffff,0,"") //      0      The length of the SSID3 byte string.
 280#define awc_RID_SSID3                           awc_def_SSID_RID(0x0048,"SSID3",                255,0,0,"")     //    
 281#define awc_RID_SSID1hex                                awc_def_SSID_RID(0x0004,"SSID1hex",             255,0xff,0,"")  
 282#define awc_RID_SSID2hex                                awc_def_SSID_RID(0x0026,"SSID2hex",             255,0xff,0,"")  
 283#define awc_RID_SSID3hex                                awc_def_SSID_RID(0x0048,"SSID3hex",             255,0xff,0,"")  
 284
 285// AP list
 286
 287#define awc_RID_AP_List_RidLen                  awc_def_AP_List_RID(0x0000,"RidLen",            16,0xffff,0,"")         //      read-only     Length of this RID including the length field
 288#define awc_RID_AP_List_SpecifiedAP1            awc_def_AP_List_RID(0x0002,"SpecifiedAP1",              48,0xff,0,"")   //    0   Specifies the MAC address of an access point to attempt to associate to first, before looking for other Access Points
 289#define awc_RID_AP_List_SpecifiedAP2            awc_def_AP_List_RID(0x0008,"SpecifiedAP2",              48,0xff,0,"")   //    0   Allows for a secondary AP to associate to if the radio cannot associate to the primary AP.
 290#define awc_RID_AP_List_SpecifiedAP3            awc_def_AP_List_RID(0x000E,"SpecifiedAP3",              48,0xff,0,"")   //    0   Allows for a third option when specifying a list of APs.
 291#define awc_RID_AP_List_SpecifiedAP4            awc_def_AP_List_RID(0x0014,"SpecifiedAP4",              48,0xff,0,"")   //    0   Allows for a fourth option when specifying a list of  APs.
 292
 293//   Driver Name
 294
 295#define awc_RID_Dname_RidLen                    awc_def_Dname_RID(0x0000,"RidLen",              16,0xffff,0,"") //      read-only     Length of this RID including the length field
 296#define awc_RID_Dname_DriverName                awc_def_Dname_RID(0x0002,"DriverName",          128,0,0,"")     // The driver name and version can be written here for  debugging support
 297
 298
 299//       Encapsulation Transformations RID
 300
 301#define awc_RID_Enc_RidLen                      awc_def_Enc_RID(0x0000,"RidLen",        16,0xffff,0,"") //       read-only     Length of this RID including the length field
 302#define awc_RID_Enc_EtherType1                  awc_def_Enc_RID(0x0002,"EtherType1",    16,0xffff,0,"") //       0   Note, the ethertype values are in network transmission order.  So IP (0x800) is actually (0x0008). Zero ends the list and selects the default action.
 303#define awc_RID_Enc_Action_RX_1                 awc_def_Enc_RID(0x0004,"RX Action 1",   16,0x0001,0,NULL)       //       0   This field is bit encoded as follows:
 304#define awc_RID_Enc_Action_RX_1_RFC_1042        awc_def_Enc_RID(0x0004,"RX Action 1",   16,0x0001,1,"RX RFC1042")       //  bit 0   (0x0001)  1=RFC1042 is kept for receive packets.
 305#define awc_RID_Enc_Action_RX_1_802_11          awc_def_Enc_RID(0x0004,"RX Action 1",   16,0x0001,0,"RX 802.11")        //  bit 0   (0x0001)  1=RFC1042 is kept for receive packets.
 306#define awc_RID_Enc_Action_TX_1                 awc_def_Enc_RID(0x0004,"TX Action 1",   16,0x0002,0,NULL)       //
 307#define awc_RID_Enc_Action_TX_1_RFC_1042        awc_def_Enc_RID(0x0004,"TX Action 1",   16,0x0002,1,"TX 802.11" )       //  bit 1   (0x0002)  0=RFC1042 is used for transmit encapsulation.  1=802.1H is used for transmit encapsulation.
 308#define awc_RID_Enc_Action_TX_1_802_11          awc_def_Enc_RID(0x0004,"Tx Action 1",   16,0x0002,0,"TX RFC1042")       //  bit 1   (0x0002)  0=RFC1042 is used for transmit encapsulation.  1=802.1H is used for transmit encapsulation.
 309#define awc_RID_Enc_EtherType2                  awc_def_Enc_RID(0x0006,"EtherType2",    16,0xffff,0,"") //       0   Note, the ethertype values are in network transmission order.  So IP (0x800) is actually (0x0008). Zero ends the list and selects the default action.
 310#define awc_RID_Enc_Action_RX_2                 awc_def_Enc_RID(0x0008,"RX Action 2",   16,0x0001,0,NULL)       //       0   This field is bit encoded as follows:
 311#define awc_RID_Enc_Action_RX_2_RFC_1042        awc_def_Enc_RID(0x0008,"RX Action 2",   16,0x0001,1,"RX RFC1042")       //  bit 0   (0x0001)  1=RFC1042 is kept for receive packets.
 312#define awc_RID_Enc_Action_RX_2_802_11          awc_def_Enc_RID(0x0008,"RX Action 2",   16,0x0001,0,"RX 802.11")        //  bit 0   (0x0001)  1=RFC1042 is kept for receive packets.
 313#define awc_RID_Enc_Action_TX_2                 awc_def_Enc_RID(0x0008,"TX Action 2",   16,0x0002,0,NULL)       //
 314#define awc_RID_Enc_Action_TX_2_RFC_1042        awc_def_Enc_RID(0x0008,"TX Action 2",   16,0x0002,1,"TX 802.11" )       //  bit 1   (0x0002)  0=RFC1042 is used for transmit encapsulation.  1=802.1H is used for transmit encapsulation.
 315#define awc_RID_Enc_Action_TX_2_802_11          awc_def_Enc_RID(0x0008,"Tx Action 2",   16,0x0002,0,"TX RFC1042")       //  bit 1   (0x0002)  0=RFC1042 is used for transmit encapsulation.  1=802.1H is used for transmit encapsulation.
 316#define awc_RID_Enc_EtherType3                  awc_def_Enc_RID(0x000A,"EtherType3",    16,0xffff,0,"") //       0   Note, the ethertype values are in network transmission order.  So IP (0x800) is actually (0x0008). Zero ends the list and selects the default action.
 317#define awc_RID_Enc_Action_RX_3                 awc_def_Enc_RID(0x000C,"RX Action 3",   16,0x0001,0,NULL)       //       0   This field is bit encoded as follows:
 318#define awc_RID_Enc_Action_RX_3_RFC_1042        awc_def_Enc_RID(0x000C,"RX Action 3",   16,0x0001,1,"RX RFC1042")       //  bit 0   (0x0001)  1=RFC1042 is kept for receive packets.
 319#define awc_RID_Enc_Action_RX_3_802_11          awc_def_Enc_RID(0x000C,"RX Action 3",   16,0x0001,0,"RX 802.11")        //  bit 0   (0x0001)  1=RFC1042 is kept for receive packets.
 320#define awc_RID_Enc_Action_TX_3_                awc_def_Enc_RID(0x000C,"TX Action 3",   16,0x0002,0,NULL)       //
 321#define awc_RID_Enc_Action_TX_3_RFC_1042        awc_def_Enc_RID(0x000C,"TX Action 3",   16,0x0002,1,"TX 802.11" )       //  bit 1   (0x0002)  0=RFC1042 is used for transmit encapsulation.  1=802.1H is used for transmit encapsulation.
 322#define awc_RID_Enc_Action_TX_3_802_11          awc_def_Enc_RID(0x000C,"Tx Action 3",   16,0x0002,0,"TX RFC1042")       //  bit 1   (0x0002)  0=RFC1042 is used for transmit encapsulation.  1=802.1H is used for transmit encapsulation.
 323#define awc_RID_Enc_EtherType4                  awc_def_Enc_RID(0x000E,"EtherType4",    16,0xffff,0,"") //       0   Note, the ethertype values are in network transmission order.  So IP (0x800) is actually (0x0008). Zero ends the list and selects the default action.
 324#define awc_RID_Enc_Action_RX_4                 awc_def_Enc_RID(0x0010,"RX Action 4",   16,0x0001,0,NULL)       //       0   This field is bit encoded as follows:
 325#define awc_RID_Enc_Action_RX_4_RFC_1042        awc_def_Enc_RID(0x0010,"RX Action 4",   16,0x0001,1,"RX RFC1042")       //  bit 0   (0x0001)  1=RFC1042 is kept for receive packets.
 326#define awc_RID_Enc_Action_RX_4_802_11          awc_def_Enc_RID(0x0010,"RX Action 4",   16,0x0001,0,"RX 802.11")        //  bit 0   (0x0001)  1=RFC1042 is kept for receive packets.
 327#define awc_RID_Enc_Action_TX_4                 awc_def_Enc_RID(0x0010,"TX Action 4",   16,0x0002,0,NULL)       //
 328#define awc_RID_Enc_Action_TX_4_RFC_1042        awc_def_Enc_RID(0x0010,"TX Action 4",   16,0x0002,1,"TX 802.11" )       //  bit 1   (0x0002)  0=RFC1042 is used for transmit encapsulation.  1=802.1H is used for transmit encapsulation.
 329#define awc_RID_Enc_Action_TX_4_802_11          awc_def_Enc_RID(0x0010,"Tx Action 4",   16,0x0002,0,"TX RFC1042")       //  bit 1   (0x0002)  0=RFC1042 is used for transmit encapsulation.  1=802.1H is used for transmit encapsulation.
 330#define awc_RID_Enc_EtherType5                  awc_def_Enc_RID(0x0012,"EtherType5",    16,0xffff,0,"") //       0   Note, the ethertype values are in network transmission order.  So IP (0x800) is actually (0x0008). Zero ends the list and selects the default action.
 331#define awc_RID_Enc_Action_RX_5                 awc_def_Enc_RID(0x0014,"RX Action 5",   16,0x0001,0,NULL)       //       0   This field is bit encoded as follows:
 332#define awc_RID_Enc_Action_RX_5_RFC_1042        awc_def_Enc_RID(0x0014,"RX Action 5",   16,0x0001,1,"RX RFC1042")       //  bit 0   (0x0001)  1=RFC1042 is kept for receive packets.
 333#define awc_RID_Enc_Action_RX_5_802_11          awc_def_Enc_RID(0x0014,"RX Action 5",   16,0x0001,0,"RX 802.11")        //  bit 0   (0x0001)  1=RFC1042 is kept for receive packets.
 334#define awc_RID_Enc_Action_TX_5                 awc_def_Enc_RID(0x0014,"TX Action 5",   16,0x0002,0,NULL)       //
 335#define awc_RID_Enc_Action_TX_5_RFC_1042        awc_def_Enc_RID(0x0014,"TX Action 5",   16,0x0002,1,"TX 802.11" )       //  bit 1   (0x0002)  0=RFC1042 is used for transmit encapsulation.  1=802.1H is used for transmit encapsulation.
 336#define awc_RID_Enc_Action_TX_5_802_11          awc_def_Enc_RID(0x0014,"Tx Action 5",   16,0x0002,0,"TX RFC1042")       //  bit 1   (0x0002)  0=RFC1042 is used for transmit encapsulation.  1=802.1H is used for transmit encapsulation.
 337#define awc_RID_Enc_EtherType6                  awc_def_Enc_RID(0x0016,"EtherType6",    16,0xffff,0,"") //       0   Note, the ethertype values are in network transmission order.  So IP (0x800) is actually (0x0008). Zero ends the list and selects the default action.
 338#define awc_RID_Enc_Action_RX_6                 awc_def_Enc_RID(0x0018,"RX Action 6",   16,0x0001,0,NULL)       //       0   This field is bit encoded as follows:
 339#define awc_RID_Enc_Action_RX_6_RFC_1042        awc_def_Enc_RID(0x0018,"RX Action 6",   16,0x0001,1,"RX RFC1042")       //  bit 0   (0x0001)  1=RFC1042 is kept for receive packets.
 340#define awc_RID_Enc_Action_RX_6_802_11          awc_def_Enc_RID(0x0018,"RX Action 6",   16,0x0001,0,"RX 802.11")        //  bit 0   (0x0001)  1=RFC1042 is kept for receive packets.
 341#define awc_RID_Enc_Action_TX_6                 awc_def_Enc_RID(0x0018,"TX Action 6",   16,0x0002,0,NULL)       //
 342#define awc_RID_Enc_Action_TX_6_RFC_1042        awc_def_Enc_RID(0x0018,"TX Action 6",   16,0x0002,1,"TX 802.11" )       //  bit 1   (0x0002)  0=RFC1042 is used for transmit encapsulation.  1=802.1H is used for transmit encapsulation.
 343#define awc_RID_Enc_Action_TX_6_802_11          awc_def_Enc_RID(0x0018,"Tx Action 6",   16,0x0002,0,"TX RFC1042")       //  bit 1   (0x0002)  0=RFC1042 is used for transmit encapsulation.  1=802.1H is used for transmit encapsulation.
 344#define awc_RID_Enc_EtherType7                  awc_def_Enc_RID(0x001A,"EtherType7",    16,0xffff,0,"") //       0   Note, the ethertype values are in network transmission order.  So IP (0x800) is actually (0x0008). Zero ends the list and selects the default action.
 345#define awc_RID_Enc_Action_RX_7                 awc_def_Enc_RID(0x001C,"RX Action 8",   16,0x0001,0,NULL)       //       0   This field is bit encoded as follows:
 346#define awc_RID_Enc_Action_RX_7_RFC_1042        awc_def_Enc_RID(0x001C,"RX Action 7",   16,0x0001,1,"RX RFC1042")       //  bit 0   (0x0001)  1=RFC1042 is kept for receive packets.
 347#define awc_RID_Enc_Action_RX_7_802_11          awc_def_Enc_RID(0x001C,"RX Action 7",   16,0x0001,0,"RX 802.11")        //  bit 0   (0x0001)  1=RFC1042 is kept for receive packets.
 348#define awc_RID_Enc_Action_TX_7                 awc_def_Enc_RID(0x001C,"TX Action 7",   16,0x0002,0,NULL)       //
 349#define awc_RID_Enc_Action_TX_7_RFC_1042        awc_def_Enc_RID(0x001C,"TX Action 7",   16,0x0002,1,"TX 802.11" )       //  bit 1   (0x0002)  0=RFC1042 is used for transmit encapsulation.  1=802.1H is used for transmit encapsulation.
 350#define awc_RID_Enc_Action_TX_7_802_11          awc_def_Enc_RID(0x001C,"Tx Action 7",   16,0x0002,0,"TX RFC1042")       //  bit 1   (0x0002)  0=RFC1042 is used for transmit encapsulation.  1=802.1H is used for transmit encapsulation.
 351#define awc_RID_Enc_EtherType8                  awc_def_Enc_RID(0x001E,"EtherType7",    16,0xffff,0,"") //       0   Note, the ethertype values are in network transmission order.  So IP (0x800) is actually (0x0008). Zero ends the list and selects the default action.
 352#define awc_RID_Enc_Action_RX_8                 awc_def_Enc_RID(0x0020,"RX Action 8",   16,0x0001,0,NULL)       //       0   This field is bit encoded as follows:
 353#define awc_RID_Enc_Action_RX_8_RFC_1042        awc_def_Enc_RID(0x0020,"RX Action 8",   16,0x0001,1,"RX RFC1042")       //  bit 0   (0x0001)  1=RFC1042 is kept for receive packets.
 354#define awc_RID_Enc_Action_RX_8_802_11          awc_def_Enc_RID(0x0020,"RX Action 8",   16,0x0001,0,"RX 802.11")        //  bit 0   (0x0001)  1=RFC1042 is kept for receive packets.
 355#define awc_RID_Enc_Action_TX_8                 awc_def_Enc_RID(0x0020,"TX Action 8",   16,0x0002,0,NULL)       //
 356#define awc_RID_Enc_Action_TX_8_RFC_1042        awc_def_Enc_RID(0x0020,"TX Action 8",   16,0x0002,1,"TX 802.11" )       //  bit 1   (0x0002)  0=RFC1042 is used for transmit encapsulation.  1=802.1H is used for transmit encapsulation.
 357#define awc_RID_Enc_Action_TX_8_802_11          awc_def_Enc_RID(0x0020,"Tx Action 8",   16,0x0002,0,"TX RFC1042")       //  bit 1   (0x0002)  0=RFC1042 is used for transmit encapsulation.  1=802.1H is used for transmit encapsulation.
 358
 359
 360// WEP Key volatile
 361#define awc_RID_WEPv_RidLen                     awc_def_WEPv_RID(0x0000,"RidLen",       16,0xffff,0,"") //       read-only     Length of this RID including the length field
 362#define awc_RID_WEPv_KeyIndex                   awc_def_WEPv_RID(0x0002,"KeyIndex",     16,0xffff,0,"Index to list of keys")    
 363#define awc_RID_WEPv_Address                    awc_def_WEPv_RID(0x0004,"Address",      48,0xff,0,"mac address related to keys")        
 364#define awc_RID_WEPv_KeyLen                     awc_def_WEPv_RID(0x000A,"KeyLen",       16,0xffff,0,"Key Length (0 and 5 are valid)")   
 365#define awc_RID_WEPv_Key                        awc_def_WEPv_RID(0x000C,"Key",          128,0xff,0,"Key itself in hex coding")
 366#define awc_RID_WEPv_KeyAscii                   awc_def_WEPv_RID(0x000C,"KeyAscii",     128,0,0,"Key itself in ascii coding")
 367
 368// WEP Key non-volatile
 369#define awc_RID_WEPnv_RidLen                    awc_def_WEPnv_RID(0x0000,"RidLen",      16,0xffff,0,"") //       read-only     Length of this RID including the length field
 370#define awc_RID_WEPnv_KeyIndex                  awc_def_WEPnv_RID(0x0002,"KeyIndex",    16,0xffff,0,"Index to list of keys")    
 371#define awc_RID_WEPnv_Address                   awc_def_WEPnv_RID(0x0004,"Address",     48,0xff,0,"mac address related to keys")        
 372#define awc_RID_WEPnv_KeyLen                    awc_def_WEPnv_RID(0x000A,"KeyLen",      16,0xffff,0,"Key Length (0 and 5 are valid)")   
 373#define awc_RID_WEPnv_Key                       awc_def_WEPnv_RID(0x000C,"Key",         128,0xff,0,"Key itself in hex coding")
 374#define awc_RID_WEPnv_KeyAscii                  awc_def_WEPnv_RID(0x000C,"KeyAscii",    128,0,0,"Key itself in ascii coding")
 375
 376// Modulation
 377#define awc_RID_Modulation_RidLen               awc_def_Modulation_RID(0x0000,"RidLen",         16,0xffff,0,"") //       read-only     Length of this RID including the length field
 378#define awc_RID_Modulation_Modulation           awc_def_Modulation_RID(0x0002,"Modulation",     16,0xffff,0,"Modulation")       
 379
 380
 381//   Capabilities RID
 382#define awc_RID_Cap_RidLen              awc_def_Cap_RID(0x0000,"RidLen",                16,0xffff,0,"") //        read-only      Length of this RID including the length field
 383#define awc_RID_Cap_OUI                 awc_def_Cap_RID(0x0002,"OUI",                   24,0xffff,0,"") //      0x00 0x40      This field will give the manufacturer OUI (fourth byte   always zero).
 384#define awc_RID_Cap_ProductNum          awc_def_Cap_RID(0x0006,"ProductNum",            24,0xffff,0,"") //      0x0004         This field will give the product number.
 385#define awc_RID_Cap_ManufacturerName    awc_def_Cap_RID(0x0008,"ManufacturerName",      255,0,0,"")     //      ASCIIz encoding of manufacturer name.
 386#define awc_RID_Cap_ProductName         awc_def_Cap_RID(0x0028,"ProductName",           128,0,0,"")     //     PC4500         ASCIIz encoding of product name.
 387#define awc_RID_Cap_ProductVersion      awc_def_Cap_RID(0x0038,"ProductVersion",        64,0,0,"")      //      .    ASCIIz encoding of product (firmware?) version.
 388#define awc_RID_Cap_FactoryAddress      awc_def_Cap_RID(0x0040,"FactoryAddress",        48,0xff,0,"")   // This field will contain the OEM assigned IEEE address. If there is no OEM address assigned, the Aironet assigned  IEEE Address will be returned in this field.
 389#define awc_RID_Cap_AironetAddress      awc_def_Cap_RID(0x0046,"AironetAddress",        48,0xff,0,"")   // This field will contain the Aironet factory assigned    IEEE address.
 390#define awc_RID_Cap_RadioSpreadType_DS  awc_def_Cap_RID(0x004C,"RadioType_FH",          16,0x0001,1,"") //        0x01 = 802.11 FH
 391#define awc_RID_Cap_RadioSpreadType_FH  awc_def_Cap_RID(0x004C,"RadioType_DS",          16,0x0002,2,"") //        0x02 = 802.11 DS
 392#define awc_RID_Cap_RadioSpreadType_Legacy awc_def_Cap_RID(0x004C,"RadioType_Legacy",   16,0x0004,4,"") //        0x04 = LM2000 (Legacy) DS //  Note, more than one bit may be set for radios     supporting multiple modes of operation.
 393#define awc_RID_Cap_RegDomain           awc_def_Cap_RID(0x004E,"RegDomain",             16,0xffff,0,"") // This field indicates the registration domain/country   The values as assigned by 802.11 will be used.
 394#define awc_RID_Cap_Callid              awc_def_Cap_RID(0x0050,"Callid",                48,0xff,0,"")   // This field indicates the callid assigned to the unit (if  RegDomain is Japan) Each nibble will contain one decimal digit of the 12 digit callid. (Note, this is not the encoded format).
 395#define awc_RID_Cap_SupportedRates      awc_def_Cap_RID(0x0056,"SupportedRates",        64,0xff,0,"")   //      0x02, 0x04,    This field will indicate the 802.11 supported rates as  specified in the rates.
 396#define awc_RID_Cap_RxDiversity         awc_def_Cap_RID(0x005E,"RxDiversity",           8 ,0xff,0,"")   //         0x03 This field will indicate the number of antennas  supported as a bit mask.
 397#define awc_RID_Cap_TxDiversity         awc_def_Cap_RID(0x005F,"TxDiversity",           8 ,0xff,0,"")   //         0x03 This field will indicate the number of antennas supported as a bit mask.
 398#define awc_RID_Cap_TxPowerLevels       awc_def_Cap_RID(0x0060,"TxPowerLevels", 128,0xff,0,"")  //     250  This table indicates the supported transmit power  levels. (values are in mW)  Zero terminates the list. Note, this may be further restricted depending on   country selected.
 399#define awc_RID_Cap_HardwareVersion     awc_def_Cap_RID(0x0070,"HardwareVersion",       16,0xffff,0,"") //        0    This indicates the revision of hardware.
 400#define awc_RID_Cap_HardwareCapabilit   awc_def_Cap_RID(0x0072,"HardwareCapabilit",     16,0xffff,0,"") //        0    This is a bit-mapped field indicating harware  capabilities. No bits have been assigned yet. Initially this is zero.
 401#define awc_RID_Cap_TemperatureRange    awc_def_Cap_RID(0x0074,"TemperatureRange",      16,0xffff,0,"") //        0    This indicates the temperature range capability.
 402#define awc_RID_Cap_SoftwareVersion     awc_def_Cap_RID(0x0076,"SoftwareVersion",       16,0xffff,0,"") //        0    This indicates the revision of software.
 403#define awc_RID_Cap_SoftwareVersion_major       awc_def_Cap_RID(0x0076,"SoftwareVersion major", 16,0xff00,0,"") //  The upper byte indicates the major version and the
 404#define awc_RID_Cap_SoftwareVersion_minor       awc_def_Cap_RID(0x0076,"SoftwareVersion minor", 16,0x00ff,0,"") //  lower byte the minor version.
 405#define awc_RID_Cap_SoftwareSubVersion  awc_def_Cap_RID(0x0078,"SoftwareSubVersio",     16,0xffff,0,"") //        0    This indicates the sub-revision of software.
 406#define awc_RID_Cap_InterfaceVersion    awc_def_Cap_RID(0x007A,"InterfaceVersion",      16,0xffff,0,"") //        0    This indicates the revision of the interface. This will be bumped whenever there are incompatible  modifications made to the interfac  This may be bumped on first release to ensure that  "unreleased" utilities/drivers become unusable.
 407#define awc_RID_Cap_SoftwareCapabilities awc_def_Cap_RID(0x007C,"SoftwareCapabiliti",   160,0xff,0,"")  //    0    This field gives a bit mapped indication of capabilities. No capability bits have yet been assigned.
 408#define awc_RID_Cap_BootBlockVersion    awc_def_Cap_RID(0x007E,"BootBlockVersion ",     16,0xffff,0,"") // This indicates the revision of bootblock software. The upper byte indicates the major version and the lower byte the minor version.  Note, BCD encoding is used. (version 2.11 would be  0x0211.)
 409
 410
 411// Status RID 
 412
 413#define awc_RID_Status_RidLen           awc_def_Stat_RID( 0x0000,"RidLen",              16,0xffff,0,"")         //    Length of this RID including the length field
 414#define awc_RID_Status_MacAddress       awc_def_Stat_RID( 0x0002,"MacAddress",          48,0xff,0,"")           //  The MAC address in use by the station.
 415#define awc_RID_Status_OperationalMode  awc_def_Stat_RID( 0x0008,"OperationalMode",     16,0xffff,0,NULL)       //    Bit-mapped.
 416#define awc_RID_Status_Configured       awc_def_Stat_RID( 0x0008,"OperationalMode Configured",  16,0x0001,1,"Configured")       //
 417#define awc_RID_Status_MAC_Enabled      awc_def_Stat_RID( 0x0008,"OperationalMode MAC Enabled", 16,0x0002,2,"MAC Enabled")      //
 418#define awc_RID_Status_Receive_Enabled  awc_def_Stat_RID( 0x0008,"OperationalMode Receive Enabled",     16,0x0004,4,"Receive Enabled")  //
 419#define awc_RID_Status_In_Sync          awc_def_Stat_RID( 0x0008,"OperationalMode In Sync with cell",   16,0x0010,10,"In Sync with cell")       //
 420#define awc_RID_Status_Associated       awc_def_Stat_RID( 0x0008,"OperationalMode Associated",  16,0x0020,20,"Associated")      //
 421#define awc_RID_Status_Error            awc_def_Stat_RID( 0x0008,"OperationalMode Error",       16,0x8000,0x8000,"Error")       //
 422#define awc_RID_Status_ErrorCode        awc_def_Stat_RID( 0x000A,"ErrorCode",           16,0xffff,0,"")         //    Non-zero if an error state has been entered
 423#define awc_RID_Status_CurrentSignalQuality awc_def_Stat_RID( 0x000C,"CurrentSignalQuality",16,0xffff,0,"")             //    A measure of the current signal quality.
 424#define awc_RID_Status_SSIDlength       awc_def_Stat_RID( 0x000E,"SSIDlength",          16,0xffff,0,"")         //    This length of the following SSID.
 425#define awc_RID_Status_SSID             awc_def_Stat_RID( 0x0010,"SSID",                255,0,0,"")             // The SSID that is currently in effect.
 426#define awc_RID_Status_ApName           awc_def_Stat_RID( 0x0030,"ApName",              128,0,0,"")             // The name of the current BSSID (ESS mode only)
 427#define awc_RID_Status_CurrentBssid     awc_def_Stat_RID( 0x0040,"CurrentBssid",        48,0xff,0,"")           // BSSID that is currently in effect.
 428#define awc_RID_Status_PreviousBssid1   awc_def_Stat_RID( 0x0046,"PreviousBssid1",      48,0xff,0,"")           // A former BSSID.
 429#define awc_RID_Status_PreviousBssid2   awc_def_Stat_RID( 0x004C,"PreviousBssid2",      48,0xff,0,"")           //  A former BSSID.
 430#define awc_RID_Status_PreviousBssid3   awc_def_Stat_RID( 0x0052,"PreviousBssid3",      48,0xff,0,"")           //  A former BSSID.
 431#define awc_RID_Status_BeaconPeriod     awc_def_Stat_RID( 0x0058,"BeaconPeriod",        16,0xffff,0,"msek")     // (kus)        The current beacon period.
 432#define awc_RID_Status_DtimPeriod       awc_def_Stat_RID( 0x005A,"DtimPeriod",          16,0xffff,0,"units")    //    The current DTIM period (number of beacons between DTIMs).
 433#define awc_RID_Status_AtimDuration     awc_def_Stat_RID( 0x005C,"AtimDuration",        16,0xffff,0,"msek")     // (kus)        The current ATIM window duration. Adhoc/Ibss only
 434#define awc_RID_Status_HopPeriod        awc_def_Stat_RID( 0x005E,"HopPeriod",           16,0xffff,0,"msek")     // (kus)        The current hopping period.
 435#define awc_RID_Status_ChannelSet       awc_def_Stat_RID( 0x0060,"ChannelSet",          16,0xffff,0,"Set")      //    The current channel set.
 436#define awc_RID_Status_Channel          awc_def_Stat_RID( 0x0062,"Channel",             16,0xffff,0," ")        //    The current operating channel.
 437#define awc_RID_Status_HopsToBackbone   awc_def_Stat_RID( 0x0064,"HopsToBackbone",      16,0xffff,0,"hops")     //    0 indicates a backbone association.
 438#define awc_RID_Status_ApTotalLoad      awc_def_Stat_RID( 0x0066,"ApTotalLoad", 16,0xffff,0,"units")    //    Total load including broadcast/multicast from backbone.  This is the value extracted from the Aironet element.
 439#define awc_RID_Status_OurGeneratedLoad awc_def_Stat_RID( 0x0068,"OurGeneratedLoad",    16,0xffff,0,"units")    //   Total load generated by our station (transmitted and received). Excludes received broadcast/multicast traffic.
 440#define awc_RID_Status_AccumulatedArl   awc_def_Stat_RID( 0x006A,"AccumulatedArl",      16,0xffff,0,"units")    //
 441
 442// AP RID
 443
 444#define awc_RID_AP_16RidLen             awc_def_AP_RID(0x0000,"RidLen",         16,0xffff,0,"") //        0x06, read-only Length of this RID including the length field
 445#define awc_RID_AP_TIM_addr             awc_def_AP_RID(0x0002,"TIM Addr",               16,0xffff,0,"") //        Read only       The "Traffic Indication Map" is updated by the host via
 446#define awc_RID_AP_Airo_addr            awc_def_AP_RID(0x0004,"Airo Addr",              16,0xffff,0,"") //        Read only       The "Aironet Information Element" is updated by the host via the AUX I/O ports. This is the address of the Aironet Element.
 447
 448
 449// Statistics RID
 450
 451#define awc_RID_Stats_RidLen            awc_def_Stats_RID(0x0000,0x0000,"RidLen",               "Length of the RID including the length field.")
 452#define awc_RID_Stats_RxOverrunErr      awc_def_Stats_RID(0x0002,0x0004,"Stats_RxOverrunErr",   "Receive overruns -- No buffer available to handle the receive. (result is that the packet is never received)")
 453#define awc_RID_Stats_RxPlcpCrcErr      awc_def_Stats_RID(0x0004,0x0008,"Stats_RxPlcpCrcErr",   "PLCP header checksum errors (CRC16).")
 454#define awc_RID_Stats_RxPlcpFormat      awc_def_Stats_RID(0x0006,0x000C,"Stats_RxPlcpFormat",   "PLCP format errors.")
 455#define awc_RID_Stats_RxPlcpLength      awc_def_Stats_RID(0x0008,0x0010,"Stats_RxPlcpLength",   "PLCP length is incorrect.")
 456#define awc_RID_Stats_RxMacCrcErr       awc_def_Stats_RID(0x000A,0x0014,"Stats_RxMacCrcErr",    "Count of MAC CRC32 errors.")
 457#define awc_RID_Stats_RxMacCrcOk        awc_def_Stats_RID(0x000C,0x0018,"Stats_RxMacCrcOk",     "Count of MAC CRC32 received correctly.")
 458#define awc_RID_Stats_RxWepErr          awc_def_Stats_RID(0x000E,0x001C,"Stats_RxWepErr",       "Count of all WEP ICV checks that failed. (this value is included in Stats_RxMacCrcOk)")
 459#define awc_RID_Stats_RxWepOk           awc_def_Stats_RID(0x0010,0x0020,"Stats_RxWepOk",        "Count of all WEP ICV checks that passed. (this value is  included in Stats_RxMacCrcOk)")
 460#define awc_RID_Stats_RetryLong         awc_def_Stats_RID(0x0012,0x0024,"Stats_RetryLongCount", "of all long retries. (Does not include first attempt for a packet).")
 461#define awc_RID_Stats_RetryShort        awc_def_Stats_RID(0x0014,0x0028,"Stats_RetryShort",     "Count of all short retries. (Does not include first attempt for   a packet).")
 462#define awc_RID_Stats_MaxRetries        awc_def_Stats_RID(0x0016,0x002C,"Stats_MaxRetries",     "Count of number of packets that max-retried -- ie were  never ACK-d.")
 463#define awc_RID_Stats_NoAck             awc_def_Stats_RID(0x0018,0x0030,"Stats_NoAck",          "Count of number of times that ACK was not received.")
 464#define awc_RID_Stats_NoCts             awc_def_Stats_RID(0x001A,0x0034,"Stats_NoCts",          "Count of number of timer that CTS was not received.")
 465#define awc_RID_Stats_RxAck             awc_def_Stats_RID(0x001C,0x0038,"Stats_RxAck",          "Count of number of expected ACKs that were received.")
 466#define awc_RID_Stats_RxCts             awc_def_Stats_RID(0x001E,0x003C,"Stats_RxCts",          "Count of number of expected CTSs that were received.")
 467#define awc_RID_Stats_TxAck             awc_def_Stats_RID(0x0020,0x0040,"Stats_TxAck",          "Count of number of ACKs transmitted.")
 468#define awc_RID_Stats_TxRts             awc_def_Stats_RID(0x0022,0x0044,"Stats_TxRts",          "Count of number of RTSs transmitted.")
 469#define awc_RID_Stats_TxCts             awc_def_Stats_RID(0x0024,0x0048,"Stats_TxCts",          "Count of number of CTSs transmitted.")
 470#define awc_RID_Stats_TxMc              awc_def_Stats_RID(0x0026,0x004C,"Stats_TxMc",           " LMAC count of multicast packets sent (uses 802.11  Address1).")
 471#define awc_RID_Stats_TxBc              awc_def_Stats_RID(0x0028,0x0050,"Stats_TxBc",           " LMAC count of broadcast packets sent (uses 802.11")
 472#define awc_RID_Stats_TxUcFrags         awc_def_Stats_RID(0x002A,0x0054,"Stats_TxUcFragsLMAC",  " count of ALL unicast fragments and whole packets sent (uses 802.11 Address1).")
 473#define awc_RID_Stats_TxUcPackets       awc_def_Stats_RID(0x002C,0x0058,"Stats_TxUcPackets",    "LMAC count of unicast packets that were ACKd (uses   802.11 Address 1).")
 474#define awc_RID_Stats_TxBeacon          awc_def_Stats_RID(0x002E,0x005C,"Stats_TxBeacon",       " Count of beacon packets transmitted.")
 475#define awc_RID_Stats_RxBeacon          awc_def_Stats_RID(0x0030,0x0060,"Stats_RxBeacon",       " Count of beacon packets received matching our BSSID.")
 476#define awc_RID_Stats_TxSinColl         awc_def_Stats_RID(0x0032,0x0064,"Stats_TxSinCollTransmit"," single collisions. **")
 477#define awc_RID_Stats_TxMulColl         awc_def_Stats_RID(0x0034,0x0068,"Stats_TxMulCollTransmit"," multiple collisions. **")
 478#define awc_RID_Stats_DefersNo          awc_def_Stats_RID(0x0036,0x006C,"Stats_DefersNo Transmit"," frames sent with no deferral. **")
 479#define awc_RID_Stats_DefersProt        awc_def_Stats_RID(0x0038,0x0070,"Stats_DefersProt",     " Transmit frames deferred due to protocol.")
 480#define awc_RID_Stats_DefersEngy        awc_def_Stats_RID(0x003A,0x0074,"Stats_DefersEngy",     " Transmit frames deferred due to energy detect.")
 481#define awc_RID_Stats_DupFram           awc_def_Stats_RID(0x003C,0x0078,"Stats_DupFram",        "  Duplicate receive frames and fragments.")
 482#define awc_RID_Stats_RxFragDisc        awc_def_Stats_RID(0x003E,0x007C,"Stats_RxFragDisc",     " Received partial frames. (each tally could indicate the  discarding of one or more fragments)")
 483#define awc_RID_Stats_TxAged            awc_def_Stats_RID(0x0040,0x0080,"Stats_TxAged",         "   Transmit packets exceeding maximum transmit lifetime. **")
 484#define awc_RID_Stats_RxAged            awc_def_Stats_RID(0x0042,0x0084,"Stats_RxAgedReceive",  " packets exceeding maximum receive lifetime. **")
 485#define awc_RID_Stats_LostSync_Max      awc_def_Stats_RID(0x0044,0x0088,"Stats_LostSync_Max",   " Lost sync with our cell due to maximum retries occuring. Retry")
 486#define awc_RID_Stats_LostSync_Mis      awc_def_Stats_RID(0x0046,0x008C,"Stats_LostSync_Mis",   "Lost sync with our cell due to missing too many beacons. sedBeacons")
 487#define awc_RID_Stats_LostSync_Arl      awc_def_Stats_RID(0x0048,0x0090,"Stats_LostSync_Arl",   "Lost sync with our cell due to Average Retry Level being  Exceeded  exceeded.")
 488#define awc_RID_Stats_LostSync_Dea      awc_def_Stats_RID(0x004A,0x0094,"Stats_LostSync_Dea",   "Lost sync with our cell due to being deauthenticated.,thed")
 489#define awc_RID_Stats_LostSync_Disa     awc_def_Stats_RID(0x004C,0x0098,"Stats_LostSync_Disa",  " Lost sync with our cell due to being disassociated. ssoced")
 490#define awc_RID_Stats_LostSync_Tsf      awc_def_Stats_RID(0x004E,0x009C,"Stats_LostSync_Tsf",   "Lost sync with our cell due to excessive change in TSF  Timingtiming.")
 491#define awc_RID_Stats_HostTxMc          awc_def_Stats_RID(0x0050,0x00A0,"Stats_HostTxMc",       "Count of multicast packets sent by the host.")
 492#define awc_RID_Stats_HostTxBc          awc_def_Stats_RID(0x0052,0x00A4,"Stats_HostTxBc",       "Count of broadcast packets sent by the host.")
 493#define awc_RID_Stats_HostTxUc          awc_def_Stats_RID(0x0054,0x00A8,"Stats_HostTxUc",       "Count of unicast packets sent by the host.")
 494#define awc_RID_Stats_HostTxFail        awc_def_Stats_RID(0x0056,0x00AC,"Stats_HostTxFail",     "  Count of host transmitted packets which failed.")
 495#define awc_RID_Stats_HostRxMc          awc_def_Stats_RID(0x0058,0x00B0,"Stats_HostRxMc",       "Count of host received multicast packets.")
 496#define awc_RID_Stats_HostRxBc          awc_def_Stats_RID(0x005A,0x00B4,"Stats_HostRxBc",       "Count of host received broadcast packets.")
 497#define awc_RID_Stats_HostRxUc          awc_def_Stats_RID(0x005C,0x00B8,"Stats_HostRxUc",       "Count of host received unicast packets.")
 498#define awc_RID_Stats_HostRxDiscar      awc_def_Stats_RID(0x005E,0x00BC,"Stats_HostRxDiscar",   "Count of host received packets discarded due to:\n  Host not enabling receive.\n  Host failing to dequeue receive packets quickly.\n Packets being discarded due to magic packet mode.")
 499#define awc_RID_Stats_HmacTxMc          awc_def_Stats_RID(0x0060,0x00C0,"Stats_HmacTxMc",       "Count of internally generated multicast (DA) packets.")
 500#define awc_RID_Stats_HmacTxBc          awc_def_Stats_RID(0x0062,0x00C4,"Stats_HmacTxBc",       "Count of internally generated broadcast (DA) packets.")
 501#define awc_RID_Stats_HmacTxUc          awc_def_Stats_RID(0x0064,0x00C8,"Stats_HmacTxUc",       "Count of internally generated unicast (DA) packets.")
 502#define awc_RID_Stats_HmacTxFail        awc_def_Stats_RID(0x0066,0x00CC,"Stats_HmacTxFail",     "  Count of internally generated transmit packets that failed.")
 503#define awc_RID_Stats_HmacRxMc          awc_def_Stats_RID(0x0068,0x00D0,"Stats_HmacRxMc",       "Count of internally received multicast (DA) packets.")
 504#define awc_RID_Stats_HmacRxBc          awc_def_Stats_RID(0x006A,0x00D4,"Stats_HmacRxBc",       "Count of internally received broadcast (DA) packets.")
 505#define awc_RID_Stats_HmacRxUc          awc_def_Stats_RID(0x006C,0x00D8,"Stats_HmacRxUc",       "Count of internally received multicast (DA) packets.")
 506#define awc_RID_Stats_HmacRxDisca       awc_def_Stats_RID(0x006E,0x00DC,"Stats_HmacRxDisca",    " Count of internally received packets that were discarded  (usually because the destination address is not for the host).")
 507#define awc_RID_Stats_HmacRxAcce        awc_def_Stats_RID(0x0070,0x00E0,"Stats_HmacRxAcce",     "  Count of internally received packets that were accepted")
 508#define awc_RID_Stats_SsidMismatch      awc_def_Stats_RID(0x0072,0x00E4,"Stats_SsidMismatch",   " Count of SSID mismatches.")
 509#define awc_RID_Stats_ApMismatch        awc_def_Stats_RID(0x0074,0x00E8,"Stats_ApMismatch",     "  Count of specified AP mismatches.")
 510#define awc_RID_Stats_RatesMismatc      awc_def_Stats_RID(0x0076,0x00EC,"Stats_RatesMismatc",   " Count of rate mismatches.")
 511#define awc_RID_Stats_AuthReject        awc_def_Stats_RID(0x0078,0x00F0,"Stats_AuthReject",     "  Count of authentication rejections.")
 512#define awc_RID_Stats_AuthTimeout       awc_def_Stats_RID(0x007A,0x00F4,"Stats_AuthTimeout",    " Count of authentication timeouts.")
 513#define awc_RID_Stats_AssocReject       awc_def_Stats_RID(0x007C,0x00F8,"Stats_AssocReject",    " Count of association rejections.")
 514#define awc_RID_Stats_AssocTimeout      awc_def_Stats_RID(0x007E,0x00FC,"Stats_AssocTimeout",   " Count of association timeouts.")
 515#define awc_RID_Stats_NewReason         awc_def_Stats_RID(0x0080,0x0100,"Stats_NewReason",      "Count of reason/status codes of greater than 19.  (Values of 0 = successful are not counted)")
 516#define awc_RID_Stats_AuthFail_1        awc_def_Stats_RID(0x0082,0x0104,"Stats_AuthFail_1",     "Unspecified reason.")
 517#define awc_RID_Stats_AuthFail_2        awc_def_Stats_RID(0x0084,0x0108,"Stats_AuthFail_2",     "Previous authentication no longer valid.")
 518#define awc_RID_Stats_AuthFail_3        awc_def_Stats_RID(0x0086,0x010C,"Stats_AuthFail_3",     "Deauthenticated because sending station is leaving (has left) IBSS or ESS.")
 519#define awc_RID_Stats_AuthFail_4        awc_def_Stats_RID(0x0088,0x0110,"Stats_AuthFail_4",     "Disassociated due to inactivity")
 520#define awc_RID_Stats_AuthFail_5        awc_def_Stats_RID(0x008A,0x0114,"Stats_AuthFail_5",     "Disassociated because AP is unable to handle all currently  associated stations.")
 521#define awc_RID_Stats_AuthFail_6        awc_def_Stats_RID(0x008C,0x0118,"Stats_AuthFail_6",     "Class 2 Frame received from non-Authenticated station.")
 522#define awc_RID_Stats_AuthFail_7        awc_def_Stats_RID(0x008E,0x011C,"Stats_AuthFail_7",     "Class 3 Frame received from non-Associated station.")
 523#define awc_RID_Stats_AuthFail_8        awc_def_Stats_RID(0x0090,0x0120,"Stats_AuthFail_8",     "Disassociated because sending station is leaving (has left)")
 524#define awc_RID_Stats_AuthFail_9        awc_def_Stats_RID(0x0092,0x0124,"Stats_AuthFail_9",     "Station requesting (Re)Association is not Authenticated")
 525#define awc_RID_Stats_AuthFail_10       awc_def_Stats_RID(0x0094,0x0128,"Stats_AuthFail_10",    "Cannot support all requested capabilities in the Capability")
 526#define awc_RID_Stats_AuthFail_11       awc_def_Stats_RID(0x0096,0x012C,"Stats_AuthFail_11",    "Reassociation denied due to inability to confirm")
 527#define awc_RID_Stats_AuthFail_12       awc_def_Stats_RID(0x0098,0x0130,"Stats_AuthFail_12",    "Association denied due to reason outside the scope of the 802.11")
 528#define awc_RID_Stats_AuthFail_13       awc_def_Stats_RID(0x009A,0x0134,"Stats_AuthFail_13",    "Responding station does not support the specified Auth Alogorithm")
 529#define awc_RID_Stats_AuthFail_14       awc_def_Stats_RID(0x009C,0x0138,"Stats_AuthFail_14",    "Received an out of sequence Authentication Frame.")
 530#define awc_RID_Stats_AuthFail_15       awc_def_Stats_RID(0x009E,0x013C,"Stats_AuthFail_15",    "Authentication rejected due to challenge failure.")
 531#define awc_RID_Stats_AuthFail_16       awc_def_Stats_RID(0x00A0,0x0140,"Stats_AuthFail_16",    "Authentication rejected due to timeout waiting for next  frame in sequence.")
 532#define awc_RID_Stats_AuthFail_17       awc_def_Stats_RID(0x00A2,0x0144,"Stats_AuthFail_17",    "Association denied because AP is unable to handle  additional associated stations.")
 533#define awc_RID_Stats_AuthFail_18       awc_def_Stats_RID(0x00A4,0x0148,"Stats_AuthFail_18",    "Association denied due to requesting station not supportingall basic rates.")
 534#define awc_RID_Stats_AuthFail_19       awc_def_Stats_RID(0x00A6,0x014C,"Stats_AuthFail_19",    "Reserved")
 535#define awc_RID_Stats_RxMan             awc_def_Stats_RID(0x00A8,0x0150,"Stats_RxMan",          " Count of management packets received and handled.")
 536#define awc_RID_Stats_TxMan             awc_def_Stats_RID(0x00AA,0x0154,"Stats_TxMan",          " Count of management packets transmitted.")
 537#define awc_RID_Stats_RxRefresh         awc_def_Stats_RID(0x00AC,0x0158,"Stats_RxRefresh",      " Count of null data packets received.")
 538#define awc_RID_Stats_TxRefresh         awc_def_Stats_RID(0x00AE,0x015C,"Stats_TxRefresh",      " Count of null data packets transmitted.")
 539#define awc_RID_Stats_RxPoll            awc_def_Stats_RID(0x00B0,0x0160,"Stats_RxPoll",         "Count of PS-Poll packets received.")
 540#define awc_RID_Stats_TxPoll            awc_def_Stats_RID(0x00B2,0x0164,"Stats_TxPoll",         "Count of PS-Poll packets transmitted.")
 541#define awc_RID_Stats_HostRetries       awc_def_Stats_RID(0x00B4,0x0168,"Stats_HostRetries",    " Count of long and short retries used to transmit host packets  (does not include first attempt).")
 542#define awc_RID_Stats_LostSync_HostReq  awc_def_Stats_RID(0x00B6,0x016C,"Stats_LostSync_HostReq","Lost sync with our cell due to host request.")
 543#define awc_RID_Stats_HostTxBytes       awc_def_Stats_RID(0x00B8,0x0170,"Stats_HostTxBytes",    " Count of bytes transferred from the host.")
 544#define awc_RID_Stats_HostRxBytes       awc_def_Stats_RID(0x00BA,0x0174,"Stats_HostRxBytes",    " Count of bytes transferred to the host.")
 545#define awc_RID_Stats_ElapsedUsec       awc_def_Stats_RID(0x00BC,0x0178,"Stats_ElapsedUsec",    " Total time since power up (or clear) in microseconds.")
 546#define awc_RID_Stats_ElapsedSec        awc_def_Stats_RID(0x00BE,0x017C,"Stats_ElapsedSec",     " Total time since power up (or clear) in seconds.")
 547#define awc_RID_Stats_LostSyncBett      awc_def_Stats_RID(0x00C0,0x0180,"Stats_LostSyncBett",   "Lost Sync to switch to a better access point")
 548
 549
 550
 551#define awc_RID_Stats_delta_RidLen              awc_def_Stats_delta_RID(0x0000,0x0000,"RidLen",         "Length of the RID including the length field.")
 552#define awc_RID_Stats_delta_RxOverrunErr        awc_def_Stats_delta_RID(0x0002,0x0004,"Stats_RxOverrunErr",     "Receive overruns -- No buffer available to handle the receive. (result is that the packet is never received)")
 553#define awc_RID_Stats_delta_RxPlcpCrcErr        awc_def_Stats_delta_RID(0x0004,0x0008,"Stats_RxPlcpCrcErr",     "PLCP header checksum errors (CRC16).")
 554#define awc_RID_Stats_delta_RxPlcpFormat        awc_def_Stats_delta_RID(0x0006,0x000C,"Stats_RxPlcpFormat",     "PLCP format errors.")
 555#define awc_RID_Stats_delta_RxPlcpLength        awc_def_Stats_delta_RID(0x0008,0x0010,"Stats_RxPlcpLength",     "PLCP length is incorrect.")
 556#define awc_RID_Stats_delta_RxMacCrcErr         awc_def_Stats_delta_RID(0x000A,0x0014,"Stats_RxMacCrcErr",      "Count of MAC CRC32 errors.")
 557#define awc_RID_Stats_delta_RxMacCrcOk          awc_def_Stats_delta_RID(0x000C,0x0018,"Stats_RxMacCrcOk",       "Count of MAC CRC32 received correctly.")
 558#define awc_RID_Stats_delta_RxWepErr            awc_def_Stats_delta_RID(0x000E,0x001C,"Stats_RxWepErr", "Count of all WEP ICV checks that failed. (this value is included in Stats_RxMacCrcOk)")
 559#define awc_RID_Stats_delta_RxWepOk             awc_def_Stats_delta_RID(0x0010,0x0020,"Stats_RxWepOk",  "Count of all WEP ICV checks that passed. (this value is  included in Stats_RxMacCrcOk)")
 560#define awc_RID_Stats_delta_RetryLong           awc_def_Stats_delta_RID(0x0012,0x0024,"Stats_RetryLongCount",   "of all long retries. (Does not include first attempt for a packet).")
 561#define awc_RID_Stats_delta_RetryShort          awc_def_Stats_delta_RID(0x0014,0x0028,"Stats_RetryShort",       "Count of all short retries. (Does not include first attempt for   a packet).")
 562#define awc_RID_Stats_delta_MaxRetries          awc_def_Stats_delta_RID(0x0016,0x002C,"Stats_MaxRetries",       "Count of number of packets that max-retried -- ie were  never ACKd.")
 563#define awc_RID_Stats_delta_NoAck               awc_def_Stats_delta_RID(0x0018,0x0030,"Stats_NoAck",            "Count of number of times that ACK was not received.")
 564#define awc_RID_Stats_delta_NoCts               awc_def_Stats_delta_RID(0x001A,0x0034,"Stats_NoCts",            "Count of number of timer that CTS was not received.")
 565#define awc_RID_Stats_delta_RxAck               awc_def_Stats_delta_RID(0x001C,0x0038,"Stats_RxAck",            "Count of number of expected ACKs that were received.")
 566#define awc_RID_Stats_delta_RxCts               awc_def_Stats_delta_RID(0x001E,0x003C,"Stats_RxCts",            "Count of number of expected CTSs that were received.")
 567#define awc_RID_Stats_delta_TxAck               awc_def_Stats_delta_RID(0x0020,0x0040,"Stats_TxAck",            "Count of number of ACKs transmitted.")
 568#define awc_RID_Stats_delta_TxRts               awc_def_Stats_delta_RID(0x0022,0x0044,"Stats_TxRts",            "Count of number of RTSs transmitted.")
 569#define awc_RID_Stats_delta_TxCts               awc_def_Stats_delta_RID(0x0024,0x0048,"Stats_TxCts",            "Count of number of CTSs transmitted.")
 570#define awc_RID_Stats_delta_TxMc                awc_def_Stats_delta_RID(0x0026,0x004C,"Stats_TxMc",             " LMAC count of multicast packets sent (uses 802.11  Address1).")
 571#define awc_RID_Stats_delta_TxBc                awc_def_Stats_delta_RID(0x0028,0x0050,"Stats_TxBc",             " LMAC count of broadcast packets sent (uses 802.11")
 572#define awc_RID_Stats_delta_TxUcFrags           awc_def_Stats_delta_RID(0x002A,0x0054,"Stats_TxUcFragsLMAC",    " count of ALL unicast fragments and whole packets sent (uses 802.11 Address1).")
 573#define awc_RID_Stats_delta_TxUcPackets         awc_def_Stats_delta_RID(0x002C,0x0058,"Stats_TxUcPackets",      "LMAC count of unicast packets that were ACKd (uses   802.11 Address 1).")
 574#define awc_RID_Stats_delta_TxBeacon            awc_def_Stats_delta_RID(0x002E,0x005C,"Stats_TxBeacon", " Count of beacon packets transmitted.")
 575#define awc_RID_Stats_delta_RxBeacon            awc_def_Stats_delta_RID(0x0030,0x0060,"Stats_RxBeacon", " Count of beacon packets received matching our BSSID.")
 576#define awc_RID_Stats_delta_TxSinColl           awc_def_Stats_delta_RID(0x0032,0x0064,"Stats_TxSinCollTransmit"," single collisions. **")
 577#define awc_RID_Stats_delta_TxMulColl           awc_def_Stats_delta_RID(0x0034,0x0068,"Stats_TxMulCollTransmit"," multiple collisions. **")
 578#define awc_RID_Stats_delta_DefersNo            awc_def_Stats_delta_RID(0x0036,0x006C,"Stats_DefersNo Transmit"," frames sent with no deferral. **")
 579#define awc_RID_Stats_delta_DefersProt          awc_def_Stats_delta_RID(0x0038,0x0070,"Stats_DefersProt",       " Transmit frames deferred due to protocol.")
 580#define awc_RID_Stats_delta_DefersEngy          awc_def_Stats_delta_RID(0x003A,0x0074,"Stats_DefersEngy",       " Transmit frames deferred due to energy detect.")
 581#define awc_RID_Stats_delta_DupFram             awc_def_Stats_delta_RID(0x003C,0x0078,"Stats_DupFram",  "  Duplicate receive frames and fragments.")
 582#define awc_RID_Stats_delta_RxFragDisc          awc_def_Stats_delta_RID(0x003E,0x007C,"Stats_RxFragDisc",       " Received partial frames. (each tally could indicate the  discarding of one or more fragments)")
 583#define awc_RID_Stats_delta_TxAged              awc_def_Stats_delta_RID(0x0040,0x0080,"Stats_TxAged",           "   Transmit packets exceeding maximum transmit lifetime. **")
 584#define awc_RID_Stats_delta_RxAged              awc_def_Stats_delta_RID(0x0042,0x0084,"Stats_RxAgedReceive",    " packets exceeding maximum receive lifetime. **")
 585#define awc_RID_Stats_delta_LostSync_Max        awc_def_Stats_delta_RID(0x0044,0x0088,"Stats_LostSync_Max",     " Lost sync with our cell due to maximum retries occuring. Retry")
 586#define awc_RID_Stats_delta_LostSync_Mis        awc_def_Stats_delta_RID(0x0046,0x008C,"Stats_LostSync_Mis",     "Lost sync with our cell due to missing too many beacons. sedBeacons")
 587#define awc_RID_Stats_delta_LostSync_Arl        awc_def_Stats_delta_RID(0x0048,0x0090,"Stats_LostSync_Arl",     "Lost sync with our cell due to Average Retry Level being  Exceeded  exceeded.")
 588#define awc_RID_Stats_delta_LostSync_Dea        awc_def_Stats_delta_RID(0x004A,0x0094,"Stats_LostSync_Dea",     "Lost sync with our cell due to being deauthenticated.,thed")
 589#define awc_RID_Stats_delta_LostSync_Disa       awc_def_Stats_delta_RID(0x004C,0x0098,"Stats_LostSync_Disa",    " Lost sync with our cell due to being disassociated. ssoced")
 590#define awc_RID_Stats_delta_LostSync_Tsf        awc_def_Stats_delta_RID(0x004E,0x009C,"Stats_LostSync_Tsf",     "Lost sync with our cell due to excessive change in TSF  Timingtiming.")
 591#define awc_RID_Stats_delta_HostTxMc            awc_def_Stats_delta_RID(0x0050,0x00A0,"Stats_HostTxMc", "Count of multicast packets sent by the host.")
 592#define awc_RID_Stats_delta_HostTxBc            awc_def_Stats_delta_RID(0x0052,0x00A4,"Stats_HostTxBc", "Count of broadcast packets sent by the host.")
 593#define awc_RID_Stats_delta_HostTxUc            awc_def_Stats_delta_RID(0x0054,0x00A8,"Stats_HostTxUc", "Count of unicast packets sent by the host.")
 594#define awc_RID_Stats_delta_HostTxFail          awc_def_Stats_delta_RID(0x0056,0x00AC,"Stats_HostTxFail",       "  Count of host transmitted packets which failed.")
 595#define awc_RID_Stats_delta_HostRxMc            awc_def_Stats_delta_RID(0x0058,0x00B0,"Stats_HostRxMc", "Count of host received multicast packets.")
 596#define awc_RID_Stats_delta_HostRxBc            awc_def_Stats_delta_RID(0x005A,0x00B4,"Stats_HostRxBc", "Count of host received broadcast packets.")
 597#define awc_RID_Stats_delta_HostRxUc            awc_def_Stats_delta_RID(0x005C,0x00B8,"Stats_HostRxUc", "Count of host received unicast packets.")
 598#define awc_RID_Stats_delta_HostRxDiscar        awc_def_Stats_delta_RID(0x005E,0x00BC,"Stats_HostRxDiscar",     "Count of host received packets discarded due to:\n  Host not enabling receive.\n  Host failing to dequeue receive packets quickly.\n Packets being discarded due to magic packet mode.")
 599#define awc_RID_Stats_delta_HmacTxMc            awc_def_Stats_delta_RID(0x0060,0x00C0,"Stats_HmacTxMc", "Count of internally generated multicast (DA) packets.")
 600#define awc_RID_Stats_delta_HmacTxBc            awc_def_Stats_delta_RID(0x0062,0x00C4,"Stats_HmacTxBc", "Count of internally generated broadcast (DA) packets.")
 601#define awc_RID_Stats_delta_HmacTxUc            awc_def_Stats_delta_RID(0x0064,0x00C8,"Stats_HmacTxUc", "Count of internally generated unicast (DA) packets.")
 602#define awc_RID_Stats_delta_HmacTxFail          awc_def_Stats_delta_RID(0x0066,0x00CC,"Stats_HmacTxFail",       "  Count of internally generated transmit packets that failed.")
 603#define awc_RID_Stats_delta_HmacRxMc            awc_def_Stats_delta_RID(0x0068,0x00D0,"Stats_HmacRxMc", "Count of internally received multicast (DA) packets.")
 604#define awc_RID_Stats_delta_HmacRxBc            awc_def_Stats_delta_RID(0x006A,0x00D4,"Stats_HmacRxBc", "Count of internally received broadcast (DA) packets.")
 605#define awc_RID_Stats_delta_HmacRxUc            awc_def_Stats_delta_RID(0x006C,0x00D8,"Stats_HmacRxUc", "Count of internally received multicast (DA) packets.")
 606#define awc_RID_Stats_delta_HmacRxDisca         awc_def_Stats_delta_RID(0x006E,0x00DC,"Stats_HmacRxDisca",      " Count of internally received packets that were discarded  (usually because the destination address is not for the host).")
 607#define awc_RID_Stats_delta_HmacRxAcce          awc_def_Stats_delta_RID(0x0070,0x00E0,"Stats_HmacRxAcce",       "  Count of internally received packets that were accepted")
 608#define awc_RID_Stats_delta_SsidMismatch        awc_def_Stats_delta_RID(0x0072,0x00E4,"Stats_SsidMismatch",     " Count of SSID mismatches.")
 609#define awc_RID_Stats_delta_ApMismatch          awc_def_Stats_delta_RID(0x0074,0x00E8,"Stats_ApMismatch",       "  Count of specified AP mismatches.")
 610#define awc_RID_Stats_delta_RatesMismatc        awc_def_Stats_delta_RID(0x0076,0x00EC,"Stats_RatesMismatc",     " Count of rate mismatches.")
 611#define awc_RID_Stats_delta_AuthReject          awc_def_Stats_delta_RID(0x0078,0x00F0,"Stats_AuthReject",       "  Count of authentication rejections.")
 612#define awc_RID_Stats_delta_AuthTimeout         awc_def_Stats_delta_RID(0x007A,0x00F4,"Stats_AuthTimeout",      " Count of authentication timeouts.")
 613#define awc_RID_Stats_delta_AssocReject         awc_def_Stats_delta_RID(0x007C,0x00F8,"Stats_AssocReject",      " Count of association rejections.")
 614#define awc_RID_Stats_delta_AssocTimeout        awc_def_Stats_delta_RID(0x007E,0x00FC,"Stats_AssocTimeout",     " Count of association timeouts.")
 615#define awc_RID_Stats_delta_NewReason           awc_def_Stats_delta_RID(0x0080,0x0100,"Stats_NewReason",        "Count of reason/status codes of greater than 19.  (Values of 0 = successful are not counted)")
 616#define awc_RID_Stats_delta_AuthFail_1          awc_def_Stats_delta_RID(0x0082,0x0104,"Stats_AuthFail_1",       "Unspecified reason.")
 617#define awc_RID_Stats_delta_AuthFail_2          awc_def_Stats_delta_RID(0x0084,0x0108,"Stats_AuthFail_2",       "Previous authentication no longer valid.")
 618#define awc_RID_Stats_delta_AuthFail_3          awc_def_Stats_delta_RID(0x0086,0x010C,"Stats_AuthFail_3",       "Deauthenticated because sending station is leaving (has left) IBSS or ESS.")
 619#define awc_RID_Stats_delta_AuthFail_4          awc_def_Stats_delta_RID(0x0088,0x0110,"Stats_AuthFail_4",       "Disassociated due to inactivity")
 620#define awc_RID_Stats_delta_AuthFail_5          awc_def_Stats_delta_RID(0x008A,0x0114,"Stats_AuthFail_5",       "Disassociated because AP is unable to handle all currently  associated stations.")
 621#define awc_RID_Stats_delta_AuthFail_6          awc_def_Stats_delta_RID(0x008C,0x0118,"Stats_AuthFail_6",       "Class 2 Frame received from non-Authenticated station.")
 622#define awc_RID_Stats_delta_AuthFail_7          awc_def_Stats_delta_RID(0x008E,0x011C,"Stats_AuthFail_7",       "Class 3 Frame received from non-Associated station.")
 623#define awc_RID_Stats_delta_AuthFail_8          awc_def_Stats_delta_RID(0x0090,0x0120,"Stats_AuthFail_8",       "Disassociated because sending station is leaving (has left)")
 624#define awc_RID_Stats_delta_AuthFail_9          awc_def_Stats_delta_RID(0x0092,0x0124,"Stats_AuthFail_9",       "Station requesting (Re)Association is not Authenticated")
 625#define awc_RID_Stats_delta_AuthFail_10         awc_def_Stats_delta_RID(0x0094,0x0128,"Stats_AuthFail_10",      "Cannot support all requested capabilities in the Capability")
 626#define awc_RID_Stats_delta_AuthFail_11         awc_def_Stats_delta_RID(0x0096,0x012C,"Stats_AuthFail_11",      "Reassociation denied due to inability to confirm")
 627#define awc_RID_Stats_delta_AuthFail_12         awc_def_Stats_delta_RID(0x0098,0x0130,"Stats_AuthFail_12",      "Association denied due to reason outside the scope of the 802.11")
 628#define awc_RID_Stats_delta_AuthFail_13         awc_def_Stats_delta_RID(0x009A,0x0134,"Stats_AuthFail_13",      "Responding station does not support the specified Auth Alogorithm")
 629#define awc_RID_Stats_delta_AuthFail_14         awc_def_Stats_delta_RID(0x009C,0x0138,"Stats_AuthFail_14",      "Received an out of sequence Authentication Frame.")
 630#define awc_RID_Stats_delta_AuthFail_15         awc_def_Stats_delta_RID(0x009E,0x013C,"Stats_AuthFail_15",      "Authentication rejected due to challenge failure.")
 631#define awc_RID_Stats_delta_AuthFail_16         awc_def_Stats_delta_RID(0x00A0,0x0140,"Stats_AuthFail_16",      "Authentication rejected due to timeout waiting for next  frame in sequence.")
 632#define awc_RID_Stats_delta_AuthFail_17         awc_def_Stats_delta_RID(0x00A2,0x0144,"Stats_AuthFail_17",      "Association denied because AP is unable to handle  additional associated stations.")
 633#define awc_RID_Stats_delta_AuthFail_18         awc_def_Stats_delta_RID(0x00A4,0x0148,"Stats_AuthFail_18",      "Association denied due to requesting station not supportingall basic rates.")
 634#define awc_RID_Stats_delta_AuthFail_19         awc_def_Stats_delta_RID(0x00A6,0x014C,"Stats_AuthFail_19",      "Reserved")
 635#define awc_RID_Stats_delta_RxMan               awc_def_Stats_delta_RID(0x00A8,0x0150,"Stats_RxMan",            " Count of management packets received and handled.")
 636#define awc_RID_Stats_delta_TxMan               awc_def_Stats_delta_RID(0x00AA,0x0154,"Stats_TxMan",            " Count of management packets transmitted.")
 637#define awc_RID_Stats_delta_RxRefresh           awc_def_Stats_delta_RID(0x00AC,0x0158,"Stats_RxRefresh",        " Count of null data packets received.")
 638#define awc_RID_Stats_delta_TxRefresh           awc_def_Stats_delta_RID(0x00AE,0x015C,"Stats_TxRefresh",        " Count of null data packets transmitted.")
 639#define awc_RID_Stats_delta_RxPoll              awc_def_Stats_delta_RID(0x00B0,0x0160,"Stats_RxPoll",           "Count of PS-Poll packets received.")
 640#define awc_RID_Stats_delta_TxPoll              awc_def_Stats_delta_RID(0x00B2,0x0164,"Stats_TxPoll",           "Count of PS-Poll packets transmitted.")
 641#define awc_RID_Stats_delta_HostRetries         awc_def_Stats_delta_RID(0x00B4,0x0168,"Stats_HostRetries",      " Count of long and short retries used to transmit host packets  (does not include first attempt).")
 642#define awc_RID_Stats_delta_LostSync_HostReq    awc_def_Stats_delta_RID(0x00B6,0x016C,"Stats_LostSync_HostReq","Lost sync with our cell due to host request.")
 643#define awc_RID_Stats_delta_HostTxBytes         awc_def_Stats_delta_RID(0x00B8,0x0170,"Stats_HostTxBytes",      " Count of bytes transferred from the host.")
 644#define awc_RID_Stats_delta_HostRxBytes         awc_def_Stats_delta_RID(0x00BA,0x0174,"Stats_HostRxBytes",      " Count of bytes transferred to the host.")
 645#define awc_RID_Stats_delta_ElapsedUsec         awc_def_Stats_delta_RID(0x00BC,0x0178,"Stats_ElapsedUsec",      " Total time since power up (or clear) in microseconds.")
 646#define awc_RID_Stats_delta_ElapsedSec          awc_def_Stats_delta_RID(0x00BE,0x017C,"Stats_ElapsedSec",       " Total time since power up (or clear) in seconds.")
 647#define awc_RID_Stats_delta_LostSyncBett        awc_def_Stats_delta_RID(0x00C0,0x0180,"Stats_LostSyncBett",     "Lost Sync to switch to a better access point")
 648
 649
 650
 651#define awc_RID_Stats_clear_RidLen              awc_def_Stats_clear_RID(0x0000,0x0000,"RidLen",         "Length of the RID including the length field.")
 652#define awc_RID_Stats_clear_RxOverrunErr        awc_def_Stats_clear_RID(0x0002,0x0004,"Stats_RxOverrunErr",     "Receive overruns -- No buffer available to handle the receive. (result is that the packet is never received)")
 653#define awc_RID_Stats_clear_RxPlcpCrcErr        awc_def_Stats_clear_RID(0x0004,0x0008,"Stats_RxPlcpCrcErr",     "PLCP header checksum errors (CRC16).")
 654#define awc_RID_Stats_clear_RxPlcpFormat        awc_def_Stats_clear_RID(0x0006,0x000C,"Stats_RxPlcpFormat",     "PLCP format errors.")
 655#define awc_RID_Stats_clear_RxPlcpLength        awc_def_Stats_clear_RID(0x0008,0x0010,"Stats_RxPlcpLength",     "PLCP length is incorrect.")
 656#define awc_RID_Stats_clear_RxMacCrcErr         awc_def_Stats_clear_RID(0x000A,0x0014,"Stats_RxMacCrcErr",      "Count of MAC CRC32 errors.")
 657#define awc_RID_Stats_clear_RxMacCrcOk          awc_def_Stats_clear_RID(0x000C,0x0018,"Stats_RxMacCrcOk",       "Count of MAC CRC32 received correctly.")
 658#define awc_RID_Stats_clear_RxWepErr            awc_def_Stats_clear_RID(0x000E,0x001C,"Stats_RxWepErr", "Count of all WEP ICV checks that failed. (this value is included in Stats_RxMacCrcOk)")
 659#define awc_RID_Stats_clear_RxWepOk             awc_def_Stats_clear_RID(0x0010,0x0020,"Stats_RxWepOk",  "Count of all WEP ICV checks that passed. (this value is  included in Stats_RxMacCrcOk)")
 660#define awc_RID_Stats_clear_RetryLong           awc_def_Stats_clear_RID(0x0012,0x0024,"Stats_RetryLongCount",   "of all long retries. (Does not include first attempt for a packet).")
 661#define awc_RID_Stats_clear_RetryShort          awc_def_Stats_clear_RID(0x0014,0x0028,"Stats_RetryShort",       "Count of all short retries. (Does not include first attempt for   a packet).")
 662#define awc_RID_Stats_clear_MaxRetries          awc_def_Stats_clear_RID(0x0016,0x002C,"Stats_MaxRetries",       "Count of number of packets that max-retried -- ie were  never ACKd.")
 663#define awc_RID_Stats_clear_NoAck               awc_def_Stats_clear_RID(0x0018,0x0030,"Stats_NoAck",            "Count of number of times that ACK was not received.")
 664#define awc_RID_Stats_clear_NoCts               awc_def_Stats_clear_RID(0x001A,0x0034,"Stats_NoCts",            "Count of number of timer that CTS was not received.")
 665#define awc_RID_Stats_clear_RxAck               awc_def_Stats_clear_RID(0x001C,0x0038,"Stats_RxAck",            "Count of number of expected ACKs that were received.")
 666#define awc_RID_Stats_clear_RxCts               awc_def_Stats_clear_RID(0x001E,0x003C,"Stats_RxCts",            "Count of number of expected CTSs that were received.")
 667#define awc_RID_Stats_clear_TxAck               awc_def_Stats_clear_RID(0x0020,0x0040,"Stats_TxAck",            "Count of number of ACKs transmitted.")
 668#define awc_RID_Stats_clear_TxRts               awc_def_Stats_clear_RID(0x0022,0x0044,"Stats_TxRts",            "Count of number of RTSs transmitted.")
 669#define awc_RID_Stats_clear_TxCts               awc_def_Stats_clear_RID(0x0024,0x0048,"Stats_TxCts",            "Count of number of CTSs transmitted.")
 670#define awc_RID_Stats_clear_TxMc                awc_def_Stats_clear_RID(0x0026,0x004C,"Stats_TxMc",             " LMAC count of multicast packets sent (uses 802.11  Address1).")
 671#define awc_RID_Stats_clear_TxBc                awc_def_Stats_clear_RID(0x0028,0x0050,"Stats_TxBc",             " LMAC count of broadcast packets sent (uses 802.11")
 672#define awc_RID_Stats_clear_TxUcFrags           awc_def_Stats_clear_RID(0x002A,0x0054,"Stats_TxUcFragsLMAC",    " count of ALL unicast fragments and whole packets sent (uses 802.11 Address1).")
 673#define awc_RID_Stats_clear_TxUcPackets         awc_def_Stats_clear_RID(0x002C,0x0058,"Stats_TxUcPackets",      "LMAC count of unicast packets that were ACKd (uses   802.11 Address 1).")
 674#define awc_RID_Stats_clear_TxBeacon            awc_def_Stats_clear_RID(0x002E,0x005C,"Stats_TxBeacon", " Count of beacon packets transmitted.")
 675#define awc_RID_Stats_clear_RxBeacon            awc_def_Stats_clear_RID(0x0030,0x0060,"Stats_RxBeacon", " Count of beacon packets received matching our BSSID.")
 676#define awc_RID_Stats_clear_TxSinColl           awc_def_Stats_clear_RID(0x0032,0x0064,"Stats_TxSinCollTransmit"," single collisions. **")
 677#define awc_RID_Stats_clear_TxMulColl           awc_def_Stats_clear_RID(0x0034,0x0068,"Stats_TxMulCollTransmit"," multiple collisions. **")
 678#define awc_RID_Stats_clear_DefersNo            awc_def_Stats_clear_RID(0x0036,0x006C,"Stats_DefersNo Transmit"," frames sent with no deferral. **")
 679#define awc_RID_Stats_clear_DefersProt          awc_def_Stats_clear_RID(0x0038,0x0070,"Stats_DefersProt",       " Transmit frames deferred due to protocol.")
 680#define awc_RID_Stats_clear_DefersEngy          awc_def_Stats_clear_RID(0x003A,0x0074,"Stats_DefersEngy",       " Transmit frames deferred due to energy detect.")
 681#define awc_RID_Stats_clear_DupFram             awc_def_Stats_clear_RID(0x003C,0x0078,"Stats_DupFram",  "  Duplicate receive frames and fragments.")
 682#define awc_RID_Stats_clear_RxFragDisc          awc_def_Stats_clear_RID(0x003E,0x007C,"Stats_RxFragDisc",       " Received partial frames. (each tally could indicate the  discarding of one or more fragments)")
 683#define awc_RID_Stats_clear_TxAged              awc_def_Stats_clear_RID(0x0040,0x0080,"Stats_TxAged",           "   Transmit packets exceeding maximum transmit lifetime. **")
 684#define awc_RID_Stats_clear_RxAged              awc_def_Stats_clear_RID(0x0042,0x0084,"Stats_RxAgedReceive",    " packets exceeding maximum receive lifetime. **")
 685#define awc_RID_Stats_clear_LostSync_Max        awc_def_Stats_clear_RID(0x0044,0x0088,"Stats_LostSync_Max",     " Lost sync with our cell due to maximum retries occuring. Retry")
 686#define awc_RID_Stats_clear_LostSync_Mis        awc_def_Stats_clear_RID(0x0046,0x008C,"Stats_LostSync_Mis",     "Lost sync with our cell due to missing too many beacons. sedBeacons")
 687#define awc_RID_Stats_clear_LostSync_Arl        awc_def_Stats_clear_RID(0x0048,0x0090,"Stats_LostSync_Arl",     "Lost sync with our cell due to Average Retry Level being  Exceeded  exceeded.")
 688#define awc_RID_Stats_clear_LostSync_Dea        awc_def_Stats_clear_RID(0x004A,0x0094,"Stats_LostSync_Dea",     "Lost sync with our cell due to being deauthenticated.,thed")
 689#define awc_RID_Stats_clear_LostSync_Disa       awc_def_Stats_clear_RID(0x004C,0x0098,"Stats_LostSync_Disa",    " Lost sync with our cell due to being disassociated. ssoced")
 690#define awc_RID_Stats_clear_LostSync_Tsf        awc_def_Stats_clear_RID(0x004E,0x009C,"Stats_LostSync_Tsf",     "Lost sync with our cell due to excessive change in TSF  Timingtiming.")
 691#define awc_RID_Stats_clear_HostTxMc            awc_def_Stats_clear_RID(0x0050,0x00A0,"Stats_HostTxMc", "Count of multicast packets sent by the host.")
 692#define awc_RID_Stats_clear_HostTxBc            awc_def_Stats_clear_RID(0x0052,0x00A4,"Stats_HostTxBc", "Count of broadcast packets sent by the host.")
 693#define awc_RID_Stats_clear_HostTxUc            awc_def_Stats_clear_RID(0x0054,0x00A8,"Stats_HostTxUc", "Count of unicast packets sent by the host.")
 694#define awc_RID_Stats_clear_HostTxFail          awc_def_Stats_clear_RID(0x0056,0x00AC,"Stats_HostTxFail",       "  Count of host transmitted packets which failed.")
 695#define awc_RID_Stats_clear_HostRxMc            awc_def_Stats_clear_RID(0x0058,0x00B0,"Stats_HostRxMc", "Count of host received multicast packets.")
 696#define awc_RID_Stats_clear_HostRxBc            awc_def_Stats_clear_RID(0x005A,0x00B4,"Stats_HostRxBc", "Count of host received broadcast packets.")
 697#define awc_RID_Stats_clear_HostRxUc            awc_def_Stats_clear_RID(0x005C,0x00B8,"Stats_HostRxUc", "Count of host received unicast packets.")
 698#define awc_RID_Stats_clear_HostRxDiscar        awc_def_Stats_clear_RID(0x005E,0x00BC,"Stats_HostRxDiscar",     "Count of host received packets discarded due to:\n  Host not enabling receive.\n  Host failing to dequeue receive packets quickly.\n Packets being discarded due to magic packet mode.")
 699#define awc_RID_Stats_clear_HmacTxMc            awc_def_Stats_clear_RID(0x0060,0x00C0,"Stats_HmacTxMc", "Count of internally generated multicast (DA) packets.")
 700#define awc_RID_Stats_clear_HmacTxBc            awc_def_Stats_clear_RID(0x0062,0x00C4,"Stats_HmacTxBc", "Count of internally generated broadcast (DA) packets.")
 701#define awc_RID_Stats_clear_HmacTxUc            awc_def_Stats_clear_RID(0x0064,0x00C8,"Stats_HmacTxUc", "Count of internally generated unicast (DA) packets.")
 702#define awc_RID_Stats_clear_HmacTxFail          awc_def_Stats_clear_RID(0x0066,0x00CC,"Stats_HmacTxFail",       "  Count of internally generated transmit packets that failed.")
 703#define awc_RID_Stats_clear_HmacRxMc            awc_def_Stats_clear_RID(0x0068,0x00D0,"Stats_HmacRxMc", "Count of internally received multicast (DA) packets.")
 704#define awc_RID_Stats_clear_HmacRxBc            awc_def_Stats_clear_RID(0x006A,0x00D4,"Stats_HmacRxBc", "Count of internally received broadcast (DA) packets.")
 705#define awc_RID_Stats_clear_HmacRxUc            awc_def_Stats_clear_RID(0x006C,0x00D8,"Stats_HmacRxUc", "Count of internally received multicast (DA) packets.")
 706#define awc_RID_Stats_clear_HmacRxDisca         awc_def_Stats_clear_RID(0x006E,0x00DC,"Stats_HmacRxDisca",      " Count of internally received packets that were discarded  (usually because the destination address is not for the host).")
 707#define awc_RID_Stats_clear_HmacRxAcce          awc_def_Stats_clear_RID(0x0070,0x00E0,"Stats_HmacRxAcce",       "  Count of internally received packets that were accepted")
 708#define awc_RID_Stats_clear_SsidMismatch        awc_def_Stats_clear_RID(0x0072,0x00E4,"Stats_SsidMismatch",     " Count of SSID mismatches.")
 709#define awc_RID_Stats_clear_ApMismatch          awc_def_Stats_clear_RID(0x0074,0x00E8,"Stats_ApMismatch",       "  Count of specified AP mismatches.")
 710#define awc_RID_Stats_clear_RatesMismatc        awc_def_Stats_clear_RID(0x0076,0x00EC,"Stats_RatesMismatc",     " Count of rate mismatches.")
 711#define awc_RID_Stats_clear_AuthReject          awc_def_Stats_clear_RID(0x0078,0x00F0,"Stats_AuthReject",       "  Count of authentication rejections.")
 712#define awc_RID_Stats_clear_AuthTimeout         awc_def_Stats_clear_RID(0x007A,0x00F4,"Stats_AuthTimeout",      " Count of authentication timeouts.")
 713#define awc_RID_Stats_clear_AssocReject         awc_def_Stats_clear_RID(0x007C,0x00F8,"Stats_AssocReject",      " Count of association rejections.")
 714#define awc_RID_Stats_clear_AssocTimeout        awc_def_Stats_clear_RID(0x007E,0x00FC,"Stats_AssocTimeout",     " Count of association timeouts.")
 715#define awc_RID_Stats_clear_NewReason           awc_def_Stats_clear_RID(0x0080,0x0100,"Stats_NewReason",        "Count of reason/status codes of greater than 19.  (Values of 0 = successful are not counted)")
 716#define awc_RID_Stats_clear_AuthFail_1          awc_def_Stats_clear_RID(0x0082,0x0104,"Stats_AuthFail_1",       "Unspecified reason.")
 717#define awc_RID_Stats_clear_AuthFail_2          awc_def_Stats_clear_RID(0x0084,0x0108,"Stats_AuthFail_2",       "Previous authentication no longer valid.")
 718#define awc_RID_Stats_clear_AuthFail_3          awc_def_Stats_clear_RID(0x0086,0x010C,"Stats_AuthFail_3",       "Deauthenticated because sending station is leaving (has left) IBSS or ESS.")
 719#define awc_RID_Stats_clear_AuthFail_4          awc_def_Stats_clear_RID(0x0088,0x0110,"Stats_AuthFail_4",       "Disassociated due to inactivity")
 720#define awc_RID_Stats_clear_AuthFail_5          awc_def_Stats_clear_RID(0x008A,0x0114,"Stats_AuthFail_5",       "Disassociated because AP is unable to handle all currently  associated stations.")
 721#define awc_RID_Stats_clear_AuthFail_6          awc_def_Stats_clear_RID(0x008C,0x0118,"Stats_AuthFail_6",       "Class 2 Frame received from non-Authenticated station.")
 722#define awc_RID_Stats_clear_AuthFail_7          awc_def_Stats_clear_RID(0x008E,0x011C,"Stats_AuthFail_7",       "Class 3 Frame received from non-Associated station.")
 723#define awc_RID_Stats_clear_AuthFail_8          awc_def_Stats_clear_RID(0x0090,0x0120,"Stats_AuthFail_8",       "Disassociated because sending station is leaving (has left)")
 724#define awc_RID_Stats_clear_AuthFail_9          awc_def_Stats_clear_RID(0x0092,0x0124,"Stats_AuthFail_9",       "Station requesting (Re)Association is not Authenticated")
 725#define awc_RID_Stats_clear_AuthFail_10         awc_def_Stats_clear_RID(0x0094,0x0128,"Stats_AuthFail_10",      "Cannot support all requested capabilities in the Capability")
 726#define awc_RID_Stats_clear_AuthFail_11         awc_def_Stats_clear_RID(0x0096,0x012C,"Stats_AuthFail_11",      "Reassociation denied due to inability to confirm")
 727#define awc_RID_Stats_clear_AuthFail_12         awc_def_Stats_clear_RID(0x0098,0x0130,"Stats_AuthFail_12",      "Association denied due to reason outside the scope of the 802.11")
 728#define awc_RID_Stats_clear_AuthFail_13         awc_def_Stats_clear_RID(0x009A,0x0134,"Stats_AuthFail_13",      "Responding station does not support the specified Auth Alogorithm")
 729#define awc_RID_Stats_clear_AuthFail_14         awc_def_Stats_clear_RID(0x009C,0x0138,"Stats_AuthFail_14",      "Received an out of sequence Authentication Frame.")
 730#define awc_RID_Stats_clear_AuthFail_15         awc_def_Stats_clear_RID(0x009E,0x013C,"Stats_AuthFail_15",      "Authentication rejected due to challenge failure.")
 731#define awc_RID_Stats_clear_AuthFail_16         awc_def_Stats_clear_RID(0x00A0,0x0140,"Stats_AuthFail_16",      "Authentication rejected due to timeout waiting for next  frame in sequence.")
 732#define awc_RID_Stats_clear_AuthFail_17         awc_def_Stats_clear_RID(0x00A2,0x0144,"Stats_AuthFail_17",      "Association denied because AP is unable to handle  additional associated stations.")
 733#define awc_RID_Stats_clear_AuthFail_18         awc_def_Stats_clear_RID(0x00A4,0x0148,"Stats_AuthFail_18",      "Association denied due to requesting station not supportingall basic rates.")
 734#define awc_RID_Stats_clear_AuthFail_19         awc_def_Stats_clear_RID(0x00A6,0x014C,"Stats_AuthFail_19",      "Reserved")
 735#define awc_RID_Stats_clear_RxMan               awc_def_Stats_clear_RID(0x00A8,0x0150,"Stats_RxMan",            " Count of management packets received and handled.")
 736#define awc_RID_Stats_clear_TxMan               awc_def_Stats_clear_RID(0x00AA,0x0154,"Stats_TxMan",            " Count of management packets transmitted.")
 737#define awc_RID_Stats_clear_RxRefresh           awc_def_Stats_clear_RID(0x00AC,0x0158,"Stats_RxRefresh",        " Count of null data packets received.")
 738#define awc_RID_Stats_clear_TxRefresh           awc_def_Stats_clear_RID(0x00AE,0x015C,"Stats_TxRefresh",        " Count of null data packets transmitted.")
 739#define awc_RID_Stats_clear_RxPoll              awc_def_Stats_clear_RID(0x00B0,0x0160,"Stats_RxPoll",           "Count of PS-Poll packets received.")
 740#define awc_RID_Stats_clear_TxPoll              awc_def_Stats_clear_RID(0x00B2,0x0164,"Stats_TxPoll",           "Count of PS-Poll packets transmitted.")
 741#define awc_RID_Stats_clear_HostRetries         awc_def_Stats_clear_RID(0x00B4,0x0168,"Stats_HostRetries",      " Count of long and short retries used to transmit host packets  (does not include first attempt).")
 742#define awc_RID_Stats_clear_LostSync_HostReq    awc_def_Stats_clear_RID(0x00B6,0x016C,"Stats_LostSync_HostReq","Lost sync with our cell due to host request.")
 743#define awc_RID_Stats_clear_HostTxBytes         awc_def_Stats_clear_RID(0x00B8,0x0170,"Stats_HostTxBytes",      " Count of bytes transferred from the host.")
 744#define awc_RID_Stats_clear_HostRxBytes         awc_def_Stats_clear_RID(0x00BA,0x0174,"Stats_HostRxBytes",      " Count of bytes transferred to the host.")
 745#define awc_RID_Stats_clear_ElapsedUsec         awc_def_Stats_clear_RID(0x00BC,0x0178,"Stats_ElapsedUsec",      " Total time since power up (or clear) in microseconds.")
 746#define awc_RID_Stats_clear_ElapsedSec          awc_def_Stats_clear_RID(0x00BE,0x017C,"Stats_ElapsedSec",       " Total time since power up (or clear) in seconds.")
 747#define awc_RID_Stats_clear_LostSyncBett        awc_def_Stats_clear_RID(0x00C0,0x0180,"Stats_LostSyncBett",     "Lost Sync to switch to a better access point")
 748
 749
 750
 751#define awc_RID_Stats16_RidLen          awc_def_Stats16_RID(0x0000,0x0000,"RidLen",             "Length of the RID including the length field.")
 752#define awc_RID_Stats16_RxOverrunErr    awc_def_Stats16_RID(0x0002,0x0004,"Stats_RxOverrunErr", "Receive overruns -- No buffer available to handle the receive. (result is that the packet is never received)")
 753#define awc_RID_Stats16_RxPlcpCrcErr    awc_def_Stats16_RID(0x0004,0x0008,"Stats_RxPlcpCrcErr", "PLCP header checksum errors (CRC16).")
 754#define awc_RID_Stats16_RxPlcpFormat    awc_def_Stats16_RID(0x0006,0x000C,"Stats_RxPlcpFormat", "PLCP format errors.")
 755#define awc_RID_Stats16_RxPlcpLength    awc_def_Stats16_RID(0x0008,0x0010,"Stats_RxPlcpLength", "PLCP length is incorrect.")
 756#define awc_RID_Stats16_RxMacCrcErr     awc_def_Stats16_RID(0x000A,0x0014,"Stats_RxMacCrcErr",  "Count of MAC CRC32 errors.")
 757#define awc_RID_Stats16_RxMacCrcOk      awc_def_Stats16_RID(0x000C,0x0018,"Stats_RxMacCrcOk",   "Count of MAC CRC32 received correctly.")
 758#define awc_RID_Stats16_RxWepErr        awc_def_Stats16_RID(0x000E,0x001C,"Stats_RxWepErr",     "Count of all WEP ICV checks that failed. (this value is included in Stats_RxMacCrcOk)")
 759#define awc_RID_Stats16_RxWepOk         awc_def_Stats16_RID(0x0010,0x0020,"Stats_RxWepOk",      "Count of all WEP ICV checks that passed. (this value is  included in Stats_RxMacCrcOk)")
 760#define awc_RID_Stats16_RetryLong       awc_def_Stats16_RID(0x0012,0x0024,"Stats_RetryLongCount",       "of all long retries. (Does not include first attempt for a packet).")
 761#define awc_RID_Stats16_RetryShort      awc_def_Stats16_RID(0x0014,0x0028,"Stats_RetryShort",   "Count of all short retries. (Does not include first attempt for   a packet).")
 762#define awc_RID_Stats16_MaxRetries      awc_def_Stats16_RID(0x0016,0x002C,"Stats_MaxRetries",   "Count of number of packets that max-retried -- ie were  never ACKd.")
 763#define awc_RID_Stats16_NoAck           awc_def_Stats16_RID(0x0018,0x0030,"Stats_NoAck",                "Count of number of times that ACK was not received.")
 764#define awc_RID_Stats16_NoCts           awc_def_Stats16_RID(0x001A,0x0034,"Stats_NoCts",                "Count of number of timer that CTS was not received.")
 765#define awc_RID_Stats16_RxAck           awc_def_Stats16_RID(0x001C,0x0038,"Stats_RxAck",                "Count of number of expected ACKs that were received.")
 766#define awc_RID_Stats16_RxCts           awc_def_Stats16_RID(0x001E,0x003C,"Stats_RxCts",                "Count of number of expected CTSs that were received.")
 767#define awc_RID_Stats16_TxAck           awc_def_Stats16_RID(0x0020,0x0040,"Stats_TxAck",                "Count of number of ACKs transmitted.")
 768#define awc_RID_Stats16_TxRts           awc_def_Stats16_RID(0x0022,0x0044,"Stats_TxRts",                "Count of number of RTSs transmitted.")
 769#define awc_RID_Stats16_TxCts           awc_def_Stats16_RID(0x0024,0x0048,"Stats_TxCts",                "Count of number of CTSs transmitted.")
 770#define awc_RID_Stats16_TxMc            awc_def_Stats16_RID(0x0026,0x004C,"Stats_TxMc",         " LMAC count of multicast packets sent (uses 802.11  Address1).")
 771#define awc_RID_Stats16_TxBc            awc_def_Stats16_RID(0x0028,0x0050,"Stats_TxBc",         " LMAC count of broadcast packets sent (uses 802.11")
 772#define awc_RID_Stats16_TxUcFrags       awc_def_Stats16_RID(0x002A,0x0054,"Stats_TxUcFragsLMAC",        " count of ALL unicast fragments and whole packets sent (uses 802.11 Address1).")
 773#define awc_RID_Stats16_TxUcPackets     awc_def_Stats16_RID(0x002C,0x0058,"Stats_TxUcPackets",  "LMAC count of unicast packets that were ACKd (uses   802.11 Address 1).")
 774#define awc_RID_Stats16_TxBeacon        awc_def_Stats16_RID(0x002E,0x005C,"Stats_TxBeacon",     " Count of beacon packets transmitted.")
 775#define awc_RID_Stats16_RxBeacon        awc_def_Stats16_RID(0x0030,0x0060,"Stats_RxBeacon",     " Count of beacon packets received matching our BSSID.")
 776#define awc_RID_Stats16_TxSinColl       awc_def_Stats16_RID(0x0032,0x0064,"Stats_TxSinCollTransmit"," single collisions. **")
 777#define awc_RID_Stats16_TxMulColl       awc_def_Stats16_RID(0x0034,0x0068,"Stats_TxMulCollTransmit"," multiple collisions. **")
 778#define awc_RID_Stats16_DefersNo        awc_def_Stats16_RID(0x0036,0x006C,"Stats_DefersNo Transmit"," frames sent with no deferral. **")
 779#define awc_RID_Stats16_DefersProt      awc_def_Stats16_RID(0x0038,0x0070,"Stats_DefersProt",   " Transmit frames deferred due to protocol.")
 780#define awc_RID_Stats16_DefersEngy      awc_def_Stats16_RID(0x003A,0x0074,"Stats_DefersEngy",   " Transmit frames deferred due to energy detect.")
 781#define awc_RID_Stats16_DupFram         awc_def_Stats16_RID(0x003C,0x0078,"Stats_DupFram",      "  Duplicate receive frames and fragments.")
 782#define awc_RID_Stats16_RxFragDisc      awc_def_Stats16_RID(0x003E,0x007C,"Stats_RxFragDisc",   " Received partial frames. (each tally could indicate the  discarding of one or more fragments)")
 783#define awc_RID_Stats16_TxAged          awc_def_Stats16_RID(0x0040,0x0080,"Stats_TxAged",               "   Transmit packets exceeding maximum transmit lifetime. **")
 784#define awc_RID_Stats16_RxAged          awc_def_Stats16_RID(0x0042,0x0084,"Stats_RxAgedReceive",        " packets exceeding maximum receive lifetime. **")
 785#define awc_RID_Stats16_LostSync_Max    awc_def_Stats16_RID(0x0044,0x0088,"Stats_LostSync_Max", " Lost sync with our cell due to maximum retries occuring. Retry")
 786#define awc_RID_Stats16_LostSync_Mis    awc_def_Stats16_RID(0x0046,0x008C,"Stats_LostSync_Mis", "Lost sync with our cell due to missing too many beacons. sedBeacons")
 787#define awc_RID_Stats16_LostSync_Arl    awc_def_Stats16_RID(0x0048,0x0090,"Stats_LostSync_Arl", "Lost sync with our cell due to Average Retry Level being  Exceeded  exceeded.")
 788#define awc_RID_Stats16_LostSync_Dea    awc_def_Stats16_RID(0x004A,0x0094,"Stats_LostSync_Dea", "Lost sync with our cell due to being deauthenticated.,thed")
 789#define awc_RID_Stats16_LostSync_Disa   awc_def_Stats16_RID(0x004C,0x0098,"Stats_LostSync_Disa",        " Lost sync with our cell due to being disassociated. ssoced")
 790#define awc_RID_Stats16_LostSync_Tsf    awc_def_Stats16_RID(0x004E,0x009C,"Stats_LostSync_Tsf", "Lost sync with our cell due to excessive change in TSF  Timingtiming.")
 791#define awc_RID_Stats16_HostTxMc        awc_def_Stats16_RID(0x0050,0x00A0,"Stats_HostTxMc",     "Count of multicast packets sent by the host.")
 792#define awc_RID_Stats16_HostTxBc        awc_def_Stats16_RID(0x0052,0x00A4,"Stats_HostTxBc",     "Count of broadcast packets sent by the host.")
 793#define awc_RID_Stats16_HostTxUc        awc_def_Stats16_RID(0x0054,0x00A8,"Stats_HostTxUc",     "Count of unicast packets sent by the host.")
 794#define awc_RID_Stats16_HostTxFail      awc_def_Stats16_RID(0x0056,0x00AC,"Stats_HostTxFail",   "  Count of host transmitted packets which failed.")
 795#define awc_RID_Stats16_HostRxMc        awc_def_Stats16_RID(0x0058,0x00B0,"Stats_HostRxMc",     "Count of host received multicast packets.")
 796#define awc_RID_Stats16_HostRxBc        awc_def_Stats16_RID(0x005A,0x00B4,"Stats_HostRxBc",     "Count of host received broadcast packets.")
 797#define awc_RID_Stats16_HostRxUc        awc_def_Stats16_RID(0x005C,0x00B8,"Stats_HostRxUc",     "Count of host received unicast packets.")
 798#define awc_RID_Stats16_HostRxDiscar    awc_def_Stats16_RID(0x005E,0x00BC,"Stats_HostRxDiscar", "Count of host received packets discarded due to:\n  Host not enabling receive.\n  Host failing to dequeue receive packets quickly.\n Packets being discarded due to magic packet mode.")
 799#define awc_RID_Stats16_HmacTxMc        awc_def_Stats16_RID(0x0060,0x00C0,"Stats_HmacTxMc",     "Count of internally generated multicast (DA) packets.")
 800#define awc_RID_Stats16_HmacTxBc        awc_def_Stats16_RID(0x0062,0x00C4,"Stats_HmacTxBc",     "Count of internally generated broadcast (DA) packets.")
 801#define awc_RID_Stats16_HmacTxUc        awc_def_Stats16_RID(0x0064,0x00C8,"Stats_HmacTxUc",     "Count of internally generated unicast (DA) packets.")
 802#define awc_RID_Stats16_HmacTxFail      awc_def_Stats16_RID(0x0066,0x00CC,"Stats_HmacTxFail",   "  Count of internally generated transmit packets that failed.")
 803#define awc_RID_Stats16_HmacRxMc        awc_def_Stats16_RID(0x0068,0x00D0,"Stats_HmacRxMc",     "Count of internally received multicast (DA) packets.")
 804#define awc_RID_Stats16_HmacRxBc        awc_def_Stats16_RID(0x006A,0x00D4,"Stats_HmacRxBc",     "Count of internally received broadcast (DA) packets.")
 805#define awc_RID_Stats16_HmacRxUc        awc_def_Stats16_RID(0x006C,0x00D8,"Stats_HmacRxUc",     "Count of internally received multicast (DA) packets.")
 806#define awc_RID_Stats16_HmacRxDisca     awc_def_Stats16_RID(0x006E,0x00DC,"Stats_HmacRxDisca",  " Count of internally received packets that were discarded  (usually because the destination address is not for the host).")
 807#define awc_RID_Stats16_HmacRxAcce      awc_def_Stats16_RID(0x0070,0x00E0,"Stats_HmacRxAcce",   "  Count of internally received packets that were accepted")
 808#define awc_RID_Stats16_SsidMismatch    awc_def_Stats16_RID(0x0072,0x00E4,"Stats_SsidMismatch", " Count of SSID mismatches.")
 809#define awc_RID_Stats16_ApMismatch      awc_def_Stats16_RID(0x0074,0x00E8,"Stats_ApMismatch",   "  Count of specified AP mismatches.")
 810#define awc_RID_Stats16_RatesMismatc    awc_def_Stats16_RID(0x0076,0x00EC,"Stats_RatesMismatc", " Count of rate mismatches.")
 811#define awc_RID_Stats16_AuthReject      awc_def_Stats16_RID(0x0078,0x00F0,"Stats_AuthReject",   "  Count of authentication rejections.")
 812#define awc_RID_Stats16_AuthTimeout     awc_def_Stats16_RID(0x007A,0x00F4,"Stats_AuthTimeout",  " Count of authentication timeouts.")
 813#define awc_RID_Stats16_AssocReject     awc_def_Stats16_RID(0x007C,0x00F8,"Stats_AssocReject",  " Count of association rejections.")
 814#define awc_RID_Stats16_AssocTimeout    awc_def_Stats16_RID(0x007E,0x00FC,"Stats_AssocTimeout", " Count of association timeouts.")
 815#define awc_RID_Stats16_NewReason       awc_def_Stats16_RID(0x0080,0x0100,"Stats_NewReason",    "Count of reason/status codes of greater than 19.  (Values of 0 = successful are not counted)")
 816#define awc_RID_Stats16_AuthFail_1      awc_def_Stats16_RID(0x0082,0x0104,"Stats_AuthFail_1",   "Unspecified reason.")
 817#define awc_RID_Stats16_AuthFail_2      awc_def_Stats16_RID(0x0084,0x0108,"Stats_AuthFail_2",   "Previous authentication no longer valid.")
 818#define awc_RID_Stats16_AuthFail_3      awc_def_Stats16_RID(0x0086,0x010C,"Stats_AuthFail_3",   "Deauthenticated because sending station is leaving (has left) IBSS or ESS.")
 819#define awc_RID_Stats16_AuthFail_4      awc_def_Stats16_RID(0x0088,0x0110,"Stats_AuthFail_4",   "Disassociated due to inactivity")
 820#define awc_RID_Stats16_AuthFail_5      awc_def_Stats16_RID(0x008A,0x0114,"Stats_AuthFail_5",   "Disassociated because AP is unable to handle all currently  associated stations.")
 821#define awc_RID_Stats16_AuthFail_6      awc_def_Stats16_RID(0x008C,0x0118,"Stats_AuthFail_6",   "Class 2 Frame received from non-Authenticated station.")
 822#define awc_RID_Stats16_AuthFail_7      awc_def_Stats16_RID(0x008E,0x011C,"Stats_AuthFail_7",   "Class 3 Frame received from non-Associated station.")
 823#define awc_RID_Stats16_AuthFail_8      awc_def_Stats16_RID(0x0090,0x0120,"Stats_AuthFail_8",   "Disassociated because sending station is leaving (has left)")
 824#define awc_RID_Stats16_AuthFail_9      awc_def_Stats16_RID(0x0092,0x0124,"Stats_AuthFail_9",   "Station requesting (Re)Association is not Authenticated")
 825#define awc_RID_Stats16_AuthFail_10     awc_def_Stats16_RID(0x0094,0x0128,"Stats_AuthFail_10",  "Cannot support all requested capabilities in the Capability")
 826#define awc_RID_Stats16_AuthFail_11     awc_def_Stats16_RID(0x0096,0x012C,"Stats_AuthFail_11",  "Reassociation denied due to inability to confirm")
 827#define awc_RID_Stats16_AuthFail_12     awc_def_Stats16_RID(0x0098,0x0130,"Stats_AuthFail_12",  "Association denied due to reason outside the scope of the 802.11")
 828#define awc_RID_Stats16_AuthFail_13     awc_def_Stats16_RID(0x009A,0x0134,"Stats_AuthFail_13",  "Responding station does not support the specified Auth Alogorithm")
 829#define awc_RID_Stats16_AuthFail_14     awc_def_Stats16_RID(0x009C,0x0138,"Stats_AuthFail_14",  "Received an out of sequence Authentication Frame.")
 830#define awc_RID_Stats16_AuthFail_15     awc_def_Stats16_RID(0x009E,0x013C,"Stats_AuthFail_15",  "Authentication rejected due to challenge failure.")
 831#define awc_RID_Stats16_AuthFail_16     awc_def_Stats16_RID(0x00A0,0x0140,"Stats_AuthFail_16",  "Authentication rejected due to timeout waiting for next  frame in sequence.")
 832#define awc_RID_Stats16_AuthFail_17     awc_def_Stats16_RID(0x00A2,0x0144,"Stats_AuthFail_17",  "Association denied because AP is unable to handle  additional associated stations.")
 833#define awc_RID_Stats16_AuthFail_18     awc_def_Stats16_RID(0x00A4,0x0148,"Stats_AuthFail_18",  "Association denied due to requesting station not supportingall basic rates.")
 834#define awc_RID_Stats16_AuthFail_19     awc_def_Stats16_RID(0x00A6,0x014C,"Stats_AuthFail_19",  "Reserved")
 835#define awc_RID_Stats16_RxMan           awc_def_Stats16_RID(0x00A8,0x0150,"Stats_RxMan",                " Count of management packets received and handled.")
 836#define awc_RID_Stats16_TxMan           awc_def_Stats16_RID(0x00AA,0x0154,"Stats_TxMan",                " Count of management packets transmitted.")
 837#define awc_RID_Stats16_RxRefresh       awc_def_Stats16_RID(0x00AC,0x0158,"Stats_RxRefresh",    " Count of null data packets received.")
 838#define awc_RID_Stats16_TxRefresh       awc_def_Stats16_RID(0x00AE,0x015C,"Stats_TxRefresh",    " Count of null data packets transmitted.")
 839#define awc_RID_Stats16_RxPoll          awc_def_Stats16_RID(0x00B0,0x0160,"Stats_RxPoll",               "Count of PS-Poll packets received.")
 840#define awc_RID_Stats16_TxPoll          awc_def_Stats16_RID(0x00B2,0x0164,"Stats_TxPoll",               "Count of PS-Poll packets transmitted.")
 841#define awc_RID_Stats16_HostRetries     awc_def_Stats16_RID(0x00B4,0x0168,"Stats_HostRetries",  " Count of long and short retries used to transmit host packets  (does not include first attempt).")
 842#define awc_RID_Stats16_LostSync_HostReq awc_def_Stats16_RID(0x00B6,0x016C,"Stats_LostSync_HostReq","Lost sync with our cell due to host request.")
 843#define awc_RID_Stats16_HostTxBytes     awc_def_Stats16_RID(0x00B8,0x0170,"Stats_HostTxBytes",  " Count of bytes transferred from the host.")
 844#define awc_RID_Stats16_HostRxBytes     awc_def_Stats16_RID(0x00BA,0x0174,"Stats_HostRxBytes",  " Count of bytes transferred to the host.")
 845#define awc_RID_Stats16_ElapsedUsec     awc_def_Stats16_RID(0x00BC,0x0178,"Stats_ElapsedUsec",  " Total time since power up (or clear) in microseconds.")
 846#define awc_RID_Stats16_ElapsedSec      awc_def_Stats16_RID(0x00BE,0x017C,"Stats_ElapsedSec",   " Total time since power up (or clear) in seconds.")
 847#define awc_RID_Stats16_LostSyncBett    awc_def_Stats16_RID(0x00C0,0x0180,"Stats_LostSyncBett", "Lost Sync to switch to a better access point")
 848
 849
 850
 851#define awc_RID_Stats16_delta_RidLen            awc_def_Stats16_delta_RID(0x0000,0x0000,"RidLen",               "Length of the RID including the length field.")
 852#define awc_RID_Stats16_delta_RxOverrunErr      awc_def_Stats16_delta_RID(0x0002,0x0004,"Stats_RxOverrunErr",   "Receive overruns -- No buffer available to handle the receive. (result is that the packet is never received)")
 853#define awc_RID_Stats16_delta_RxPlcpCrcErr      awc_def_Stats16_delta_RID(0x0004,0x0008,"Stats_RxPlcpCrcErr",   "PLCP header checksum errors (CRC16).")
 854#define awc_RID_Stats16_delta_RxPlcpFormat      awc_def_Stats16_delta_RID(0x0006,0x000C,"Stats_RxPlcpFormat",   "PLCP format errors.")
 855#define awc_RID_Stats16_delta_RxPlcpLength      awc_def_Stats16_delta_RID(0x0008,0x0010,"Stats_RxPlcpLength",   "PLCP length is incorrect.")
 856#define awc_RID_Stats16_delta_RxMacCrcErr       awc_def_Stats16_delta_RID(0x000A,0x0014,"Stats_RxMacCrcErr",    "Count of MAC CRC32 errors.")
 857#define awc_RID_Stats16_delta_RxMacCrcOk        awc_def_Stats16_delta_RID(0x000C,0x0018,"Stats_RxMacCrcOk",     "Count of MAC CRC32 received correctly.")
 858#define awc_RID_Stats16_delta_RxWepErr          awc_def_Stats16_delta_RID(0x000E,0x001C,"Stats_RxWepErr",       "Count of all WEP ICV checks that failed. (this value is included in Stats_RxMacCrcOk)")
 859#define awc_RID_Stats16_delta_RxWepOk           awc_def_Stats16_delta_RID(0x0010,0x0020,"Stats_RxWepOk",        "Count of all WEP ICV checks that passed. (this value is  included in Stats_RxMacCrcOk)")
 860#define awc_RID_Stats16_delta_RetryLong         awc_def_Stats16_delta_RID(0x0012,0x0024,"Stats_RetryLongCount", "of all long retries. (Does not include first attempt for a packet).")
 861#define awc_RID_Stats16_delta_RetryShort        awc_def_Stats16_delta_RID(0x0014,0x0028,"Stats_RetryShort",     "Count of all short retries. (Does not include first attempt for   a packet).")
 862#define awc_RID_Stats16_delta_MaxRetries        awc_def_Stats16_delta_RID(0x0016,0x002C,"Stats_MaxRetries",     "Count of number of packets that max-retried -- ie were  never ACKd.")
 863#define awc_RID_Stats16_delta_NoAck             awc_def_Stats16_delta_RID(0x0018,0x0030,"Stats_NoAck",          "Count of number of times that ACK was not received.")
 864#define awc_RID_Stats16_delta_NoCts             awc_def_Stats16_delta_RID(0x001A,0x0034,"Stats_NoCts",          "Count of number of timer that CTS was not received.")
 865#define awc_RID_Stats16_delta_RxAck             awc_def_Stats16_delta_RID(0x001C,0x0038,"Stats_RxAck",          "Count of number of expected ACKs that were received.")
 866#define awc_RID_Stats16_delta_RxCts             awc_def_Stats16_delta_RID(0x001E,0x003C,"Stats_RxCts",          "Count of number of expected CTSs that were received.")
 867#define awc_RID_Stats16_delta_TxAck             awc_def_Stats16_delta_RID(0x0020,0x0040,"Stats_TxAck",          "Count of number of ACKs transmitted.")
 868#define awc_RID_Stats16_delta_TxRts             awc_def_Stats16_delta_RID(0x0022,0x0044,"Stats_TxRts",          "Count of number of RTSs transmitted.")
 869#define awc_RID_Stats16_delta_TxCts             awc_def_Stats16_delta_RID(0x0024,0x0048,"Stats_TxCts",          "Count of number of CTSs transmitted.")
 870#define awc_RID_Stats16_delta_TxMc              awc_def_Stats16_delta_RID(0x0026,0x004C,"Stats_TxMc",           " LMAC count of multicast packets sent (uses 802.11  Address1).")
 871#define awc_RID_Stats16_delta_TxBc              awc_def_Stats16_delta_RID(0x0028,0x0050,"Stats_TxBc",           " LMAC count of broadcast packets sent (uses 802.11")
 872#define awc_RID_Stats16_delta_TxUcFrags         awc_def_Stats16_delta_RID(0x002A,0x0054,"Stats_TxUcFragsLMAC",  " count of ALL unicast fragments and whole packets sent (uses 802.11 Address1).")
 873#define awc_RID_Stats16_delta_TxUcPackets       awc_def_Stats16_delta_RID(0x002C,0x0058,"Stats_TxUcPackets",    "LMAC count of unicast packets that were ACKd (uses   802.11 Address 1).")
 874#define awc_RID_Stats16_delta_TxBeacon          awc_def_Stats16_delta_RID(0x002E,0x005C,"Stats_TxBeacon",       " Count of beacon packets transmitted.")
 875#define awc_RID_Stats16_delta_RxBeacon          awc_def_Stats16_delta_RID(0x0030,0x0060,"Stats_RxBeacon",       " Count of beacon packets received matching our BSSID.")
 876#define awc_RID_Stats16_delta_TxSinColl         awc_def_Stats16_delta_RID(0x0032,0x0064,"Stats_TxSinCollTransmit"," single collisions. **")
 877#define awc_RID_Stats16_delta_TxMulColl         awc_def_Stats16_delta_RID(0x0034,0x0068,"Stats_TxMulCollTransmit"," multiple collisions. **")
 878#define awc_RID_Stats16_delta_DefersNo          awc_def_Stats16_delta_RID(0x0036,0x006C,"Stats_DefersNo Transmit"," frames sent with no deferral. **")
 879#define awc_RID_Stats16_delta_DefersProt        awc_def_Stats16_delta_RID(0x0038,0x0070,"Stats_DefersProt",     " Transmit frames deferred due to protocol.")
 880#define awc_RID_Stats16_delta_DefersEngy        awc_def_Stats16_delta_RID(0x003A,0x0074,"Stats_DefersEngy",     " Transmit frames deferred due to energy detect.")
 881#define awc_RID_Stats16_delta_DupFram           awc_def_Stats16_delta_RID(0x003C,0x0078,"Stats_DupFram",        "  Duplicate receive frames and fragments.")
 882#define awc_RID_Stats16_delta_RxFragDisc        awc_def_Stats16_delta_RID(0x003E,0x007C,"Stats_RxFragDisc",     " Received partial frames. (each tally could indicate the  discarding of one or more fragments)")
 883#define awc_RID_Stats16_delta_TxAged            awc_def_Stats16_delta_RID(0x0040,0x0080,"Stats_TxAged",         "   Transmit packets exceeding maximum transmit lifetime. **")
 884#define awc_RID_Stats16_delta_RxAged            awc_def_Stats16_delta_RID(0x0042,0x0084,"Stats_RxAgedReceive",  " packets exceeding maximum receive lifetime. **")
 885#define awc_RID_Stats16_delta_LostSync_Max      awc_def_Stats16_delta_RID(0x0044,0x0088,"Stats_LostSync_Max",   " Lost sync with our cell due to maximum retries occuring. Retry")
 886#define awc_RID_Stats16_delta_LostSync_Mis      awc_def_Stats16_delta_RID(0x0046,0x008C,"Stats_LostSync_Mis",   "Lost sync with our cell due to missing too many beacons. sedBeacons")
 887#define awc_RID_Stats16_delta_LostSync_Arl      awc_def_Stats16_delta_RID(0x0048,0x0090,"Stats_LostSync_Arl",   "Lost sync with our cell due to Average Retry Level being  Exceeded  exceeded.")
 888#define awc_RID_Stats16_delta_LostSync_Dea      awc_def_Stats16_delta_RID(0x004A,0x0094,"Stats_LostSync_Dea",   "Lost sync with our cell due to being deauthenticated.,thed")
 889#define awc_RID_Stats16_delta_LostSync_Disa     awc_def_Stats16_delta_RID(0x004C,0x0098,"Stats_LostSync_Disa",  " Lost sync with our cell due to being disassociated. ssoced")
 890#define awc_RID_Stats16_delta_LostSync_Tsf      awc_def_Stats16_delta_RID(0x004E,0x009C,"Stats_LostSync_Tsf",   "Lost sync with our cell due to excessive change in TSF  Timingtiming.")
 891#define awc_RID_Stats16_delta_HostTxMc          awc_def_Stats16_delta_RID(0x0050,0x00A0,"Stats_HostTxMc",       "Count of multicast packets sent by the host.")
 892#define awc_RID_Stats16_delta_HostTxBc          awc_def_Stats16_delta_RID(0x0052,0x00A4,"Stats_HostTxBc",       "Count of broadcast packets sent by the host.")
 893#define awc_RID_Stats16_delta_HostTxUc          awc_def_Stats16_delta_RID(0x0054,0x00A8,"Stats_HostTxUc",       "Count of unicast packets sent by the host.")
 894#define awc_RID_Stats16_delta_HostTxFail        awc_def_Stats16_delta_RID(0x0056,0x00AC,"Stats_HostTxFail",     "  Count of host transmitted packets which failed.")
 895#define awc_RID_Stats16_delta_HostRxMc          awc_def_Stats16_delta_RID(0x0058,0x00B0,"Stats_HostRxMc",       "Count of host received multicast packets.")
 896#define awc_RID_Stats16_delta_HostRxBc          awc_def_Stats16_delta_RID(0x005A,0x00B4,"Stats_HostRxBc",       "Count of host received broadcast packets.")
 897#define awc_RID_Stats16_delta_HostRxUc          awc_def_Stats16_delta_RID(0x005C,0x00B8,"Stats_HostRxUc",       "Count of host received unicast packets.")
 898#define awc_RID_Stats16_delta_HostRxDiscar      awc_def_Stats16_delta_RID(0x005E,0x00BC,"Stats_HostRxDiscar",   "Count of host received packets discarded due to:\n  Host not enabling receive.\n  Host failing to dequeue receive packets quickly.\n Packets being discarded due to magic packet mode.")
 899#define awc_RID_Stats16_delta_HmacTxMc          awc_def_Stats16_delta_RID(0x0060,0x00C0,"Stats_HmacTxMc",       "Count of internally generated multicast (DA) packets.")
 900#define awc_RID_Stats16_delta_HmacTxBc          awc_def_Stats16_delta_RID(0x0062,0x00C4,"Stats_HmacTxBc",       "Count of internally generated broadcast (DA) packets.")
 901#define awc_RID_Stats16_delta_HmacTxUc          awc_def_Stats16_delta_RID(0x0064,0x00C8,"Stats_HmacTxUc",       "Count of internally generated unicast (DA) packets.")
 902#define awc_RID_Stats16_delta_HmacTxFail        awc_def_Stats16_delta_RID(0x0066,0x00CC,"Stats_HmacTxFail",     "  Count of internally generated transmit packets that failed.")
 903#define awc_RID_Stats16_delta_HmacRxMc          awc_def_Stats16_delta_RID(0x0068,0x00D0,"Stats_HmacRxMc",       "Count of internally received multicast (DA) packets.")
 904#define awc_RID_Stats16_delta_HmacRxBc          awc_def_Stats16_delta_RID(0x006A,0x00D4,"Stats_HmacRxBc",       "Count of internally received broadcast (DA) packets.")
 905#define awc_RID_Stats16_delta_HmacRxUc          awc_def_Stats16_delta_RID(0x006C,0x00D8,"Stats_HmacRxUc",       "Count of internally received multicast (DA) packets.")
 906#define awc_RID_Stats16_delta_HmacRxDisca       awc_def_Stats16_delta_RID(0x006E,0x00DC,"Stats_HmacRxDisca",    " Count of internally received packets that were discarded  (usually because the destination address is not for the host).")
 907#define awc_RID_Stats16_delta_HmacRxAcce        awc_def_Stats16_delta_RID(0x0070,0x00E0,"Stats_HmacRxAcce",     "  Count of internally received packets that were accepted")
 908#define awc_RID_Stats16_delta_SsidMismatch      awc_def_Stats16_delta_RID(0x0072,0x00E4,"Stats_SsidMismatch",   " Count of SSID mismatches.")
 909#define awc_RID_Stats16_delta_ApMismatch        awc_def_Stats16_delta_RID(0x0074,0x00E8,"Stats_ApMismatch",     "  Count of specified AP mismatches.")
 910#define awc_RID_Stats16_delta_RatesMismatc      awc_def_Stats16_delta_RID(0x0076,0x00EC,"Stats_RatesMismatc",   " Count of rate mismatches.")
 911#define awc_RID_Stats16_delta_AuthReject        awc_def_Stats16_delta_RID(0x0078,0x00F0,"Stats_AuthReject",     "  Count of authentication rejections.")
 912#define awc_RID_Stats16_delta_AuthTimeout       awc_def_Stats16_delta_RID(0x007A,0x00F4,"Stats_AuthTimeout",    " Count of authentication timeouts.")
 913#define awc_RID_Stats16_delta_AssocReject       awc_def_Stats16_delta_RID(0x007C,0x00F8,"Stats_AssocReject",    " Count of association rejections.")
 914#define awc_RID_Stats16_delta_AssocTimeout      awc_def_Stats16_delta_RID(0x007E,0x00FC,"Stats_AssocTimeout",   " Count of association timeouts.")
 915#define awc_RID_Stats16_delta_NewReason         awc_def_Stats16_delta_RID(0x0080,0x0100,"Stats_NewReason",      "Count of reason/status codes of greater than 19.  (Values of 0 = successful are not counted)")
 916#define awc_RID_Stats16_delta_AuthFail_1        awc_def_Stats16_delta_RID(0x0082,0x0104,"Stats_AuthFail_1",     "Unspecified reason.")
 917#define awc_RID_Stats16_delta_AuthFail_2        awc_def_Stats16_delta_RID(0x0084,0x0108,"Stats_AuthFail_2",     "Previous authentication no longer valid.")
 918#define awc_RID_Stats16_delta_AuthFail_3        awc_def_Stats16_delta_RID(0x0086,0x010C,"Stats_AuthFail_3",     "Deauthenticated because sending station is leaving (has left) IBSS or ESS.")
 919#define awc_RID_Stats16_delta_AuthFail_4        awc_def_Stats16_delta_RID(0x0088,0x0110,"Stats_AuthFail_4",     "Disassociated due to inactivity")
 920#define awc_RID_Stats16_delta_AuthFail_5        awc_def_Stats16_delta_RID(0x008A,0x0114,"Stats_AuthFail_5",     "Disassociated because AP is unable to handle all currently  associated stations.")
 921#define awc_RID_Stats16_delta_AuthFail_6        awc_def_Stats16_delta_RID(0x008C,0x0118,"Stats_AuthFail_6",     "Class 2 Frame received from non-Authenticated station.")
 922#define awc_RID_Stats16_delta_AuthFail_7        awc_def_Stats16_delta_RID(0x008E,0x011C,"Stats_AuthFail_7",     "Class 3 Frame received from non-Associated station.")
 923#define awc_RID_Stats16_delta_AuthFail_8        awc_def_Stats16_delta_RID(0x0090,0x0120,"Stats_AuthFail_8",     "Disassociated because sending station is leaving (has left)")
 924#define awc_RID_Stats16_delta_AuthFail_9        awc_def_Stats16_delta_RID(0x0092,0x0124,"Stats_AuthFail_9",     "Station requesting (Re)Association is not Authenticated")
 925#define awc_RID_Stats16_delta_AuthFail_10       awc_def_Stats16_delta_RID(0x0094,0x0128,"Stats_AuthFail_10",    "Cannot support all requested capabilities in the Capability")
 926#define awc_RID_Stats16_delta_AuthFail_11       awc_def_Stats16_delta_RID(0x0096,0x012C,"Stats_AuthFail_11",    "Reassociation denied due to inability to confirm")
 927#define awc_RID_Stats16_delta_AuthFail_12       awc_def_Stats16_delta_RID(0x0098,0x0130,"Stats_AuthFail_12",    "Association denied due to reason outside the scope of the 802.11")
 928#define awc_RID_Stats16_delta_AuthFail_13       awc_def_Stats16_delta_RID(0x009A,0x0134,"Stats_AuthFail_13",    "Responding station does not support the specified Auth Alogorithm")
 929#define awc_RID_Stats16_delta_AuthFail_14       awc_def_Stats16_delta_RID(0x009C,0x0138,"Stats_AuthFail_14",    "Received an out of sequence Authentication Frame.")
 930#define awc_RID_Stats16_delta_AuthFail_15       awc_def_Stats16_delta_RID(0x009E,0x013C,"Stats_AuthFail_15",    "Authentication rejected due to challenge failure.")
 931#define awc_RID_Stats16_delta_AuthFail_16       awc_def_Stats16_delta_RID(0x00A0,0x0140,"Stats_AuthFail_16",    "Authentication rejected due to timeout waiting for next  frame in sequence.")
 932#define awc_RID_Stats16_delta_AuthFail_17       awc_def_Stats16_delta_RID(0x00A2,0x0144,"Stats_AuthFail_17",    "Association denied because AP is unable to handle  additional associated stations.")
 933#define awc_RID_Stats16_delta_AuthFail_18       awc_def_Stats16_delta_RID(0x00A4,0x0148,"Stats_AuthFail_18",    "Association denied due to requesting station not supportingall basic rates.")
 934#define awc_RID_Stats16_delta_AuthFail_19       awc_def_Stats16_delta_RID(0x00A6,0x014C,"Stats_AuthFail_19",    "Reserved")
 935#define awc_RID_Stats16_delta_RxMan             awc_def_Stats16_delta_RID(0x00A8,0x0150,"Stats_RxMan",          " Count of management packets received and handled.")
 936#define awc_RID_Stats16_delta_TxMan             awc_def_Stats16_delta_RID(0x00AA,0x0154,"Stats_TxMan",          " Count of management packets transmitted.")
 937#define awc_RID_Stats16_delta_RxRefresh         awc_def_Stats16_delta_RID(0x00AC,0x0158,"Stats_RxRefresh",      " Count of null data packets received.")
 938#define awc_RID_Stats16_delta_TxRefresh         awc_def_Stats16_delta_RID(0x00AE,0x015C,"Stats_TxRefresh",      " Count of null data packets transmitted.")
 939#define awc_RID_Stats16_delta_RxPoll            awc_def_Stats16_delta_RID(0x00B0,0x0160,"Stats_RxPoll",         "Count of PS-Poll packets received.")
 940#define awc_RID_Stats16_delta_TxPoll            awc_def_Stats16_delta_RID(0x00B2,0x0164,"Stats_TxPoll",         "Count of PS-Poll packets transmitted.")
 941#define awc_RID_Stats16_delta_HostRetries       awc_def_Stats16_delta_RID(0x00B4,0x0168,"Stats_HostRetries",    " Count of long and short retries used to transmit host packets  (does not include first attempt).")
 942#define awc_RID_Stats16_delta_LostSync_HostReq  awc_def_Stats16_delta_RID(0x00B6,0x016C,"Stats_LostSync_HostReq","Lost sync with our cell due to host request.")
 943#define awc_RID_Stats16_delta_HostTxBytes       awc_def_Stats16_delta_RID(0x00B8,0x0170,"Stats_HostTxBytes",    " Count of bytes transferred from the host.")
 944#define awc_RID_Stats16_delta_HostRxBytes       awc_def_Stats16_delta_RID(0x00BA,0x0174,"Stats_HostRxBytes",    " Count of bytes transferred to the host.")
 945#define awc_RID_Stats16_delta_ElapsedUsec       awc_def_Stats16_delta_RID(0x00BC,0x0178,"Stats_ElapsedUsec",    " Total time since power up (or clear) in microseconds.")
 946#define awc_RID_Stats16_delta_ElapsedSec        awc_def_Stats16_delta_RID(0x00BE,0x017C,"Stats_ElapsedSec",     " Total time since power up (or clear) in seconds.")
 947#define awc_RID_Stats16_delta_LostSyncBett      awc_def_Stats16_delta_RID(0x00C0,0x0180,"Stats_LostSyncBett",   "Lost Sync to switch to a better access point")
 948
 949
 950#define awc_RID_Stats16_clear_RidLen            awc_def_Stats16_clear_RID(0x0000,0x0000,"RidLen",               "Length of the RID including the length field.")
 951#define awc_RID_Stats16_clear_RxOverrunErr      awc_def_Stats16_clear_RID(0x0002,0x0004,"Stats_RxOverrunErr",   "Receive overruns -- No buffer available to handle the receive. (result is that the packet is never received)")
 952#define awc_RID_Stats16_clear_RxPlcpCrcErr      awc_def_Stats16_clear_RID(0x0004,0x0008,"Stats_RxPlcpCrcErr",   "PLCP header checksum errors (CRC16).")
 953#define awc_RID_Stats16_clear_RxPlcpFormat      awc_def_Stats16_clear_RID(0x0006,0x000C,"Stats_RxPlcpFormat",   "PLCP format errors.")
 954#define awc_RID_Stats16_clear_RxPlcpLength      awc_def_Stats16_clear_RID(0x0008,0x0010,"Stats_RxPlcpLength",   "PLCP length is incorrect.")
 955#define awc_RID_Stats16_clear_RxMacCrcErr       awc_def_Stats16_clear_RID(0x000A,0x0014,"Stats_RxMacCrcErr",    "Count of MAC CRC32 errors.")
 956#define awc_RID_Stats16_clear_RxMacCrcOk        awc_def_Stats16_clear_RID(0x000C,0x0018,"Stats_RxMacCrcOk",     "Count of MAC CRC32 received correctly.")
 957#define awc_RID_Stats16_clear_RxWepErr          awc_def_Stats16_clear_RID(0x000E,0x001C,"Stats_RxWepErr",       "Count of all WEP ICV checks that failed. (this value is included in Stats_RxMacCrcOk)")
 958#define awc_RID_Stats16_clear_RxWepOk           awc_def_Stats16_clear_RID(0x0010,0x0020,"Stats_RxWepOk",        "Count of all WEP ICV checks that passed. (this value is  included in Stats_RxMacCrcOk)")
 959#define awc_RID_Stats16_clear_RetryLong         awc_def_Stats16_clear_RID(0x0012,0x0024,"Stats_RetryLongCount", "of all long retries. (Does not include first attempt for a packet).")
 960#define awc_RID_Stats16_clear_RetryShort        awc_def_Stats16_clear_RID(0x0014,0x0028,"Stats_RetryShort",     "Count of all short retries. (Does not include first attempt for   a packet).")
 961#define awc_RID_Stats16_clear_MaxRetries        awc_def_Stats16_clear_RID(0x0016,0x002C,"Stats_MaxRetries",     "Count of number of packets that max-retried -- ie were  never ACKd.")
 962#define awc_RID_Stats16_clear_NoAck             awc_def_Stats16_clear_RID(0x0018,0x0030,"Stats_NoAck",          "Count of number of times that ACK was not received.")
 963#define awc_RID_Stats16_clear_NoCts             awc_def_Stats16_clear_RID(0x001A,0x0034,"Stats_NoCts",          "Count of number of timer that CTS was not received.")
 964#define awc_RID_Stats16_clear_RxAck             awc_def_Stats16_clear_RID(0x001C,0x0038,"Stats_RxAck",          "Count of number of expected ACKs that were received.")
 965#define awc_RID_Stats16_clear_RxCts             awc_def_Stats16_clear_RID(0x001E,0x003C,"Stats_RxCts",          "Count of number of expected CTSs that were received.")
 966#define awc_RID_Stats16_clear_TxAck             awc_def_Stats16_clear_RID(0x0020,0x0040,"Stats_TxAck",          "Count of number of ACKs transmitted.")
 967#define awc_RID_Stats16_clear_TxRts             awc_def_Stats16_clear_RID(0x0022,0x0044,"Stats_TxRts",          "Count of number of RTSs transmitted.")
 968#define awc_RID_Stats16_clear_TxCts             awc_def_Stats16_clear_RID(0x0024,0x0048,"Stats_TxCts",          "Count of number of CTSs transmitted.")
 969#define awc_RID_Stats16_clear_TxMc              awc_def_Stats16_clear_RID(0x0026,0x004C,"Stats_TxMc",           " LMAC count of multicast packets sent (uses 802.11  Address1).")
 970#define awc_RID_Stats16_clear_TxBc              awc_def_Stats16_clear_RID(0x0028,0x0050,"Stats_TxBc",           " LMAC count of broadcast packets sent (uses 802.11")
 971#define awc_RID_Stats16_clear_TxUcFrags         awc_def_Stats16_clear_RID(0x002A,0x0054,"Stats_TxUcFragsLMAC",  " count of ALL unicast fragments and whole packets sent (uses 802.11 Address1).")
 972#define awc_RID_Stats16_clear_TxUcPackets       awc_def_Stats16_clear_RID(0x002C,0x0058,"Stats_TxUcPackets",    "LMAC count of unicast packets that were ACKd (uses   802.11 Address 1).")
 973#define awc_RID_Stats16_clear_TxBeacon          awc_def_Stats16_clear_RID(0x002E,0x005C,"Stats_TxBeacon",       " Count of beacon packets transmitted.")
 974#define awc_RID_Stats16_clear_RxBeacon          awc_def_Stats16_clear_RID(0x0030,0x0060,"Stats_RxBeacon",       " Count of beacon packets received matching our BSSID.")
 975#define awc_RID_Stats16_clear_TxSinColl         awc_def_Stats16_clear_RID(0x0032,0x0064,"Stats_TxSinCollTransmit"," single collisions. **")
 976#define awc_RID_Stats16_clear_TxMulColl         awc_def_Stats16_clear_RID(0x0034,0x0068,"Stats_TxMulCollTransmit"," multiple collisions. **")
 977#define awc_RID_Stats16_clear_DefersNo          awc_def_Stats16_clear_RID(0x0036,0x006C,"Stats_DefersNo Transmit"," frames sent with no deferral. **")
 978#define awc_RID_Stats16_clear_DefersProt        awc_def_Stats16_clear_RID(0x0038,0x0070,"Stats_DefersProt",     " Transmit frames deferred due to protocol.")
 979#define awc_RID_Stats16_clear_DefersEngy        awc_def_Stats16_clear_RID(0x003A,0x0074,"Stats_DefersEngy",     " Transmit frames deferred due to energy detect.")
 980#define awc_RID_Stats16_clear_DupFram           awc_def_Stats16_clear_RID(0x003C,0x0078,"Stats_DupFram",        "  Duplicate receive frames and fragments.")
 981#define awc_RID_Stats16_clear_RxFragDisc        awc_def_Stats16_clear_RID(0x003E,0x007C,"Stats_RxFragDisc",     " Received partial frames. (each tally could indicate the  discarding of one or more fragments)")
 982#define awc_RID_Stats16_clear_TxAged            awc_def_Stats16_clear_RID(0x0040,0x0080,"Stats_TxAged",         "   Transmit packets exceeding maximum transmit lifetime. **")
 983#define awc_RID_Stats16_clear_RxAged            awc_def_Stats16_clear_RID(0x0042,0x0084,"Stats_RxAgedReceive",  " packets exceeding maximum receive lifetime. **")
 984#define awc_RID_Stats16_clear_LostSync_Max      awc_def_Stats16_clear_RID(0x0044,0x0088,"Stats_LostSync_Max",   " Lost sync with our cell due to maximum retries occuring. Retry")
 985#define awc_RID_Stats16_clear_LostSync_Mis      awc_def_Stats16_clear_RID(0x0046,0x008C,"Stats_LostSync_Mis",   "Lost sync with our cell due to missing too many beacons. sedBeacons")
 986#define awc_RID_Stats16_clear_LostSync_Arl      awc_def_Stats16_clear_RID(0x0048,0x0090,"Stats_LostSync_Arl",   "Lost sync with our cell due to Average Retry Level being  Exceeded  exceeded.")
 987#define awc_RID_Stats16_clear_LostSync_Dea      awc_def_Stats16_clear_RID(0x004A,0x0094,"Stats_LostSync_Dea",   "Lost sync with our cell due to being deauthenticated.,thed")
 988#define awc_RID_Stats16_clear_LostSync_Disa     awc_def_Stats16_clear_RID(0x004C,0x0098,"Stats_LostSync_Disa",  " Lost sync with our cell due to being disassociated. ssoced")
 989#define awc_RID_Stats16_clear_LostSync_Tsf      awc_def_Stats16_clear_RID(0x004E,0x009C,"Stats_LostSync_Tsf",   "Lost sync with our cell due to excessive change in TSF  Timingtiming.")
 990#define awc_RID_Stats16_clear_HostTxMc          awc_def_Stats16_clear_RID(0x0050,0x00A0,"Stats_HostTxMc",       "Count of multicast packets sent by the host.")
 991#define awc_RID_Stats16_clear_HostTxBc          awc_def_Stats16_clear_RID(0x0052,0x00A4,"Stats_HostTxBc",       "Count of broadcast packets sent by the host.")
 992#define awc_RID_Stats16_clear_HostTxUc          awc_def_Stats16_clear_RID(0x0054,0x00A8,"Stats_HostTxUc",       "Count of unicast packets sent by the host.")
 993#define awc_RID_Stats16_clear_HostTxFail        awc_def_Stats16_clear_RID(0x0056,0x00AC,"Stats_HostTxFail",     "  Count of host transmitted packets which failed.")
 994#define awc_RID_Stats16_clear_HostRxMc          awc_def_Stats16_clear_RID(0x0058,0x00B0,"Stats_HostRxMc",       "Count of host received multicast packets.")
 995#define awc_RID_Stats16_clear_HostRxBc          awc_def_Stats16_clear_RID(0x005A,0x00B4,"Stats_HostRxBc",       "Count of host received broadcast packets.")
 996#define awc_RID_Stats16_clear_HostRxUc          awc_def_Stats16_clear_RID(0x005C,0x00B8,"Stats_HostRxUc",       "Count of host received unicast packets.")
 997#define awc_RID_Stats16_clear_HostRxDiscar      awc_def_Stats16_clear_RID(0x005E,0x00BC,"Stats_HostRxDiscar",   "Count of host received packets discarded due to:\n  Host not enabling receive.\n  Host failing to dequeue receive packets quickly.\n Packets being discarded due to magic packet mode.")
 998#define awc_RID_Stats16_clear_HmacTxMc          awc_def_Stats16_clear_RID(0x0060,0x00C0,"Stats_HmacTxMc",       "Count of internally generated multicast (DA) packets.")
 999#define awc_RID_Stats16_clear_HmacTxBc          awc_def_Stats16_clear_RID(0x0062,0x00C4,"Stats_HmacTxBc",       "Count of internally generated broadcast (DA) packets.")
1000#define awc_RID_Stats16_clear_HmacTxUc          awc_def_Stats16_clear_RID(0x0064,0x00C8,"Stats_HmacTxUc",       "Count of internally generated unicast (DA) packets.")
1001#define awc_RID_Stats16_clear_HmacTxFail        awc_def_Stats16_clear_RID(0x0066,0x00CC,"Stats_HmacTxFail",     "  Count of internally generated transmit packets that failed.")
1002#define awc_RID_Stats16_clear_HmacRxMc          awc_def_Stats16_clear_RID(0x0068,0x00D0,"Stats_HmacRxMc",       "Count of internally received multicast (DA) packets.")
1003#define awc_RID_Stats16_clear_HmacRxBc          awc_def_Stats16_clear_RID(0x006A,0x00D4,"Stats_HmacRxBc",       "Count of internally received broadcast (DA) packets.")
1004#define awc_RID_Stats16_clear_HmacRxUc          awc_def_Stats16_clear_RID(0x006C,0x00D8,"Stats_HmacRxUc",       "Count of internally received multicast (DA) packets.")
1005#define awc_RID_Stats16_clear_HmacRxDisca       awc_def_Stats16_clear_RID(0x006E,0x00DC,"Stats_HmacRxDisca",    " Count of internally received packets that were discarded  (usually because the destination address is not for the host).")
1006#define awc_RID_Stats16_clear_HmacRxAcce        awc_def_Stats16_clear_RID(0x0070,0x00E0,"Stats_HmacRxAcce",     "  Count of internally received packets that were accepted")
1007#define awc_RID_Stats16_clear_SsidMismatch      awc_def_Stats16_clear_RID(0x0072,0x00E4,"Stats_SsidMismatch",   " Count of SSID mismatches.")
1008#define awc_RID_Stats16_clear_ApMismatch        awc_def_Stats16_clear_RID(0x0074,0x00E8,"Stats_ApMismatch",     "  Count of specified AP mismatches.")
1009#define awc_RID_Stats16_clear_RatesMismatc      awc_def_Stats16_clear_RID(0x0076,0x00EC,"Stats_RatesMismatc",   " Count of rate mismatches.")
1010#define awc_RID_Stats16_clear_AuthReject        awc_def_Stats16_clear_RID(0x0078,0x00F0,"Stats_AuthReject",     "  Count of authentication rejections.")
1011#define awc_RID_Stats16_clear_AuthTimeout       awc_def_Stats16_clear_RID(0x007A,0x00F4,"Stats_AuthTimeout",    " Count of authentication timeouts.")
1012#define awc_RID_Stats16_clear_AssocReject       awc_def_Stats16_clear_RID(0x007C,0x00F8,"Stats_AssocReject",    " Count of association rejections.")
1013#define awc_RID_Stats16_clear_AssocTimeout      awc_def_Stats16_clear_RID(0x007E,0x00FC,"Stats_AssocTimeout",   " Count of association timeouts.")
1014#define awc_RID_Stats16_clear_NewReason         awc_def_Stats16_clear_RID(0x0080,0x0100,"Stats_NewReason",      "Count of reason/status codes of greater than 19.  (Values of 0 = successful are not counted)")
1015#define awc_RID_Stats16_clear_AuthFail_1        awc_def_Stats16_clear_RID(0x0082,0x0104,"Stats_AuthFail_1",     "Unspecified reason.")
1016#define awc_RID_Stats16_clear_AuthFail_2        awc_def_Stats16_clear_RID(0x0084,0x0108,"Stats_AuthFail_2",     "Previous authentication no longer valid.")
1017#define awc_RID_Stats16_clear_AuthFail_3        awc_def_Stats16_clear_RID(0x0086,0x010C,"Stats_AuthFail_3",     "Deauthenticated because sending station is leaving (has left) IBSS or ESS.")
1018#define awc_RID_Stats16_clear_AuthFail_4        awc_def_Stats16_clear_RID(0x0088,0x0110,"Stats_AuthFail_4",     "Disassociated due to inactivity")
1019#define awc_RID_Stats16_clear_AuthFail_5        awc_def_Stats16_clear_RID(0x008A,0x0114,"Stats_AuthFail_5",     "Disassociated because AP is unable to handle all currently  associated stations.")
1020#define awc_RID_Stats16_clear_AuthFail_6        awc_def_Stats16_clear_RID(0x008C,0x0118,"Stats_AuthFail_6",     "Class 2 Frame received from non-Authenticated station.")
1021#define awc_RID_Stats16_clear_AuthFail_7        awc_def_Stats16_clear_RID(0x008E,0x011C,"Stats_AuthFail_7",     "Class 3 Frame received from non-Associated station.")
1022#define awc_RID_Stats16_clear_AuthFail_8        awc_def_Stats16_clear_RID(0x0090,0x0120,"Stats_AuthFail_8",     "Disassociated because sending station is leaving (has left) " )
1023#define awc_RID_Stats16_clear_AuthFail_9        awc_def_Stats16_clear_RID(0x0092,0x0124,"Stats_AuthFail_9",     "Station requesting (Re)Association is not Authenticated")
1024#define awc_RID_Stats16_clear_AuthFail_10       awc_def_Stats16_clear_RID(0x0094,0x0128,"Stats_AuthFail_10",    "Cannot support all requested capabilities in the Capability")
1025#define awc_RID_Stats16_clear_AuthFail_11       awc_def_Stats16_clear_RID(0x0096,0x012C,"Stats_AuthFail_11",    "Reassociation denied due to inability to confirm")
1026#define awc_RID_Stats16_clear_AuthFail_12       awc_def_Stats16_clear_RID(0x0098,0x0130,"Stats_AuthFail_12",    "Association denied due to reason outside the scope of the 802.11")
1027#define awc_RID_Stats16_clear_AuthFail_13       awc_def_Stats16_clear_RID(0x009A,0x0134,"Stats_AuthFail_13",    "Responding station does not support the specified Auth Alogorithm")
1028#define awc_RID_Stats16_clear_AuthFail_14       awc_def_Stats16_clear_RID(0x009C,0x0138,"Stats_AuthFail_14",    "Received an out of sequence Authentication Frame.")
1029#define awc_RID_Stats16_clear_AuthFail_15       awc_def_Stats16_clear_RID(0x009E,0x013C,"Stats_AuthFail_15",    "Authentication rejected due to challenge failure.")
1030#define awc_RID_Stats16_clear_AuthFail_16       awc_def_Stats16_clear_RID(0x00A0,0x0140,"Stats_AuthFail_16",    "Authentication rejected due to timeout waiting for next  frame in sequence.")
1031#define awc_RID_Stats16_clear_AuthFail_17       awc_def_Stats16_clear_RID(0x00A2,0x0144,"Stats_AuthFail_17",    "Association denied because AP is unable to handle  additional associated stations.")
1032#define awc_RID_Stats16_clear_AuthFail_18       awc_def_Stats16_clear_RID(0x00A4,0x0148,"Stats_AuthFail_18",    "Association denied due to requesting station not supportingall basic rates.")
1033#define awc_RID_Stats16_clear_AuthFail_19       awc_def_Stats16_clear_RID(0x00A6,0x014C,"Stats_AuthFail_19",    "Reserved")
1034#define awc_RID_Stats16_clear_RxMan             awc_def_Stats16_clear_RID(0x00A8,0x0150,"Stats_RxMan",          " Count of management packets received and handled.")
1035#define awc_RID_Stats16_clear_TxMan             awc_def_Stats16_clear_RID(0x00AA,0x0154,"Stats_TxMan",          " Count of management packets transmitted.")
1036#define awc_RID_Stats16_clear_RxRefresh         awc_def_Stats16_clear_RID(0x00AC,0x0158,"Stats_RxRefresh",      " Count of null data packets received.")
1037#define awc_RID_Stats16_clear_TxRefresh         awc_def_Stats16_clear_RID(0x00AE,0x015C,"Stats_TxRefresh",      " Count of null data packets transmitted.")
1038#define awc_RID_Stats16_clear_RxPoll            awc_def_Stats16_clear_RID(0x00B0,0x0160,"Stats_RxPoll",         "Count of PS-Poll packets received.")
1039#define awc_RID_Stats16_clear_TxPoll            awc_def_Stats16_clear_RID(0x00B2,0x0164,"Stats_TxPoll",         "Count of PS-Poll packets transmitted.")
1040#define awc_RID_Stats16_clear_HostRetries       awc_def_Stats16_clear_RID(0x00B4,0x0168,"Stats_HostRetries",    " Count of long and short retries used to transmit host packets  (does not include first attempt).")
1041#define awc_RID_Stats16_clear_LostSync_HostReq  awc_def_Stats16_clear_RID(0x00B6,0x016C,"Stats_LostSync_HostReq","Lost sync with our cell due to host request.")
1042#define awc_RID_Stats16_clear_HostTxBytes       awc_def_Stats16_clear_RID(0x00B8,0x0170,"Stats_HostTxBytes",    " Count of bytes transferred from the host.")
1043#define awc_RID_Stats16_clear_HostRxBytes       awc_def_Stats16_clear_RID(0x00BA,0x0174,"Stats_HostRxBytes",    " Count of bytes transferred to the host.")
1044#define awc_RID_Stats16_clear_ElapsedUsec       awc_def_Stats16_clear_RID(0x00BC,0x0178,"Stats_ElapsedUsec",    " Total time since power up (or clear) in microseconds.")
1045#define awc_RID_Stats16_clear_ElapsedSec        awc_def_Stats16_clear_RID(0x00BE,0x017C,"Stats_ElapsedSec",     " Total time since power up (or clear) in seconds.")
1046#define awc_RID_Stats16_clear_LostSyncBett      awc_def_Stats16_clear_RID(0x00C0,0x0180,"Stats_LostSyncBett",   "Lost Sync to switch to a better access point")
1047/*
1048const struct aironet4500_rid_selector  aironet4500_RID_Select_General_Config    =(const struct aironet4500_rid_selector){ 0xFF10, 1,0,0, "General Configuration" }; //        See notes General Configuration        Many configuration items.
1049const struct aironet4500_rid_selector  aironet4500_RID_Select_SSID_list         =(const struct aironet4500_rid_selector){ 0xFF11, 1,0,0, "Valid SSID list" }; //          See notes Valid SSID list              List of SSIDs which the station may associate to.
1050const struct aironet4500_rid_selector  aironet4500_RID_Select_AP_list           =(const struct aironet4500_rid_selector){ 0xFF12, 1,0,0, "Valid AP list" }; //          See notes Valid AP list                List of APs which the station may associate to.
1051const struct aironet4500_rid_selector  aironet4500_RID_Select_Driver_name       =(const struct aironet4500_rid_selector){ 0xFF13, 1,0,0, "Driver name" }; //          See notes Driver name                  The name and version of the driver (for debugging)
1052const struct aironet4500_rid_selector  aironet4500_RID_Select_Encapsulation     =(const struct aironet4500_rid_selector){ 0xFF14, 1,0,0, "Ethernet Protocol" }; //          See notes Ethernet Protocol            Rules for encapsulating ethernet payloads onto 802.11.
1053const struct aironet4500_rid_selector  aironet4500_RID_Select_WEP_volatile      =(const struct aironet4500_rid_selector){ 0xFF15, 1,0,0, "WEP key volatile" }; //          
1054const struct aironet4500_rid_selector  aironet4500_RID_Select_WEP_nonvolatile   =(const struct aironet4500_rid_selector){ 0xFF16, 1,0,0, "WEP key non-volatile" }; //
1055const struct aironet4500_rid_selector  aironet4500_RID_Select_Modulation        =(const struct aironet4500_rid_selector){ 0xFF17, 1,0,0, "Modulation" }; //
1056const struct aironet4500_rid_selector  aironet4500_RID_Select_Active_Config     =(const struct aironet4500_rid_selector){ 0xFF20, 0,1,1, "Actual Configuration" }; //          Read only      Actual Configuration    This has the same format as the General Configuration.
1057const struct aironet4500_rid_selector  aironet4500_RID_Select_Capabilities      =(const struct aironet4500_rid_selector){ 0xFF00, 0,1,0, "Capabilities" }; //          Read Only      Capabilities            PC4500 Information
1058const struct aironet4500_rid_selector  aironet4500_RID_Select_AP_Info           =(const struct aironet4500_rid_selector){ 0xFF01, 0,1,1, "AP Info" }; //          Read Only      AP Info                 Access Point Information
1059const struct aironet4500_rid_selector  aironet4500_RID_Select_Radio_Info        =(const struct aironet4500_rid_selector){ 0xFF02, 0,1,1, "Radio Info" }; //          Read Only      Radio Info              Radio Information -- note radio specific
1060const struct aironet4500_rid_selector  aironet4500_RID_Select_Status            =(const struct aironet4500_rid_selector){ 0xFF50, 0,1,1, "Status" }; //          Read Only      Status                  PC4500 Current Status Information
1061const struct aironet4500_rid_selector  aironet4500_RID_Select_16_stats          =(const struct aironet4500_rid_selector){ 0xFF60, 0,1,1, "Cumulative 16-bit Statistics" }; //          Read Only      16-bit Statistics       Cumulative 16-bit Statistics
1062const struct aironet4500_rid_selector  aironet4500_RID_Select_16_stats_delta    =(const struct aironet4500_rid_selector){ 0xFF61, 0,1,1, "Delta 16-bit Statistics" }; //          Read Only      16-bit Statistics       Delta 16-bit Statistics (since last clear)
1063const struct aironet4500_rid_selector  aironet4500_RID_Select_16_stats_clear    =(const struct aironet4500_rid_selector){ 0xFF62, 0,1,1, "Delta 16-bit Statistics and Clear" }; //          Read Only /    16-bit Statistics       Delta 16-bit Statistics and Clear
1064const struct aironet4500_rid_selector  aironet4500_RID_Select_32_stats          =(const struct aironet4500_rid_selector){ 0xFF68, 0,1,1, "Cumulative 32-bit Statistics" }; //          Read Only      32-bit Statistics       Cumulative 32-bit Statistics
1065const struct aironet4500_rid_selector  aironet4500_RID_Select_32_stats_delta    =(const struct aironet4500_rid_selector){ 0xFF69, 0,1,1, "Delta 32-bit Statistics"  }; //          Read Only      32-bit Statistics       Delta 32-bit Statistics (since last clear)
1066const struct aironet4500_rid_selector  aironet4500_RID_Select_32_stats_clear    =(const struct aironet4500_rid_selector){ 0xFF6A, 0,1,1, "Delta 32-bit Statistics and Clear" }; //          Read Only /    32-bit Statistics       Delta 32-bit Statistics and Clear
1067*/
1068
1069struct aironet4500_RID awc_gen_RID[] ={
1070        awc_RID_gen_RidLen,
1071        awc_RID_gen_OperatingMode_adhoc,
1072        awc_RID_gen_OperatingMode_Infrastructure,
1073        awc_RID_gen_OperatingMode_AP,
1074        awc_RID_gen_OperatingMode_AP_and_repeater,
1075        awc_RID_gen_OperatingMode_No_payload_modify,
1076        awc_RID_gen_OperatingMode_LLC_802_3_convert,
1077        awc_RID_gen_OperatingMode_proprietary_ext,
1078        awc_RID_gen_OperatingMode_no_proprietary_ext,
1079        awc_RID_gen_OperatingMode_AP_ext,
1080        awc_RID_gen_OperatingMode_no_AP_ext,
1081        awc_RID_gen_ReceiveMode,
1082        awc_RID_gen_ReceiveMode_BMA,
1083        awc_RID_gen_ReceiveMode_BA,
1084        awc_RID_gen_ReceiveMode_A,
1085        awc_RID_gen_ReceiveMode_802_11_monitor,
1086        awc_RID_gen_ReceiveMode_802_11_any_monitor,
1087        awc_RID_gen_ReceiveMode_LAN_monitor,
1088        awc_RID_gen_ReceiveMode_802_3_hdr_disable,
1089        awc_RID_gen_ReceiveMode_802_3_hdr_enable,
1090        awc_RID_gen_Fragmentation_threshold,
1091        awc_RID_gen_RTS_threshold,
1092        awc_RID_gen_Station_Mac_Id,
1093        awc_RID_gen_Supported_rates,
1094        awc_RID_gen_Basic_Rate,
1095        awc_RID_gen_Rate_500kbps,
1096        awc_RID_gen_Rate_1Mbps,
1097        awc_RID_gen_Rate_2Mbps,
1098        awc_RID_gen_Rate_4Mbps,
1099        awc_RID_gen_Rate_5Mbps,
1100        awc_RID_gen_Rate_10Mbps,
1101        awc_RID_gen_Rate_11Mbps,
1102        awc_RID_gen_BasicRate_500kbps,
1103        awc_RID_gen_BasicRate_1Mbps,
1104        awc_RID_gen_BasicRate_2Mbps,
1105        awc_RID_gen_BasicRate_4Mbps,
1106        awc_RID_gen_BasicRate_5Mbps,
1107        awc_RID_gen_BasicRate_10Mbps,
1108        awc_RID_gen_BasicRate_11Mbps,
1109        awc_RID_gen_Long_retry_limit,
1110        awc_RID_gen_Short_retry_limit,
1111        awc_RID_gen_Tx_MSDU_lifetime,
1112        awc_RID_gen_Rx_MSDU_lifetime,
1113        awc_RID_gen_Stationary,
1114        awc_RID_gen_BC_MC_Ordering,
1115        awc_RID_gen_Device_type,
1116        awc_RID_gen_Reserved_0x0026,
1117        awc_RID_gen_ScanMode,
1118        awc_RID_gen_ScanMode_Active,
1119        awc_RID_gen_ScanMode_Passive,
1120        awc_RID_gen_ScanMode_Aironet_ext,
1121        awc_RID_gen_ProbeDelay,
1122        awc_RID_gen_ProbeEnergyTimeout,
1123        awc_RID_gen_ProbeResponseTimeout,
1124        awc_RID_gen_BeaconListenTimeout,
1125        awc_RID_gen_IbssJoinNetTimeout,
1126        awc_RID_gen_AuthenticationTimeout,
1127        awc_RID_gen_AuthenticationType,
1128        awc_RID_gen_AuthenticationType_None,
1129        awc_RID_gen_AuthenticationType_Open,
1130        awc_RID_gen_AuthenticationType_Shared,
1131        awc_RID_gen_AuthenticationType_Exclude_Open,
1132        awc_RID_gen_AssociationTimeout,
1133        awc_RID_gen_SpecifiedAPtimeout,
1134        awc_RID_gen_OfflineScanInterval,
1135        awc_RID_gen_OfflineScanDuration,
1136        awc_RID_gen_LinkLossDelay,
1137        awc_RID_gen_MaxBeaconLostTime,
1138        awc_RID_gen_RefreshInterval,
1139        awc_RID_gen_PowerSaveMode,
1140        awc_RID_gen_PowerSaveMode_CAM,
1141        awc_RID_gen_PowerSaveMode_PSP,
1142        awc_RID_gen_PowerSaveMode_Fast_PSP,
1143        awc_RID_gen_SleepForDTIMs,
1144        awc_RID_gen_ListenInterval,
1145        awc_RID_gen_FastListenInterval,
1146        awc_RID_gen_ListenDecay,
1147        awc_RID_gen_FastListenDelay,
1148        awc_RID_gen_Reserved0x005C,
1149        awc_RID_gen_BeaconPeriod,
1150        awc_RID_gen_AtimDuration,
1151        awc_RID_gen_Reserved0x0064,
1152        awc_RID_gen_DSChannel,
1153        awc_RID_gen_Reserved0x0068,
1154        awc_RID_gen_DTIM_Period,
1155        awc_RID_gen_Reserved0x0006C,
1156        awc_RID_gen_RadioSpreadType,
1157        awc_RID_gen_RadioSpreadType_FH,
1158        awc_RID_gen_RadioSpreadType_DS,
1159        awc_RID_gen_RadioSpreadType_LM,
1160        awc_RID_gen_TX_antenna_Diversity,
1161        awc_RID_gen_TX_antenna_Diversity_default,
1162        awc_RID_gen_TX_antenna_Diversity_1,
1163        awc_RID_gen_TX_antenna_Diversity_2,
1164        awc_RID_gen_TX_antenna_Diversity_both,
1165        awc_RID_gen_RX_antenna_Diversity,
1166        awc_RID_gen_RX_antenna_Diversity_default,
1167        awc_RID_gen_RX_antenna_Diversity_1,
1168        awc_RID_gen_RX_antenna_Diversity_2,
1169        awc_RID_gen_RX_antenna_Diversity_both,
1170        awc_RID_gen_TransmitPower,
1171        awc_RID_gen_RSSIthreshold,
1172        awc_RID_gen_Modulation,
1173        awc_RID_gen_Reserved0x0079,
1174        awc_RID_gen_NodeName,
1175        awc_RID_gen_ARLThreshold,
1176        awc_RID_gen_ARLDecay,
1177        awc_RID_gen_ARLDelay,
1178        awc_RID_gen_Unused0x0096,
1179        awc_RID_gen_MagicPacketAction,
1180        awc_RID_gen_MagicPacketControl,
1181        {0}
1182};
1183
1184struct aironet4500_RID awc_act_RID[]={
1185        awc_RID_act_RidLen,
1186        awc_RID_act_OperatingMode_adhoc,
1187        awc_RID_act_OperatingMode_Infrastructure,
1188        awc_RID_act_OperatingMode_AP,
1189        awc_RID_act_OperatingMode_AP_and_repeater,
1190        awc_RID_act_OperatingMode_No_payload_modify,
1191        awc_RID_act_OperatingMode_LLC_802_3_convert,
1192        awc_RID_act_OperatingMode_proprietary_ext,
1193        awc_RID_act_OperatingMode_no_proprietary_ext,
1194        awc_RID_act_OperatingMode_AP_ext,
1195        awc_RID_act_OperatingMode_no_AP_ext,
1196        awc_RID_act_ReceiveMode,
1197        awc_RID_act_ReceiveMode_BMA,
1198        awc_RID_act_ReceiveMode_BA,
1199        awc_RID_act_ReceiveMode_A,
1200        awc_RID_act_ReceiveMode_802_11_monitor,
1201        awc_RID_act_ReceiveMode_802_11_any_monitor,
1202        awc_RID_act_ReceiveMode_LAN_monitor,
1203        awc_RID_act_ReceiveMode_802_3_hdr_disable,
1204        awc_RID_act_ReceiveMode_802_3_hdr_enable,
1205        awc_RID_act_Fragmentation_threshold,
1206        awc_RID_act_RTS_threshold,
1207        awc_RID_act_Station_Mac_Id,
1208        awc_RID_act_Supported_rates,
1209        awc_RID_act_Basic_Rate,
1210        awc_RID_act_Rate_500kbps,
1211        awc_RID_act_Rate_1Mbps,
1212        awc_RID_act_Rate_2Mbps,
1213        awc_RID_act_Rate_4Mbps,
1214        awc_RID_act_Rate_5Mbps,
1215        awc_RID_act_Rate_10Mbps,
1216        awc_RID_act_Rate_11Mbps,
1217        awc_RID_act_BasicRate_500kbps,
1218        awc_RID_act_BasicRate_1Mbps,
1219        awc_RID_act_BasicRate_2Mbps,
1220        awc_RID_act_BasicRate_4Mbps,
1221        awc_RID_act_BasicRate_5Mbps,
1222        awc_RID_act_BasicRate_10Mbps,
1223        awc_RID_act_BasicRate_11Mbps,
1224        awc_RID_act_Long_retry_limit,
1225        awc_RID_act_Short_retry_limit,
1226        awc_RID_act_Tx_MSDU_lifetime,
1227        awc_RID_act_Rx_MSDU_lifetime,
1228        awc_RID_act_Stationary,
1229        awc_RID_act_BC_MC_Ordering,
1230        awc_RID_act_Device_type,
1231        awc_RID_act_Reserved_0x0026,
1232        awc_RID_act_ScanMode,
1233        awc_RID_act_ScanMode_Active,
1234        awc_RID_act_ScanMode_Passive,
1235        awc_RID_act_ScanMode_Aironet_ext,
1236        awc_RID_act_ProbeDelay,
1237        awc_RID_act_ProbeEnergyTimeout,
1238        awc_RID_act_ProbeResponseTimeout,
1239        awc_RID_act_BeaconListenTimeout,
1240        awc_RID_act_IbssJoinNetTimeout,
1241        awc_RID_act_AuthenticationTimeout,
1242        awc_RID_act_AuthenticationType,
1243        awc_RID_act_AuthenticationType_None,
1244        awc_RID_act_AuthenticationType_Open,
1245        awc_RID_act_AuthenticationType_Shared,
1246        awc_RID_act_AuthenticationType_Exclude_Open,
1247        awc_RID_act_AssociationTimeout,
1248        awc_RID_act_SpecifiedAPtimeout,
1249        awc_RID_act_OfflineScanInterval,
1250        awc_RID_act_OfflineScanDuration,
1251        awc_RID_act_LinkLossDelay,
1252        awc_RID_act_MaxBeaconLostTime,
1253        awc_RID_act_RefreshInterval,
1254        awc_RID_act_PowerSaveMode,
1255        awc_RID_act_PowerSaveMode_CAM,
1256        awc_RID_act_PowerSaveMode_PSP,
1257        awc_RID_act_PowerSaveMode_Fast_PSP,
1258        awc_RID_act_SleepForDTIMs,
1259        awc_RID_act_ListenInterval,
1260        awc_RID_act_FastListenInterval,
1261        awc_RID_act_ListenDecay,
1262        awc_RID_act_FastListenDelay,
1263        awc_RID_act_Reserved0x005C,
1264        awc_RID_act_BeaconPeriod,
1265        awc_RID_act_AtimDuration,
1266        awc_RID_act_Reserved0x0064,
1267        awc_RID_act_DSChannel,
1268        awc_RID_act_Reserved0x0068,
1269        awc_RID_act_DTIM_Period,
1270        awc_RID_act_Reserved0x0006C,
1271        awc_RID_act_RadioSpreadType,
1272        awc_RID_act_RadioSpreadType_FH,
1273        awc_RID_act_RadioSpreadType_DS,
1274        awc_RID_act_RadioSpreadType_LM,
1275        awc_RID_act_TX_antenna_Diversity,
1276        awc_RID_act_TX_antenna_Diversity_default,
1277        awc_RID_act_TX_antenna_Diversity_1,
1278        awc_RID_act_TX_antenna_Diversity_2,
1279        awc_RID_act_TX_antenna_Diversity_both,
1280        awc_RID_act_RX_antenna_Diversity,
1281        awc_RID_act_RX_antenna_Diversity_default,
1282        awc_RID_act_RX_antenna_Diversity_1,
1283        awc_RID_act_RX_antenna_Diversity_2,
1284        awc_RID_act_RX_antenna_Diversity_both,
1285        awc_RID_act_TransmitPower,
1286        awc_RID_act_RSSIthreshold,
1287        awc_RID_act_Modulation,
1288        awc_RID_act_Reserved0x0079,
1289        awc_RID_act_NodeName,
1290        awc_RID_act_ARLThreshold,
1291        awc_RID_act_ARLDecay,
1292        awc_RID_act_ARLDelay,
1293        awc_RID_act_Unused0x0096,
1294        awc_RID_act_MagicPacketAction,
1295        awc_RID_act_MagicPacketControl,
1296        {0}
1297};
1298
1299
1300
1301struct aironet4500_RID awc_SSID_RID[]={
1302        awc_RID_SSID_RidLen,
1303        awc_RID_SSID_Accept_any,
1304        awc_RID_SSIDlen1,
1305        awc_RID_SSID1,
1306        awc_RID_SSIDlen2,
1307        awc_RID_SSID2,
1308        awc_RID_SSIDlen3,
1309        awc_RID_SSID3,
1310        awc_RID_SSID1hex,
1311        awc_RID_SSID2hex,
1312        awc_RID_SSID3hex,
1313        {0}
1314};
1315
1316
1317struct aironet4500_RID awc_AP_List_RID[]={
1318        awc_RID_AP_List_RidLen,
1319        awc_RID_AP_List_SpecifiedAP1,
1320        awc_RID_AP_List_SpecifiedAP2,
1321        awc_RID_AP_List_SpecifiedAP3,
1322        awc_RID_AP_List_SpecifiedAP4,
1323        {0}
1324};
1325
1326
1327struct aironet4500_RID awc_Dname_RID[]={
1328        awc_RID_Dname_RidLen,
1329        awc_RID_Dname_DriverName,
1330        {0}
1331};
1332
1333
1334
1335
1336struct aironet4500_RID awc_enc_RID[]={
1337        awc_RID_Enc_RidLen,
1338        awc_RID_Enc_EtherType1,
1339        awc_RID_Enc_Action_RX_1,
1340        awc_RID_Enc_Action_RX_1_RFC_1042,
1341        awc_RID_Enc_Action_RX_1_802_11,
1342        awc_RID_Enc_Action_TX_1,
1343        awc_RID_Enc_Action_TX_1_RFC_1042,
1344        awc_RID_Enc_Action_TX_1_802_11,
1345        awc_RID_Enc_EtherType2,
1346        awc_RID_Enc_Action_RX_2,
1347        awc_RID_Enc_Action_RX_2_RFC_1042,
1348        awc_RID_Enc_Action_RX_2_802_11,
1349        awc_RID_Enc_Action_TX_2,
1350        awc_RID_Enc_Action_TX_2_RFC_1042,
1351        awc_RID_Enc_Action_TX_2_802_11,
1352        awc_RID_Enc_EtherType3,
1353        awc_RID_Enc_Action_RX_3,
1354        awc_RID_Enc_Action_RX_3_RFC_1042,
1355        awc_RID_Enc_Action_RX_3_802_11,
1356        awc_RID_Enc_Action_TX_3_,
1357        awc_RID_Enc_Action_TX_3_RFC_1042,
1358        awc_RID_Enc_Action_TX_3_802_11,
1359        awc_RID_Enc_EtherType4,
1360        awc_RID_Enc_Action_RX_4,
1361        awc_RID_Enc_Action_RX_4_RFC_1042,
1362        awc_RID_Enc_Action_RX_4_802_11,
1363        awc_RID_Enc_Action_TX_4,
1364        awc_RID_Enc_Action_TX_4_RFC_1042,
1365        awc_RID_Enc_Action_TX_4_802_11,
1366        awc_RID_Enc_EtherType5,
1367        awc_RID_Enc_Action_RX_5,
1368        awc_RID_Enc_Action_RX_5_RFC_1042,
1369        awc_RID_Enc_Action_RX_5_802_11,
1370        awc_RID_Enc_Action_TX_5,
1371        awc_RID_Enc_Action_TX_5_RFC_1042,
1372        awc_RID_Enc_Action_TX_5_802_11,
1373        awc_RID_Enc_EtherType6,
1374        awc_RID_Enc_Action_RX_6,
1375        awc_RID_Enc_Action_RX_6_RFC_1042,
1376        awc_RID_Enc_Action_RX_6_802_11,
1377        awc_RID_Enc_Action_TX_6,
1378        awc_RID_Enc_Action_TX_6_RFC_1042,
1379        awc_RID_Enc_Action_TX_6_802_11,
1380        awc_RID_Enc_EtherType7,
1381        awc_RID_Enc_Action_RX_7,
1382        awc_RID_Enc_Action_RX_7_RFC_1042,
1383        awc_RID_Enc_Action_RX_7_802_11,
1384        awc_RID_Enc_Action_TX_7,
1385        awc_RID_Enc_Action_TX_7_RFC_1042,
1386        awc_RID_Enc_Action_TX_7_802_11,
1387        awc_RID_Enc_EtherType8,
1388        awc_RID_Enc_Action_RX_8,
1389        awc_RID_Enc_Action_RX_8_RFC_1042,
1390        awc_RID_Enc_Action_RX_8_802_11,
1391        awc_RID_Enc_Action_TX_8,
1392        awc_RID_Enc_Action_TX_8_RFC_1042,
1393        awc_RID_Enc_Action_TX_8_802_11,
1394        {0}
1395};
1396
1397struct aironet4500_RID awc_WEPv_RID[]={
1398        awc_RID_WEPv_RidLen,
1399        awc_RID_WEPv_KeyIndex,
1400        awc_RID_WEPv_Address,
1401        awc_RID_WEPv_KeyLen,
1402        awc_RID_WEPv_Key,
1403        awc_RID_WEPv_KeyAscii,
1404        {0}
1405};
1406
1407struct aironet4500_RID awc_WEPnv_RID[]={
1408        awc_RID_WEPnv_RidLen,
1409        awc_RID_WEPnv_KeyIndex,
1410        awc_RID_WEPnv_Address,
1411        awc_RID_WEPnv_KeyLen,
1412        awc_RID_WEPnv_Key,
1413        awc_RID_WEPnv_KeyAscii,
1414        {0}
1415};
1416
1417struct aironet4500_RID awc_Modulation_RID[]={
1418        awc_RID_Modulation_RidLen,
1419        awc_RID_Modulation_Modulation,
1420        {0}
1421};
1422
1423
1424
1425struct aironet4500_RID awc_Cap_RID[]={
1426        awc_RID_Cap_RidLen,
1427        awc_RID_Cap_OUI,
1428        awc_RID_Cap_ProductNum,
1429        awc_RID_Cap_ManufacturerName,
1430        awc_RID_Cap_ProductName,
1431        awc_RID_Cap_ProductVersion,
1432        awc_RID_Cap_FactoryAddress,
1433        awc_RID_Cap_AironetAddress,
1434        awc_RID_Cap_RadioSpreadType_DS,
1435        awc_RID_Cap_RadioSpreadType_FH,
1436        awc_RID_Cap_RadioSpreadType_Legacy,
1437        awc_RID_Cap_RegDomain,
1438        awc_RID_Cap_Callid,
1439        awc_RID_Cap_SupportedRates,
1440        awc_RID_Cap_RxDiversity,
1441        awc_RID_Cap_TxDiversity,
1442        awc_RID_Cap_TxPowerLevels,
1443        awc_RID_Cap_HardwareVersion,
1444        awc_RID_Cap_HardwareCapabilit,
1445        awc_RID_Cap_TemperatureRange,
1446        awc_RID_Cap_SoftwareVersion,
1447        awc_RID_Cap_SoftwareVersion_major,
1448        awc_RID_Cap_SoftwareVersion_minor,
1449        awc_RID_Cap_SoftwareSubVersion,
1450        awc_RID_Cap_InterfaceVersion,
1451        awc_RID_Cap_SoftwareCapabilities,
1452        awc_RID_Cap_BootBlockVersion,
1453        {0}
1454};
1455
1456
1457struct aironet4500_RID awc_Status_RID[]={
1458        awc_RID_Status_RidLen,
1459        awc_RID_Status_MacAddress,
1460        awc_RID_Status_OperationalMode,
1461        awc_RID_Status_Configured,
1462        awc_RID_Status_MAC_Enabled,
1463        awc_RID_Status_Receive_Enabled,
1464        awc_RID_Status_In_Sync,
1465        awc_RID_Status_Associated,
1466        awc_RID_Status_Error,
1467        awc_RID_Status_ErrorCode,
1468        awc_RID_Status_CurrentSignalQuality,
1469        awc_RID_Status_SSIDlength,
1470        awc_RID_Status_SSID,
1471        awc_RID_Status_ApName,
1472        awc_RID_Status_CurrentBssid,
1473        awc_RID_Status_PreviousBssid1,
1474        awc_RID_Status_PreviousBssid2,
1475        awc_RID_Status_PreviousBssid3,
1476        awc_RID_Status_BeaconPeriod,
1477        awc_RID_Status_DtimPeriod,
1478        awc_RID_Status_AtimDuration,
1479        awc_RID_Status_HopPeriod,
1480        awc_RID_Status_ChannelSet,
1481        awc_RID_Status_Channel,
1482        awc_RID_Status_HopsToBackbone,
1483        awc_RID_Status_ApTotalLoad,
1484        awc_RID_Status_OurGeneratedLoad,
1485        awc_RID_Status_AccumulatedArl,
1486        {0}
1487};
1488
1489
1490struct aironet4500_RID awc_AP_RID[]={
1491        awc_RID_AP_16RidLen,
1492        awc_RID_AP_TIM_addr,
1493        awc_RID_AP_Airo_addr,
1494        {0}
1495};
1496
1497
1498struct aironet4500_RID awc_Stats_RID[]={
1499        awc_RID_Stats_RidLen,
1500        awc_RID_Stats_RxOverrunErr,
1501        awc_RID_Stats_RxPlcpCrcErr,
1502        awc_RID_Stats_RxPlcpFormat,
1503        awc_RID_Stats_RxPlcpLength,
1504        awc_RID_Stats_RxMacCrcErr,
1505        awc_RID_Stats_RxMacCrcOk,
1506        awc_RID_Stats_RxWepErr,
1507        awc_RID_Stats_RxWepOk,
1508        awc_RID_Stats_RetryLong,
1509        awc_RID_Stats_RetryShort,
1510        awc_RID_Stats_MaxRetries,
1511        awc_RID_Stats_NoAck,
1512        awc_RID_Stats_NoCts,
1513        awc_RID_Stats_RxAck,
1514        awc_RID_Stats_RxCts,
1515        awc_RID_Stats_TxAck,
1516        awc_RID_Stats_TxRts,
1517        awc_RID_Stats_TxCts,
1518        awc_RID_Stats_TxMc,
1519        awc_RID_Stats_TxBc,
1520        awc_RID_Stats_TxUcFrags,
1521        awc_RID_Stats_TxUcPackets,
1522        awc_RID_Stats_TxBeacon,
1523        awc_RID_Stats_RxBeacon,
1524        awc_RID_Stats_TxSinColl,
1525        awc_RID_Stats_TxMulColl,
1526        awc_RID_Stats_DefersNo,
1527        awc_RID_Stats_DefersProt,
1528        awc_RID_Stats_DefersEngy,
1529        awc_RID_Stats_DupFram,
1530        awc_RID_Stats_RxFragDisc,
1531        awc_RID_Stats_TxAged,
1532        awc_RID_Stats_RxAged,
1533        awc_RID_Stats_LostSync_Max,
1534        awc_RID_Stats_LostSync_Mis,
1535        awc_RID_Stats_LostSync_Arl,
1536        awc_RID_Stats_LostSync_Dea,
1537        awc_RID_Stats_LostSync_Disa,
1538        awc_RID_Stats_LostSync_Tsf,
1539        awc_RID_Stats_HostTxMc,
1540        awc_RID_Stats_HostTxBc,
1541        awc_RID_Stats_HostTxUc,
1542        awc_RID_Stats_HostTxFail,
1543        awc_RID_Stats_HostRxMc,
1544        awc_RID_Stats_HostRxBc,
1545        awc_RID_Stats_HostRxUc,
1546        awc_RID_Stats_HostRxDiscar,
1547        awc_RID_Stats_HmacTxMc,
1548        awc_RID_Stats_HmacTxBc,
1549        awc_RID_Stats_HmacTxUc,
1550        awc_RID_Stats_HmacTxFail,
1551        awc_RID_Stats_HmacRxMc,
1552        awc_RID_Stats_HmacRxBc,
1553        awc_RID_Stats_HmacRxUc,
1554        awc_RID_Stats_HmacRxDisca,
1555        awc_RID_Stats_HmacRxAcce,
1556        awc_RID_Stats_SsidMismatch,
1557        awc_RID_Stats_ApMismatch,
1558        awc_RID_Stats_RatesMismatc,
1559        awc_RID_Stats_AuthReject,
1560        awc_RID_Stats_AuthTimeout,
1561        awc_RID_Stats_AssocReject,
1562        awc_RID_Stats_AssocTimeout,
1563        awc_RID_Stats_NewReason,
1564        awc_RID_Stats_AuthFail_1,
1565        awc_RID_Stats_AuthFail_2,
1566        awc_RID_Stats_AuthFail_3,
1567        awc_RID_Stats_AuthFail_4,
1568        awc_RID_Stats_AuthFail_5,
1569        awc_RID_Stats_AuthFail_6,
1570        awc_RID_Stats_AuthFail_7,
1571        awc_RID_Stats_AuthFail_8,
1572        awc_RID_Stats_AuthFail_9,
1573        awc_RID_Stats_AuthFail_10,
1574        awc_RID_Stats_AuthFail_11,
1575        awc_RID_Stats_AuthFail_12,
1576        awc_RID_Stats_AuthFail_13,
1577        awc_RID_Stats_AuthFail_14,
1578        awc_RID_Stats_AuthFail_15,
1579        awc_RID_Stats_AuthFail_16,
1580        awc_RID_Stats_AuthFail_17,
1581        awc_RID_Stats_AuthFail_18,
1582        awc_RID_Stats_AuthFail_19,
1583        awc_RID_Stats_RxMan,
1584        awc_RID_Stats_TxMan,
1585        awc_RID_Stats_RxRefresh,
1586        awc_RID_Stats_TxRefresh,
1587        awc_RID_Stats_RxPoll,
1588        awc_RID_Stats_TxPoll,
1589        awc_RID_Stats_HostRetries,
1590        awc_RID_Stats_LostSync_HostReq,
1591        awc_RID_Stats_HostTxBytes,
1592        awc_RID_Stats_HostRxBytes,
1593        awc_RID_Stats_ElapsedUsec,
1594        awc_RID_Stats_ElapsedSec,
1595        awc_RID_Stats_LostSyncBett,
1596        {0}
1597};
1598
1599
1600
1601struct aironet4500_RID awc_Stats_delta_RID[]={
1602        awc_RID_Stats_delta_RidLen,
1603        awc_RID_Stats_delta_RxOverrunErr,
1604        awc_RID_Stats_delta_RxPlcpCrcErr,
1605        awc_RID_Stats_delta_RxPlcpFormat,
1606        awc_RID_Stats_delta_RxPlcpLength,
1607        awc_RID_Stats_delta_RxMacCrcErr,
1608        awc_RID_Stats_delta_RxMacCrcOk,
1609        awc_RID_Stats_delta_RxWepErr,
1610        awc_RID_Stats_delta_RxWepOk,
1611        awc_RID_Stats_delta_RetryLong,
1612        awc_RID_Stats_delta_RetryShort,
1613        awc_RID_Stats_delta_MaxRetries,
1614        awc_RID_Stats_delta_NoAck,
1615        awc_RID_Stats_delta_NoCts,
1616        awc_RID_Stats_delta_RxAck,
1617        awc_RID_Stats_delta_RxCts,
1618        awc_RID_Stats_delta_TxAck,
1619        awc_RID_Stats_delta_TxRts,
1620        awc_RID_Stats_delta_TxCts,
1621        awc_RID_Stats_delta_TxMc,
1622        awc_RID_Stats_delta_TxBc,
1623        awc_RID_Stats_delta_TxUcFrags,
1624        awc_RID_Stats_delta_TxUcPackets,
1625        awc_RID_Stats_delta_TxBeacon,
1626        awc_RID_Stats_delta_RxBeacon,
1627        awc_RID_Stats_delta_TxSinColl,
1628        awc_RID_Stats_delta_TxMulColl,
1629        awc_RID_Stats_delta_DefersNo,
1630        awc_RID_Stats_delta_DefersProt,
1631        awc_RID_Stats_delta_DefersEngy,
1632        awc_RID_Stats_delta_DupFram,
1633        awc_RID_Stats_delta_RxFragDisc,
1634        awc_RID_Stats_delta_TxAged,
1635        awc_RID_Stats_delta_RxAged,
1636        awc_RID_Stats_delta_LostSync_Max,
1637        awc_RID_Stats_delta_LostSync_Mis,
1638        awc_RID_Stats_delta_LostSync_Arl,
1639        awc_RID_Stats_delta_LostSync_Dea,
1640        awc_RID_Stats_delta_LostSync_Disa,
1641        awc_RID_Stats_delta_LostSync_Tsf,
1642        awc_RID_Stats_delta_HostTxMc,
1643        awc_RID_Stats_delta_HostTxBc,
1644        awc_RID_Stats_delta_HostTxUc,
1645        awc_RID_Stats_delta_HostTxFail,
1646        awc_RID_Stats_delta_HostRxMc,
1647        awc_RID_Stats_delta_HostRxBc,
1648        awc_RID_Stats_delta_HostRxUc,
1649        awc_RID_Stats_delta_HostRxDiscar,
1650        awc_RID_Stats_delta_HmacTxMc,
1651        awc_RID_Stats_delta_HmacTxBc,
1652        awc_RID_Stats_delta_HmacTxUc,
1653        awc_RID_Stats_delta_HmacTxFail,
1654        awc_RID_Stats_delta_HmacRxMc,
1655        awc_RID_Stats_delta_HmacRxBc,
1656        awc_RID_Stats_delta_HmacRxUc,
1657        awc_RID_Stats_delta_HmacRxDisca,
1658        awc_RID_Stats_delta_HmacRxAcce,
1659        awc_RID_Stats_delta_SsidMismatch,
1660        awc_RID_Stats_delta_ApMismatch,
1661        awc_RID_Stats_delta_RatesMismatc,
1662        awc_RID_Stats_delta_AuthReject,
1663        awc_RID_Stats_delta_AuthTimeout,
1664        awc_RID_Stats_delta_AssocReject,
1665        awc_RID_Stats_delta_AssocTimeout,
1666        awc_RID_Stats_delta_NewReason,
1667        awc_RID_Stats_delta_AuthFail_1,
1668        awc_RID_Stats_delta_AuthFail_2,
1669        awc_RID_Stats_delta_AuthFail_3,
1670        awc_RID_Stats_delta_AuthFail_4,
1671        awc_RID_Stats_delta_AuthFail_5,
1672        awc_RID_Stats_delta_AuthFail_6,
1673        awc_RID_Stats_delta_AuthFail_7,
1674        awc_RID_Stats_delta_AuthFail_8,
1675        awc_RID_Stats_delta_AuthFail_9,
1676        awc_RID_Stats_delta_AuthFail_10,
1677        awc_RID_Stats_delta_AuthFail_11,
1678        awc_RID_Stats_delta_AuthFail_12,
1679        awc_RID_Stats_delta_AuthFail_13,
1680        awc_RID_Stats_delta_AuthFail_14,
1681        awc_RID_Stats_delta_AuthFail_15,
1682        awc_RID_Stats_delta_AuthFail_16,
1683        awc_RID_Stats_delta_AuthFail_17,
1684        awc_RID_Stats_delta_AuthFail_18,
1685        awc_RID_Stats_delta_AuthFail_19,
1686        awc_RID_Stats_delta_RxMan,
1687        awc_RID_Stats_delta_TxMan,
1688        awc_RID_Stats_delta_RxRefresh,
1689        awc_RID_Stats_delta_TxRefresh,
1690        awc_RID_Stats_delta_RxPoll,
1691        awc_RID_Stats_delta_TxPoll,
1692        awc_RID_Stats_delta_HostRetries,
1693        awc_RID_Stats_delta_LostSync_HostReq,
1694        awc_RID_Stats_delta_HostTxBytes,
1695        awc_RID_Stats_delta_HostRxBytes,
1696        awc_RID_Stats_delta_ElapsedUsec,
1697        awc_RID_Stats_delta_ElapsedSec,
1698        awc_RID_Stats_delta_LostSyncBett,
1699        {0}
1700};
1701
1702struct aironet4500_RID awc_Stats_clear_RID[]={
1703        awc_RID_Stats_clear_RidLen,
1704        awc_RID_Stats_clear_RxOverrunErr,
1705        awc_RID_Stats_clear_RxPlcpCrcErr,
1706        awc_RID_Stats_clear_RxPlcpFormat,
1707        awc_RID_Stats_clear_RxPlcpLength,
1708        awc_RID_Stats_clear_RxMacCrcErr,
1709        awc_RID_Stats_clear_RxMacCrcOk,
1710        awc_RID_Stats_clear_RxWepErr,
1711        awc_RID_Stats_clear_RxWepOk,
1712        awc_RID_Stats_clear_RetryLong,
1713        awc_RID_Stats_clear_RetryShort,
1714        awc_RID_Stats_clear_MaxRetries,
1715        awc_RID_Stats_clear_NoAck,
1716        awc_RID_Stats_clear_NoCts,
1717        awc_RID_Stats_clear_RxAck,
1718        awc_RID_Stats_clear_RxCts,
1719        awc_RID_Stats_clear_TxAck,
1720        awc_RID_Stats_clear_TxRts,
1721        awc_RID_Stats_clear_TxCts,
1722        awc_RID_Stats_clear_TxMc,
1723        awc_RID_Stats_clear_TxBc,
1724        awc_RID_Stats_clear_TxUcFrags,
1725        awc_RID_Stats_clear_TxUcPackets,
1726        awc_RID_Stats_clear_TxBeacon,
1727        awc_RID_Stats_clear_RxBeacon,
1728        awc_RID_Stats_clear_TxSinColl,
1729        awc_RID_Stats_clear_TxMulColl,
1730        awc_RID_Stats_clear_DefersNo,
1731        awc_RID_Stats_clear_DefersProt,
1732        awc_RID_Stats_clear_DefersEngy,
1733        awc_RID_Stats_clear_DupFram,
1734        awc_RID_Stats_clear_RxFragDisc,
1735        awc_RID_Stats_clear_TxAged,
1736        awc_RID_Stats_clear_RxAged,
1737        awc_RID_Stats_clear_LostSync_Max,
1738        awc_RID_Stats_clear_LostSync_Mis,
1739        awc_RID_Stats_clear_LostSync_Arl,
1740        awc_RID_Stats_clear_LostSync_Dea,
1741        awc_RID_Stats_clear_LostSync_Disa,
1742        awc_RID_Stats_clear_LostSync_Tsf,
1743        awc_RID_Stats_clear_HostTxMc,
1744        awc_RID_Stats_clear_HostTxBc,
1745        awc_RID_Stats_clear_HostTxUc,
1746        awc_RID_Stats_clear_HostTxFail,
1747        awc_RID_Stats_clear_HostRxMc,
1748        awc_RID_Stats_clear_HostRxBc,
1749        awc_RID_Stats_clear_HostRxUc,
1750        awc_RID_Stats_clear_HostRxDiscar,
1751        awc_RID_Stats_clear_HmacTxMc,
1752        awc_RID_Stats_clear_HmacTxBc,
1753        awc_RID_Stats_clear_HmacTxUc,
1754        awc_RID_Stats_clear_HmacTxFail,
1755        awc_RID_Stats_clear_HmacRxMc,
1756        awc_RID_Stats_clear_HmacRxBc,
1757        awc_RID_Stats_clear_HmacRxUc,
1758        awc_RID_Stats_clear_HmacRxDisca,
1759        awc_RID_Stats_clear_HmacRxAcce,
1760        awc_RID_Stats_clear_SsidMismatch,
1761        awc_RID_Stats_clear_ApMismatch,
1762        awc_RID_Stats_clear_RatesMismatc,
1763        awc_RID_Stats_clear_AuthReject,
1764        awc_RID_Stats_clear_AuthTimeout,
1765        awc_RID_Stats_clear_AssocReject,
1766        awc_RID_Stats_clear_AssocTimeout,
1767        awc_RID_Stats_clear_NewReason,
1768        awc_RID_Stats_clear_AuthFail_1,
1769        awc_RID_Stats_clear_AuthFail_2,
1770        awc_RID_Stats_clear_AuthFail_3,
1771        awc_RID_Stats_clear_AuthFail_4,
1772        awc_RID_Stats_clear_AuthFail_5,
1773        awc_RID_Stats_clear_AuthFail_6,
1774        awc_RID_Stats_clear_AuthFail_7,
1775        awc_RID_Stats_clear_AuthFail_8,
1776        awc_RID_Stats_clear_AuthFail_9,
1777        awc_RID_Stats_clear_AuthFail_10,
1778        awc_RID_Stats_clear_AuthFail_11,
1779        awc_RID_Stats_clear_AuthFail_12,
1780        awc_RID_Stats_clear_AuthFail_13,
1781        awc_RID_Stats_clear_AuthFail_14,
1782        awc_RID_Stats_clear_AuthFail_15,
1783        awc_RID_Stats_clear_AuthFail_16,
1784        awc_RID_Stats_clear_AuthFail_17,
1785        awc_RID_Stats_clear_AuthFail_18,
1786        awc_RID_Stats_clear_AuthFail_19,
1787        awc_RID_Stats_clear_RxMan,
1788        awc_RID_Stats_clear_TxMan,
1789        awc_RID_Stats_clear_RxRefresh,
1790        awc_RID_Stats_clear_TxRefresh,
1791        awc_RID_Stats_clear_RxPoll,
1792        awc_RID_Stats_clear_TxPoll,
1793        awc_RID_Stats_clear_HostRetries,
1794        awc_RID_Stats_clear_LostSync_HostReq,
1795        awc_RID_Stats_clear_HostTxBytes,
1796        awc_RID_Stats_clear_HostRxBytes,
1797        awc_RID_Stats_clear_ElapsedUsec,
1798        awc_RID_Stats_clear_ElapsedSec,
1799        awc_RID_Stats_clear_LostSyncBett,
1800        {0}
1801};
1802#ifdef AWC_USE_16BIT_STATS
1803struct aironet4500_RID awc_Stats16_RID[]={
1804        awc_RID_Stats16_RidLen,
1805        awc_RID_Stats16_RxOverrunErr,
1806        awc_RID_Stats16_RxPlcpCrcErr,
1807        awc_RID_Stats16_RxPlcpFormat,
1808        awc_RID_Stats16_RxPlcpLength,
1809        awc_RID_Stats16_RxMacCrcErr,
1810        awc_RID_Stats16_RxMacCrcOk,
1811        awc_RID_Stats16_RxWepErr,
1812        awc_RID_Stats16_RxWepOk,
1813        awc_RID_Stats16_RetryLong,
1814        awc_RID_Stats16_RetryShort,
1815        awc_RID_Stats16_MaxRetries,
1816        awc_RID_Stats16_NoAck,
1817        awc_RID_Stats16_NoCts,
1818        awc_RID_Stats16_RxAck,
1819        awc_RID_Stats16_RxCts,
1820        awc_RID_Stats16_TxAck,
1821        awc_RID_Stats16_TxRts,
1822        awc_RID_Stats16_TxCts,
1823        awc_RID_Stats16_TxMc,
1824        awc_RID_Stats16_TxBc,
1825        awc_RID_Stats16_TxUcFrags,
1826        awc_RID_Stats16_TxUcPackets,
1827        awc_RID_Stats16_TxBeacon,
1828        awc_RID_Stats16_RxBeacon,
1829        awc_RID_Stats16_TxSinColl,
1830        awc_RID_Stats16_TxMulColl,
1831        awc_RID_Stats16_DefersNo,
1832        awc_RID_Stats16_DefersProt,
1833        awc_RID_Stats16_DefersEngy,
1834        awc_RID_Stats16_DupFram,
1835        awc_RID_Stats16_RxFragDisc,
1836        awc_RID_Stats16_TxAged,
1837        awc_RID_Stats16_RxAged,
1838        awc_RID_Stats16_LostSync_Max,
1839        awc_RID_Stats16_LostSync_Mis,
1840        awc_RID_Stats16_LostSync_Arl,
1841        awc_RID_Stats16_LostSync_Dea,
1842        awc_RID_Stats16_LostSync_Disa,
1843        awc_RID_Stats16_LostSync_Tsf,
1844        awc_RID_Stats16_HostTxMc,
1845        awc_RID_Stats16_HostTxBc,
1846        awc_RID_Stats16_HostTxUc,
1847        awc_RID_Stats16_HostTxFail,
1848        awc_RID_Stats16_HostRxMc,
1849        awc_RID_Stats16_HostRxBc,
1850        awc_RID_Stats16_HostRxUc,
1851        awc_RID_Stats16_HostRxDiscar,
1852        awc_RID_Stats16_HmacTxMc,
1853        awc_RID_Stats16_HmacTxBc,
1854        awc_RID_Stats16_HmacTxUc,
1855        awc_RID_Stats16_HmacTxFail,
1856        awc_RID_Stats16_HmacRxMc,
1857        awc_RID_Stats16_HmacRxBc,
1858        awc_RID_Stats16_HmacRxUc,
1859        awc_RID_Stats16_HmacRxDisca,
1860        awc_RID_Stats16_HmacRxAcce,
1861        awc_RID_Stats16_SsidMismatch,
1862        awc_RID_Stats16_ApMismatch,
1863        awc_RID_Stats16_RatesMismatc,
1864        awc_RID_Stats16_AuthReject,
1865        awc_RID_Stats16_AuthTimeout,
1866        awc_RID_Stats16_AssocReject,
1867        awc_RID_Stats16_AssocTimeout,
1868        awc_RID_Stats16_NewReason,
1869        awc_RID_Stats16_AuthFail_1,
1870        awc_RID_Stats16_AuthFail_2,
1871        awc_RID_Stats16_AuthFail_3,
1872        awc_RID_Stats16_AuthFail_4,
1873        awc_RID_Stats16_AuthFail_5,
1874        awc_RID_Stats16_AuthFail_6,
1875        awc_RID_Stats16_AuthFail_7,
1876        awc_RID_Stats16_AuthFail_8,
1877        awc_RID_Stats16_AuthFail_9,
1878        awc_RID_Stats16_AuthFail_10,
1879        awc_RID_Stats16_AuthFail_11,
1880        awc_RID_Stats16_AuthFail_12,
1881        awc_RID_Stats16_AuthFail_13,
1882        awc_RID_Stats16_AuthFail_14,
1883        awc_RID_Stats16_AuthFail_15,
1884        awc_RID_Stats16_AuthFail_16,
1885        awc_RID_Stats16_AuthFail_17,
1886        awc_RID_Stats16_AuthFail_18,
1887        awc_RID_Stats16_AuthFail_19,
1888        awc_RID_Stats16_RxMan,
1889        awc_RID_Stats16_TxMan,
1890        awc_RID_Stats16_RxRefresh,
1891        awc_RID_Stats16_TxRefresh,
1892        awc_RID_Stats16_RxPoll,
1893        awc_RID_Stats16_TxPoll,
1894        awc_RID_Stats16_HostRetries,
1895        awc_RID_Stats16_LostSync_HostReq,
1896        awc_RID_Stats16_HostTxBytes,
1897        awc_RID_Stats16_HostRxBytes,
1898        awc_RID_Stats16_ElapsedUsec,
1899        awc_RID_Stats16_ElapsedSec,
1900        awc_RID_Stats16_LostSyncBett,
1901        {0}
1902};
1903
1904struct aironet4500_RID awc_Stats16_delta_RID[]={
1905        awc_RID_Stats16_delta_RidLen,
1906        awc_RID_Stats16_delta_RxOverrunErr,
1907        awc_RID_Stats16_delta_RxPlcpCrcErr,
1908        awc_RID_Stats16_delta_RxPlcpFormat,
1909        awc_RID_Stats16_delta_RxPlcpLength,
1910        awc_RID_Stats16_delta_RxMacCrcErr,
1911        awc_RID_Stats16_delta_RxMacCrcOk,
1912        awc_RID_Stats16_delta_RxWepErr,
1913        awc_RID_Stats16_delta_RxWepOk,
1914        awc_RID_Stats16_delta_RetryLong,
1915        awc_RID_Stats16_delta_RetryShort,
1916        awc_RID_Stats16_delta_MaxRetries,
1917        awc_RID_Stats16_delta_NoAck,
1918        awc_RID_Stats16_delta_NoCts,
1919        awc_RID_Stats16_delta_RxAck,
1920        awc_RID_Stats16_delta_RxCts,
1921        awc_RID_Stats16_delta_TxAck,
1922        awc_RID_Stats16_delta_TxRts,
1923        awc_RID_Stats16_delta_TxCts,
1924        awc_RID_Stats16_delta_TxMc,
1925        awc_RID_Stats16_delta_TxBc,
1926        awc_RID_Stats16_delta_TxUcFrags,
1927        awc_RID_Stats16_delta_TxUcPackets,
1928        awc_RID_Stats16_delta_TxBeacon,
1929        awc_RID_Stats16_delta_RxBeacon,
1930        awc_RID_Stats16_delta_TxSinColl,
1931        awc_RID_Stats16_delta_TxMulColl,
1932        awc_RID_Stats16_delta_DefersNo,
1933        awc_RID_Stats16_delta_DefersProt,
1934        awc_RID_Stats16_delta_DefersEngy,
1935        awc_RID_Stats16_delta_DupFram,
1936        awc_RID_Stats16_delta_RxFragDisc,
1937        awc_RID_Stats16_delta_TxAged,
1938        awc_RID_Stats16_delta_RxAged,
1939        awc_RID_Stats16_delta_LostSync_Max,
1940        awc_RID_Stats16_delta_LostSync_Mis,
1941        awc_RID_Stats16_delta_LostSync_Arl,
1942        awc_RID_Stats16_delta_LostSync_Dea,
1943        awc_RID_Stats16_delta_LostSync_Disa,
1944        awc_RID_Stats16_delta_LostSync_Tsf,
1945        awc_RID_Stats16_delta_HostTxMc,
1946        awc_RID_Stats16_delta_HostTxBc,
1947        awc_RID_Stats16_delta_HostTxUc,
1948        awc_RID_Stats16_delta_HostTxFail,
1949        awc_RID_Stats16_delta_HostRxMc,
1950        awc_RID_Stats16_delta_HostRxBc,
1951        awc_RID_Stats16_delta_HostRxUc,
1952        awc_RID_Stats16_delta_HostRxDiscar,
1953        awc_RID_Stats16_delta_HmacTxMc,
1954        awc_RID_Stats16_delta_HmacTxBc,
1955        awc_RID_Stats16_delta_HmacTxUc,
1956        awc_RID_Stats16_delta_HmacTxFail,
1957        awc_RID_Stats16_delta_HmacRxMc,
1958        awc_RID_Stats16_delta_HmacRxBc,
1959        awc_RID_Stats16_delta_HmacRxUc,
1960        awc_RID_Stats16_delta_HmacRxDisca,
1961        awc_RID_Stats16_delta_HmacRxAcce,
1962        awc_RID_Stats16_delta_SsidMismatch,
1963        awc_RID_Stats16_delta_ApMismatch,
1964        awc_RID_Stats16_delta_RatesMismatc,
1965        awc_RID_Stats16_delta_AuthReject,
1966        awc_RID_Stats16_delta_AuthTimeout,
1967        awc_RID_Stats16_delta_AssocReject,
1968        awc_RID_Stats16_delta_AssocTimeout,
1969        awc_RID_Stats16_delta_NewReason,
1970        awc_RID_Stats16_delta_AuthFail_1,
1971        awc_RID_Stats16_delta_AuthFail_2,
1972        awc_RID_Stats16_delta_AuthFail_3,
1973        awc_RID_Stats16_delta_AuthFail_4,
1974        awc_RID_Stats16_delta_AuthFail_5,
1975        awc_RID_Stats16_delta_AuthFail_6,
1976        awc_RID_Stats16_delta_AuthFail_7,
1977        awc_RID_Stats16_delta_AuthFail_8,
1978        awc_RID_Stats16_delta_AuthFail_9,
1979        awc_RID_Stats16_delta_AuthFail_10,
1980        awc_RID_Stats16_delta_AuthFail_11,
1981        awc_RID_Stats16_delta_AuthFail_12,
1982        awc_RID_Stats16_delta_AuthFail_13,
1983        awc_RID_Stats16_delta_AuthFail_14,
1984        awc_RID_Stats16_delta_AuthFail_15,
1985        awc_RID_Stats16_delta_AuthFail_16,
1986        awc_RID_Stats16_delta_AuthFail_17,
1987        awc_RID_Stats16_delta_AuthFail_18,
1988        awc_RID_Stats16_delta_AuthFail_19,
1989        awc_RID_Stats16_delta_RxMan,
1990        awc_RID_Stats16_delta_TxMan,
1991        awc_RID_Stats16_delta_RxRefresh,
1992        awc_RID_Stats16_delta_TxRefresh,
1993        awc_RID_Stats16_delta_RxPoll,
1994        awc_RID_Stats16_delta_TxPoll,
1995        awc_RID_Stats16_delta_HostRetries,
1996        awc_RID_Stats16_delta_LostSync_HostReq,
1997        awc_RID_Stats16_delta_HostTxBytes,
1998        awc_RID_Stats16_delta_HostRxBytes,
1999        awc_RID_Stats16_delta_ElapsedUsec,
2000        awc_RID_Stats16_delta_ElapsedSec,
2001        awc_RID_Stats16_delta_LostSyncBett,
2002        {0}
2003};
2004
2005struct aironet4500_RID awc_Stats16_clear_RID[]={
2006        awc_RID_Stats16_clear_RidLen,
2007        awc_RID_Stats16_clear_RxOverrunErr,
2008        awc_RID_Stats16_clear_RxPlcpCrcErr,
2009        awc_RID_Stats16_clear_RxPlcpFormat,
2010        awc_RID_Stats16_clear_RxPlcpLength,
2011        awc_RID_Stats16_clear_RxMacCrcErr,
2012        awc_RID_Stats16_clear_RxMacCrcOk,
2013        awc_RID_Stats16_clear_RxWepErr,
2014        awc_RID_Stats16_clear_RxWepOk,
2015        awc_RID_Stats16_clear_RetryLong,
2016        awc_RID_Stats16_clear_RetryShort,
2017        awc_RID_Stats16_clear_MaxRetries,
2018        awc_RID_Stats16_clear_NoAck,
2019        awc_RID_Stats16_clear_NoCts,
2020        awc_RID_Stats16_clear_RxAck,
2021        awc_RID_Stats16_clear_RxCts,
2022        awc_RID_Stats16_clear_TxAck,
2023        awc_RID_Stats16_clear_TxRts,
2024        awc_RID_Stats16_clear_TxCts,
2025        awc_RID_Stats16_clear_TxMc,
2026        awc_RID_Stats16_clear_TxBc,
2027        awc_RID_Stats16_clear_TxUcFrags,
2028        awc_RID_Stats16_clear_TxUcPackets,
2029        awc_RID_Stats16_clear_TxBeacon,
2030        awc_RID_Stats16_clear_RxBeacon,
2031        awc_RID_Stats16_clear_TxSinColl,
2032        awc_RID_Stats16_clear_TxMulColl,
2033        awc_RID_Stats16_clear_DefersNo,
2034        awc_RID_Stats16_clear_DefersProt,
2035        awc_RID_Stats16_clear_DefersEngy,
2036        awc_RID_Stats16_clear_DupFram,
2037        awc_RID_Stats16_clear_RxFragDisc,
2038        awc_RID_Stats16_clear_TxAged,
2039        awc_RID_Stats16_clear_RxAged,
2040        awc_RID_Stats16_clear_LostSync_Max,
2041        awc_RID_Stats16_clear_LostSync_Mis,
2042        awc_RID_Stats16_clear_LostSync_Arl,
2043        awc_RID_Stats16_clear_LostSync_Dea,
2044        awc_RID_Stats16_clear_LostSync_Disa,
2045        awc_RID_Stats16_clear_LostSync_Tsf,
2046        awc_RID_Stats16_clear_HostTxMc,
2047        awc_RID_Stats16_clear_HostTxBc,
2048        awc_RID_Stats16_clear_HostTxUc,
2049        awc_RID_Stats16_clear_HostTxFail,
2050        awc_RID_Stats16_clear_HostRxMc,
2051        awc_RID_Stats16_clear_HostRxBc,
2052        awc_RID_Stats16_clear_HostRxUc,
2053        awc_RID_Stats16_clear_HostRxDiscar,
2054        awc_RID_Stats16_clear_HmacTxMc,
2055        awc_RID_Stats16_clear_HmacTxBc,
2056        awc_RID_Stats16_clear_HmacTxUc,
2057        awc_RID_Stats16_clear_HmacTxFail,
2058        awc_RID_Stats16_clear_HmacRxMc,
2059        awc_RID_Stats16_clear_HmacRxBc,
2060        awc_RID_Stats16_clear_HmacRxUc,
2061        awc_RID_Stats16_clear_HmacRxDisca,
2062        awc_RID_Stats16_clear_HmacRxAcce,
2063        awc_RID_Stats16_clear_SsidMismatch,
2064        awc_RID_Stats16_clear_ApMismatch,
2065        awc_RID_Stats16_clear_RatesMismatc,
2066        awc_RID_Stats16_clear_AuthReject,
2067        awc_RID_Stats16_clear_AuthTimeout,
2068        awc_RID_Stats16_clear_AssocReject,
2069        awc_RID_Stats16_clear_AssocTimeout,
2070        awc_RID_Stats16_clear_NewReason,
2071        awc_RID_Stats16_clear_AuthFail_1,
2072        awc_RID_Stats16_clear_AuthFail_2,
2073        awc_RID_Stats16_clear_AuthFail_3,
2074        awc_RID_Stats16_clear_AuthFail_4,
2075        awc_RID_Stats16_clear_AuthFail_5,
2076        awc_RID_Stats16_clear_AuthFail_6,
2077        awc_RID_Stats16_clear_AuthFail_7,
2078        awc_RID_Stats16_clear_AuthFail_8,
2079        awc_RID_Stats16_clear_AuthFail_9,
2080        awc_RID_Stats16_clear_AuthFail_10,
2081        awc_RID_Stats16_clear_AuthFail_11,
2082        awc_RID_Stats16_clear_AuthFail_12,
2083        awc_RID_Stats16_clear_AuthFail_13,
2084        awc_RID_Stats16_clear_AuthFail_14,
2085        awc_RID_Stats16_clear_AuthFail_15,
2086        awc_RID_Stats16_clear_AuthFail_16,
2087        awc_RID_Stats16_clear_AuthFail_17,
2088        awc_RID_Stats16_clear_AuthFail_18,
2089        awc_RID_Stats16_clear_AuthFail_19,
2090        awc_RID_Stats16_clear_RxMan,
2091        awc_RID_Stats16_clear_TxMan,
2092        awc_RID_Stats16_clear_RxRefresh,
2093        awc_RID_Stats16_clear_TxRefresh,
2094        awc_RID_Stats16_clear_RxPoll,
2095        awc_RID_Stats16_clear_TxPoll,
2096        awc_RID_Stats16_clear_HostRetries,
2097        awc_RID_Stats16_clear_LostSync_HostReq,
2098        awc_RID_Stats16_clear_HostTxBytes,
2099        awc_RID_Stats16_clear_HostRxBytes,
2100        awc_RID_Stats16_clear_ElapsedUsec,
2101        awc_RID_Stats16_clear_ElapsedSec,
2102        awc_RID_Stats16_clear_LostSyncBett,
2103        {0}
2104};
2105
2106#endif
2107
2108struct awc_rid_dir awc_rids[]={
2109        // following MUST be consistent with awc_rids_setup !!!
2110   {&aironet4500_RID_Select_General_Config,sizeof(awc_gen_RID) / sizeof(struct aironet4500_RID)  ,awc_gen_RID , NULL, NULL,0 },
2111   {&aironet4500_RID_Select_SSID_list, sizeof(awc_SSID_RID) / sizeof(struct aironet4500_RID) , awc_SSID_RID , NULL, NULL,0 },
2112   {&aironet4500_RID_Select_AP_list, sizeof(awc_AP_List_RID) / sizeof(struct aironet4500_RID) , awc_AP_List_RID , NULL, NULL,0 },
2113   {&aironet4500_RID_Select_Driver_name, sizeof(awc_Dname_RID) / sizeof(struct aironet4500_RID) , awc_Dname_RID , NULL, NULL,0 },
2114   {&aironet4500_RID_Select_Encapsulation, sizeof(awc_enc_RID) / sizeof(struct aironet4500_RID) , awc_enc_RID , NULL, NULL,0 },
2115   {&aironet4500_RID_Select_Active_Config, sizeof(awc_act_RID) / sizeof(struct aironet4500_RID) , awc_act_RID , NULL, NULL,0 },
2116   {&aironet4500_RID_Select_Capabilities, sizeof(awc_Cap_RID) / sizeof(struct aironet4500_RID) , awc_Cap_RID , NULL, NULL,0 },
2117   {&aironet4500_RID_Select_Status, sizeof(awc_Status_RID) / sizeof(struct aironet4500_RID) , awc_Status_RID , NULL, NULL,0 },
2118   {&aironet4500_RID_Select_AP_Info, sizeof(awc_AP_RID) / sizeof(struct aironet4500_RID) , awc_AP_RID , NULL, NULL,0 },
2119   {&aironet4500_RID_Select_32_stats, sizeof(awc_Stats_RID) / sizeof(struct aironet4500_RID) , awc_Stats_RID , NULL, NULL,0 },
2120   {&aironet4500_RID_Select_32_stats_delta, sizeof(awc_Stats_delta_RID) / sizeof(struct aironet4500_RID) , awc_Stats_delta_RID , NULL, NULL,0 },
2121   {&aironet4500_RID_Select_32_stats_clear, sizeof(awc_Stats_clear_RID) / sizeof(struct aironet4500_RID) , awc_Stats_clear_RID , NULL, NULL,0 },
2122   {&aironet4500_RID_Select_WEP_volatile, sizeof(awc_WEPv_RID) / sizeof(struct aironet4500_RID) , awc_WEPv_RID , NULL, NULL,0 },
2123   {&aironet4500_RID_Select_WEP_nonvolatile, sizeof(awc_WEPnv_RID) / sizeof(struct aironet4500_RID) , awc_WEPnv_RID , NULL, NULL,0 },
2124   {&aironet4500_RID_Select_Modulation, sizeof(awc_Modulation_RID) / sizeof(struct aironet4500_RID) , awc_Modulation_RID , NULL, NULL,0 },
2125
2126#ifdef AWC_USE_16BIT_STATS
2127   {&aironet4500_RID_Select_16_stats, sizeof(awc_Stats16_RID) / sizeof(struct aironet4500_RID) , awc_Stats16_RID , NULL, NULL,0 },
2128   {&aironet4500_RID_Select_16_stats_delta, sizeof(awc_Stats16_delta_RID) / sizeof(struct aironet4500_RID) , awc_Stats16_delta_RID , NULL, NULL,0 },
2129   {&aironet4500_RID_Select_16_stats_clear, sizeof(awc_Stats16_clear_RID) / sizeof(struct aironet4500_RID) , awc_Stats16_clear_RID , NULL, NULL,0 },
2130#else 
2131   {NULL},{NULL},{NULL},
2132#endif  
2133 
2134   {0} 
2135
2136
2137};
2138
2139
2140int awc_nof_rids = (sizeof(awc_rids) / sizeof(struct awc_rid_dir)) -1;
2141
2142
2143int awc_rids_setup(struct net_device * dev){
2144
2145        struct awc_private * priv = (struct awc_private *) dev->priv;
2146        int i=0;
2147        while ( i < AWC_NOF_RIDS){
2148                if (awc_rids[i].selector)
2149                        memcpy(&priv->rid_dir[i],&awc_rids[i],sizeof(priv->rid_dir[0]) );
2150                else priv->rid_dir[i].selector = NULL;
2151                i++;
2152        }
2153        for (i=0; i< AWC_NOF_RIDS && i < awc_nof_rids; i++){
2154                priv->rid_dir[i].dev = dev;
2155        };
2156        
2157        // following MUST be consistent with awc_rids !!!
2158        priv->rid_dir[0].buff = &priv->config; // card RID mirrors
2159        priv->rid_dir[1].buff = &priv->SSIDs;
2160        priv->rid_dir[2].buff = &priv->fixed_APs;
2161        priv->rid_dir[3].buff = &priv->driver_name;
2162        priv->rid_dir[4].buff = &priv->enc_trans;
2163        priv->rid_dir[5].buff = &priv->general_config; //       
2164        priv->rid_dir[6].buff = &priv->capabilities;
2165        priv->rid_dir[7].buff = &priv->status;
2166        priv->rid_dir[8].buff = &priv->AP;
2167        priv->rid_dir[9].buff = &priv->statistics;
2168        priv->rid_dir[10].buff = &priv->statistics_delta;
2169        priv->rid_dir[11].buff = &priv->statistics_delta_clear;
2170        priv->rid_dir[12].buff = &priv->wep_volatile;
2171        priv->rid_dir[13].buff = &priv->wep_nonvolatile;
2172        priv->rid_dir[14].buff = &priv->modulation;
2173
2174        priv->rid_dir[15].buff = &priv->statistics16;
2175        priv->rid_dir[16].buff = &priv->statistics16_delta;
2176        priv->rid_dir[17].buff = &priv->statistics16_delta_clear;
2177                        
2178        priv->rid_dir[0].bufflen = sizeof(priv->config); // card RID mirrors
2179        priv->rid_dir[1].bufflen = sizeof(priv->SSIDs);
2180        priv->rid_dir[2].bufflen = sizeof(priv->fixed_APs);
2181        priv->rid_dir[3].bufflen = sizeof(priv->driver_name);
2182        priv->rid_dir[4].bufflen = sizeof(priv->enc_trans);
2183        priv->rid_dir[5].bufflen = sizeof(priv->general_config); //
2184        priv->rid_dir[6].bufflen = sizeof(priv->capabilities);
2185        priv->rid_dir[7].bufflen = sizeof(priv->status);
2186        priv->rid_dir[8].bufflen = sizeof(priv->AP);
2187        priv->rid_dir[9].bufflen = sizeof(priv->statistics);
2188        priv->rid_dir[10].bufflen = sizeof(priv->statistics_delta);
2189        priv->rid_dir[11].bufflen = sizeof(priv->statistics_delta_clear);
2190        priv->rid_dir[12].bufflen = sizeof(priv->wep_volatile);
2191        priv->rid_dir[13].bufflen = sizeof(priv->wep_nonvolatile);
2192        priv->rid_dir[14].bufflen = sizeof(priv->modulation);
2193
2194        priv->rid_dir[15].bufflen = sizeof(priv->statistics16);
2195        priv->rid_dir[16].bufflen = sizeof(priv->statistics16_delta);
2196        priv->rid_dir[17].bufflen = sizeof(priv->statistics16_delta_clear);
2197
2198        return 0;
2199
2200};
2201
2202
2203
2204
2205
2206
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.