; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;
;  MBM CCGP Filter Driver - Copyright (C) 2015 Ericsson AB
;  OEM: DELL
;  CONFIG: -
;  2015-03-23 - emaimit
;
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



[Version]
signature   = "$Windows NT$"
Class       = USB
ClassGUID   = {36FC9E60-C465-11CF-8056-444553540000}
Provider    = %COMPANY%
CatalogFile = mbmdevicefilter_dl.cat
PnpLockDown = 1
DriverVer=06/11/2015,8.2.5.0

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
EricssonAB = EricssonAB,NTamd64

[EricssonAB.NT]

[EricssonAB.NTamd64]
"Dell Wireless 5560 HSPA+ Mini-Card Device"              = CCGPDriverInstallG,  USB\Vid_413C&Pid_818E&REV_0000
"Dell Wireless 5565 HSPA+ Device"                        = CCGPDriverInstall,   USB\Vid_413C&Pid_819D&REV_0000
; --------------------------------------------------------------------------------------------------

[CCGPDriverInstall.NT]
Include    = usb.inf
Needs      = Composite.Dev.NT
CopyFiles  = MkBusFilter.Files
Addreg     = FilterExtAddReg
Addreg     = FilterAddNoGPSReg

[CCGPDriverInstallG.NT]
Include    = usb.inf
Needs      = Composite.Dev.NT
CopyFiles  = MkBusFilter.Files
Addreg     = FilterExtAddReg

[CCGPDriverInstall55.NT]
Include    = usb.inf
Needs      = Composite.Dev.NT
CopyFiles  = MkBusFilter.Files
Addreg     = FilterExtAddReg
Addreg     = FilterExtGroupIntfs

; --------------------------------------------------------------------------------------------------

[CCGPDriverInstall.NT.Services]
Include    = usb.inf
Needs      = Composite.Dev.NT.Services
AddService = MkBusFilter, 0, MkBusFilter.AddService

[CCGPDriverInstallG.NT.Services]
Include    = usb.inf
Needs      = Composite.Dev.NT.Services
AddService = MkBusFilter, 0, MkBusFilter.AddService

[CCGPDriverInstall55.NT.Services]
Include    = usb.inf
Needs      = Composite.Dev.NT.Services
AddService = MkBusFilter, 0, MkBusFilter.AddService

; --------------------------------------------------------------------------------------------------

[CCGPDriverInstall.NT.HW]
Addreg = UpperFilterAddReg

[CCGPDriverInstallG.NT.HW]
Addreg = UpperFilterAddReg

[CCGPDriverInstall55.NT.HW]
Addreg = UpperFilterAddReg

[UpperFilterAddReg]
HKR,,"UpperFilters",,MkBusFilter

; --------------------------------------------------------------------------------------------------

[FilterExtAddReg]
HKR,, EricssonAB,   0x1,     45,72,69,63,73,73,6F,6E,0
HKR,, SetFncNames,  0x10001, 0
HKR,, ExcludeIf,    0x1,     5
HKLM, "SOFTWARE\Ericsson AB\MBM\gdrvp",, 0x00, "MBM Mobile Broadband Cfg"
HKLM, "SOFTWARE\Ericsson AB\MBM\gdrvp", "cfExcludeIntf", 0x1, 1,2,5,8,9,a
HKLM, "SOFTWARE\Ericsson AB\MBM\gdrvp", "DefaultGpsMode", 0x00010001, 0x4
[FilterAddNoGPSReg]
HKR,, ExcludeIf,    0x1,     3,4,5
HKLM, "SOFTWARE\Ericsson AB\MBM\gdrvp", "cfExcludeIntf", 0x1, 1,2,3,4,5,8,9,a
[FilterExtGroupIntfs]
HKR,, GroupIfs,     0x1,     6,1,6,2

; --------------------------------------------------------------------------------------------------

[MkBusFilter.AddService]
DisplayName    = %MkFilterSvc%
ServiceType    = 1            ; SERVICE_KERNEL_DRIVER
StartType      = 3            ; SERVICE_DEMAND_START
ErrorControl   = 1            ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\MbmDeviceFilter.sys

[MkBusFilter.Files]
MbmDeviceFilter.sys

[SourceDisksNames.x86]
1=%DiskString%,,,

[SourceDisksNames.amd64]
1=%DiskString%,,,

[SourceDisksNames.ARM]
1=%DiskString%,,,\arm

[SourceDisksFiles]
MbmDeviceFilter.sys = 1

[DestinationDirs]
CopyFiles = 12
DefaultDestDir = 12  ; system32\drivers

; --------------------------------------------------------------------------------------------------
[Strings]
COMPANY = "ERICSSON AB"
MkFilterSvc = "MbmFilter Service"
DiskString = "mbm filter disk"
