;/*++
;
;
;Module Name:
;
;    CVN3AB.inf
;
;Abstract:
; 
;
;--*/

[Version]
Signature   = "$CHICAGO$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %VENDER%
Compatible  = 1
DriverVer   = 07/12/2004,3.3.0.156
;Catalogfile = N3AB.cat

[Manufacturer]
%VENDER%     = Vender

[ControlFlags]

ExcludeFromSelect = VEN_168C&DEV_0013&SUBSYS_3AB51948
ExcludeFromSelect = VEN_168C&DEV_0013&SUBSYS_3AB61948


[Vender]
; DisplayName               Section                 DeviceID
; -----------               -------                 --------
%N3AB.DeviceDesc.400BGB% = N3AB_DEV_00BG.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_3AB51948
%N3AB.DeviceDesc.4P0BGB% = N3AB_DEV_0MBG.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_3AB61948

; Windows 9X specific entries

[N3AB_DEV_00BG.ndi]
AddReg          = N3AB_DEV_00BG.id.reg, 5211.reg, N3AB.win.reg, 5212.bg.reg
CopyFiles       = N3AB.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = N3AB.DelIniFiles

[N3AB_DEV_0MBG.ndi]
AddReg          = N3AB_DEV_0MBG.id.reg, 5211.reg, N3AB.win.reg, 5212.bg.reg
CopyFiles       = N3AB.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = N3AB.DelIniFiles




; Windows NT specific entry

[N3AB_DEV_00BG.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
AddReg          = 5211.reg, N3AB.reg, 5211.reg, 5212.bg.reg
CopyFiles       = N3AB.CopyFiles, DEFAULTDESTDIRS
DelFiles        = N3AB.DelIniFiles

[N3AB_DEV_0MBG.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
AddReg          = 5211.reg, N3AB.reg, 5211.reg, 5212.bg.reg
CopyFiles       = N3AB.CopyFiles, DEFAULTDESTDIRS
DelFiles        = N3AB.DelIniFiles


[N3AB_DEV_MABG.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
AddReg          = 5211.reg, N3AB.reg, 5211.reg, 5212.pabg.reg
CopyFiles       = N3AB.CopyFiles, DEFAULTDESTDIRS
DelFiles        = N3AB.DelIniFiles


[N3AB_DEV_00BG.ndi.NT.Services]
AddService      = N3AB, 2, N3AB.Service, common.EventLog

[N3AB_DEV_0MBG.ndi.NT.Services]
AddService      = N3AB, 2, N3AB.Service, common.EventLog

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

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

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

; 5211 Enumerated Types
;

;[stacfg_page.reg.NT]
;HKR, ,                                  EnumPropPages32, 0,  "stacfg01.dll,NetPropPageProvider"
;
; 5211 Enumerated Types
;

[5212.bg.reg]
HKR, ,                                  NetBand,                        0x00002,  "28"
HKR, ,       				NicType,                        0x10003,  0
HKR, ,                                  AdHocBand,                      0x00002,  "0"
HKR, ,					Abolt,				0x00002,  "63"

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

;
; 5211 common
;

[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,  "0"
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\tpc,                    ParamDesc,                      0,  %tpc%
HKR, Ndi\params\tpc,                    Base,                           0,  "10"
HKR, Ndi\params\tpc,                    default,                        0,  "0"
HKR, Ndi\params\tpc,                    type,                           0,  "enum"
HKR, Ndi\params\tpc\enum,               "0",                            0,  %tpc100%
HKR, Ndi\params\tpc\enum,               "1",                            0,  %tpc50%
HKR, Ndi\params\tpc\enum,               "2",                            0,  %tpc25%
HKR, Ndi\params\tpc\enum,               "3",                            0,  %tpc12%
HKR, Ndi\params\tpc\enum,               "4",                            0,  %tpcLowest%

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, ,					AdHocChannel,			0x00002,  "0"
HKR, ,                  		BusType,			0x00002,  "5"
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, ,                                  shortPreamble,                  0x00002,  "1"
HKR, ,                                  sleepMode,                      0x00002,  "2"
HKR, ,                                  SwTxRetryScale,                 0x00002,  "6"
HKR, ,                                  SmeEnable,                      0x00002,  "1"
HKR, ,                                  tpc,                            0x00002,  "0"
HKR, ,					SSID,				0x00002,  "default"

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

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


;-----------------------------------------------------------------------------
; N3AB NT specific
;

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


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

[common.EventLog]
AddReg = common.AddEventLog.reg

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

;----------------------------------------------------------------------------
; N3AB Win9x specific
;
[N3AB.win.reg]
HKR, ,                  DevLoader,          0,    "*ndis"
HKR, ,                  DeviceVxDs,         0,    "N3AB9x.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,    "N3AB9X"
HKR, NDIS,              MajorNdisVersion,   1,    03
HKR, NDIS,              MinorNdisVersion,   1,    0A
HKR, ,                  InitFile,           0,    %InitFile%
HKR, ,                  aifs,               0,    2
HKR, ,                  cwmin,              0,    15

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

;-----------------------------------------------------------------------------
; DestinationDirs
;
[N3AB.win.CopyFiles]
N3AB9x.sys,,,2

[N3AB.CopyFiles]
N3AB.sys,,,2

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

[SourceDisksFiles]
;
; filename_on_source = diskID[, [subdir][, size]]
;
N3AB.sys					 = 1,, ; on distribution disk 1
;N3AB9x.sys

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

[DEFAULTDESTDIRS]
;


[Strings]
Vender                      = "ANI"
authTypeUseOnly             = "802.11 Authentication Type"
authAuto                    = "Auto"
authOpen                    = "Open"
authShared                  = "Shared"
MapRegisters                = "Map Registers"
NetworkAddress		    = "Network Address"
sleepMode		    = "Power Save Mode"
sleepModeOff		    = "Off"
sleepModeNormal		    = "Normal"
sleepModeMax		    = "Maximum"
tpc			    = "Transmit Power"
tpcLowest		    = "Lowest"
tpc12			    = "12.5%"
tpc25			    = "25%"
tpc50			    = "50%"
tpc100			    = "100%"
shortPreamble		    = "802.11b Preamble"
shortPreambleEnable	    = "Long and Short"
shortPreambleDisable	    = "Long only"
radioEnable		    = "Radio On/Off"
radioEnableOn		    = "On"
radioEnableOff		    = "Off"
InitFile                    = "N3AB.ini"
N3AB_Disk         	    = "N3AB Driver Disk 1"
N3AB.DeviceDesc.400BGB      = "IEEE 802.11g Cardbus Wireless Network Adapter"
N3AB.DeviceDesc.4P0BGB      = "IEEE 802.11g PCI Wireless Network Adapter"
N3AB.Service.DispName       = "N3AB Wireless Network Adapter Service"
