;.------------------------------------------------------------------.
;|                                                                  |
;| ====== WIQUEST COMMUNICATIONS ================================== |
;|                                                                  |
;| Installation inf for the WiQUest Wireless USB HWA/DWA Solutions  |
;|                                                                  |
;|          (c) Copyright 2006-2007 WiQuest                         |
;|                                                                  |
;| This document contains confidential and proprietary information  |
;| of WiQuest Communications, Inc.  Access to this document is      |
;| restricted to those parties that have a currently in force NDA   |
;| in place with WiQuest and to employees who have signed the       |
;| WiQuest Confidential Information and Assignment of Inventions    |
;| agreement.                                                       |
;|                                                                  |
;'------------------------------------------------------------------'

[Version]
Signature="$Windows NT$"
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
provider=%WIQUEST%
DriverVer=03/31/2008,1.3.171.0
CatalogFile=Lenwusb.cat

[SourceDisksNames.x86]
1=%Disk_Description%,,,

[SourceDisksNames.amd64]
1=%Disk_Description%,,,

[SourceDisksFiles.x86]
WQ_cba.sys = 1
WQ_dwa.sys = 1
WQ_hwa.sys = 1
WQ_ldr.sys = 1
WQ_rci.sys = 1
WQ_cbaf.dfu = 1
WQ_hwa.dfu = 1

[SourceDisksFiles.amd64]
WQ_cba64.sys = 1
WQ_dwa64.sys = 1
WQ_hwa64.sys = 1
WQ_ldr64.sys = 1
WQ_rci64.sys = 1
WQ_cbaf.dfu = 1
WQ_hwa.dfu = 1

[Manufacturer]
%MfgName%=WiQuest,NTx86,NTamd64

[WiQuest]

[WiQuest.NTx86]
;.------------------------------------------------------------------.
;|        BASE HARDWARE LOADER                                      |
;'------------------------------------------------------------------'
;       Evaluation Kit Hardware
%LOADER_HWA_DESC%   = WQ_LDRHWA.Dev,  USB\VID_162F&PID_0201

;       WUSB DONGLE
%LOADER_HWA_DESC%   = WQ_LDRHWA.Dev,  USB\VID_162F&PID_0205

;       WiDV/WUSB PCI Half MiniCard MODULE
%LOADER_HWA_DESC%   = WQ_LDRHWA.Dev,  USB\VID_162F&PID_0245

;.------------------------------------------------------------------.
;|        WUSB DONGLE                                               |
;'------------------------------------------------------------------'
%UWB_GENERIC_DESC%  = WQ_USBUWB.Dev,  USB\VID_162F&PID_0204
%HWA_GENERIC_DESC%  = WQ_USBHWA_D.Dev,  USB\VID_162F&PID_0204&MI_00

;.------------------------------------------------------------------.
;|        WUSB Half MiniCard                                        |
;'------------------------------------------------------------------'
%UWB_GENERIC_DESC%  = WQ_USBUWB.Dev,  USB\VID_162F&PID_0244
%HWA_GENERIC_DESC%  = WQ_USBHWA.Dev,  USB\VID_162F&PID_0244&MI_00


;.------------------------------------------------------------------.
;|        WUSB DEVICE WIRE ADAPTER                                  |
;'------------------------------------------------------------------'
%DWA_BASE_DESC%     = WQ_USBDWA.Dev,  USB\VID_162F&PID_0220
%DWA_BASE_DESC%     = WQ_USBDWA.Dev,  USB\VID_162F&PID_0230

;.------------------------------------------------------------------.
;|        CABLE ASSOCIATION                                         |
;'------------------------------------------------------------------'
%LOADER_CBAF_DESC%  = WQ_LDRCBAF.Dev,  USB\VID_162F&PID_0221
;%CBAF_BASE_DESC%    = WQ_USBCBAF.Dev,  USB\CLASS_EF&SUBCLASS_03&PROT_01
%CBAF_BASE_DESC%    = WQ_USBCBAF.Dev,  USB\VID_162F&PID_0280
%CBAF_BASE_DESC%    = WQ_USBCBAF.Dev,  USB\VID_162F&PID_02A0

;.------------------------------------------------------------------.
;|      Dell Wireless 400 Wireless USB Mini-card -- GOOD VID        |
;'------------------------------------------------------------------'
;       Dell WUSB MiniCard 

%LOADER_HWA_DESC_DELL%     = WQ_LDRHWA.Dev,  USB\VID_413C&PID_8145
%UWB_HWA_DESC_DELL%        = WQ_USBUWB.Dev,  USB\VID_413C&PID_8146
%HWA_GENERIC_DESC_DELL%    = WQ_USBHWA.Dev,  USB\VID_413C&PID_8146&MI_00

;.------------------------------------------------------------------.
;|      LENOVO  WUSB Half MiniCard                                  |
;'------------------------------------------------------------------'
;       LENOVO  WUSB Half MiniCard 
%LOADER_HWA_DESC_LENOVO%   = WQ_LDRHWA.Dev,  USB\VID_162F&PID_4003
%UWB_HWA_DESC_LENOVO%      = WQ_USBUWB.Dev,  USB\VID_162F&PID_4002
%HWA_GENERIC_DESC_LENOVO%  = WQ_USBHWA.Dev,  USB\VID_162F&PID_4002&MI_00

;.------------------------------------------------------------------.
;|      LENOVO  WUSB Half MiniCard - Japan                                  |
;'------------------------------------------------------------------'
;       LENOVO  WUSB Half MiniCard 
%LOADER_HWA_DESC_LENOVO%   = WQ_LDRHWA.Dev,  USB\VID_162F&PID_4005
%UWB_HWA_DESC_LENOVO%      = WQ_USBUWB.Dev,  USB\VID_162F&PID_4004
%HWA_GENERIC_DESC_LENOVO%  = WQ_USBHWA.Dev,  USB\VID_162F&PID_4004&MI_00

;.------------------------------------------------------------------.
;|      BELKIN  WUSB DONGLE                                         |
;'------------------------------------------------------------------'
%LOADER_HWA_DESC_BELKIN%   = WQ_LDRHWA.Dev,  USB\VID_050D&PID_302A
%UWB_HWA_DESC_BELKIN%      = WQ_USBUWB.Dev,  USB\VID_050D&PID_302B
%HWA_GENERIC_DESC_BELKIN%  = WQ_USBHWA_D.Dev,  USB\VID_050D&PID_302B&MI_00

;.------------------------------------------------------------------.
;|       BELKIN WUSB HUB / DEVICE WIRE ADAPTER                      |
;'------------------------------------------------------------------'
%DWA_HUB_DESC_BELKIN%      = WQ_USBDWA.Dev,   USB\VID_050D&PID_302D

;.------------------------------------------------------------------.
;|      BELKIN CABLE ASSOCIATION                                    |
;'------------------------------------------------------------------'
%LOADER_CBAF_DESC_BELKIN%  = WQ_LDRCBAF.Dev,  USB\VID_050D&PID_302C
%CBAF_BASE_DESC_BELKIN%    = WQ_USBCBAF.Dev,  USB\VID_050D&PID_302E

;.------------------------------------------------------------------.
;|      D-Link WUSB DONGLE                                          |
;'------------------------------------------------------------------'
%LOADER_HWA_DESC_DLINK%    = WQ_LDRHWA.Dev,  USB\VID_07D1&PID_3D01
%UWB_HWA_DESC_DLINK%       = WQ_USBUWB.Dev,  USB\VID_07D1&PID_3D02
%HWA_GENERIC_DESC_DLINK%   = WQ_USBHWA_D.Dev,  USB\VID_07D1&PID_3D02&MI_00

;.------------------------------------------------------------------.
;|       D-Link WUSB HUB / DEVICE WIRE ADAPTER                      |
;'------------------------------------------------------------------'
%DWA_HUB_DESC_DLINK%       = WQ_USBDWA.Dev,   USB\VID_07D1&PID_3D04

;.------------------------------------------------------------------.
;|      D-Link CABLE ASSOCIATION                                    |
;'------------------------------------------------------------------'
%LOADER_CBAF_DESC_DLINK%   = WQ_LDRCBAF.Dev,  USB\VID_07D1&PID_3D03
%CBAF_BASE_DESC_DLINK%     = WQ_USBCBAF.Dev,  USB\VID_07D1&PID_3D05


[WiQuest.NTamd64]
;.------------------------------------------------------------------.
;|        BASE HARDWARE LOADER                                      |
;'------------------------------------------------------------------'
;       Evaluation Kit Hardware
%LOADER_HWA_DESC%   = WQ_LDRHWA.Dev,  USB\VID_162F&PID_0201

;       WUSB DONGLE
%LOADER_HWA_DESC%   = WQ_LDRHWA.Dev,  USB\VID_162F&PID_0205

;       WiDV/WUSB PCI Half MiniCard MODULE
%LOADER_HWA_DESC%   = WQ_LDRHWA.Dev,  USB\VID_162F&PID_0245

;.------------------------------------------------------------------.
;|        WUSB DONGLE                                               |
;'------------------------------------------------------------------'
%UWB_GENERIC_DESC%  = WQ_USBUWB.Dev,  USB\VID_162F&PID_0204
%HWA_GENERIC_DESC%  = WQ_USBHWA_D.Dev,  USB\VID_162F&PID_0204&MI_00

;.------------------------------------------------------------------.
;|        WUSB Half MiniCard                                        |
;'------------------------------------------------------------------'
%UWB_GENERIC_DESC%  = WQ_USBUWB.Dev,  USB\VID_162F&PID_0244
%HWA_GENERIC_DESC%  = WQ_USBHWA.Dev,  USB\VID_162F&PID_0244&MI_00


;.------------------------------------------------------------------.
;|        WUSB DEVICE WIRE ADAPTER                                  |
;'------------------------------------------------------------------'
%DWA_BASE_DESC%     = WQ_USBDWA.Dev,  USB\VID_162F&PID_0220
%DWA_BASE_DESC%     = WQ_USBDWA.Dev,  USB\VID_162F&PID_0230

;.------------------------------------------------------------------.
;|        CABLE ASSOCIATION                                         |
;'------------------------------------------------------------------'
%LOADER_CBAF_DESC%  = WQ_LDRCBAF.Dev,  USB\VID_162F&PID_0221
;%CBAF_BASE_DESC%    = WQ_USBCBAF.Dev,  USB\CLASS_EF&SUBCLASS_03&PROT_01
%CBAF_BASE_DESC%    = WQ_USBCBAF.Dev,  USB\VID_162F&PID_0280
%CBAF_BASE_DESC%    = WQ_USBCBAF.Dev,  USB\VID_162F&PID_02A0

;.------------------------------------------------------------------.
;|      Dell Wireless 400 Wireless USB Mini-card -- GOOD VID        |
;'------------------------------------------------------------------'
;       Dell WUSB MiniCard 

%LOADER_HWA_DESC_DELL%     = WQ_LDRHWA.Dev,  USB\VID_413C&PID_8145
%UWB_HWA_DESC_DELL%        = WQ_USBUWB.Dev,  USB\VID_413C&PID_8146
%HWA_GENERIC_DESC_DELL%    = WQ_USBHWA.Dev,  USB\VID_413C&PID_8146&MI_00

;.------------------------------------------------------------------.
;|      LENOVO  WUSB Half MiniCard                                  |
;'------------------------------------------------------------------'
;       LENOVO  WUSB Half MiniCard 
%LOADER_HWA_DESC_LENOVO%   = WQ_LDRHWA.Dev,  USB\VID_162F&PID_4003
%UWB_HWA_DESC_LENOVO%      = WQ_USBUWB.Dev,  USB\VID_162F&PID_4002
%HWA_GENERIC_DESC_LENOVO%  = WQ_USBHWA.Dev,  USB\VID_162F&PID_4002&MI_00

;.------------------------------------------------------------------.
;|      LENOVO  WUSB Half MiniCard - Japan                                  |
;'------------------------------------------------------------------'
;       LENOVO  WUSB Half MiniCard 
%LOADER_HWA_DESC_LENOVO%   = WQ_LDRHWA.Dev,  USB\VID_162F&PID_4005
%UWB_HWA_DESC_LENOVO%      = WQ_USBUWB.Dev,  USB\VID_162F&PID_4004
%HWA_GENERIC_DESC_LENOVO%  = WQ_USBHWA.Dev,  USB\VID_162F&PID_4004&MI_00

;.------------------------------------------------------------------.
;|      BELKIN  WUSB DONGLE                                         |
;'------------------------------------------------------------------'
%LOADER_HWA_DESC_BELKIN%   = WQ_LDRHWA.Dev,  USB\VID_050D&PID_302A
%UWB_HWA_DESC_BELKIN%      = WQ_USBUWB.Dev,  USB\VID_050D&PID_302B
%HWA_GENERIC_DESC_BELKIN%  = WQ_USBHWA_D.Dev,  USB\VID_050D&PID_302B&MI_00

;.------------------------------------------------------------------.
;|       BELKIN WUSB HUB / DEVICE WIRE ADAPTER                      |
;'------------------------------------------------------------------'
%DWA_HUB_DESC_BELKIN%      = WQ_USBDWA.Dev,   USB\VID_050D&PID_302D

;.------------------------------------------------------------------.
;|      BELKIN CABLE ASSOCIATION                                    |
;'------------------------------------------------------------------'
%LOADER_CBAF_DESC_BELKIN%  = WQ_LDRCBAF.Dev,  USB\VID_050D&PID_302C
%CBAF_BASE_DESC_BELKIN%    = WQ_USBCBAF.Dev,  USB\VID_050D&PID_302E

;.------------------------------------------------------------------.
;|      D-Link WUSB DONGLE                                          |
;'------------------------------------------------------------------'
%LOADER_HWA_DESC_DLINK%    = WQ_LDRHWA.Dev,  USB\VID_07D1&PID_3D01
%UWB_HWA_DESC_DLINK%       = WQ_USBUWB.Dev,  USB\VID_07D1&PID_3D02
%HWA_GENERIC_DESC_DLINK%   = WQ_USBHWA_D.Dev,  USB\VID_07D1&PID_3D02&MI_00

;.------------------------------------------------------------------.
;|       D-Link WUSB HUB / DEVICE WIRE ADAPTER                      |
;'------------------------------------------------------------------'
%DWA_HUB_DESC_DLINK%       = WQ_USBDWA.Dev,   USB\VID_07D1&PID_3D04

;.------------------------------------------------------------------.
;|      D-Link CABLE ASSOCIATION                                    |
;'------------------------------------------------------------------'
%LOADER_CBAF_DESC_DLINK%   = WQ_LDRCBAF.Dev,  USB\VID_07D1&PID_3D03
%CBAF_BASE_DESC_DLINK%     = WQ_USBCBAF.Dev,  USB\VID_07D1&PID_3D05


[DestinationDirs]
DefaultDestDir        = 12              ; "windows\System32\Drivers"

;.------------------------------------------------------------------.
;|        USB DFU HARDWARE LOADER SERVICE                           |
;'------------------------------------------------------------------'
[WQ_USBLOAD.AddService]
DisplayName    = %LOADER_SVC_DESC%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\WQ_ldr.sys
AddReg         = WQ_USBLOAD.AddReg
LoadOrderGroup = Base

[WQ_USBLOAD.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,WQ_ldr.sys
HKR,"Parameters","DebugLevel",%REG_DWORD%,2

;.------------------------------------------------------------------.
;|        CBAF HARDWARE LOADER SERVICE                              |
;'------------------------------------------------------------------'
[WQ_LDRCBAF.CopyFiles.NTx86]
WQ_ldr.sys,,,%FILE_COPY_FLAGS%
WQ_cbaf.dfu,,,%FILE_COPY_FLAGS%

[WQ_LDRCBAF.CopyFiles.NTamd64]
WQ_ldr.sys,WQ_ldr64.sys,,%FILE_COPY_FLAGS%
WQ_cbaf.dfu,,,%FILE_COPY_FLAGS%

[WQ_LDRCBAF.Dev.NTx86]
CopyFiles=WQ_LDRCBAF.CopyFiles.NTx86

[WQ_LDRCBAF.Dev.NTamd64]
CopyFiles=WQ_LDRCBAF.CopyFiles.NTamd64

[WQ_LDRCBAF.Dev.NTx86.HW]
AddReg=WQ_LDRCBAF.HW.AddReg

[WQ_LDRCBAF.Dev.NTamd64.HW]
AddReg=WQ_LDRCBAF.HW.AddReg

[WQ_LDRCBAF.HW.AddReg]
HKR,,"UsbLoadEnable",%REG_DWORD%,1
HKR,,"DFUFile",%REG_SZ%,"\SystemRoot\SYSTEM32\Drivers\WQ_cbaf.dfu"

[WQ_LDRCBAF.Dev.NTx86.Services]
Addservice = WQ_USBLOAD, 0x00000002, WQ_USBLOAD.AddService

[WQ_LDRCBAF.Dev.NTamd64.Services]
Addservice = WQ_USBLOAD, 0x00000002, WQ_USBLOAD.AddService

;.------------------------------------------------------------------.
;|        HWA HARDWARE LOADER SERVICE                               |
;'------------------------------------------------------------------'
[WQ_LDRHWA.CopyFiles.NTx86]
WQ_ldr.sys,,,%FILE_COPY_FLAGS%
WQ_cbaf.dfu,,,%FILE_COPY_FLAGS%
WQ_hwa.dfu,,,%FILE_COPY_FLAGS%

[WQ_LDRHWA.CopyFiles.NTamd64]
WQ_ldr.sys,WQ_ldr64.sys,,%FILE_COPY_FLAGS%
WQ_cbaf.dfu,,,%FILE_COPY_FLAGS%
WQ_hwa.dfu,,,%FILE_COPY_FLAGS%

[WQ_LDRHWA.Dev.NTx86]
CopyFiles=WQ_LDRHWA.CopyFiles.NTx86

[WQ_LDRHWA.Dev.NTamd64]
CopyFiles=WQ_LDRHWA.CopyFiles.NTamd64

[WQ_LDRHWA.Dev.NTx86.HW]
AddReg=WQ_LDRHWA.HW.AddReg

[WQ_LDRHWA.Dev.NTamd64.HW]
AddReg=WQ_LDRHWA.HW.AddReg

[WQ_LDRHWA.HW.AddReg]
HKR,,"UsbLoadEnable",%REG_DWORD%,1
HKR,,"DFUFile",%REG_SZ%,"\SystemRoot\SYSTEM32\Drivers\WQ_hwa.dfu"

[WQ_LDRHWA.Dev.NTx86.Services]
Addservice = WQ_USBLOAD, 0x00000002, WQ_USBLOAD.AddService

[WQ_LDRHWA.Dev.NTamd64.Services]
Addservice = WQ_USBLOAD, 0x00000002, WQ_USBLOAD.AddService

;.------------------------------------------------------------------.
;|        ULTRAWIDEBAND BASE SERVICE                                |
;'------------------------------------------------------------------'
[WQ_USBUWB.CopyFiles.NTx86]
WQ_rci.sys,,,%FILE_COPY_FLAGS%

[WQ_USBUWB.CopyFiles.NTamd64]
WQ_rci.sys,WQ_rci64.sys,,%FILE_COPY_FLAGS%

[WQ_USBUWB.Dev.NTx86]
CopyFiles=WQ_USBUWB.CopyFiles.NTx86

[WQ_USBUWB.Dev.NTamd64]
CopyFiles=WQ_USBUWB.CopyFiles.NTamd64

[WQ_USBUWB.Dev.NTx86.HW]
AddReg=WQ_USBUWB.HW.AddReg

[WQ_USBUWB.Dev.NTamd64.HW]
AddReg=WQ_USBUWB.HW.AddReg

[WQ_USBUWB.HW.AddReg]
HKR,,"DefaultChannelSearch",%REG_BINARY%,D,E,F,9,A,B,C
HKR,,"MaxBeaconLoss",%REG_DWORD%,0

[WQ_USBUWB.Dev.NTx86.Services]
Addservice = WQ_USBRCI, 0x00000002, WQ_USBUWB.AddService

[WQ_USBUWB.Dev.NTamd64.Services]
Addservice = WQ_USBRCI, 0x00000002, WQ_USBUWB.AddService

[WQ_USBUWB.AddService]
DisplayName    = %UWB_SVC_DESC%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\WQ_rci.sys
AddReg         = WQ_USBUWB.AddReg
LoadOrderGroup = Base

[WQ_USBUWB.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,WQ_rci.sys
HKR,"Parameters","DebugLevel",%REG_DWORD%,1
HKR,"Parameters","MaximumTransferSize",%REG_DWORD%,4096

;.------------------------------------------------------------------.
;|        WUSB HWA SERVICE - HMC/MC                                 |
;'------------------------------------------------------------------'
[WQ_USBHWA.CopyFiles.NTx86]
WQ_hwa.sys,,,%FILE_COPY_FLAGS%

[WQ_USBHWA.CopyFiles.NTamd64]
WQ_hwa.sys,WQ_hwa64.sys,,%FILE_COPY_FLAGS%

[WQ_USBHWA.Dev.NTx86]
CopyFiles=WQ_USBHWA.CopyFiles.NTx86

[WQ_USBHWA.Dev.NTamd64]
CopyFiles=WQ_USBHWA.CopyFiles.NTamd64

[WQ_USBHWA.Dev.NTx86.HW]
AddReg=WQ_USBHWA.HW.AddReg

[WQ_USBHWA.Dev.NTamd64.HW]
AddReg=WQ_USBHWA.HW.AddReg

[WQ_USBHWA.HW.AddReg]
HKR,,"PollIterationCount",%REG_DWORD%,1
HKR,,"SecsToIncrease",%REG_DWORD%,50
HKR,,"MaxSleepTime",%REG_DWORD%,50
HKR,,"MaximumTransferSize",%REG_DWORD%,65536
HKR,,"SMDisable",%REG_DWORD%,0
HKR,,"PhyRate",%REG_DWORD%,0
HKR,,"AutoDataFetch",%REG_DWORD%,1
HKR,,"AutoSegmentation",%REG_DWORD%,0
HKR,,"DisableTrComplete",%REG_DWORD%,1
HKR,,"AutoRateControl",%REG_DWORD%,1
HKR,,"SelSuspSetting",%REG_DWORD%,1

[WQ_USBHWA.Dev.NTx86.Services]
Addservice = WQ_USBHWA, 0x00000002, WQ_USBHWA.AddService

[WQ_USBHWA.Dev.NTamd64.Services]
Addservice = WQ_USBHWA, 0x00000002, WQ_USBHWA.AddService

[WQ_USBHWA.AddService]
DisplayName    = %HWA_SVC_DESC%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\WQ_hwa.sys
AddReg         = WQ_USBHWA.AddReg
LoadOrderGroup = Base

[WQ_USBHWA.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,WQ_hwa.sys
HKR,"Parameters","DebugLevel",%REG_DWORD%,1

;.------------------------------------------------------------------.
;|        WUSB HWA SERVICE - DONGLE                                 |
;'------------------------------------------------------------------'
[WQ_USBHWA_D.Dev.NTx86]
CopyFiles=WQ_USBHWA.CopyFiles.NTx86

[WQ_USBHWA_D.Dev.NTamd64]
CopyFiles=WQ_USBHWA.CopyFiles.NTamd64

[WQ_USBHWA_D.Dev.NTx86.HW]
AddReg=WQ_USBHWA_D.HW.AddReg

[WQ_USBHWA_D.Dev.NTamd64.HW]
AddReg=WQ_USBHWA_D.HW.AddReg

[WQ_USBHWA_D.HW.AddReg]
HKR,,"MaximumTransferSize",%REG_DWORD%,65536
HKR,,"SMDisable",%REG_DWORD%,0
HKR,,"PhyRate",%REG_DWORD%,4
HKR,,"AutoDataFetch",%REG_DWORD%,1
HKR,,"AutoSegmentation",%REG_DWORD%,0
HKR,,"DisableTrComplete",%REG_DWORD%,1
HKR,,"AutoRateControl",%REG_DWORD%,1
HKR,,"SelSuspSetting",%REG_DWORD%,0

[WQ_USBHWA_D.Dev.NTx86.Services]
Addservice = WQ_USBHWA, 0x00000002, WQ_USBHWA.AddService

[WQ_USBHWA_D.Dev.NTamd64.Services]
Addservice = WQ_USBHWA, 0x00000002, WQ_USBHWA.AddService

;.------------------------------------------------------------------.
;|        WUSB DWA SERVICE                                          |
;'------------------------------------------------------------------'
[WQ_USBDWA.CopyFiles.NTx86]
WQ_dwa.sys,,,%FILE_COPY_FLAGS%

[WQ_USBDWA.CopyFiles.NTamd64]
WQ_dwa.sys,WQ_dwa64.sys,,%FILE_COPY_FLAGS%

[WQ_USBDWA.Dev.NTx86]
CopyFiles=WQ_USBDWA.CopyFiles.NTx86

[WQ_USBDWA.Dev.NTamd64]
CopyFiles=WQ_USBDWA.CopyFiles.NTamd64

[WQ_USBDWA.Dev.NTx86.HW]
AddReg=WQ_USBDWA.HW.AddReg
 
[WQ_USBDWA.Dev.NTamd64.HW]
AddReg=WQ_USBDWA.HW.AddReg

[WQ_USBDWA.HW.AddReg]
HKR,,"MaximumTransferSize",%REG_DWORD%,65536
HKR,,"PhyRate",%REG_DWORD%,0
HKR,,"DisablePortMask",%REG_DWORD%,0
HKR,,"AutoSegmentation",%REG_DWORD%,0
HKR,,"DisableTrComplete",%REG_DWORD%,1
HKR,,"SelSuspSetting",%REG_DWORD%,0

[WQ_USBDWA.Dev.NTx86.Services]
Addservice = WQ_USBDWA, 0x00000002, WQ_USBDWA.AddService

[WQ_USBDWA.Dev.NTamd64.Services]
Addservice = WQ_USBDWA, 0x00000002, WQ_USBDWA.AddService

[WQ_USBDWA.AddService]
DisplayName    = %DWA_SVC_DESC%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\WQ_dwa.sys
AddReg         = WQ_USBDWA.AddReg
LoadOrderGroup = Base

[WQ_USBDWA.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,WQ_dwa.sys
HKR,"Parameters","DebugLevel",%REG_DWORD%,1

;.------------------------------------------------------------------.
;|        WUSB CBAF SERVICE                                         |
;'------------------------------------------------------------------'
[WQ_USBCBAF.CopyFiles.NTx86]
WQ_cba.sys,,,%FILE_COPY_FLAGS%

[WQ_USBCBAF.CopyFiles.NTamd64]
WQ_cba.sys,WQ_cba64.sys,,%FILE_COPY_FLAGS%

[WQ_USBCBAF.Dev.NTx86]
CopyFiles=WQ_USBCBAF.CopyFiles.NTx86

[WQ_USBCBAF.Dev.NTamd64]
CopyFiles=WQ_USBCBAF.CopyFiles.NTamd64

[WQ_USBCBAF.Dev.NTx86.Services]
Addservice = WQ_USBCBAF, 0x00000002, WQ_USBCBAF.AddService

[WQ_USBCBAF.Dev.NTamd64.Services]
Addservice = WQ_USBCBAF, 0x00000002, WQ_USBCBAF.AddService

[WQ_USBCBAF.AddService]
DisplayName    = %CBAF_SVC_DESC%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\WQ_cba.sys
AddReg         = WQ_USBCBAF.AddReg
LoadOrderGroup = Base

[WQ_USBCBAF.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,WQ_cba.sys
HKR,"Parameters","DebugLevel",%REG_DWORD%,2
HKR,"Parameters","SMDisable",%REG_DWORD%,1

;.------------------------------------------------------------------.
;|        STRING DEFINITIONS                                        |
;'------------------------------------------------------------------'
[Strings]
WIQUEST           = "WiQuest"
MfgName           = "WiQuest Communications"
Disk_Description  = "Wiquest WUSB Installation Disk"

; Registry Type Strings
REG_EXPAND_SZ     = 0x00020000
REG_DWORD         = 0x00010001
REG_SZ            = 0x00000000
REG_MULTI_SZ      = 0x00010000
REG_BINARY        = 0x00000001

FILE_COPY_FLAGS   = 0x00000006 ; COPYFLG_NOVERSIONCHECK | COPYFLG_NOSKIP

; Device Description Strings
;       Generic Strings
HWA_GENERIC_DESC  = "WiQuest WQST110 Host Wire Adapter"
UWB_GENERIC_DESC  = "WiQuest WQST110 UltraWideBand Adapter"

;       WUSB HWA
LOADER_HWA_DESC   = "WiQuest WQST110 HWA WUSB Device"

;       Cable Association Device
LOADER_CBAF_DESC  = "WiQuest Cable Association Device"
CBAF_BASE_DESC    = "WiQuest Cable Association Interface"

;       WUSB DWA
DWA_BASE_DESC     = "WiQuest WQST110 Device Wire Adapter"

; Service Description Strings
LOADER_SVC_DESC   = "WiQuest WUSB Loader driver"
HWA_SVC_DESC      = "WiQuest Host Wire Adapter driver"
UWB_SVC_DESC      = "WiQuest UltraWideBand driver"
DWA_SVC_DESC      = "WiQuest Device Wire Adapter driver"
CBAF_SVC_DESC     = "WiQuest Cable Association driver"

;      Dell Generic Strings
LOADER_HWA_DESC_DELL       = "Dell Wireless 400 Wireless USB Mini-card"
UWB_HWA_DESC_DELL          = "Dell Wireless 400 Wireless USB Mini-card"
HWA_GENERIC_DESC_DELL      = "Dell Wireless 400 Host Wire Adapter"

;      LENOVO Generic Strings
LOADER_HWA_DESC_LENOVO     = "Lenovo WQST110 WUSB Device"
UWB_HWA_DESC_LENOVO        = "Lenovo WQST110 UltraWideBand Interface"
HWA_GENERIC_DESC_LENOVO    = "Lenovo WQST110 Host Wire Adapter"

;      BELKIN  WUSB Half MiniCard
LOADER_HWA_DESC_BELKIN     = "Belkin Wireless USB HWA"
UWB_HWA_DESC_BELKIN        = "Belkin UltraWideBand Adapter"
HWA_GENERIC_DESC_BELKIN    = "Belkin Host Wire Adapter"

;      BELKIN  Cable Association Device
LOADER_CBAF_DESC_BELKIN    = "Belkin Cable Association Device"
CBAF_BASE_DESC_BELKIN      = "Belkin Cable Association Interface"

;      BELKIN Wireless USB Device
DWA_HUB_DESC_BELKIN        = "Belkin Wireless USB Hub"

;      D-Link  WUSB Half MiniCard
LOADER_HWA_DESC_DLINK      = "D-Link Wireless USB HWA"
UWB_HWA_DESC_DLINK         = "D-Link UltraWideBand Adapter"
HWA_GENERIC_DESC_DLINK     = "D-Link Host Wire Adapter"

;      D-Link  Cable Association Device
LOADER_CBAF_DESC_DLINK     = "D-Link Cable Association Device"
CBAF_BASE_DESC_DLINK       = "D-Link Cable Association Interface"

;      D-Link Wireless USB Device
DWA_HUB_DESC_DLINK         = "D-Link Wireless USB Hub"

