;-------------------------------------------------------------------------------
; TELITWWAN.INF
;
; Telit Wireless Solutions Network Device for Windows 7 and Windows 8
;
; Copyright (c) 2017 Telit Wireless Solutions  All rights reserved.


[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %TELIT%
DriverVer   = 05/29/2019,4.0.6.0
Catalogfile = telitwwan.cat

[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%TELIT% = TELIT, NTx86, NTamd64

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

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

[SourceDisksFiles]
  telitusbwwan.sys = 1000

[TELIT.NTx86]
%telitwwan.DeviceDesc10313% = telitwwan.ndi, USB\VID_1BC7&PID_1031&MI_03
%telitwwan.DeviceDesc10323% = telitwwan.ndi, USB\VID_1BC7&PID_1032&MI_03
%telitwwan.DeviceDesc10342% = telitwwan.ndi, USB\VID_1BC7&PID_1034&MI_02
%telitwwan.DeviceDesc11003% = telitwwan.ndi, USB\VID_1BC7&PID_1100&MI_03
%telitwwan.DeviceDesc11013% = telitwwan.ndi, USB\VID_1BC7&PID_1101&MI_03
%telitwwan.DeviceDesc110A3% = telitwwan.ndi, USB\VID_1BC7&PID_110A&MI_03
%telitwwan.DeviceDesc12005% = telitwwan.ndi, USB\VID_1BC7&PID_1200&MI_05
%telitwwan.DeviceDesc12012% = telitwwan.ndi, USB\VID_1BC7&PID_1201&MI_02
%telitwwan.DeviceDesc12602% = telitwwan.ndi, USB\VID_1BC7&PID_1260&MI_02
%telitwwan.DeviceDesc12612% = telitwwan.ndi, USB\VID_1BC7&PID_1261&MI_02
%telitwwan.DeviceDesc12162% = telitwwan.ndi, USB\VID_1BC7&PID_1216&MI_02
%telitwwan.DeviceDesc12302% = telitwwan.ndi, USB\VID_1BC7&PID_1230&MI_02
%telitwwan.DeviceDesc12500% = telitwwan.ndi, USB\VID_1BC7&PID_1250&MI_00
%telitwwan.DeviceDesc14005% = telitwwan.ndi, USB\VID_1BC7&PID_1400&MI_05
%telitwwan.DeviceDesc10402% = telitwwan.ndi, USB\VID_1BC7&PID_1040&MI_02
%telitwwan.DeviceDesc10502% = telitwwan.ndi, USB\VID_1BC7&PID_1050&MI_02

[TELIT.NTamd64]
%telitwwan.DeviceDesc10313% = telitwwan.ndi, USB\VID_1BC7&PID_1031&MI_03
%telitwwan.DeviceDesc10323% = telitwwan.ndi, USB\VID_1BC7&PID_1032&MI_03
%telitwwan.DeviceDesc10342% = telitwwan.ndi, USB\VID_1BC7&PID_1034&MI_02
%telitwwan.DeviceDesc11003% = telitwwan.ndi, USB\VID_1BC7&PID_1100&MI_03
%telitwwan.DeviceDesc11013% = telitwwan.ndi, USB\VID_1BC7&PID_1101&MI_03
%telitwwan.DeviceDesc110A3% = telitwwan.ndi, USB\VID_1BC7&PID_110A&MI_03
%telitwwan.DeviceDesc12005% = telitwwan.ndi, USB\VID_1BC7&PID_1200&MI_05
%telitwwan.DeviceDesc12012% = telitwwan.ndi, USB\VID_1BC7&PID_1201&MI_02
%telitwwan.DeviceDesc12602% = telitwwan.ndi, USB\VID_1BC7&PID_1260&MI_02
%telitwwan.DeviceDesc12612% = telitwwan.ndi, USB\VID_1BC7&PID_1261&MI_02
%telitwwan.DeviceDesc12162% = telitwwan.ndi, USB\VID_1BC7&PID_1216&MI_02
%telitwwan.DeviceDesc12302% = telitwwan.ndi, USB\VID_1BC7&PID_1230&MI_02
%telitwwan.DeviceDesc12500% = telitwwan.ndi, USB\VID_1BC7&PID_1250&MI_00
%telitwwan.DeviceDesc14005% = telitwwan.ndi, USB\VID_1BC7&PID_1400&MI_05
%telitwwan.DeviceDesc10402% = telitwwan.ndi, USB\VID_1BC7&PID_1040&MI_02
%telitwwan.DeviceDesc10502% = telitwwan.ndi, USB\VID_1BC7&PID_1050&MI_02

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

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

AddReg          = telitwwan.Reg
CopyFiles       = telitwwan.CopyFiles

[telitwwan.ndi.Services]
AddService      = telitusbwwan, 2, telitwwan.Service, telitwwan.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
;
[telitwwan.Reg]
HKR,    ,                         BusNumber,           0, "0" 
HKR, Ndi,                         Service,             0, "telitusbwwan"

;Entries to be put in add-registry-section for NdisMediumWirelessWan
HKR, Ndi\Interfaces, UpperRange, 0, "flpp4, flpp6"
HKR, Ndi\Interfaces, LowerRange, 0, "ppip"
HKR,, QCDevDisableQoS, 0x00010001, 0x00000003

; Diable QMI
; HKR,, QCMPDisableQMI, 0x00010001, 0x00000001

; Disable QMAP V4
HKR,, QCMPEnableQMAPV4, 0x00010001, 0x00000000

; Disable QMAP V3
HKR,, QCMPEnableQMAPV3, 0x00010001, 0x00000000

; Disable QMAP V2
HKR,, QCMPEnableQMAPV2, 0x00010001, 0x00000000

; Disable QMAP V1
; HKR,, QCMPEnableQMAPV1, 0x00010001, 0x00000000

; Disable QCNCM UL
; HKR,, QCMPEnableMBIMUL, 0x00010001, 0x00000000

; Disable QCNCM DL
; HKR,, QCMPEnableMBIMDL, 0x00010001, 0x00000000

; Disable TLP UL
; HKR,, QCMPEnableTLP, 0x00010001, 0x00000000

; Disable TLP DL
; HKR,, QCMPEnableDLTLP, 0x00010001, 0x00000000

; Max UL aggregated packets
; HKR,, QCDriverTLPMaxPackets, 0x00010001, 0x00000003

; Max DL aggregated packets
HKR,, QCDriverDLMaxPackets, 0x00010001, 0x00000020

; Max DL aggregated Size
HKR,, QCDriverDLAggregationSize, 0x00010001, 0x00008000
;-----------------------------------------------------------------------------
; Driver and Service Section
;
[telitwwan.CopyFiles]
telitusbwwan.sys,,,2

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

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

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

[TextModeFlags.Reg]
HKR, , TextModeFlags,    0x00010001, 0x0001

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

[SourceDisksFiles]
telitusbwwan.sys  = 1,,

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

;-----------------------------------------------------------------------------
; Localizable Strings
;
[Strings]
TelitSrcDisk                   = "Telit USB Driver Disk"
TELIT                          = "Telit Wireless Solutions"
telitwwan.DeviceDesc10313      = "Telit HS-USB WWAN Adapter"
telitwwan.DeviceDesc10323      = "Telit HS-USB WWAN Adapter"
telitwwan.DeviceDesc10342      = "Telit HS-USB WWAN Adapter"
telitwwan.DeviceDesc11003      = "Telit HS-USB WWAN Adapter"
telitwwan.DeviceDesc11013      = "Telit HS-USB WWAN Adapter"
telitwwan.DeviceDesc110A3      = "Telit HS-USB WWAN Adapter"
telitwwan.DeviceDesc12005      = "Telit HS-USB WWAN Adapter"
telitwwan.DeviceDesc12012      = "Telit HS-USB WWAN Adapter"
telitwwan.DeviceDesc12602      = "Telit HS-USB WWAN Adapter"
telitwwan.DeviceDesc12612      = "Telit HS-USB WWAN Adapter"
telitwwan.DeviceDesc12162      = "Telit HS-USB WWAN Adapter"
telitwwan.DeviceDesc12302      = "Telit HS-USB WWAN Adapter"
telitwwan.DeviceDesc12500      = "Telit HS-USB WWAN Adapter"
telitwwan.DeviceDesc14005      = "Telit HS-USB WWAN Adapter"
telitwwan.DeviceDesc10402      = "Telit HS-USB WWAN Adapter"
telitwwan.DeviceDesc10502      = "Telit HS-USB WWAN Adapter"

telitwwan.Service.DispName     = "Telit USB-NDIS WWAN miniport"
DiskId1                        = "Telit USB-NDIS Miniport Device Installation Disk #1"
