;/*++
;
;Copyright (c) 2001-2004 NETGEAR Communications, Incorporated All Rights Reserved
;
;Module Name:
;
;    net5211.inf
;
;Abstract:
;    INF file for installing NETGEAR WPN311 Wireless Network Adapter
;
;
;--*/

[Version]
Signature   = "$CHICAGO$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %OEM%
Compatible  = 1
DriverVer   = 07/05/2006,4.1.2.150
Catalogfile = WPN311.cat

[Manufacturer]
%OEM%     = NETGEAR

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

[NETGEAR]
; DisplayName               Section                 DeviceID
; -----------               -------                 --------
%NETGEAR.DeviceDesc.V1H3%  = ATHER_DEV_V1H3.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_5E001385


; Windows 9X specific entries
[ATHER_DEV_V1H2.ndi]
AddReg          = ATHER_DEV_V1H2.id.reg, 5211.reg, ATHER.win.reg, 5212.bgmp.reg
CopyFiles       = ATHER.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = ATHER.DelIniFiles
DelReg          = 5211.DelReg

[ATHER_DEV_V1H3.ndi]
AddReg          = ATHER_DEV_V1H3.id.reg, 5211.reg, ATHER.win.reg, 5212.bgmp.reg
CopyFiles       = ATHER.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = ATHER.DelIniFiles
DelReg          = 5211.DelReg

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

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

[ATHER_DEV_V1H2.ndi.NT.Services]
AddService      = AR5211, 2, ATHER.Service, common.EventLog

[ATHER_DEV_V1H3.ndi.NT.Services]
AddService      = AR5211, 2, ATHER.Service, common.EventLog

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

[ATHER_DEV_V1H2.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0013&SUBSYS_4D001385"

[ATHER_DEV_V1H3.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0013&SUBSYS_5A001385"

;
; 5211 Enumerated Types
;
[5212.bgmp.reg]
HKR, ,                                  NetBand,                        0x00002,  "12"
HKR, ,                                  FragThreshold,                  0x00002,  "2346"
HKR, ,                                  RTSThreshold,                   0x00002,  "2346"
HKR, ,                                  rateCtrlEnable,                 0x00002,  "1"
HKR, CustomParams\Configurations,       NicType,                        0x10003,  2

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

;
; 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

[5211.reg]

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\ccode,            	ParamDesc,                      0,  %ccode_Description%
HKR, Ndi\params\ccode,            	Base,                           0,  "10"
HKR, Ndi\params\ccode,            	default,                        0,  %ccode_DEFAULT%
HKR, Ndi\params\ccode,            	type,                           0,  "enum"
HKR, Ndi\params\ccode\enum,       	"DZ",                           0,  %ccode_Africa%
HKR, Ndi\params\ccode\enum,       	"CN",                           0,  %ccode_Asia%
HKR, Ndi\params\ccode\enum,       	"AU",                           0,  %ccode_Australia%
HKR, Ndi\params\ccode\enum,       	"CA",                           0,  %ccode_Canada%
HKR, Ndi\params\ccode\enum,       	"GB",                           0,  %ccode_Europe%
HKR, Ndi\params\ccode\enum,       	"FR",                           0,  %ccode_France%
HKR, Ndi\params\ccode\enum,       	"IL",                           0,  %ccode_Israel%
HKR, Ndi\params\ccode\enum,       	"KR",                           0,  %ccode_Japan%
HKR, Ndi\params\ccode\enum,       	"MY",                           0,  %ccode_Mexico%
HKR, Ndi\params\ccode\enum,       	"BR",                           0,  %ccode_SourthAmerica%
HKR, Ndi\params\ccode\enum,       	"US",                           0,  %ccode_UnitedStates%

HKR, Ndi\params\tpc,                    ParamDesc,                      0,  %tpc%
HKR, Ndi\params\tpc,                    Base,                           0,  "10"
HKR, Ndi\params\tpc,                    default,                        0,  %tpc_DEFAULT%
HKR, Ndi\params\tpc,                    type,                           0,  "enum"
HKR, Ndi\params\tpc\enum,               "0",                            0,  "100%"
HKR, Ndi\params\tpc\enum,               "2",                            0,  "50%"
HKR, Ndi\params\tpc\enum,               "3",                            0,  "25%"
HKR, Ndi\params\tpc\enum,               "4",                            0,  "12.5%"
HKR, Ndi\params\tpc\enum,               "5",                            0,  %tpcLowest%

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,				,	       adhoc,			0x10003,  0
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)"

;-----------------------------------------------------------------------------
; ATHER NT specific
;

[ATHER.reg]
HKR, Ndi,             Service,      0, "AR5211"
HKR, Ndi\Interfaces,  UpperRange,   0, "ndis5"
HKR, Ndi\Interfaces,  LowerRange,   0, "ethernet"

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

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

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

;----------------------------------------------------------------------------
; ATHER Win9x specific
;
[ATHER.win.reg]
HKR, ,                  DevLoader,          0,            "*ndis"
HKR, ,                  DeviceVxDs,         0,            "WPN311.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,            "AR52119X"
HKR, NDIS,              MajorNdisVersion,   1,            03
HKR, NDIS,              MinorNdisVersion,   1,            0A

HKR, Ndi\Install,       ndis3,              0,            "ATHER.install"

;----------------------------------------------------------------------------
; Win9x Files to Copy
[ATHER.win.CopyFiles]
WPN311.sys,,,2

;----------------------------------------------------------------------------
; NT Files to Copy
[ATHER.CopyFiles.nt]
WPN311.sys,,,2

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

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

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


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

[DEFAULTDESTDIRS]
;


[Strings]
OEM                      = "NETGEAR, Inc."
MapRegisters                 = "Map Registers"
NetworkAddress               = "Network Address"
scanTimeValid                = "Scan Valid Interval"
shortPreamble                = "802.11b Preamble"
shortPreambleEnable          = "Long and Short"
shortPreambleDisable         = "Long only"
radioEnable                  = "Radio On/Off"
radioEnableOn                = "On"
radioEnableOff               = "Off"
ccode_Description	     = "Regional Domain"
ccode_Africa		     = "Africa"
ccode_Asia		     = "Asia"
ccode_Australia	     	     = "Australia"
ccode_Canada		     = "Canada"
ccode_Europe		     = "Europe"
ccode_France		     = "France"
ccode_Israel		     = "Israel"
ccode_Mexico		     = "Mexico"
ccode_Japan		     = "Japan"
ccode_SourthAmerica	     = "Sourth America"
ccode_UnitedStates	     = "United States"
ccode_DEFAULT		     = "US"
tpc                          = "Transmit Power"
tpcLowest                    = "Lowest"
tpc_DEFAULT                  = "0"
authTypeUseOnly              = "802.11 Authentication Type"
authAuto                     = "Auto"
authOpen                     = "Open"
authShared                   = "Shared"

NETGEAR_Disk                 = "NETGEAR 108 Mbps Wireless PCI Adapter WPN311 Driver Disk"
ATHER.Service.DispName       = "NETGEAR WPN311 V1H3 Wireless Adapter Service"
NETGEAR.DeviceDesc.V1H2        = "WPN311 RangeMax(TM) Wireless PCI Adapter"
NETGEAR.DeviceDesc.V1H3        = "WPN311 RangeMax(TM) Wireless PCI Adapter"