; Remote NDIS template device setup file
; Copyright (c) Microsoft Corporation
;
; This is the template for the INF installation script  for the RNDIS-over-USB
; host driver that leverages the newer NDIS 6.x miniport(rndismp6.sys) for
; improved performance. This INF works for Windows Vista, Windows Server 2008
; and later operating systems on x86, amd64 and ia64 platforms.

[Version]
Signature           = "$Windows NT$"
Class               = Net
ClassGUID           = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider            = %Microsoft%
DriverVer           = 10/31/2013,1.0.0
CatalogFile.ntx86   = telit_rndis_x86.cat
CatalogFile.ntamd64 = telit_rndis_x64.cat

;@@@ This is the common setting for setup
;[ControlFlags]
; ExcludeFromSelect=*

[Manufacturer]
%Microsoft%         = RndisDevices,NTx86.5.1,NTamd64.5.1,NTia64.5.1,NTx86.6.1,NTamd64.6.1,NTia64.6.1

; Decoration for x86 architecture win xp
[RndisDevices.NTx86.5.1]
%RndisDevice%    = RNDIS.NT.5.1, USB\VID_1bc7&PID_2300&MI_00

; Decoration for x64 architecture win xp
[RndisDevices.NTamd64.5.1]
%RndisDevice%    = RNDIS.NT.5.1, USB\VID_1bc7&PID_2300&MI_00

; Decoration for ia64 architecture win xp
[RndisDevices.NTia64.5.1]
%RndisDevice%    = RNDIS.NT.5.1, USB\VID_1bc7&PID_2300&MI_00

; Decoration for x86 architecture
[RndisDevices.NTx86.6.1]
%RndisDevice%    = RNDIS.NT.6.0, USB\VID_1bc7&PID_2300&MI_00

; Decoration for x64 architecture
[RndisDevices.NTamd64.6.1]
%RndisDevice%    = RNDIS.NT.6.0, USB\VID_1bc7&PID_2300&MI_00

; Decoration for ia64 architecture
[RndisDevices.NTia64.6.1]
%RndisDevice%    = RNDIS.NT.6.0, USB\VID_1bc7&PID_2300&MI_00


; DDInstall section
; References the in-build Netrndis.inf
[RNDIS.NT.5.1]
Characteristics     = 0x84   ; NCF_PHYSICAL + NCF_HAS_UI
BusType             = 15
; NEVER REMOVE THE FOLLOWING REFERENCE FOR NETRNDIS.INF
include             = netrndis.inf
needs               = Usb_Rndis.ndi
AddReg              = Rndis_AddReg

; DDInstal.Services section
[RNDIS.NT.5.1.Services]
include             = netrndis.inf
needs               = Usb_Rndis.ndi.Services


; DDInstall section
; References the in-build Netrndis.inf
[RNDIS.NT.6.0]
Characteristics = 0x84   ; NCF_PHYSICAL + NCF_HAS_UI
BusType         = 15
; NEVER REMOVE THE FOLLOWING REFERENCE FOR NETRNDIS.INF
include     = netrndis.inf
needs       = Usbrndis6.ndi
AddReg      = Rndis_AddReg, KeyWord_AddReg

*IfType            = 0x6 ; IF_TYPE_ETHERNET_CSMACD
*MediaType         = 0x0 ; NdisMedium802_3
*PhysicalMediaType = 14  ; NdisPhysicalMedium802_3

; DDInstal.Services section
[RNDIS.NT.6.0.Services]
include     = netrndis.inf
needs       = usbrndis6.ndi.Services


[KeyWord_AddReg]
HKR,, *MediaType, 0x00010001, 0x00
HKR,, *PhysicalMediaType, 0x00010001, 0x0E


; Optional registry settings. You can modify as needed.
[RNDIS_AddReg] 
HKR, NDI\params\RndisProperty, ParamDesc,  0, %Rndis_Property%
HKR, NDI\params\RndisProperty, type,       0, "edit"
HKR, NDI\params\RndisProperty, LimitText,  0, "12"
HKR, NDI\params\RndisProperty, UpperCase,  0, "1"
HKR, NDI\params\RndisProperty, default,    0, " "
HKR, NDI\params\RndisProperty, optional,   0, "1"


; No sys copyfiles - the sys files are already in-build 
; (part of the operating system).

; Modify these strings for your device as needed.
[Strings]
Microsoft             = "Telit"
RndisDevice           = "Remote NDIS"
Rndis_Property        = "Optional RNDIS Property"
