;/*++
;
;Copyright (c) 2013 Qualcomm Atheros Communications Inc.
;
;--*/

[Version]
Signature          = "$Windows NT$"
Provider           = %ProviderName%
Class              = Bluetooth
CLASSGUID          = {e0cbf06c-cd8b-4647-bb8a-263b43f0f974};
DriverVer          = 11/09/2016,10.0.1.13
CatalogFile.NT     = qca_btusb.cat

[DestinationDirs]
Btfilter.Files     = 12

[ControlFlags]
ExcludeFromSelect=*

[SourceDisksNames]
1=%SourceDisk%,,1

[SourceDisksFiles]
btfilter.sys = 1,,
AtherosBT.bin = 1,,
AthrBT_0x01020200.dfu = 1,,
AthrBT_0x01020201.dfu = 1,,
AthrBT_0x11020000.dfu = 1,,
AthrBT_0x11020100.dfu = 1,,
AthrBT_0x31010000.dfu = 1,,
AthrBT_0x31010000_ss01.dfu = 1,,
AthrBT_0x31010100.dfu = 1,,
ramps_0x01020200_26.dfu = 1,,
ramps_0x01020200_26_0x01.dfu = 1,,
ramps_0x01020200_40.dfu = 1,,
ramps_0x01020200_40_0x01.dfu = 1,,
ramps_0x01020200_40_0x02.dfu = 1,,
ramps_0x01020200_40_0x03.dfu = 1,,
ramps_0x01020200_40_0x04.dfu = 1,,
ramps_0x01020201_26.dfu = 1,,
ramps_0x01020201_26_0x01.dfu = 1,,
ramps_0x01020201_40.dfu = 1,,
ramps_0x01020201_40_0x01.dfu = 1,,
ramps_0x01020201_40_0x02.dfu = 1,,
ramps_0x01020201_40_0x03.dfu = 1,,
ramps_0x01020201_40_0x04.dfu = 1,,
ramps_0x11020000_40.dfu = 1,,
ramps_0x11020100_40.dfu = 1,,
ramps_0x11020100_40_nf01.dfu = 1,,
ramps_0x11020100_40_SS01.dfu = 1,,
ramps_0x31010000_40.dfu = 1,,
ramps_0x31010000_40_0x01.dfu = 1,,
ramps_0x31010000_40_0x11.dfu = 1,,
ramps_0x31010000_40_0x12.dfu = 1,,
ramps_0x31010000_40_0x21.dfu = 1,,
ramps_0x31010000_40_0x22.dfu = 1,,
ramps_0x31010000_40_0xf0.dfu = 1,,
ramps_0x31010000_40_0xf1.dfu = 1,,
ramps_0x31010000_40_LV01.dfu = 1,,
ramps_0x31010000_40_SS01.dfu = 1,,
ramps_0x31010100_40.dfu = 1,,
ramps_0x31010100_40_0x01.dfu = 1,,
ramps_0x31010100_40_0xf1.dfu = 1,,

[Manufacturer]
%ManufacturerName% = QCABT,ntamd64

[QCABT.ntamd64]
%VID_0CF3&PID_3002% = QCABTUSB, USB\VID_0CF3&PID_3002
%VID_0CF3&PID_3004% = QCABTUSB, USB\VID_0CF3&PID_3004
%VID_0CF3&PID_817A% = QCABTUSB, USB\VID_0CF3&PID_817A
%VID_0CF3&PID_817B% = QCABTUSB, USB\VID_0CF3&PID_817B
%VID_0CF3&PID_E003% = QCABTUSB, USB\VID_0CF3&PID_E003
%VID_0CF3&PID_E004% = QCABTUSB, USB\VID_0CF3&PID_E004
%VID_0CF3&PID_E005% = QCABTUSB, USB\VID_0CF3&PID_E005
%VID_0CF3&PID_E006% = QCABTUSB, USB\VID_0CF3&PID_E006
%VID_0CF3&PID_0036% = QCABTUSB, USB\VID_0CF3&PID_0036

;Generic OEM sections
[QCABTUSB]
include    = bth.inf
needs      = BthUsb.NT
CopyFiles  = BtFilter.Files

[QCABTUSB.HW]
include    = bth.inf
needs      = BthUsb.NT.HW
AddReg     = BtFilter.HW.AddReg

[QCABTUSB.Services]
include    = bth.inf
needs      = BthUsb.NT.Services
AddService = BtFilter,,BtFilterService

;Service register
[BtFilterService]
DisplayName    = "BtFilter"
ServiceType    = 1 ;KERNEL_DRIVER
StartType      = 3 ;DEMAND START
ErrorControl   = 1 ;ERROR_NORMAL
ServiceBinary  = %12%\btfilter.sys
AddReg         = BtFilter.AddReg

;Registry update
[BtFilter.HW.AddReg]
HKR,,"UpperFilters",0x00010000,"BtFilter"
HKR,,"LowerFilters",0x00010000,"BtFilter"

[BtFilter.AddReg]
HKR,Parameters,BinPath,0x00000,\DosDevices\%12%\AtherosBT.bin
HKR,Parameters,BinFilePath,0x00000,"\DosDevices\%12%\"
HKR,Parameters,BtFilterSSEnable,0x10001,0
HKR,Parameters,DownloadFirmware,0x10001,1
HKR,Parameters,DownloadPatch,0x10001,1
HKR,Parameters,DownloadSysCfg,0x10001,1
;BTFILTER_LE
HKR,LE,dual_mode_type,0x00010003,1
;BTFILTER_PARA
HKR,Parameters,BtFilterPowerWakeEnable,0x00010003,0
HKR,Parameters,BtFilterDeviceDetection,0x00010003,0
HKR,Parameters,BtFilterDebugLevel,0x00010003,1
HKR,Parameters,Bt3MaxRetransmit,0x00010003,0x0000000c
HKR,Parameters,AthBTDeviceDisable,0x00010003,1
HKR,Parameters,ACLBufferSize,0x00010003,0x000005be
HKR,Parameters,ACLBufferNum,0x00010003,0x00000041
HKR,Parameters,StackThreadPriority,0x00010003,0x00000010
HKR,Parameters,BtFilterBlockAclIn,0x00010003,1
HKR,Parameters,BtFilterHoldIFrameSendingBetweenPollingAndFinish,0x00010003,1
HKR,Parameters,Bt3NoFeatureReqInHid,0x00010003,1
HKR,Parameters,GapUseJustwork,0x00010003,1
HKR,Parameters,BtFilterBt3Enable,0x00010003,1
HKR,Parameters,BtFilterSelectiveSuspendEnable,0x00010001,0
HKR,Parameters,BtFilterBootLogEnable,0x00010003,0
HKR,Parameters,BtFilterLogBufSizeByMB,0x00010003,6
HKR,Parameters,BtFilterEl2capDebugLevel,0x00010003,0
HKR,Parameters,BtFilterSSWaitTime,0x00010003,0x00000021
HKR,Parameters,BsodAssert,0x00010003,0
HKR,Parameters,ObexWindows,0x00010003,0x00000011
HKR,Parameters,ObexAckCount,0x00010003,5
HKR,Parameters,BtFilterReconfigEnable,0x00010003,0
HKR,Parameters,BtFilterLEEnabled,0x00010003,0
HKR,Parameters,GattOverBredr,0x00010003,0
HKR,Parameters,GapAdapterEnabled,0x00010003,1
HKR,Parameters,BtFilterLeDebugLevel,0x00010003,0
HKR,Parameters,preboot_mode,0x00010003,1
HKR,Parameters,IsRegLeSdp,0x00010003,0
HKR,Parameters,SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon,0x00010003,1
HKR,Parameters,LeAutoConnection,0x00010003,1
HKR,Parameters,LeScanWindow,0x00010003,1
HKR,Parameters,LeScanInterval,0x00010003,1
HKR,Parameters,Bt3QosVersion,0x00010003,1
HKR,Parameters,QOS_RESERVE_BUF_NUM,0x00010003,5
HKR,Parameters,DevName,0x00000,"\DEVICE\ATHAMPFL"
HKR,Parameters,SymName,0x00000,"\DosDevices\ATHAMPFL"
HKR,Parameters,WorkItemACLOut,0x00010003,1
HKR,Parameters,QOS_RESERVE_BUF_NUM,0x00010003,5
HKR,Parameters,WorkItemACLOut,0x00010003,1
HKR,Parameters,BtFilterPowerWakeEnable,0x00010003,0

;File list
[BtFilter.Files]
btfilter.sys
AtherosBT.bin
AthrBT_0x01020200.dfu
AthrBT_0x01020201.dfu
AthrBT_0x11020000.dfu
AthrBT_0x11020100.dfu
AthrBT_0x31010000.dfu
AthrBT_0x31010000_ss01.dfu
AthrBT_0x31010100.dfu
ramps_0x01020200_26.dfu
ramps_0x01020200_26_0x01.dfu
ramps_0x01020200_40.dfu
ramps_0x01020200_40_0x01.dfu
ramps_0x01020200_40_0x02.dfu
ramps_0x01020200_40_0x03.dfu
ramps_0x01020200_40_0x04.dfu
ramps_0x01020201_26.dfu
ramps_0x01020201_26_0x01.dfu
ramps_0x01020201_40.dfu
ramps_0x01020201_40_0x01.dfu
ramps_0x01020201_40_0x02.dfu
ramps_0x01020201_40_0x03.dfu
ramps_0x01020201_40_0x04.dfu
ramps_0x11020000_40.dfu
ramps_0x11020100_40.dfu
ramps_0x11020100_40_nf01.dfu
ramps_0x11020100_40_SS01.dfu
ramps_0x31010000_40.dfu
ramps_0x31010000_40_0x01.dfu
ramps_0x31010000_40_0x11.dfu
ramps_0x31010000_40_0x12.dfu
ramps_0x31010000_40_0x21.dfu
ramps_0x31010000_40_0x22.dfu
ramps_0x31010000_40_0xf0.dfu
ramps_0x31010000_40_0xf1.dfu
ramps_0x31010000_40_LV01.dfu
ramps_0x31010000_40_SS01.dfu
ramps_0x31010100_40.dfu
ramps_0x31010100_40_0x01.dfu
ramps_0x31010100_40_0xf1.dfu

;Strings
[Strings]
ProviderName       = "Qualcomm"
ManufacturerName   = "Qualcomm"
SourceDisk         = "Windows Vista CD"

VID_0CF3&PID_3002  = "Dell Wireless 1702 Bluetooth v3.0+HS"
VID_0CF3&PID_3004  = "Dell Wireless 1535C Bluetooth Device"
VID_0CF3&PID_817A  = "Dell Wireless 1601 Bluetooth Device"
VID_0CF3&PID_817B  = "Dell Wireless 1601 Bluetooth Device"
VID_0CF3&PID_E003  = "Dell Wireless 1901 Bluetooth"
VID_0CF3&PID_E004  = "Dell Wireless 1703 Bluetooth"
VID_0CF3&PID_E005  = "Qualcomm QCA9565 Bluetooth 4.0"
VID_0CF3&PID_E006  = "Qualcomm QCA9462 Bluetooth 4.0"
VID_0CF3&PID_0036  = "Dell Wireless 1705 Bluetooth"