;+-----------------------------------------------------------------------+
; WinXP inf for AVM FRITZ!WLAN USB Stick N
;
; (c) Copyright AVM GmbH, Berlin 2008
;+-----------------------------------------------------------------------+

[Version]
Signature		= "$Windows NT$"
Compatible		= 1
Class			= Net
ClassGUID		= {4d36e972-e325-11ce-bfc1-08002be10318}
Provider                = %V_AVM%
CatalogFile		= fwusbn.cat
DriverVer		= 08/20/2008,4.0.0.65


[Manufacturer]
%V_AVM% = AVM, NT.5.1

[ControlFlags]
ExcludeFromSelect = *

[AVM.NT.5.1]
%FWLAN11.DeviceDesc%  = FWLAN11_XP.ndi,		USB\VID_057C&PID_8401


;*************************************************************************

[Strings]
V_AVM         		 = "AVM Berlin"
DISKNAME		 = "AVM FRITZ!WLAN USB Stick N Installation Disk"
FWLAN11.Service.DispName = "FRITZ!WLAN N"
FWLAN11.DeviceDesc 	 = "FRITZ!WLAN USB Stick N"
StartProg		 = "client\instwcli.exe"
StartProgReg		 = "SOFTWARE\AVMXXX"
AVMDriverDate		 = "08/20/2008"
DriverFileName		 = "fwlanusbn.sys"
InterfaceType		 = "USB"
VendorDesc		 = "AVM Berlin"
CustomServiceName 	 = "fwlanusbn"
FWLAN11_PNP  		 = "USB\VID_057C&PID_8401"
MaxRxUrb       		 = 8
MaxTxUrb       		 = 8
MaxTxUrbDK     		 = 64
MaxRxUrbDK     		 = 64
WirelessMode24G		 = "Wireless Mode 2.4GHz"
WirelessMode5G 		 = "Wireless Mode 5GHz"
non24G                   = "1. Non support 2.4GHz"
802_11b                  = "2. 802.11b"
802_11g                  = "3. 802.11g"
802_11n_24               = "4. 802.11n"
802_11bg                 = "5. 802.11bg"
802_11bn                 = "6. 802.11bn"
802_11gn                 = "7. 802.11gn"
802_11bgn                = "8. 802.11bgn"
non5G                    = "1. Non support 5GHz"
802_11a                  = "2. 802.11a"
802_11n_5                = "3. 802.11n"
802_11an                 = "4. 802.11an"
WirelessMode             = "Wireless Mode"
Extend802_11anbgn        = "1. 300Mpbs(2.4/5GHz)" 
Extend802_11bgn          = "2. 300Mpbs(2.4GHz)"
Extend802_11an           = "3. 300Mpbs(5GHz)"
Extend802_11bg           = "4. 54Mbps(2.4GHz)"
Extend802_11a            = "5. 54Mbps(5GHz)"
Extend802_11abgn         = "6. 300Mbps(2.4GHz)/54Mbps(5GHz)"
Extend802_11anbg         = "7. 300Mbps(5GHz)/54Mbps(2.4GHz)"

;*************************************************************************

[FWLAN11_XP.ndi.NT]
Characteristics = 0x84
BusType         = 15
AddReg		= FWLAN11.reg, FWLAN11_XP.reg
CopyFiles       = FWLAN11.CopyFilesXP, FWLAN11.CopyBin
DriverVer	= 08/20/2008,4.0.0.65

[FWLAN11_XP.ndi.NT.CoInstallers]
AddReg = FWLAN11.CoInstallers.reg
CopyFiles = FWLAN11.CopyCoinst

[FWLAN11_XP.ndi.NT.Services]
AddService = %CustomServiceName%, 2, FWLAN11.Service, FWLAN11.EventLog

;*************************************************************************

[FWLAN11.CoInstallers.reg]
HKR,,CoInstallers32,0x00010000,"fwusbnci.dll,AVMAddInstall"
HKR,,InstPath,0,"%01%"
HKR,,StartProg,0,%StartProg%
HKR,,StartProgReg,0,%StartProgReg%
HKR,AVMParams,StartSetup,0,%StartProg%

[FWLAN11.reg]
HKR,NDI\Interfaces,   UpperRange,         0, "ndis5"
HKR,NDI\Interfaces,   LowerRange,         0, "ethernet, wifi"
HKR,NDI,              Service,            0, %CustomServiceName%

HKR,,                 VendorDesc,         0, %VendorDesc%

[FWLAN11_XP.reg]
HKR,,                 MaxRxUrb,           0, %MaxRxUrb%
HKR,,                 MaxTxUrb,           0, %MaxTxUrb%
HKR,,                 MaxTxUrbDK,         0, %MaxTxUrbDK%
HKR,,                 MaxRxUrbDK,         0, %MaxRxUrbDK%

HKR, Ndi\params\*WirelessMode24G,           ParamDesc,  0, "%WirelessMode24G%"
HKR, Ndi\params\*WirelessMode24G,           Base,       0, "10"
HKR, Ndi\params\*WirelessMode24G,           default,    0, "8"
HKR, Ndi\params\*WirelessMode24G,           type,       0, "enum"
HKR, Ndi\params\*WirelessMode24G\enum,      "1",        0, %non24G%
HKR, Ndi\params\*WirelessMode24G\enum,      "2",        0, %802_11b%
HKR, Ndi\params\*WirelessMode24G\enum,      "3",        0, %802_11g%
HKR, Ndi\params\*WirelessMode24G\enum,      "4",        0, %802_11n_24%
HKR, Ndi\params\*WirelessMode24G\enum,      "5",        0, %802_11bg%
HKR, Ndi\params\*WirelessMode24G\enum,      "6",        0, %802_11bn%
HKR, Ndi\params\*WirelessMode24G\enum,      "7",        0, %802_11gn%
HKR, Ndi\params\*WirelessMode24G\enum,      "8",        0, %802_11bgn%

HKR, Ndi\params\*WirelessMode5G,            ParamDesc,  0, "%WirelessMode5G%"
HKR, Ndi\params\*WirelessMode5G,            Base,       0, "10"
HKR, Ndi\params\*WirelessMode5G,            default,    0, "4"
HKR, Ndi\params\*WirelessMode5G,            type,       0, "enum"
HKR, Ndi\params\*WirelessMode5G\enum,       "1",        0, %non5G%
HKR, Ndi\params\*WirelessMode5G\enum,       "2",        0, %802_11a%
HKR, Ndi\params\*WirelessMode5G\enum,       "3",        0, %802_11n_5%
HKR, Ndi\params\*WirelessMode5G\enum,       "4",        0, %802_11an%

;HKR, Ndi\params\*WirelessMode,              ParamDesc,  0, "%WirelessMode%"
;HKR, Ndi\params\*WirelessMode,              Base,       0, "10"
;HKR, Ndi\params\*WirelessMode,              default,    0, "1"
;HKR, Ndi\params\*WirelessMode,              type,       0, "enum"
;HKR, Ndi\params\*WirelessMode\enum,         "1",        0, %Extend802_11anbgn%
;HKR, Ndi\params\*WirelessMode\enum,         "2",        0, %Extend802_11bgn%
;HKR, Ndi\params\*WirelessMode\enum,         "3",        0, %Extend802_11an%
;HKR, Ndi\params\*WirelessMode\enum,         "4",        0, %Extend802_11bg%
;HKR, Ndi\params\*WirelessMode\enum,         "5",        0, %Extend802_11a%
;HKR, Ndi\params\*WirelessMode\enum,         "6",        0, %Extend802_11abgn%
;HKR, Ndi\params\*WirelessMode\enum,         "7",        0, %Extend802_11anbg%

;HKR, NDI\params\*PowerMode,                 ParamDesc,  0, "Power Mode"
;HKR, Ndi\params\*PowerMode,                 Base,       0, "10"
;HKR, NDI\params\*PowerMode,                 default,    0, "1"
;HKR, NDI\params\*PowerMode,                 type,       0, "enum"
;HKR, NDI\params\*PowerMode\enum,            "0",        0, "Continuous Access Mode"
;HKR, NDI\params\*PowerMode\enum,            "1",        0, "Maximum Power Save"

;*************************************************************************

[FWLAN11.CopyFilesXP]
fwlanusbn.sys,fwlanusbn_wxp.sys,,2

[FWLAN11.CopyBin]
fwlanusbn.bin

[FWLAN11.CopyCoinst]
fwusbnci.dll


;*************************************************************************

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

[FWLAN11.EventLog]
Addreg = FWLAN11.AddEventLog.reg

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


;*********************************************************************

[DestinationDirs]
FWLAN11.CopyFilesXP	= 12
FWLAN11.CopyCoinst     =  11
FWLAN11.CopyBin		= 12

[SourceDisksNames]
1=%DISKNAME%,,,

[SourceDisksFiles]
fwlanusbn_wxp.sys = 1
fwusbnci.dll = 1
fwlanusbn.bin = 1

;*********************************************************************

[CoinstInfo]
OriginalInfSourcePath = %01%
