;*************************************************************************************
;
; Name      :  PTUMLNET61.inf
;
; Function  :  Install CDMA USB Modem device driver on Windows 2000/XP/VISTA/7
;	
; Copyright (c) DEVGURU Co., LTD. (www.devguru.co.kr)
;
;*************************************************************************************


[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider=%Provider%
DriverVer= 12/03/2013,4.14.8.0
Catalogfile = PTUMLNET61.cat

[ControlFlags]
ExcludeFromSelect = *

[SourceDisksNames.x86]
1 = %DiskString%,,,\i386

[SourceDisksNames.amd64]
1 = %DiskString%,,,\amd64


[SourceDisksFiles]
; filename = diskid[,[ subdir][, size]]
PTUMLNET61.sys = 1
WdfCoInstaller01009.dll=1 ; make sure the number matches with SourceDisksNames

;-----------------------------------------------------------------------------
; Specify target paths...
;-----------------------------------------------------------------------------

[DestinationDirs]
DefaultDestDir  = 12             	; system32\drivers
CopyFiles       = 12                    ; system32\drivers
CopyFiles.Win2K = 12                    ;
CoInstaller_CopyFiles = 11

;-----------------------------------------------------------------------------
; Table of Contents
;-----------------------------------------------------------------------------
[Manufacturer]
%PTUML% = PTUML, NTx86, NTamd64, NTx86.6.1, NTamd64.6.1

;-----------------------------------------------------------------------------
; Device-by-device entries
;-----------------------------------------------------------------------------
[PTUML]
;; This INF file don't support Windows 2000

[PTUML.NTx86.6.1]
%USB\VID_106C&PID_3718&WWANADPT.DeviceDesc%    = PTUML.Install, USB\VID_106C&PID_3718&MP&Class_ff&SubClass_f0&Prot_ff

[PTUML.NTamd64.6.1]
%USB\VID_106C&PID_3718&WWANADPT.DeviceDesc%    = PTUML.Install, USB\VID_106C&PID_3718&MP&Class_ff&SubClass_f0&Prot_ff

[PTUML.NTx86]
;; This INF file don't support Windows xp & vista

[PTUML.NTamd64]
;; This INF file don't support Windows xp & vista
;-------------------------------------------------------------------------------
; Virtual Ethernet Adapter
;
[PTUML.Install.NT]
*IfType            = 6        ; IF_TYPE_ETHERNET_CSMACD
*MediaType         = 0          ; NdisMedium802_3 
*PhysicalMediaType = 0          ; NdisPhysicalMediumUnspecified

;Characteristics = 0x1 ; NCF_VIRTUAL, This driver's parent is rmnet service driver(virtual bus)
Characteristics = 0x4  ; 
BusType		= 15

AddReg          = PTUML.Reg
CopyFiles				= CopyFiles, CopyFiles.Win2K

[PTUML.Install.NT.Services]
AddService      = PTUMLNET61, 2, PTUML.Service, PTUML.EventLog

;-----------------------------------------------------------------------------
; Virtual Miniport Common
;
[PTUML.Reg]
HKR,    ,                         BusNumber,           0, "0" 
HKR, Ndi,                         Service,             0, "PTUMLNET61"
HKR, Ndi\Interfaces,              UpperRange,          0, "ndis5"
HKR, Ndi\Interfaces,              LowerRange,          0, "ethernet"


;-----------------------------------------------------------------------------
;  Copy lists
;-----------------------------------------------------------------------------
[CopyFiles]

[CopyFiles.Win2K]
PTUMLNET61.sys

;-----------------------------------------------------------------------------
;  NT Services installation
;-----------------------------------------------------------------------------
[PTUML.Service]
DisplayName	= %PTUML.Service.Name%
Description	= %PTUML.Service.Desc%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_DEMAND_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\PTUMLNET61.sys
LoadOrderGroup  = NDIS
AddReg          = TextModeFlags.Reg

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

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

[TextModeFlags.Reg]
HKR,           , TextModeFlags              , 0x00010001, 0x0001
HKR, Parameters, ConnectionPropertyEx       , 0x00000001, FF,01,00,00,08,03,00,00,14,03,00,00        ; Dual IP bearer
HKR, Parameters, AutoConnectDelay           , 0x00010001, 0x000f
HKR, Parameters, AutoConnectInterval        , 0x00010001, 0x0005
HKR, Parameters, EnableImeiToMacAddress     , 0x00010001, 0x0001
HKR, Parameters, StaticSubnetMaskCalcInfo   , 0x00010001, 0x03000040    ; Class C, 64 subnetworks
;HKR, Parameters, StaticSubnetMask          , 0x00010001, 0x00FFFFFF
HKR, Parameters, MTU                        , 0x00010001, 0x0594        ; MTU size
HKR, Parameters, InitWaitTime               , 0x00010001, 21            ; Sim Init Wait Time out(in Second)
HKR, Parameters, Ipv4ConnectRetryCount      , 0x00010001, 1             ; ipv4 connect retry count
HKR, Parameters, MaxReadRequestCnt          , 0x00010001, 0x0014
HKR, Parameters, MaxReadBusyCnt             , 0x00010001, 0x0020
HKR, Parameters, EnableUsbBulkOutThreading  , 0x00010001, 0x0000
HKR, Parameters, EnableUsbBulkInThreading   , 0x00010001, 0x0001
HKR, Parameters, EnableSendCompleteThreading, 0x00010001, 0x0001
HKR, Parameters, EnableAsynchRecvResource   , 0x00010001, 0x0000
HKR, Parameters, ConnectMode                , 0x00010001, 0x00ff
HKR, Parameters, UseRmnetSyncQmi            , 0x00010001, 0x0000  ; Use synchronous Qmi Request / Response

;-------------- WDF Coinstaller installation

[PTUML.Install.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

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

[PTUML.Install.NT.Wdf]
KmdfService = PTUMLNET61, PTUMLNET61_wdfsect
[PTUMLNET61_wdfsect]
KmdfLibraryVersion = 1.9

;---------------------------------------------------------------;

;-----------------------------------------------------------------------------
; Localizable Strings
;-----------------------------------------------------------------------------
[Strings]
Provider   = "PANTECH CO., LTD"
PTUML       = "PANTECH CO., LTD"

USB\VID_106C&PID_3718&WWANADPT.DeviceDesc      = "PANTECH UML290 WWAN"
USB\VID_106C&PID_3718&MBMPADPT.DeviceDesc      = "PANTECH UML290 Mobile Broadband"

PTUML.Service.Name = "PANTECH UML290 WWAN (NDIS6.1)"
PTUML.Service.Desc = "PANTECH UML290 WWAN device driver (NDIS6.1)"

DiskString = "PANTECH UML290 WWAN Device Installation Disk (NDIS6.1)"
