;/*++
;
;Copyright (c) 2007 D-Link Corporation, Incorporated All Rights Reserved
;
;Module Name:
;
;    AGUx64.inf

;
;Abstract:
;    For US
;    INF file for installing D-Link 802.11b/g Wireless Adapter
; 
;    Installs AGUx64.sys (NDIS 61 driver) on Vista platforms 
;--*/

[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %DLINK%
Compatible  = 1
CatalogFile = AGUx64.cat
DriverVer   = 10/08/2007,2.2.0.11


[Manufacturer]
%DLINK%     = DLINK, NTamd64


[ControlFlags]
ExcludeFromSelect = *


[DLINK.NTamd64]
; DisplayName               Section                 DeviceID
%DWLAG132%  = DAG132_DEV.ndi,    	USB\VID_2001&PID_3A01
%DWLG132C%  = DG132C_DEV.ndi,    	USB\VID_2001&PID_3A03
%WUA2340%   = WUA2340_DEV.ndi,    	USB\VID_07D1&PID_3A08
%ALICEG132% = ITG132_DEV.ndi,    	USB\VID_07D1&PID_3A0B
%DWA120%  = DWA120_DEV.ndi, 	   	USB\VID_07D1&PID_3A0D
%GDTM%	= GDTM.ndi,			USB\VID_0ACE&PID_BF61

[DAG132_DEV.ndi.NTamd64]
Characteristics = 0x84
BusType         = 15
AddReg          = DLINK.reg, hwchipid1.reg
;DelReg         = DLINK.DelReg
CopyFiles       = DLINK.CopyFiles,DefaultDestDirs
*IfType         = 71		; IF_TYPE_IEEE80211
*MediaType      = 16		; NdisMediumNative802_11
*PhysicalMediaType = 9		; NdisPhysicalMediumNative802_11

[DAG132_DEV.ndi.NTamd64.Services]
AddService = A5AGU, 2, DLINK.Service, DLINK.EventLog

[DG132C_DEV.ndi.NTamd64]
Characteristics = 0x84
BusType         = 15
AddReg          = DLINK.reg, hwchipid1.reg
;DelReg          = DLINK.DelReg
CopyFiles       = DLINK.CopyFiles,DefaultDestDirs
*IfType         = 71		; IF_TYPE_IEEE80211
*MediaType      = 16		; NdisMediumNative802_11
*PhysicalMediaType = 9		; NdisPhysicalMediumNative802_11

[DG132C_DEV.ndi.NTamd64.Services]
AddService = A5AGU, 2, DLINK.Service, DLINK.EventLog



[WUA2340_DEV.ndi.NTamd64]
Characteristics = 0x84
BusType         = 15
AddReg          = DLINK.reg, hwchipid1.reg
;DelReg          = DLINK.DelReg
CopyFiles       = DLINK.CopyFiles,DefaultDestDirs
*IfType         = 71		; IF_TYPE_IEEE80211
*MediaType      = 16		; NdisMediumNative802_11
*PhysicalMediaType = 9		; NdisPhysicalMediumNative802_11

[WUA2340_DEV.ndi.NTamd64.Services]
AddService = A5AGU, 2, DLINK.Service, DLINK.EventLog



[ITG132_DEV.ndi.NTamd64]
Characteristics = 0x84
BusType         = 15
AddReg          = DLINK.reg, hwchipid1.reg, Country.reg, TIWMM.reg
;DelReg          = DLINK.DelReg
CopyFiles       = DLINK.CopyFiles,DefaultDestDirs
*IfType         = 71		; IF_TYPE_IEEE80211
*MediaType      = 16		; NdisMediumNative802_11
*PhysicalMediaType = 9		; NdisPhysicalMediumNative802_11

[ITG132_DEV.ndi.NTamd64.Services]
AddService = A5AGU, 2, DLINK.Service, DLINK.EventLog



[DWA120_DEV.ndi.NTamd64]
Characteristics = 0x84
BusType         = 15
AddReg          = DLINK.reg, hwchipid1.reg
;DelReg          = DLINK.DelReg
CopyFiles       = DLINK.CopyFiles,DefaultDestDirs
*IfType         = 71		; IF_TYPE_IEEE80211
*MediaType      = 16		; NdisMediumNative802_11
*PhysicalMediaType = 9		; NdisPhysicalMediumNative802_11

[DWA120_DEV.ndi.NTamd64.Services]
AddService = A5AGU, 2, DLINK.Service, DLINK.EventLog

[GDTM.ndi.NTamd64]
Characteristics = 0x84
BusType         = 15
AddReg          = DLINK.reg, hwchipid2.reg
;DelReg          = DLINK.DelReg
CopyFiles       = DLINK.CopyFiles,DefaultDestDirs
*IfType         = 71		; IF_TYPE_IEEE80211
*MediaType      = 16		; NdisMediumNative802_11
*PhysicalMediaType = 9		; NdisPhysicalMediumNative802_11

[GDTM.ndi.NTamd64.Services]
AddService = A5AGU, 2, DLINK.Service, DLINK.EventLog


[DLINK.reg]
HKR, ,                           abolt,    0, "252"
HKR, Ndi,                           Service,    0, "A5AGU"
HKR, Ndi\Interfaces,                UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces,                LowerRange, 0, "wlan,ethernet"

HKR, Ndi\params\*ReceiveBuffers,    ParamDesc,  0, "%ReceiveBuffers%"
HKR, Ndi\params\*ReceiveBuffers,    default,    0, "64"
HKR, Ndi\params\*ReceiveBuffers,    min,        0, "1"
HKR, Ndi\params\*ReceiveBuffers,    max,        0, "00000128"
HKR, Ndi\params\*ReceiveBuffers,    step,       0, "1"
HKR, Ndi\params\*ReceiveBuffers,    Base,       0, "10"
HKR, Ndi\params\*ReceiveBuffers,    type,       0, "int"

HKR, Ndi\params\*TransmitBuffers,   ParamDesc,  0, "%TransmitBuffers%"
HKR, Ndi\params\*TransmitBuffers,   default,    0, "64"
HKR, Ndi\params\*TransmitBuffers,   min,        0, "1"
HKR, Ndi\params\*TransmitBuffers,   max,        0, "00000064"
HKR, Ndi\params\*TransmitBuffers,   step,       0, "1"
HKR, Ndi\params\*TransmitBuffers,   Base,       0, "10"
HKR, Ndi\params\*TransmitBuffers,   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\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\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"

;[DLINK.DelReg]

[Country.reg]
HKR, ,                         ccode,      0, "GB"
HKR, NDI\params\ccode,         ParamDesc,          0, "Regulatory Domain"
HKR, NDI\params\ccode,         type,               0, "enum"
HKR, NDI\params\ccode,         default,            0, "GB"
HKR, NDI\params\ccode\enum,    "GB",               0, "Europe (ETSI)"
HKR, NDI\params\ccode\enum,    "US",               0, "U.S.A. (FCC)"
HKR, NDI\params\ccode\enum,    "CA",               0, "Canada (IC)"
HKR, NDI\params\ccode\enum,    "JP",               0, "Japan (MKK)"

[TIWMM.reg]
HKR, , 				TIWmm, 0, "1"
HKR, Ndi\params\TIWmm,              ParamDesc,                      0,  %DSCP0_OFF%
HKR, Ndi\params\TIWmm,              Base,                           0,  "10"
HKR, Ndi\params\TIWmm,              default,                        0,  "1"
HKR, Ndi\params\TIWmm,              type,                           0,  "enum"
HKR, Ndi\params\TIWmm\enum,         "1",                            0,  %AC_BK%
HKR, Ndi\params\TIWmm\enum,         "2",                            0,  %AC_BE%


[hwchipid1.reg]
HKR, ,                                  chipId,                         0,        "1"

[hwchipid2.reg]
HKR, ,                                  chipId,                         0,        "2"

;;Customized Section

;[bandselect.reg]
;HKR, Ndi\params\NetBand,                ParamDesc,                      0,        %WirelessMode%
;HKR, Ndi\params\NetBand,                Base,                           0,        "10"
;HKR, Ndi\params\NetBand,                default,                        0,        "15"
;HKR, Ndi\params\NetBand,                type,                           0,        "enum"
;HKR, Ndi\params\NetBand\enum,           "15",                           0,        "Auto"
;HKR, Ndi\params\NetBand\enum,           "3",                            0,        "5Ghz Only"
;HKR, Ndi\params\NetBand\enum,           "12",                           0,        "2.4Ghz Only"

;[roamthreshA.reg]
;HKR, Ndi\params\roamRssiA,              ParamDesc,                      0,        %roamRssiA%
;HKR, Ndi\params\roamRssiA,              default,                        0,        "15"
;HKR, Ndi\params\roamRssiA,              min,                            0,        "1"
;HKR, Ndi\params\roamRssiA,              max,                            0,        "95"
;HKR, Ndi\params\roamRssiA,              step,                           0,        "1"
;HKR, Ndi\params\roamRssiA,              base,                           0,        "10"
;HKR, Ndi\params\roamRssiA,              type,                           0,        "int"

;[ignore11d.reg]
;HKR,NDI\params\ignore11dBeacon,         ParamDesc,,                               "11d Mode Switch"
;HKR,NDI\params\ignore11dBeacon,         type,,                                    "enum"
;HKR,NDI\params\ignore11dBeacon,         Default,,                                 "1"
;HKR,NDI\params\ignore11dBeacon\enum,    0,,                                       "Enable"
;HKR,NDI\params\ignore11dBeacon\enum,    1,,                                       "Disable"

;[radioswitch.reg]
;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%

;[adhocchannelselect.reg]
;HKR, Ndi\params\defaultIbssChannel,     ParamDesc,                      0,        %adhocchannel%
;HKR, Ndi\params\defaultIbssChannel,     default,                        0,        "1"
;HKR, Ndi\params\defaultIbssChannel,     min,                            0,        "1"
;HKR, Ndi\params\defaultIbssChannel,     max,                            0,        "11"
;HKR, Ndi\params\defaultIbssChannel,     step,                           0,        "1"
;HKR, Ndi\params\defaultIbssChannel,     base,                           0,        "10"
;HKR, Ndi\params\defaultIbssChannel,     type,                           0,        "int"

;[customer0.reg]
;HKR, ,                                  ssid,                           0x00002,  "randomssidtoshutoffautoconnectib"
;HKR, ,                                  scanTimePreSleep,               0x00002,  "60" 
;HKR, ,                                  capLinkSp,                      0x00002,  "1" 
;HKR, Ndi\params\scanTimeValid,          ParamDesc,                      0,        %scanTime%
;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"

;[customer0LED.reg]
;HKR, ,                                  gpioPinFunc1,                   0x00002,  "0"

;[customer0LED1.reg]
;HKR, ,                                  gpioPinFunc1,                   0x00002,  "1"
;HKR, ,                                  overrideACstatus,               0x00002,  "1"
;HKR, ,                                  pcieClockReq,                   0x00002,  "1"

;[customer1ani.reg]
;HKR, Ndi\params\rssiThrHigh,            ParamDesc,                      0,        %rssiThrHigh%
;HKR, Ndi\params\rssiThrHigh,            Base,                           0,        "10"
;HKR, Ndi\params\rssiThrHigh,            default,                        0,        "40"
;HKR, Ndi\params\rssiThrHigh,            type,                           0,        "enum"
;HKR, Ndi\params\rssiThrHigh\enum,       "40",                           0,        %rssiThrHighNormal%
;HKR, Ndi\params\rssiThrHigh\enum,       "32",                           0,        %rssiThrHighMin%

;[hwradioswitch.reg]
;HKR, ,                                  radioSwitch,                    0,        "1"

;[hwantennadiversity.reg]
;HKR, ,                                  antDiversityEnable,             0,        "1"
;HKR, ,                                  antMonitorDur1,                 0,        "100"
;HKR, ,                                  antMonitorDur2,                 0,        "1"
;HKR, ,                                  antNiceSigThr,                  0,        "48"
;HKR, ,                                  defaultAntenna,                 0,        "0"

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


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

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


[DLINK.CopyFiles]
AGUx64.sys,,,2



[SourceDisksNames]
1 = %DiskDescription%,AGUx64.sys,,

[SourceDisksFiles]
AGUx64.sys = 1,,


[DestinationDirs]
DLINK.CopyFiles          = 12
DefaultDestDirs            = 11

[DEFAULTDESTDIRS]
;


[Strings]
Msft                         = "Microsoft"
DLINK                      = "D-Link"
DLINK.Service.DispName        = "D-Link Wireless LAN 802.11 USB device driver"
DiskDescription              = "D-Link Wireless Driver Disk 1"
TransmitBuffers              = "Transmit Buffers"
ReceiveBuffers               = "Receive Buffers"
NetworkAddress               = "Network Address"
scanTimeValid                = "Scan Valid Interval"
shortPreamble                = "802.11b Preamble"
shortPreambleEnable          = "Long and Short"
shortPreambleDisable         = "Long only"
rssiThrHigh                  = "RSSI Threshold"
rssiThrHighNormal            = "Normal"
rssiThrHighMin               = "Min"
radioEnable                  = "Radio On/Off"
radioEnableOn                = "On"
radioEnableOff               = "Off"
scanTime                     = "Roam Time (sec)"
roamRssiA                    = "Roam Time Threshold (db)"
WirelessMode                 = "Wireless Mode Selection"
adhocchannel                 = "Adhoc channel Selection"

DSCP0_OFF		     = "DSCP0"
AC_BK			     = "AC_BK"
AC_BE			     = "AC_BE"

DWLG132C        = "D-Link AirPlus Xtreme G DWL-G132 Wireless USB Adapter(rev.A)"
DWLAG132	= "D-Link AirPremier DWL-AG132 Wireless USB Adapter(rev.B)"
WUA2340 	= "D-Link WUA-2340 USB Adapter"
ALICEG132	= "Alice G-132"
DWA120        = "D-Link Wireless 108G DWA-120 USB Adapter"
GDTM		= "Wireless usb adapter"
