;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; File:        QmuxMdm.inf
;  
; Description: INF file for installing the Qualcomm GPS QmuxMdm Driver
;    
; Copyright (c) 2018 by Qualcomm Technologies, Inc. All Rights Reserved.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Version]
Signature="$WINDOWS NT$"
Class=SYSTEM
ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
Provider=%ProviderName%
CatalogFile=surface_QmuxMdm.cat
DriverVer = 07/29/2024,0.0.425.0
PnpLockdown=1


[SourceDisksNames]
1 = %DiskName%,,,""

[SourceDisksFiles]
qcqmux.sys  = 1
qcqmuxpcie.sys=1
;


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

[Standard.NTamd64.10.0...19041]
%Qmux.DeviceDesc%=Qmux_Device_Pcie, {B82F6C5F-E258-49B8-B4EA-84E1BB830B50}\QcQmux_MSFT_DE

[Qmux_Device_Pcie.NT.Services]
AddService = Qmux,%SPSVCINST_ASSOCSERVICE%,Qmux.Service
AddService = QmuxPcie,,QmuxPcie.Service


[Qmux_Device_Pcie.NT.HW]
AddReg= Qmux_Device_Pcie_AddReg


[Qmux_Device_Pcie_AddReg]
HKR,,"LowerFilters",0x00010008,QmuxPcie
HKR,Qmux,BusPdoGuid,%REG_SZ%,%BusPdoGuid%
HKR,Qmux,GnssPdo,%REG_SZ%,%GnssPdo%
HKR,Qmux,NetAdapterPdo,%REG_SZ%,%NetAdapterPdo%
HKR,Qmux,PsAutoRegPdo,%REG_SZ%,%PsAutoRegPdo%
HKR,Qmux,5GNRCoexMgrPdo,%REG_SZ%,%5GNRCoexMgrPdo%
HKR,Qmux,Configuration,%REG_SZ%,%PcieConfiguration%
HKR,"WDF","WdfDirectedPowerTransitionEnable",%REG_DWORD%,1


[Qmux_Device_Pcie.NT.Wdf]
KmdfService =  Qmux, Qmux_Install
KmdfService=QmuxPcie,QmuxPcie_Install


[Qmux_Install]
KmdfLibraryVersion = 1.15


[QmuxPcie_Install]
KmdfLibraryVersion = 1.15


[DestinationDirs]
DefaultDestDir = 13

[QmuxPCIe.reg]
HKR,Parameters,CancelTimeout,%REG_DWORD%,5

[Qmux.Service]
DisplayName    = %Qmux.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %13%\qcqmux.sys
LoadOrderGroup = Extended Base

[QmuxPcie.Service]
DisplayName     = %QmuxPCIe.SVCDESC%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %13%\qcqmuxpcie.sys
LoadOrderGroup = Extended Base
AddReg          = QmuxPCIe.reg


[Qmux_Device_Pcie.NT]
CopyFiles=Drivers_Dir_Pcie


[Drivers_Dir_Pcie]
qcqmux.sys
qcqmuxpcie.sys

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ProviderName="Surface" 
ManufacturerName="Microsoft" 
ClassName="Qmux"
DiskName = "Qmux Installation Disk"
Qmux.DeviceDesc = "Qualcomm QMUX Interconnect"
Qmux.SVCDESC = "Qualcomm Qmux Service"
QmuxPCIe.SVCDESC = "Qualcomm QmuxPCIe Service"
ARCH="$ARCH$"
REG_SZ              = 0x00000000
REG_DWORD           = 0x00010001
BusPdoGuid="{05C9354C-AFD7-40BE-8B68-323EC7FFF97D}"
GnssPdo="QcGnss_MSFT_DE"
NetAdapterPdo="QcMbbNetAdapter_MSFT_DE"
PsAutoRegPdo="QcPsAutoReg_MSFT_DE"
5GNRCoexMgrPdo="Qc5GNRCoexMgr_MSFT_DE"
PcieConfiguration="PCIE"
