;
;   sprdlte_9610_usbnet.INF (for Windows XP, Vista, Win7)
;
;   Copyright (c) 2011, DriverCoding Technology Inc.

[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %PROVIDER%
DriverVer   = 03/28/2014,1.0.0.181
Catalogfile = sprdlte_9610_usbnet.cat

[Manufacturer]
%StdMfg% = Standard,NTx86,NTamd64

[Standard]
%SPRDLTE_9610_USBNET% = DCUSBLTE.ndi, DCUSB\VID_1782&PID_0006&MI_01
%SPRDLTE_9610_USBNET% = DCUSBLTE.ndi, DCUSB\VID_1782&PID_0008&MI_01
%SPRDLTE_9610_USBNET% = DCUSBLTE.ndi, DCUSB\VID_1782&PID_000A&MI_02

; For XP and later
[Standard.NTx86]
%SPRDLTE_9610_USBNET% = DCUSBLTE.ndi, DCUSB\VID_1782&PID_0006&MI_01
%SPRDLTE_9610_USBNET% = DCUSBLTE.ndi, DCUSB\VID_1782&PID_0008&MI_01
%SPRDLTE_9610_USBNET% = DCUSBLTE.ndi, DCUSB\VID_1782&PID_000A&MI_02

[Standard.NTamd64]
%SPRDLTE_9610_USBNET% = DCUSBLTE.ndi, DCUSB\VID_1782&PID_0006&MI_01
%SPRDLTE_9610_USBNET% = DCUSBLTE.ndi, DCUSB\VID_1782&PID_0008&MI_01
%SPRDLTE_9610_USBNET% = DCUSBLTE.ndi, DCUSB\VID_1782&PID_000A&MI_02

[DCUSBLTE.ndi]
Characteristics = 0x84 ; NCF_HASUI | NCF_PHYSICAL
BusType	= 15 ; PnPBus
*IfType = 6 ; IF_TYPE_ETHERNET_CSMACD
*MediaType = 0 ; NdisMedium802_3
*PhysicalMediaType = 14 ; NdisPhysicalMedium802_3
AddReg          = DCUSBLTE.Reg, Parameters
CopyFiles       = DCUSBLTE.CopyFiles

[DCUSBLTE.ndi.Services]
AddService = sprdlte_9610_usbnet, 2, DCUSBLTE.Service, DCUSBLTE.EventLog

[DCUSBLTE.Reg]
HKR,    ,                         BusNumber,           0, "0"
HKR, Ndi,                         Service,             0, "sprdlte_9610_usbnet"
HKR, Ndi\Interfaces,              UpperRange,          0, "ndis5"
HKR, Ndi\Interfaces,              LowerRange,          0, "ethernet"

[Parameters]
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"

HKR, NDI\params\SprdVendorRequest, ParamDesc,  0, %SprdVendorRequest%
HKR, NDI\params\SprdVendorRequest, type,       0, "enum"
HKR, NDI\params\SprdVendorRequest, default,    0, "0"
HKR, NDI\params\SprdVendorRequest, optional,    0, "0"
HKR, NDI\params\SprdVendorRequest\enum, "0",   0, "Disabled"
HKR, NDI\params\SprdVendorRequest\enum, "1",   0, "Enabled"

HKR, NDI\params\SprdVendorRequest, ParamDesc,  0, %SprdVendorRequest%
HKR, NDI\params\SprdVendorRequest, type,       0, "enum"
HKR, NDI\params\SprdVendorRequest, default,    0, "0"
HKR, NDI\params\SprdVendorRequest, optional,    0, "0"
HKR, NDI\params\SprdVendorRequest\enum, "0",   0, "Disabled"
HKR, NDI\params\SprdVendorRequest\enum, "1",   0, "Enabled"

HKR, NDI\params\ZeroPacket, ParamDesc,  0, %ZeroPacket%
HKR, NDI\params\ZeroPacket, type,       0, "enum"
HKR, NDI\params\ZeroPacket, default,    0, "1"
HKR, NDI\params\ZeroPacket, optional,    0, "0"
HKR, NDI\params\ZeroPacket\enum, "0",   0, "Disabled"
HKR, NDI\params\ZeroPacket\enum, "1",   0, "Enabled"

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

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

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

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

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

;-----------------------------------------------------------------------------
; Driver and Service Section
;
[DCUSBLTE.CopyFiles]
sprdlte_9610_usbnet.sys,,,2

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

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

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

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

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

[SourceDisksFiles]
sprdlte_9610_usbnet.sys  = 1,,

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

;-----------------------------------------------------------------------------
; Localizable Strings
;
[Strings]
PROVIDER = "DriverCoding Corporation"
StdMfg = "DriverCoding Corporation"
SPRD.DeviceDesc = "SPRD USB LTE Network Adapter"
HISENSE.DeviceDesc = "HISENSE USB LTE Network Adapter"
SPRDLTE_9610_USBNET = "SPRD LTE Network Adapter"
DCUSBLTE.Service.DispName = "DriverCoding USB LTE Network Adapter Service"
DiskId1 = "DriverCoding USB LTE Network Adapter Installation Disk"
NetworkAddress = "Network Address"
SprdVendorRequest = "Spreadtrum LTE Vendor Request"
ZeroPacket = "USB Zero Packet Feature"
SkipTxHeadRoom = "Skip Head Bytes for TX"
USBBulkInCount = "USB Bulk In Count"
UsbBulkInBufferLength = "USB Bulk In Buffer Length"
UsbBulkOutBufferLength = "USB Bulk Out Buffer Length"
TxPaddingRoom = "Padding Room Size for TX"

SETUP_SEQ = 5