;
; Win2K/WinXP/WinServer2003/WinVista inf for AVM FRITZ!WLAN USB Stick
;
; (C) Copyright AVM GmbH, Berlin 2006
;

[Version]
Signature = "$Windows NT$"
Compatible = 1
Provider  = %V_AVM%
Class     = Net
ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
CatalogFile.NT = fwlan.cat
DriverVer=12/28/2006,2.0.6.1647

[Manufacturer]
%V_AVM% = AVM

[ControlFlags]
ExcludeFromSelect = USB\VID_057C&PID_5601
ExcludeFromSelect = USB\VID_057C&PID_6201

[AVM]
%FWLAN.DeviceDesc% = FWLAN, USB\VID_057C&PID_5601
%FWLAN.DeviceDesc2% = FWLAN, USB\VID_057C&PID_6201

[Strings]
V_AVM="AVM GmbH"
FWLAN.DeviceDesc = "AVM FRITZ!WLAN USB Stick"
FWLAN.DeviceDesc2 = "AVM FRITZ!WLAN USB Stick v1.1"
FWLAN.Service.DispName  = "AVM FRITZ!WLAN"
DiskName="AVM FRITZ!WLAN Installation Disk"
StartProg="client\instwcli.exe"
StartProgReg="SOFTWARE\AVMXXX"
AVMDriverDate="12/28/2006"


[FWLAN.NT]
BusType         = 15
AddReg          = FWLAN.ndi.reg.NT, AVM.Param.Reg, BG.Param.Reg
Characteristics = 0x84
CopyFiles       = FWLAN.CopyFiles.NT

[FWLAN.NT.CoInstallers]
AddReg = FWLAN.CoInstallers.reg
CopyFiles = FWLAN.CopyCoinst

[FWLAN.CoInstallers.reg]
HKR,,CoInstallers32,0x00010000,"fwlanci.dll,AVMAddInstall"

HKR,,InstPath,0,"%01%"
HKR,,StartProg,0,%StartProg%
HKR,,StartProgReg,0,%StartProgReg%
HKR,AVMParams,StartSetup,0,%StartProg%

[FWLAN.CopyCoinst]
fwlanci.dll

[FWLAN.ndi.reg.NT]
HKR, Ndi,               Service,    0,  "FWLANUSB"
HKR, Ndi\Interfaces,    LowerRange, 0,  "ethernet"
HKR, Ndi\Interfaces,    UpperRange, 0,  "ndis5"

[FWLAN.NT.Services]
AddService = FWLANUSB, 2, FWLAN.Service, FWLAN.EventLog

[FWLAN.CopyFiles.NT]
Fwusb1b.bin
fwlanusb.sys

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

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

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

;***********************************   B & G All OSes ***********************************

[BG.Param.Reg]
HKR, ,dot11SupportedRateMask,, "8"
HKR, ,dot11BasicRateMask,, "1"
;HKR, ,Mode4x,, "1"

; 4x-Mode
HKR,NDI\params\Mode4x,ParamDesc,, "Mode4x"
HKR,NDI\params\Mode4x,type,,"enum"
HKR,NDI\params\Mode4x,default,,"1"
HKR,NDI\params\Mode4x\enum,"0",,"Off"
HKR,NDI\params\Mode4x\enum,"1",,"On"

; Network Type
HKR,NDI\params\dot11NetworkType,ParamDesc,, "Network Type"
HKR,NDI\params\dot11NetworkType,type,,"enum"
HKR,NDI\params\dot11NetworkType,default,,"3"
HKR,NDI\params\dot11NetworkType\enum,"1",,"11b"
HKR,NDI\params\dot11NetworkType\enum,"3",,"11b+g"

HKR, ,dot11DesiredChannel, ,1

;******************************  Common Registry Settings  ******************************

[AVM.Param.Reg]
HKR, ,dot11DesiredBSSType,, "1"
HKR, ,DisableSsidPending,, "1"
HKR, ,dot11PowerMode,,"1"

HKR,NDI\params\dot11PowerMode,ParamDesc,,"Power Mode"
HKR,NDI\params\dot11PowerMode,type,,"enum"
HKR,NDI\params\dot11PowerMode,default,,"1"
HKR,NDI\params\dot11PowerMode\enum,"0",,"Continuous Access Mode"
HKR,NDI\params\dot11PowerMode\enum,"1",,"Maximum Power Save"
;HKR,NDI\params\dot11PowerMode\enum,"2",,"Fast Power Save"

; Fragmentation Threshold
HKR, Ndi\Params\dot11FragmentationThreshold, ParamDesc, ,"Fragmentation Threshold"
HKR, Ndi\Params\dot11FragmentationThreshold, Type, , "int"
HKR, Ndi\Params\dot11FragmentationThreshold, Default, , "4096"
HKR, Ndi\Params\dot11FragmentationThreshold, Min, , "256"
HKR, Ndi\Params\dot11FragmentationThreshold, Max, , "4096"
HKR, Ndi\Params\dot11FragmentationThreshold, Step, , "1"
HKR, Ndi\Params\dot11FragmentationThreshold, Base, , "10"

; RTS Threshold
HKR, Ndi\Params\dot11RTSThreshold, ParamDesc, ,"RTS Threshold"
HKR, Ndi\Params\dot11RTSThreshold, Type, , "int"
HKR, Ndi\Params\dot11RTSThreshold, Default, , "4096"
HKR, Ndi\Params\dot11RTSThreshold, Min, , "1"
HKR, Ndi\Params\dot11RTSThreshold, Max, , "4096"
HKR, Ndi\Params\dot11RTSThreshold, Step, , "1"
HKR, Ndi\Params\dot11RTSThreshold, Base, , "10"

;******************************   Common Misc Settings ******************************



[DestinationDirs]
DefaultDestDir        =  12 ; Windows\System32\Drivers
FWLAN.CopyFiles.NT =  12 ; Winnt\System32\Drivers Directory ; Win2k
FWLAN.CopyCoinst     =  11

[SourceDisksNames]
1 = %DiskName%,,

[SourceDisksFiles]
Fwusb1b.bin = 1
fwlanusb.sys  = 1
fwlanci.dll = 1

[CoinstInfo]
OriginalInfSourcePath = %01%
