;------------------------------------------------------------------------------
; Novatel Wireless Virtual Network Adapter
; Installation file (.inf).
; (c) Copyright 2010 Novatel Wireless Inc. 
;------------------------------------------------------------------------------

;when       who     what, where, why
;--------   -----   -----------------------------------------------------------
;07/29/05   SK      Updated drivers
;02/02/05   SK      Updated for EVDO NDIS
;10/22/03   SK      Updated for NVTL NDIS drivers
;04/02/04   SK      Updated driver   
;12/02/05   SK      Fixed I/O Conflict  
;04/17/06   SK      Updated driver

;-------------------------------------------------------------------------------
; INF Version Section
;-------------------------------------------------------------------------------
[version]
signature   = "$WINDOWS NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    =%Mfg%
Compatible  = 1
DriverVer      = 04/12/2010,4.0.0.27
CatalogFile.NT = NwMbNet_001.cat
CatalogFile.NTAMD64 = NwMbNetx64_001.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]
%NW020%=*novatel.ndi, USB\VID_1410&PID_6000&REV_0011&MI_05
%NW020%=*novatel.ndi, USB\VID_1410&PID_6000&REV_0014&MI_05
%NW020%=*novatel.ndi, USB\VID_1410&PID_6000&REV_0015&MI_05

[Models.NTamd64.6.1]
%NW020%=*novatel.ndi, USB\VID_1410&PID_6000&REV_0011&MI_05
%NW020%=*novatel.ndi, USB\VID_1410&PID_6000&REV_0014&MI_05
%NW020%=*novatel.ndi, USB\VID_1410&PID_6000&REV_0015&MI_05

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

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

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

[NDIS_NT_DRIVER]
NwMbNet_001.sys,,,0x20

[NDIS_NT_DRIVERamd64]
NwMbNet_001.sys,NwMbNet64_001.sys,,0x20

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

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

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

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

[NOVATEL.params.reg]
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_001, 2, novatel.Service, novatel.EventLog

[*novatel.ndi.NTamd64.Services]
AddService = NWMBNet_001, 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_001.sys
LoadOrderGroup  = NDIS

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

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

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

[*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_001, nwvndis_wdfsect

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

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

[nwvndis_wdfsect]
KmdfLibraryVersion = 1.9


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