;------------------------------------------------------------------------------
; Novatel Wireless Virtual Network Adapter(NDIS 6.2 - 8200) Installation file (.inf).
; (c) Copyright 2009 Novatel Wireless Inc. 
;------------------------------------------------------------------------------

;-------------------------------------------------------------------------------
; INF Version Section
;-------------------------------------------------------------------------------
[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %Mfg%
Compatible  = 1
DriverVer      = 04/30/2012,4.01.02.57
CatalogFile.NT = NWMBNet.cat
CatalogFile.NTAMD64 = nwMBNetx64.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]
%NW001%    = *novatel.ndi, USB\VID_1410&PID_9010&MI_06

[Models.NTamd64.6.1]
%NW001%    = *novatel.ndi, USB\VID_1410&PID_9010&MI_06

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

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

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

[NDIS_NT_DRIVER]
NWMBNet.sys,,,0x20

[NDIS_NT_DRIVERamd64]
NWMBNet.sys,NWMBnt64.sys,,0x20

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

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

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

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

[NOVATEL.params.reg]
HKR,,StartupDelayTime,0x00010001,0x00000000
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 = NWMBNet, 2, novatel.Service, novatel.EventLog

[*novatel.ndi.NTamd64.Services]
AddService = NWMBNet, 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%\NWMBNet.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,,APN,0,"movistar.es"
HKR,,CarrierName,0,"3G-4G Connection"
HKR,,AuthType,0x00010001,0x00000003

;-------------------------------------------------------------------------------
; 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 = NWMBNet, nwvndis_wdfsect

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

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

[nwvndis_wdfsect]
KmdfLibraryVersion = 1.9

;-------------------------------------------------------------------------------
; INF Strings Section
;-------------------------------------------------------------------------------
[Strings]
Mfg                      = "Novatel Wireless Inc"
novatel.Service.DispName = "Novatel Wireless Mobile Broadband Network Adapter Service"
NetworkAddress           = "Network Address (MAC)"
novatel_disk             = "Novatel Wireless Driver Disk"
NW001            	 = "Novatel Wireless Mobile Broadband 3G-4G Network Adapter"
