;-------------------------------------------------------------------------------
; ZTENET.INF
;
; ZTE Wireless Network Device
;
; Copyright (c) 2006 ZTE Inc.  All rights reserved.


[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %ZTE%
DriverVer   = 06/02/2010,12.0.0.27
CatalogFile = ZTEnetcardwwan.cat

[ControlFlags]
ExcludeFromSelect = *

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

[SourceDisksFiles]
ZTEusbwwan.sys  = 1,,
ztectx.txt = 1,,
zteuser.cfg = 1,,

[DestinationDirs]
DefaultDestDir = 12
ZTEwwan.CopyFiles = 12

[Manufacturer]
%ZTE% = ZTENetPort, ntamd64, ntia64

[ZTENetPort]
%Vodafone.DeviceDesc% = ZTEwwan.vodafone.ndi, USB\VID_19D2&PID_1008&MI_04
%Vodafone.DeviceDesc% = ZTEwwan.vodafone.ndi, USB\VID_19D2&PID_1010&MI_04
%Vodafone.DeviceDesc% = ZTEwwan.vodafone.ndi, USB\VID_19D2&PID_0104&MI_04
%Vodafone.DeviceDesc% = ZTEwwan.vodafone.ndi, USB\VID_19D2&PID_0118&MI_05
%Vodafone.DeviceDesc% = ZTEwwan.vodafone.ndi, USB\VID_19D2&PID_0113&MI_05
%Vodafone.DeviceDesc% = ZTEwwan.vodafone.ndi, USB\VID_19D2&PID_1012&MI_04

%ZTEwwan.DeviceDesc% = ZTEwwan.orange.ndi, USB\VID_19D2&PID_0121&MI_05
%ZTEwwan.DeviceDesc% = ZTEwwan.ndi, USB\VID_19D2&PID_0123&MI_04
%ZTEwwan.DeviceDesc% = ZTEwwan.ndi, USB\VID_19D2&PID_0125&MI_06
%ZTEwwan.DeviceDesc% = ZTEwwan.ndi, USB\VID_19D2&PID_0126&MI_05

%TME.DeviceDesc% = ZTEwwan.tme.ndi, USB\VID_19D2&PID_0124&MI_05

[ZTENetPort.ntia64]
%Vodafone.DeviceDesc% = ZTEwwan.vodafone.ndi, USB\VID_19D2&PID_1008&MI_04
%Vodafone.DeviceDesc% = ZTEwwan.vodafone.ndi, USB\VID_19D2&PID_1010&MI_04
%Vodafone.DeviceDesc% = ZTEwwan.vodafone.ndi, USB\VID_19D2&PID_0104&MI_04
%Vodafone.DeviceDesc% = ZTEwwan.vodafone.ndi, USB\VID_19D2&PID_0118&MI_05
%Vodafone.DeviceDesc% = ZTEwwan.vodafone.ndi, USB\VID_19D2&PID_0113&MI_05
%Vodafone.DeviceDesc% = ZTEwwan.vodafone.ndi, USB\VID_19D2&PID_1012&MI_04

%ZTEwwan.DeviceDesc% = ZTEwwan.orange.ndi, USB\VID_19D2&PID_0121&MI_05
%ZTEwwan.DeviceDesc% = ZTEwwan.ndi, USB\VID_19D2&PID_0123&MI_04
%ZTEwwan.DeviceDesc% = ZTEwwan.ndi, USB\VID_19D2&PID_0125&MI_06
%ZTEwwan.DeviceDesc% = ZTEwwan.ndi, USB\VID_19D2&PID_0126&MI_05

%TME.DeviceDesc% = ZTEwwan.tme.ndi, USB\VID_19D2&PID_0124&MI_05

[ZTENetPort.ntamd64]
%Vodafone.DeviceDesc% = ZTEwwan.vodafone.ndi, USB\VID_19D2&PID_1008&MI_04
%Vodafone.DeviceDesc% = ZTEwwan.vodafone.ndi, USB\VID_19D2&PID_1010&MI_04
%Vodafone.DeviceDesc% = ZTEwwan.vodafone.ndi, USB\VID_19D2&PID_0104&MI_04
%Vodafone.DeviceDesc% = ZTEwwan.vodafone.ndi, USB\VID_19D2&PID_0118&MI_05
%Vodafone.DeviceDesc% = ZTEwwan.vodafone.ndi, USB\VID_19D2&PID_0113&MI_05
%Vodafone.DeviceDesc% = ZTEwwan.vodafone.ndi, USB\VID_19D2&PID_1012&MI_04

%ZTEwwan.DeviceDesc% = ZTEwwan.orange.ndi, USB\VID_19D2&PID_0121&MI_05
%ZTEwwan.DeviceDesc% = ZTEwwan.ndi, USB\VID_19D2&PID_0123&MI_04
%ZTEwwan.DeviceDesc% = ZTEwwan.ndi, USB\VID_19D2&PID_0125&MI_06
%ZTEwwan.DeviceDesc% = ZTEwwan.ndi, USB\VID_19D2&PID_0126&MI_05

%TME.DeviceDesc% = ZTEwwan.tme.ndi, USB\VID_19D2&PID_0124&MI_05

;-------------------------------------------------------------------------------
; Virtual Ethernet Adapter
;

[ZTEwwan.tme.ndi]
Characteristics = 0x84 ; NCF_HAS_UI | NCF_PHYSICAL
AddReg          = ZTEwwan.Reg, Manufacturer.ZTE.reg
CopyFiles       = ZTEwwan.CopyFiles
BusType         = 15 ; PnPBus

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

[ZTEwwan.tme.ndi.Services]
AddService      = ZTEusbwwan, 2, ZTEwwan.Service, ZTEwwan.EventLog


[ZTEwwan.vodafone.ndi]
Characteristics = 0x84 ; NCF_HAS_UI | NCF_PHYSICAL
AddReg          = ZTEwwan.Reg, Manufacturer.Vodafone.reg
CopyFiles       = ZTEwwan.CopyFiles
BusType         = 15 ; PnPBus

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

[ZTEwwan.vodafone.ndi.Services]
AddService      = ZTEusbwwan, 2, ZTEwwan.Service, ZTEwwan.EventLog


[ZTEwwan.orange.ndi]
Characteristics = 0x84 ; NCF_HAS_UI | NCF_PHYSICAL
AddReg          = ZTEwwan.Reg, Manufacturer.ZTE.reg
CopyFiles       = ZTEwwan.CopyFiles
BusType         = 15 ; PnPBus

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

[ZTEwwan.orange.ndi.Services]
AddService      = ZTEusbwwan, 2, ZTEwwan.Service, ZTEwwan.EventLog


[ZTEwwan.ndi]
Characteristics = 0x84 ; NCF_HAS_UI | NCF_PHYSICAL
AddReg          = ZTEwwan.Reg, Manufacturer.ZTE.reg
CopyFiles       = ZTEwwan.CopyFiles
BusType         = 15 ; PnPBus

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

[ZTEwwan.ndi.Services]
AddService      = ZTEusbwwan, 2, ZTEwwan.Service, ZTEwwan.EventLog

;-----------------------------------------------------------------------------
; Virtual Miniport Common
;
[ZTEwwan.Reg]
HKR, Ndi,                         Service,             0, "ZTEusbwwan"
HKR, ,                         Enabledhcp,    0x10001, 0x0

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

HKR, Ndi\params\WwanSwRadioState, ParamDesc, 	0, %SOFTWARE_RADIO_STATE%
HKR, Ndi\params\WwanSwRadioState, default,		0, "1"
HKR, Ndi\params\WwanSwRadioState, type,			0, "enum"
HKR, Ndi\params\WwanSwRadioState\enum, "0",			0, %DISABLED%
HKR, Ndi\params\WwanSwRadioState\enum, "1",			0, %ENABLED%

HKR, Ndi\params\WwanHwRadioState, ParamDesc, 	0, %HARDWARE_RADIO_STATE%
HKR, Ndi\params\WwanHwRadioState, default,		0, "1"
HKR, Ndi\params\WwanHwRadioState, type,			0, "enum"
HKR, Ndi\params\WwanHwRadioState\enum, "0",			0, %DISABLED%
HKR, Ndi\params\WwanHwRadioState\enum, "1",			0, %ENABLED%

HKR, Ndi\params\SmsIndication, ParamDesc, 	0, %SMS_INDICATION%
HKR, Ndi\params\SmsIndication, default,		0, "1"
HKR, Ndi\params\SmsIndication, type,			0, "enum"
HKR, Ndi\params\SmsIndication\enum, "0",			0, %DISABLED%
HKR, Ndi\params\SmsIndication\enum, "1",			0, %ENABLED%

HKR, Ndi\params\RssiIntervalDef, ParamDesc, 	0, %RSSI_INTERVAL_DEF%
HKR, Ndi\params\RssiIntervalDef, default,		0, "10"
HKR, Ndi\params\RssiIntervalDef, type,			0, "enum"
HKR, Ndi\params\RssiIntervalDef\enum, "5",			0, %SECOND_5%
HKR, Ndi\params\RssiIntervalDef\enum, "10",			0, %SECOND_10%
HKR, Ndi\params\RssiIntervalDef\enum, "30",			0, %SECOND_30%


[Manufacturer.ZTE.reg]
HKR, ,Manufacturer, 0, %ZTE.MANUFACTURER%

[Manufacturer.Vodafone.reg]
HKR, ,Manufacturer, 0, %VODAFONE.MANUFACTURER%


;-----------------------------------------------------------------------------
; Driver and Service Section
;
[ZTEwwan.CopyFiles]
ZTEusbwwan.sys,,,2
ztectx.txt,,,2
zteuser.cfg,,,2

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

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

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

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


;-----------------------------------------------------------------------------
; Localizable Strings
;
[Strings]

ZTE = "ZTE Communication"      
ZTEwwan.DeviceDesc = "ZTE Mobile Broadband Network Adapter"                
Vodafone.DeviceDesc = "Vodafone Mobile Broadband Network Adapter (ZTE)"
TME.DeviceDesc = "ZTE Mobile Broadband Network Adapter"
ZTEwwan.Service.DispName = "ZTE MBN Miniport"
ZTESRCDISK = "ZTE USB-NDIS Miniport Device Installation Disk"
SOFTWARE_RADIO_STATE = "Software radio state"
HARDWARE_RADIO_STATE = "Hardware radio state"
DISABLED = "Disabled"
ENABLED = "Enabled"
AT_PORT_NAME = "AT Port Name"
SMS_INDICATION = "SMS Indication"
RSSI_INTERVAL_DEF = "Rssi Interval Default"
REG_SELECTION = "Register Mode Selection"
CTX_SELECTION = "Context Id Auto-Sel"
AUTO = "Auto"
FORCE_ROAMING = "Force roaming"
FORCE_HOME = "Force home"
SECOND_5  = " 5 seconds"
SECOND_10 = "10 seconds"
SECOND_30 = "30 seconds"
AT_IF_NUMBER = "AT Interface Number"
NUMBER_0 = "0"
NUMBER_1 = "1"
NUMBER_2 = "2"
NUMBER_3 = "3"
NUMBER_4 = "4"
NUMBER_5 = "5"

ZTE.MANUFACTURER = "ZTE"
TME.MANUFACTURER = "ZTE"
VODAFONE.MANUFACTURER = "Vodafone(ZTE)"