;-------------------------------------------------------------------------------
; hpwwan.inf
; HP Wireless Network Device for Windows 7
; Copyright (c) 2012 HP Inc.  All rights reserved.
;-------------------------------------------------------------------------------

[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %HP%
DriverVer   = 03/30/2015,1.0.1.23
Catalogfile = hpwwan.cat

[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%HP% = QCOM, NTx86.6.1, NTia64.6.1, NTamd64.6.1

[SourceDisksNames.x86]
1000 = %QcomSrcDisk%,"",,\ndis\6.2\i386

[SourceDisksNames.amd64]
1000 = %QcomSrcDisk%,"",,\ndis\6.2\amd64

[SourceDisksFiles]
  hpusbwwan.sys = 1000

[QCOM.NTx86.6.1]
%HPwwan.DeviceDesc911D1%    = qcwwan.ndi, USB\VID_03F0&PID_911D&MI_01

[QCOM.NTia64.6.1]
%HPwwan.DeviceDesc911D1%    = qcwwan.ndi, USB\VID_03F0&PID_911D&MI_01

[QCOM.NTamd64.6.1]
%HPwwan.DeviceDesc911D1%    = qcwwan.ndi, USB\VID_03F0&PID_911D&MI_01

[qcwwan.ndi]
Characteristics = 0x4 ; NCF_PHYSICAL
BusType         = 15  ; PNPBus

*IfType = 243 ; IF_TYPE_WWANPP
*MediaType = 9 ; NdisMediumWirelessWan
*PhysicalMediaType = 8 ; NdisPhysicalMediumWirelessWan
EnableDhcp = 0

AddReg          = qcwwan.Reg
CopyFiles       = qcwwan.CopyFiles

[qcwwan.ndi.Services]
AddService      = qcusbwwan, 2, qcwwan.Service, qcwwan.EventLog

;-----------------------------------------------------------------------------
; WMI security settings
;-----------------------------------------------------------------------------
[gobiwwan.ndi.WMI]
WMIInterface={DE81837E-BD78-4EC8-ABA8-89B7D026C1CF},,WMIGuidSecurity_AllReadAdminFul

[WMIGuidSecurity_AllReadAdminFul]
security="O:BAG:BAD:(A;;0x12001f;;;BA)(A;;0x12001f;;;LS)(A;;0x12001f;;;NS)(A;;0x12001f;;;SY)(A;;0x12001f;;;NO)(A;;CC;;;BU)"

;-----------------------------------------------------------------------------
; Virtual Miniport Common
;-----------------------------------------------------------------------------
[qcwwan.Reg]
HKR,    ,                         BusNumber,           0, "0" 
HKR, Ndi,                         Service,             0, "qcusbwwan"

HKR, Ndi\Interfaces, UpperRange, 0, "flpp4, flpp6"
HKR, Ndi\Interfaces, LowerRange, 0, "ppip"
HKR,, QCDevDisableQoS, 0x00010001, 0x00000003

;-----------------------------------------------------------------------------
; Driver and Service Section
;-----------------------------------------------------------------------------
[qcwwan.CopyFiles]
hpusbwwan.sys,,,2

[qcwwan.Service]
DisplayName     = %HPwwan.Service.DispName%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_DEMAND_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\hpusbwwan.sys
LoadOrderGroup  = NDIS
AddReg          = TextModeFlags.Reg

[qcwwan.EventLog]
AddReg = qcwwan.AddEventLog.Reg

[qcwwan.AddEventLog.Reg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR, , TypesSupported,   0x00010001, 7

[TextModeFlags.Reg]
HKR, , TextModeFlags,    0x00010001, 0x0001
HKR, , QCDriverSelectiveSuspendIdleTime, 0x00010001, 0x00000005
HKR, , QCDriverPowerManagementEnabled, 0x00010001, 1
HKR, , QCDriverWaitWakeEnabled, 0x00010001, 1

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

[SourceDisksFiles]
hpusbwwan.sys  = 1,,

;-----------------------------------------------------------------------------
; DestinationDirs
;-----------------------------------------------------------------------------
[DestinationDirs]
qcwwan.CopyFiles = 12

;-----------------------------------------------------------------------------
; Localizable Strings
;-----------------------------------------------------------------------------
[Strings]
QcomSrcDisk = "HP USB Driver Disk"
HP                       = "HP"                      
HPwwan.DeviceDesc911D1      = "HP lt4211 Gobi 4G Network Adapter"
HPwwan.Service.DispName     = "HP USB-NDIS WWAN miniport"
DiskId1 = "HP USB-NDIS Miniport Device Installation Disk #1"
