;/*++
;
;Copyright (c) 2002 Cisco Systems, Incorporated All Rights Reserved
;
;Module Name:
;
;    net21.inf
;
;Abstract:
;    INF file for installing Cisco Aironet 802.11a/b/g Wireless Adapter
;
;    Installs csco21.sys (NDIS 5/5.1 driver) on NT platforms (2000, XP and greater)
;
;--*/

[Version]
Signature   = "$CHICAGO$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %CISCO%
Compatible  = 1
DriverVer   = 08/27/2004,1.2.0.3
Catalogfile = net21.cat

[Manufacturer]
%Cisco%     = Cisco

[ControlFlags]
;ExcludeFromSelect = *  ;for win95 and legacy support

[Cisco]
; DisplayName               Section                 DeviceID
; -----------               -------                 --------
%CSCO.DeviceDesc.CB21%  = CSCO_DEV_CB21.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_CB2114B9
%CSCO.DeviceDesc.CC21%  = CSCO_DEV_CC21.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_CC2114B9

; Windows NT specific entries
[CSCO_DEV_CB21.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
AddReg          = 5211.reg, CSCO.reg, 5211.reg, 5212.abg.reg
CopyFiles       = CSCO.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = CSCO.DelIniFiles
DelReg          = 5211.DelReg

[CSCO_DEV_CC21.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
AddReg          = 5211.reg, CSCO.reg, 5211.reg, 5212.abg.reg
CopyFiles       = CSCO.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = CSCO.DelIniFiles
DelReg          = 5211.DelReg

[CSCO_DEV_CB21.ndi.NT.Services]
AddService      = CSCO21, 2, CSCO.Service, common.EventLog

[CSCO_DEV_CC21.ndi.NT.Services]
AddService      = CSCO21, 2, CSCO.Service, common.EventLog

;----------------------------------------------------------------------------
;
; 5211 Enumerated Types
;

[5212.abg.reg]
HKR, ,                                  NetBand,                        0x00002,  "15"
HKR, CustomParams\Configurations,       NicType,                        0x10003,  1

;-----------------------------------------------------------------------------

;
; 5211 common
;
[5211.DelReg]
HKR,,NetBand
HKR,,ssid
HKR,,ssid2
HKR,,ssid3
HKR,,prefBssid1
HKR,,prefBssid2
HKR,,prefBssid3
HKR,,prefBssid4

[5211.reg]

HKR, Ndi\params\MapRegisters,           ParamDesc,                      0,  %MapRegisters%
HKR, Ndi\params\MapRegisters,           default,                        0,  "256"
HKR, Ndi\params\MapRegisters,           min,                            0,  "32"
HKR, Ndi\params\MapRegisters,           max,                            0,  "512"
HKR, Ndi\params\MapRegisters,           step,                           0,  "8"
HKR, Ndi\params\MapRegisters,           base,                           0,  "10"
HKR, Ndi\params\MapRegisters,           type,                           0,  "int"

HKR, Ndi\params\NetworkAddress,         ParamDesc,                      0,  %NetworkAddress%
HKR, Ndi\params\NetworkAddress,         default,                        0,  ""
HKR, Ndi\params\NetworkAddress,         LimitText,                      0,  "12"
HKR, Ndi\params\NetworkAddress,         UpperCase,                      0,  "1"
HKR, Ndi\params\NetworkAddress,         optional,                       0,  "1"
HKR, Ndi\params\NetworkAddress,         type,                           0,  "edit"

HKR, Ndi\params\sleepMode,              ParamDesc,                      0,  %sleepMode%
HKR, Ndi\params\sleepMode,              Base,                           0,  "10"
HKR, Ndi\params\sleepMode,              default,                        0,  "2"
HKR, Ndi\params\sleepMode,              type,                           0,  "enum"
HKR, Ndi\params\sleepMode\enum,         "0",                            0,  %sleepModeOff%
HKR, Ndi\params\sleepMode\enum,         "2",                            0,  %sleepModeNormal%
HKR, Ndi\params\sleepMode\enum,         "1",                            0,  %sleepModeMax%

HKR, Ndi\params\shortPreamble,          ParamDesc,                      0,  %shortPreamble%
HKR, Ndi\params\shortPreamble,          Base,                           0,  "10"
HKR, Ndi\params\shortPreamble,          default,                        0,  "1"
HKR, Ndi\params\shortPreamble,          type,                           0,  "enum"
HKR, Ndi\params\shortPreamble\enum,     "1",                            0,  %shortPreambleEnable%
HKR, Ndi\params\shortPreamble\enum,     "0",                            0,  %shortPreambleDisable%

HKR, Ndi\params\radioEnable,            ParamDesc,                      0,  %radioEnable%
HKR, Ndi\params\radioEnable,            Base,                           0,  "10"
HKR, Ndi\params\radioEnable,            default,                        0,  "1"
HKR, Ndi\params\radioEnable,            type,                           0,  "enum"
HKR, Ndi\params\radioEnable\enum,       "1",                            0,  %radioEnableOn%
HKR, Ndi\params\radioEnable\enum,       "0",                            0,  %radioEnableOff%

HKR, Ndi\params\authTypeUseOnly,        ParamDesc,                      0,  %authTypeUseOnly%
HKR, Ndi\params\authTypeUseOnly,        Base,                           0,  "10"
HKR, Ndi\params\authTypeUseOnly,        default,                        0,  "0"
HKR, Ndi\params\authTypeUseOnly,        type,                           0,  "enum"
HKR, Ndi\params\authTypeUseOnly\enum,   "0",                            0,  %authAuto%
HKR, Ndi\params\authTypeUseOnly\enum,   "1",                            0,  %authOpen%
HKR, Ndi\params\authTypeUseOnly\enum,   "2",                            0,  %authShared%

HKR, Ndi\params\scanTimeValid,          ParamDesc,                      0,  %scanTimeValid%
HKR, Ndi\params\scanTimeValid,          default,                        0,  "60"
HKR, Ndi\params\scanTimeValid,          min,                            0,  "20"
HKR, Ndi\params\scanTimeValid,          max,                            0,  "120"
HKR, Ndi\params\scanTimeValid,          step,                           0,  "5"
HKR, Ndi\params\scanTimeValid,          base,                           0,  "10"
HKR, Ndi\params\scanTimeValid,          type,                           0,  "int"

HKR, Ndi\params\bssAgingPeriod,         ParamDesc,                      0,  %bssAgingPeriod%
HKR, Ndi\params\bssAgingPeriod,         default,                        0,  "120"
HKR, Ndi\params\bssAgingPeriod,         min,                            0,  "20"
HKR, Ndi\params\bssAgingPeriod,         max,                            0,  "300"
HKR, Ndi\params\bssAgingPeriod,         step,                           0,  "10"
HKR, Ndi\params\bssAgingPeriod,         base,                           0,  "10"
HKR, Ndi\params\bssAgingPeriod,         type,                           0,  "int"

HKR, ,                                  AdHocBand,                      0x00002,  "0"
HKR, ,                                  AwakeTimePerf,                  0x00002,  "200"
HKR, ,                                  beaconInterval,                 0x00002,  "100"
HKR, ,                                  bkScanEnable,                   0x00002,  "1"
HKR, ,                                  bssType,                        0x00002,  "1"
HKR, ,                                  ccode,                          0x00002,  "US"
HKR, ,                                  clist,                          0x00002,  ""
HKR, ,                                  defaultKey,                     0x00002,  "0"
HKR, ,                                  EncryptionAlg,                  0x00002,  "2"
HKR, ,                                  FragThreshold,                  0x00002,  "2346"
HKR, ,                                  HwTxRetries,                    0x00002,  "4"
HKR, ,                                  privacyInvoked,                 0x00002,  "0"
HKR, ,                                  QoS,                            0x00002,  "0"
HKR, ,                                  rateCtrlEnable,                 0x00002,  "1"
HKR, ,                                  RTSThreshold,                   0x00002,  "2346"
HKR, ,                                  scanType,                       0x00002,  "2"
HKR, ,                                  SwTxRetryScale,                 0x00002,  "6"

HKR, CustomParams\Configurations,       MajorVersion,                   0x10003,  2
HKR, CustomParams\Configurations,       MinorVersion,                   0x10003,  0

HKR, CustomParams\Configurations,       SelectedConfigurationIndex,     0x10003,  0
HKR, CustomParams\Configurations,       SelectedConfigurationName,      0x00002,  "Default"

; Allow non admin uses to switch profiles
[5211.reg.security]
"D:ARAI(A;;GA;;;BA)(A;;GA;;;SY)(A;CI;GA;;;IU)"

;-----------------------------------------------------------------------------
; CSCO NT specific
;

[CSCO.reg]
HKR, Ndi,             Service,      0, "CSCO21"
HKR, Ndi\Interfaces,  UpperRange,   0, "ndis5"
HKR, Ndi\Interfaces,  LowerRange,   0, "ethernet"
HKR, ,                aifs,         0, "2"
HKR, ,                cwmin,        0, "15"


[CSCO.Service]
DisplayName     = %CSCO.Service.DispName%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_DEMAND_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\csco21.sys
LoadOrderGroup  = NDIS

;-----------------------------------------------------------------------------
; CSCO NT/XP common
;
[common.EventLog]
AddReg = common.AddEventLog.reg

[common.AddEventLog.reg]
HKR, ,                  EventMessageFile,   0x00020000,   "%%SystemRoot%%\System32\netevent.dll"
HKR, ,                  TypesSupported,     0x00010001,   7

;----------------------------------------------------------------------------
; NT Files to Copy
[CSCO.CopyFiles.nt]
csco21.sys,,,2

[CSCO.DelIniFiles]
Athnic.ini,,,1

[SourceDisksNames]
;
; diskid = description[, [tagfile] [, <unused>, subdir]]
;
1 = %Cisco_Disk%,,,

;----------------------------------------------------------------------------
; Source Files
[SourceDisksFiles]
csco21.sys                   = 1,, ; on distribution disk 1


[DestinationDirs]
CSCO.CopyFiles.nt           = 12
CSCO.DelIniFiles            = 10,system32\drivers ; %SystemRoot%\system32\drivers 
DefaultDestDir              = 11

[DEFAULTDESTDIRS]
;


[Strings]
Cisco                      = "Cisco"
authTypeUseOnly              = "802.11 Authentication Type"
authAuto                     = "Auto"
authOpen                     = "Open"
authShared                   = "Shared"
MapRegisters                 = "Map Registers"
NetworkAddress               = "Network Address"
sleepMode                    = "Power Save Mode"
scanTimeValid                = "Scan Valid Interval"
bssAgingPeriod               = "BSS Aging Interval"
sleepModeOff                 = "CAM (Constantly Awake Mode)"
sleepModeNormal              = "Fast PSP (Power Save Mode)"
sleepModeMax                 = "Max PSP (Max Power Saving"
shortPreamble                = "802.11b Preamble"
shortPreambleEnable          = "Long and Short"
shortPreambleDisable         = "Long only"
radioEnable                  = "Radio On/Off"
radioEnableOn                = "On"
radioEnableOff               = "Off"

Cisco_Disk                 = "Cisco Driver Disk 1"
CSCO.DeviceDesc.CB21        = "Cisco Aironet 802.11a/b/g Wireless Adapter"
CSCO.DeviceDesc.CC21        = "Cisco Aironet 802.11a/b/g Wireless Adapter"
CSCO.Service.DispName       = "Cisco Aironet 802.11a/b/g Wireless Adapter Service"
