;/*++
;
;Copyright (c) 2001-2004 3Com Communications, Incorporated All Rights Reserved
;
;Module Name:
;
;    net5213b.inf
;
;Abstract:
;    INF file for installing 3Com 3CRPAG175B Wireless LAN PC Card
;--*/

[Version]
Signature   = "$CHICAGO$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %3Com%
Compatible  = 1
DriverVer   = 05/05/2005,4.1.2.56
Catalogfile = net5213.cat

[Manufacturer]
%3Com%     = 3Com

[ControlFlags]
ExcludeFromSelect = \  ;for win95 and legacy support
  PCI\VEN_168C&DEV_0013

[3Com]
; DisplayName               Section                 DeviceID
; -----------               -------                 --------
; Generic
%3Com.DeviceDesc.0013%  = 3Com_DEV_0013.ndi,    PCI\VEN_A727&DEV_0013&SUBSYS_102610B7
%3Com.DeviceDesc.001B%  = 3Com_DEV_001B.ndi,    PCI\VEN_168C&DEV_001B&SUBSYS_6804A727


; Windows 9X specific entries
[3Com_DEV_0013.ndi]
AddReg          = 3Com_DEV_0013.id.reg, 5211.reg, 3Com.win.reg, 5212.abgcb.reg
CopyFiles       = 3Com.win.CopyFiles
DelReg          = 5211.DelReg

[3Com_DEV_001B.ndi]
AddReg          = 3Com_DEV_001B.id.reg, 5211.reg, 3Com.win.reg, 5212.abgcb.reg
CopyFiles       = 3Com.win.CopyFiles
DelReg          = 5211.DelReg

; Windows NT specific entries

[3Com_DEV_0013.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, 3Com.reg, 5211.reg, 5212.abgcb.reg
CopyFiles       = 3Com.CopyFiles.nt

[3Com_DEV_001B.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, 3Com.reg, 5211.reg, 5212.abgcb.reg
CopyFiles       = 3Com.CopyFiles.nt

[3Com_DEV_0013.ndi.NT.Services]
AddService      = net5213, 2, 3Com.Service, common.EventLog

[3Com_DEV_001B.ndi.NT.Services]
AddService      = net5213, 2, 3Com.Service, common.EventLog

;----------------------------------------------------------------------------
; Win9x id registry sections
; These are not needed by NT

[3Com_DEV_0013.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0013&SUBSYS_6801A727"

[3Com_DEV_001B.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_001B&SUBSYS_6804A727"

;
; 5211 Enumerated Types
;
[5211.acb.reg]
HKR, ,                                  NetBand,                        0x00002,  "3"
HKR, CustomParams\Configurations,       NicType,                        0x10003,  0

[5211.amp.reg]
HKR, ,                                  NetBand,                        0x00002,  "3"
HKR, CustomParams\Configurations,       NicType,                        0x10003,  0

[5212.abgcb.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
HKR,Ndi\Params\tpc
HKR,,tpc
HKR,Ndi\Params\authTypeUseOnly
HKR,,authTypeUseOnly
HKR,,AdHocBand
HKR,,AwakeTimePerf
HKR,,beaconInterval
HKR,,bkScanEnable
HKR,,bssType
HKR,,ccode
HKR,,clist
HKR,,defaultKey
HKR,,EncryptionAlg
HKR,,FragThreshold
HKR,,HwTxRetries
HKR,,privacyInvoked
HKR,,QoS
HKR,,rateCtrlEnable
HKR,,RTSThreshold
HKR,,scanType
HKR,,SwTxRetryScale
HKR,,SmeEnable
HKR,,aifs
HKR,,cwmin

[oahu.reg]
HKR, ,                                  WmmEnabled,                     0x00002,  "0"

[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\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\ignore11dBeacon,              ParamDesc,                      0,  %InternationalRoaming%
HKR, Ndi\params\ignore11dBeacon,              Base,                           0,  "10"
HKR, Ndi\params\ignore11dBeacon,              default,                        0,  "1"
HKR, Ndi\params\ignore11dBeacon,              type,                           0,  "enum"
HKR, Ndi\params\ignore11dBeacon\enum,         "0",                            0,  %Enable Roaming%
HKR, Ndi\params\ignore11dBeacon\enum,         "1",                            0,  %Disable Roaming%

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)"

;-----------------------------------------------------------------------------
; 3Com NT specific
;

[3Com.reg]
HKR, Ndi,             Service,      0, "net5213"
HKR, Ndi\Interfaces,  UpperRange,   0, "ndis5"
HKR, Ndi\Interfaces,  LowerRange,   0, "ethernet"

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

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

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

;----------------------------------------------------------------------------
; 3Com Win9x specific
;
[3Com.win.reg]
HKR, ,                  DevLoader,          0,            "*ndis"
HKR, ,                  DeviceVxDs,         0,            "net5213e.sys"
HKR, ,                  EnumPropPages,      0,            "netdi.dll,EnumPropPages"

HKR, Ndi\Interfaces,    DefUpper,           0,            "ndis3"
HKR, Ndi\Interfaces,    DefLower,           0,            "ethernet"
HKR, Ndi\Interfaces,    UpperRange,         0,            "ndis3"
HKR, Ndi\Interfaces,    LowerRange,         0,            "ethernet"


HKR, NDIS,              LogDriverName,      0,            "net52139x"
HKR, NDIS,              MajorNdisVersion,   1,            03
HKR, NDIS,              MinorNdisVersion,   1,            0A

HKR, Ndi\Install,       ndis3,              0,            "3Com.install"

;----------------------------------------------------------------------------
; Win9x Files to Copy
[3Com.win.CopyFiles]
net5213e.sys,,,2

;----------------------------------------------------------------------------
; NT Files to Copy
[3Com.CopyFiles.nt]
net5213.sys,,,2

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

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


[DestinationDirs]
3Com.CopyFiles.nt           = 12
3Com.win.CopyFiles          = 11
DefaultDestDir               = 11



[Strings]
3Com                      = "3Com"
MapRegisters                 = "Map Registers"
NetworkAddress               = "Network Address"
sleepMode                    = "Power Save Mode"
scanTimeValid                = "Scan Valid Interval"
sleepModeOff                 = "Off"
sleepModeNormal              = "Normal"
sleepModeMax                 = "Maximum"
shortPreamble                = "802.11b Preamble"
shortPreambleEnable          = "Long and Short"
shortPreambleDisable         = "Long only"
radioEnable                  = "Radio On/Off"
radioEnableOn                = "On"
radioEnableOff               = "Off"

3Com_Disk                   = "3Com Driver Disk 1"
3Com.Service.DispName       = "3Com 3CRPAG175B Wireless LAN PC Card Service"
3Com.DeviceDesc.0013        = "3Com 3CRPAG175 Wireless LAN PC Card"
3Com.DeviceDesc.001B        = "3Com 3CRPAG175B Wireless LAN PC Card"
InternationalRoaming                   = "InternationalRoaming"
Enable Roaming              = "Enable WorldWide Roaming"
Disable Roaming             = "Disable WorldWide Roaming"