;------------------------------------------------------------------------------
; Novatel Wireless Virtual Network Adapter
; Installation file (.inf).
; (c) Copyright 2012 Novatel Wireless Inc. 
;------------------------------------------------------------------------------
;-------------------------------------------------------------------------------
; INF Version Section
;-------------------------------------------------------------------------------
[version]
signature   = "$WINDOWS NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    =%Mfg%
Compatible  = 1
DriverVer      = 06/05/2012,4.01.02.60
CatalogFile.NT = NWDelNet.cat
CatalogFile.NTAMD64 = nwDelNetx64.cat

;-------------------------------------------------------------------------------
; INF Manufactuerer Section
;-------------------------------------------------------------------------------
[Manufacturer]
%Mfg%=Models,NTx86.6.1,NTamd64.6.1


;-------------------------------------------------------------------------------
; INF ControlFlags Section
;-------------------------------------------------------------------------------
[ControlFlags]
; Note: Uncomment next line if your NIC is not to be installed manually
ExcludeFromSelect = *

;-------------------------------------------------------------------------------
; INF Models Section
;-------------------------------------------------------------------------------
[Models.NTx86.6.1]
%NW011%=*novatel.ndi, USB\VID_413C&PID_8180&MI_04 
%NW013%=*novatel.ndi, USB\VID_413C&PID_8182&MI_04
%NW014%=*novatel.ndi, USB\VID_413C&PID_8195&REV_0000&MI_06&SS
%NW014%=*novatel.ndi, USB\VID_413C&PID_8195&REV_0000&Mi_06&Os_NT&SS
%NW015%=*novatel.ndi, USB\VID_413C&PID_8196&REV_0000&MI_06&SS  
%NW015%=*novatel.ndi, USB\VID_413C&PID_8196&REV_0000&MI_06&Os_NT&SS
%NW016%=*novatel.ndi, USB\VID_413C&PID_819B&REV_0000&MI_06&SS  
%NW016%=*novatel.ndi, USB\VID_413C&PID_819B&REV_0000&MI_06&Os_NT&SS
%NW017%=*novatel.ndi, USB\VID_413C&PID_819A&REV_0000&MI_06&SS  
%NW017%=*novatel.ndi, USB\VID_413C&PID_819A&REV_0000&MI_06&Os_NT&SS    

[Models.NTamd64.6.1]
%NW011%=*novatel.ndi, USB\VID_413C&PID_8180&MI_04 
%NW013%=*novatel.ndi, USB\VID_413C&PID_8182&MI_04
%NW014%=*novatel.ndi, USB\VID_413C&PID_8195&REV_0000&MI_06&SS
%NW014%=*novatel.ndi, USB\VID_413C&PID_8195&REV_0000&Mi_06&Os_NT&SS
%NW015%=*novatel.ndi, USB\VID_413C&PID_8196&REV_0000&MI_06&SS  
%NW015%=*novatel.ndi, USB\VID_413C&PID_8196&REV_0000&MI_06&Os_NT&SS
%NW016%=*novatel.ndi, USB\VID_413C&PID_819B&REV_0000&MI_06&SS  
%NW016%=*novatel.ndi, USB\VID_413C&PID_819B&REV_0000&MI_06&Os_NT&SS
%NW017%=*novatel.ndi, USB\VID_413C&PID_819A&REV_0000&MI_06&SS  
%NW017%=*novatel.ndi, USB\VID_413C&PID_819A&REV_0000&MI_06&Os_NT&SS

;-------------------------------------------------------------------------------
; INF SourceDisksNames Section
;------------------------------------------------------------------------------- 
[SourceDisksNames]
1 = %novatel_disk%,,,""

;-------------------------------------------------------------------------------
; INF SourceDisksFiles Section
;-------------------------------------------------------------------------------
[SourceDisksFiles]
NW01Net.sys = 1,,

[SourceDisksFiles.amd64]
NW01nt64.sys = 1,,

[NDIS_NT_DRIVER]
NW01Net.sys,,,0x20

[NDIS_NT_DRIVERamd64]
NW01Net.sys,NW01nt64.sys,,0x20

;-------------------------------------------------------------------------------
; INF DestinationDirs Section
;-------------------------------------------------------------------------------
[DestinationDirs]
DefaultDestDir           =12 ; system dir

;-------------------------------------------------------------------------------
; INF DDInstall Section
;-------------------------------------------------------------------------------
[*novatel.ndi.NT]
AddReg          = novatel.w2k.reg, NOVATEL.params.reg, FeatureConfig
CopyFiles       = NDIS_NT_DRIVER
BusType		= 15	; NdisInterfaceUSB
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
*IfType		= 243
*MediaType	= 9
*PhysicalMediaType = 8
EnableDhcp	= 0

[*novatel.ndi.NTamd64]
AddReg          = novatel.w2k.reg, NOVATEL.params.reg, FeatureConfig
CopyFiles       = NDIS_NT_DRIVERamd64
BusType		= 15	; NdisInterfaceUSB
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
*IfType		= 243
*MediaType	= 9
*PhysicalMediaType = 8
EnableDhcp	= 0

[novatel.w2k.reg]
HKR, Ndi, Service, 0,"NW001MBNet"
HKR, Ndi\Interfaces, UpperRange, 0, "flpp4, flpp6"
HKR, Ndi\Interfaces, LowerRange, 0, "ppip"

[NOVATEL.params.reg]
HKR,,StartupDelayTime,0x00010001,0x00000005
HKR,,EnableApnChange,0x00010001,0x00000001
HKR,,WaitProfileTimeout,0x00010001,0x0000000A
HKR,,ReportLinkDownWhenRadioOff,0x00010001,0x00000001
HKR,,SimReadyTimeout,0x00010001,0x0000000F
HKR,,EnableIpv6Dns,0x00010001,0x00000001

HKR, NDI\params\NetworkAddress,           ParamDesc,      0, %NetworkAddress%
HKR, NDI\params\NetworkAddress,           type,           0, "edit"
HKR, NDI\params\NetworkAddress,           LimitText,      0, "12"
HKR, NDI\params\NetworkAddress,           UpperCase,      0, "1"
HKR, NDI\params\NetworkAddress,           default,        0, " "
HKR, NDI\params\NetworkAddress,           optional,       0, "1"

;-------------------------------------------------------------------------------
; INF DDInstall.Services Section
;-------------------------------------------------------------------------------
[*novatel.ndi.NT.Services]
AddService = NW001MBNet, 2, novatel.Service, novatel.EventLog

[*novatel.ndi.NTamd64.Services]
AddService = NW001MBNet, 2, novatel.Service, novatel.EventLog

[novatel.Service]
DisplayName     = %novatel.Service.DispName%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_DEMAND_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\NW01Net.sys
LoadOrderGroup  = NDIS

[novatel.EventLog]
AddReg = novatel.AddEventLog.reg

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

[FeatureConfig]
HKR,,CarrierName,0,"3G-4G Connection"

;-------------------------------------------------------------------------------
; WDF Coinstaller installation
;-------------------------------------------------------------------------------
[DestinationDirs]
CoInstaller_CopyFiles = 11

[*novatel.ndi.NTx86.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[*novatel.ndi.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[*novatel.ndi.NTAMD64.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles_amd64

[CoInstaller_CopyFiles]
wdfcoinstaller01009.dll

[CoInstaller_CopyFiles_amd64]
wdfcoinstaller01009.dll,wdfcoinstaller01009_amd64.dll,,0x20

[SourceDisksFiles]
wdfcoinstaller01009.dll=1 ; make sure the number matches with SourceDisksNames

[SourceDisksFiles.amd64]
WdfCoInstaller01009_amd64.dll=1 ; make sure the number matches with SourceDisksNames

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "wdfcoinstaller01009.dll,WdfCoInstaller"

[*novatel.ndi.NT.Wdf]
KmdfService = NW001MBNet, nwvndis_wdfsect

[*novatel.ndi.NTx86.Wdf]
KmdfService = NW001MBNet, nwvndis_wdfsect

[*novatel.ndi.NTAMD64.Wdf]
KmdfService = NW001MBNet, nwvndis_wdfsect

[nwvndis_wdfsect]
KmdfLibraryVersion = 1.9

;-------------------------------------------------------------------------------
; INF Strings Section
;-------------------------------------------------------------------------------
[strings]
Mfg                      = "Novatel Wireless Inc"
novatel.Service.DispName = "Dell Wireless Mobile Broadband Network Adapter Service"
NetworkAddress           = "Network Address (MAC)"
novatel_disk             = "Novatel Wireless Driver Disk"
NW011            = "Dell Wireless 5730 Sprint Mobile Broadband (EVDO Rev-A) Minicard Network Adapter"
NW013            = "Dell Wireless 5730 VZW Mobile Broadband (EVDO Rev-A) Minicard Network Adapter"
NW014            = "DW5800 4G (LTE-3G) Mobile Broadband Mini-Card Network Adapter"
NW015            = "Dell Wireless 5800 LTE-4G Mobile Broadband Mini-Card Network Adapter" 
NW016            = "DW5804 4G (LTE-3G) Mobile Broadband Mini-Card Network Adapter"
NW017            = "DW5802 4G (LTE-3G) Mobile Broadband Mini-Card Network Adapter"
