;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; File:        qc5gnrcoexmgr.inx
;  
; Description: INF file for installing the qc5gnrcoexmgr Driver      
;    
; Copyright( c) 2020-2023 Qualcomm Technologies, Inc.
; All Rights Reserved.
; Confidential and Proprietary - Qualcomm Technologies, Inc.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Version]
Signature   = "$Windows NT$"
Class       =  SYSTEM
ClassGuid   =  %SystemClassGuid%
Provider    =  %ProviderName%
CatalogFile =  surface_5gnrcoexmgr.cat
DriverVer = 08/28/2024,0.0.433.0
PnpLockdown = 1

[Manufacturer]
%ManufacturerName%=Standard,NTamd64.10.0...19041

[Standard.NTamd64.10.0...19041]
%DeviceName%=qc5gnrcoexmgr_Install, {05C9354C-AFD7-40BE-8B68-323EC7FFF97D}\Qc5GNRCoexMgr_MSFT_DE

[SourceDisksFiles]
qc5gnrcoexmgr.dll = 1

[SourceDisksNames]
1 = %DiskName%

; =================== UMDF Device ==================================

[qc5gnrcoexmgr_Install.NT]
CopyFiles=UMDriverCopy
Include=Include=WUDFRD.inf
Needs=WUDFRD.NT

[qc5gnrcoexmgr_Install.NT.Services]
Include=WUDFRD.inf
Needs=WUDFRD.NT.Services

[qc5gnrcoexmgr_Install.NT.CoInstallers]
AddReg=CoInstallers_AddReg

[qc5gnrcoexmgr_Install.NT.HW]
AddReg= qc5gnrcoexmgr_Inst_HW_AddReg
Include=WUDFRD.inf
Needs=WUDFRD.NT.HW

[qc5gnrcoexmgr_Inst_HW_AddReg]
HKR,"WDF","WdfDirectedPowerTransitionEnable",0x00010001,1
;default set to WLAN priority, can be modified in extension inf.
HKR,,QC5GHzPriority,%REG_DWORD%,2
;setting below registry to 1 will hide the device on UI.
HKR,,DisplayInUIDisabled,%REG_DWORD%,0


[qc5gnrcoexmgr_Install.NT.Wdf]
UmdfService                = qc5gnrcoexmgr,qc5gnrcoexmgr_Install
UmdfServiceOrder           = qc5gnrcoexmgr
UmdfHostProcessSharing     = ProcessSharingDisabled
UmdfKernelModeClientPolicy = AllowKernelModeClients

[qc5gnrcoexmgr_Install]
UmdfLibraryVersion = 2.15.0 
ServiceBinary      = %13%\qc5gnrcoexmgr.dll
AddReg             = qc5gnrcoexmgr_AddReg

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WUDFCoinstaller.dll"

[qc5gnrcoexmgr_AddReg]
HKR,Parameters,5GNrCoexMgrClassGuid,%REG_SZ%, %SystemClassGuid%
HKR,Parameters,5GNrCoexMgrDeviceID,%REG_SZ%, %DeviceID%

[DestinationDirs]
UMDriverCopy	= 13     ; Driverstore

[UMDriverCopy]
qc5gnrcoexmgr.dll

; =================== Generic ==================================

[Strings]
ProviderName      = "Surface"
ManufacturerName  = "Microsoft"
ClassName         = "SYSTEM" 
DiskName          = "Qualcomm 5GNRCoexMgr Installation Disk"
WudfRdDisplayName = "Qualcomm 5GNRCoexMgr Device"
DeviceName        = "Qualcomm 5GNrCoexMgr Modem Device"
REG_SZ            = 0x00000000
SystemClassGuid   = "{4d36e97d-e325-11ce-bfc1-08002be10318}"
DeviceID          = "{05C9354C-AFD7-40BE-8B68-323EC7FFF97D}\Qc5GNRCoexMgr_MSFT_DE" ; TODO: edit hw-id
REG_DWORD         = 0x00010001
