;/*++
;
;Copyright (c) 2009-2013 Realtek Semiconductor Corporation All rights Reserved
;
;Module Name:
;
;    Btfilter.INF
;--*/
[Version]
Signature   = "$WINDOWS NT$"
Class=Bluetooth
CLASSGUID={e0cbf06c-cd8b-4647-bb8a-263b43f0f974}
CatalogFile= RtkFilter.cat
Provider    = %REALTEK%
DriverVer = 04/03/2018,1.5.1012.3
;*************************
; Source file information
;*************************
[SourceDisksNames]
1 = %DiskId1%,,,""
[SourceDisksFiles]
RtkBtfilter.sys         = 1,,
rtl8723b_mp_chip_bt40_fw_asic_rom_patch_new.dll             =   1
rtl8723b_mp_chip_bt40_fw_asic_rom_patch_new_s1.dll          =   1
rtl8723d_mp_chip_bt40_fw_asic_rom_patch_new.dll             =   1
rtl8822b_mp_chip_bt40_fw_asic_rom_patch_new.dll             =   1
rtl8821c_mp_chip_bt40_fw_asic_rom_patch_new.dll             =   1
;*************************
; Destination information
;*************************
[DestinationDirs]
RsBthFilter.CopyList = 12
RsBthpatch.CopyList = 10
[RsBthFilter.CopyList]
RtkBtfilter.sys
[RsBthpatch.CopyList]
rtl8723b_mp_chip_bt40_fw_asic_rom_patch_new.dll,,,0x00002000
rtl8723b_mp_chip_bt40_fw_asic_rom_patch_new_s1.dll,,,0x00002000
rtl8723d_mp_chip_bt40_fw_asic_rom_patch_new.dll,,,0x00002000
rtl8822b_mp_chip_bt40_fw_asic_rom_patch_new.dll,,,0x00002000
rtl8821c_mp_chip_bt40_fw_asic_rom_patch_new.dll,,,0x00002000
;*************************
; Manufacturer information
;*************************
[Manufacturer]
%REALTEK% = Realtek,NTamd64.10.0
;We only support Vista and later
[Realtek]                                                                  
%HPNew.DeviceDesc%		=	RsBthFilter, USB\VID_0BDA&PID_B009
%HPNew.DeviceDesc%		=	RsBthFilter, USB\VID_0BDA&PID_B00A
%HPNew.DeviceDesc%		=	RsBthFilter, USB\VID_0BDA&PID_B00B
%HPNew.DeviceDesc%		=	RsBthFilter, USB\VID_0BDA&PID_C025
%HP.DeviceDesc%			=	RsBthFilter8723BE, USB\VID_0BDA&PID_B001
%HP.DeviceDesc%			=	RsBthFilter8723BE, USB\VID_0BDA&PID_B006
%HP.DeviceDesc%		        =	RsBthFilter8723BE, USB\VID_0BDA&PID_B008
[Realtek.NTamd64.10.0]
%HP.DeviceDesc%			=	RsBthFilter8723BE, USB\VID_0BDA&PID_B001   	   ;for HP
%HP.DeviceDesc%			=	RsBthFilter8723BE, USB\VID_0BDA&PID_B006         ;for HP
%HP.DeviceDesc%		        =	RsBthFilter8723BE, USB\VID_0BDA&PID_B008   	   ;for HP
%HPNew.DeviceDesc%		=	RsBthFilter, USB\VID_0BDA&PID_B009          ;8723DE for HP
%HPNew.DeviceDesc%		=	RsBthFilter, USB\VID_0BDA&PID_B00A          ;8821CE for HP
%HPNew.DeviceDesc%		=	RsBthFilter, USB\VID_0BDA&PID_B00B          ;8822BE for HP
%HPNew.DeviceDesc%		=	RsBthFilter, USB\VID_0BDA&PID_C025          ;8821CE for HP
[RsBthFilter8723BE.NT]
Include=bth.inf
Needs=BthUsb.NT
CopyFiles=RsBthFilter.CopyList
CopyFiles=RsBthpatch.CopyList
[RsBthFilter8723BE.NT.HW]
include    = bth.inf
needs      = BthUsb.NT.HW
AddReg=RsBthFilter8723BE.NT.HW.Reg
[RsBthFilter8723BE.NT.HW.Reg]
HKR, , LowerFilters, 0x00010000, RtkBtFilter
HKR, ,"RemoteWakeEnabled",0x00010001,1
HKR, ,"DeviceRemoteWakeSupported",0x00010001,1
[RsBthFilter8723BE.NT.Services]
include    = bth.inf
needs      = BthUsb.NT.Services
;Addservice = BTHUSB, 0x00000002, BthUsb_Service_Inst, BthUsb_EventLog_Inst
;Addservice = BTHPORT, , BthPort_Service_Inst, BthPort_EventLog_Inst
AddService = RtkBtFilter, , RtkBtFilter_Service_Inst
[RsBthFilter.NT]
Include=bth.inf
Needs=BthUsb.NT
CopyFiles=RsBthFilter.CopyList
CopyFiles=RsBthpatch.CopyList
[RsBthFilter.NT.HW]
include    = bth.inf
needs      = BthUsb.NT.HW
AddReg=RsBthFilter.NT.HW.Reg
[RsBthFilter.NT.HW.Reg]
HKR, , LowerFilters, 0x00010000, RtkBtFilter
HKR, ,"RemoteWakeEnabled",0x00010001,1
HKR, ,"DeviceRemoteWakeSupported",0x00010001,1
HKR, ,"VsMsftOpCode",0x00010001,0Xfcf0
[RsBthFilter.NT.Services]
include    = bth.inf
needs      = BthUsb.NT.Services
;Addservice = BTHUSB, 0x00000002, BthUsb_Service_Inst, BthUsb_EventLog_Inst
;Addservice = BTHPORT, , BthPort_Service_Inst, BthPort_EventLog_Inst
AddService = RtkBtFilter, , RtkBtFilter_Service_Inst
[RtkBtFilter_Service_Inst]
DisplayName     = %BtFilt.SvcDesc%                            
ServiceType     = 1                  ; SERVICE_KERNEL_DRIVER
StartType       = 3                  ; SERVICE_DEMAND_START
ErrorControl    = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\RtkBtfilter.sys                            
LoadOrderGroup = PNP Filter  
AddReg=RsBthFilter_Services_Inst_AddReg
[RsBthFilter_Services_Inst_AddReg]
HKR,"Parameters","bPatchInSystemRoot",0x00010001,1    ; SetBit
;HKR,"Parameters","bPatchInSystemRoot",0x00010001,0    ; ClearBit
;*****************************************
; Bluetooth Filter String Section
;*****************************************
[Strings]
REALTEK		= "Realtek Semiconductor Corp."
DiskId1			= "Realtek Bluetooth Filter Installation Disk #1"
BtFilt.SvcDesc		= "Realtek Bluetooth Filter Driver"
HP.DeviceDesc		= "Realtek Bluetooth 4.0 Adapter"
HPNew.DeviceDesc		= "Realtek Bluetooth 4.2 Adapter"
