;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 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=%ManufacturerName%
CatalogFile=QmuxMdm.cat
DriverVer = 06/21/2021,1.0.0.7
PnpLockdown=1
;LE1.2 POST-CS8 based, Add SDX55 SIMService 

[SourceDisksNames]
1 = %DiskName%,,,""
2 = %MediaDescription%,,,\SIMService

[SourceDisksFiles]
qcqmux.sys  = 1
qcqmuxusb.sys=1
GobiConnectionMgmt.dll = 2
McfgMgmt.dll = 2
MSFTCompressor.exe = 2
SilentInstall.exe = 2
SIMService.exe = 2
upgrade.exe = 2


[Manufacturer]
%ManufacturerName%=Standard,NTamd64

[Standard.NTamd64]
%Qmux.DeviceDesc%=Qmux_Device_Usb, USB\VID_1E2D&PID_00B4&MI_02

[Qmux_Device_Usb.NT.Services]
AddService = Qmux,%SPSVCINST_ASSOCSERVICE%,Qmux.Service
AddService = QmuxUsb,,QmuxUsb.Service
AddService      = SIMService, 0x00000800, SIMService_ServiceInstall

[Qmux_Device_Usb.NT.Remove.Services]
DelService=SIMService,0x200


[Qmux_Device_Usb.NT.HW]
AddReg= Qmux_Device_Usb_AddReg


[Qmux_Device_Usb_AddReg]
HKR,,"LowerFilters",0x00010008,QmuxUsb
HKR,Qmux,BusPdoGuid,%REG_SZ%,%BusPdoGuid%
HKR,Qmux,GnssPdo,%REG_SZ%,%GnssPdo%
;HKR,Qmux,NetAdapterPdo,%REG_SZ%,%NetAdapterPdo%
HKR,Qmux,Configuration,%REG_SZ%,%UsbConfiguration%


[Qmux_Device_Usb.NT.Wdf]
KmdfService =  Qmux, Qmux_Install
KmdfService=QmuxUsb,QmuxUsb_Install



[Qmux_Install]
KmdfLibraryVersion = 1.15

[QmuxUsb_Install]
KmdfLibraryVersion = 1.15

[SIMService_ServiceInstall]
DisplayName = %UserSvcDisplayName%
ServiceType     = 0x00000010              
StartType       = 0x2                     ;SERVICE_AUTO_START
ErrorControl    = 0x1                     ;SERVICE_ERROR_NORMAL
ServiceBinary = """%16426%\Qualcomm® Snapdragon™ X55 5G Modem\Utilities\SIM based Firmware Switching Tool\SIMService.exe"""



[Qmux_Device_Usb.NT.CoInstallers]
AddReg=CoInstallers_AddReg

[CoInstallers_AddReg]
;


[DestinationDirs]
DefaultDestDir = 12
SIMService.CopyList = 16426, Qualcomm® Snapdragon™ X55 5G Modem\Utilities\SIM based Firmware Switching Tool

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

[QmuxUsb.Service]
DisplayName     = %QmuxUsb.SVCDESC%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\qcqmuxusb.sys
LoadOrderGroup = Extended Base




[Qmux_Device_Usb.NT]
CopyFiles=Drivers_Dir_Usb,SIMService.CopyList



[Drivers_Dir_Usb]
qcqmux.sys
qcqmuxusb.sys

[SIMService.CopyList]
GobiConnectionMgmt.dll
McfgMgmt.dll
MSFTCompressor.exe
SilentInstall.exe
SIMService.exe
upgrade.exe



[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="Cinterion" 
ClassName="Qmux"
DiskName = "Qmux Installation Disk"
MediaDescription = "SIMService Installation Disk"
Qmux.DeviceDesc = "Cinterion PID 0x00B4 PCIe Location GNSS QMUX"
Qmux.SVCDESC = "Qualcomm Qmux Service"
QmuxUsb.SVCDESC = "Qualcomm QmuxUsb Service"
ARCH="$ARCH$"
REG_SZ              = 0x00000000
REG_DWORD           = 0x00010001
BusPdoGuid="{7DCB3244-C836-4A0C-A1E9-BD68D385AA2B}"
GnssPdo="VID_1E2D&PID_00B4_QCGNSS"
UsbConfiguration="USB"
UserSvcDisplayName = "SIMService"
