; Copyright (c) 2013 Qualcomm Technologies, Inc.
; All Rights Reserved.
; Qualcomm Technologies Proprietary and Confidential.

[Version]
Signature          = "$Windows NT$"
Provider           = %ProviderName%
Class              = Bluetooth
CLASSGUID          = {e0cbf06c-cd8b-4647-bb8a-263b43f0f974};
DriverVer=06/20/2018,10.0.3.17
CatalogFile.NT     = btfilter.cat

[DestinationDirs]
Btfilter.Files     = 12

[ControlFlags]
ExcludeFromSelect = *

[SourceDisksNames]
1 = %SourceDisk%,,1

[SourceDisksFiles]
btfilter.sys = 1,,
AthrBT_0x31010100.dfu = 1,,
ramps_0x31010100_40.dfu = 1,,
ramps_0x31010100_40_0x01.dfu = 1,,
ramps_0x31010100_40_0xf1.dfu = 1,,
AthrBT_0x31010000.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,,
AdminService.exe = 1,,

[Manufacturer]
%ManufacturerName% = QCABT,NT

[QCABT.NT]
%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
AddService = AtherosSvc,0x00000800,Adminservice


[BtFilter.HW.AddReg]
HKR,,"UpperFilters",0x00010000,"BtFilter"
HKR,,"LowerFilters",0x00010000,"BtFilter"
;HKR,,"VsMsftOpCode",0x00010001,0xFD70
HKR,,"EnableDeviceErrorRecovery",0x00010001,1

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

[Adminservice]
DisplayName    = "AtherosSvc"
ServiceType    = 0x10 ; SERVICE_WIN32_OWN_PROCESS
StartType      = 2 ; SERVICE_AUTO_START
ErrorControl   = 0 ; ERROR_NORMAL
ServiceBinary  = %12%\AdminService.exe

[BtFilter.AddReg]
HKR,Parameters,FirmwareBinFolder,0x00000,"\SystemRoot\System32\drivers\"
HKR,Parameters,BtFilterWakeUpEnable,0x00010003,0
HKR,Parameters,BtFilterDeviceDetection,0x00010003,0
HKR,Parameters,DownloadFirmwareFlags,0x00010001,7

;Common sections
[BtFilter.Files]
btfilter.sys
AthrBT_0x31010100.dfu
ramps_0x31010100_40.dfu
ramps_0x31010100_40_0x01.dfu
ramps_0x31010100_40_0xf1.dfu
AthrBT_0x31010000.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
AdminService.exe


[Strings]
ProviderName       = "Qualcomm"
ManufacturerName   = "Qualcomm"
SourceDisk         = "Qualcomm Atheros 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"
