;****************************************************************************************
;
; rt2870.inf
;
;   This installation script supports Windows CE 5.0 for the
;   Ralink RT2870 series USB Wireless LAN Card.
;
;   Copyright (c)2005 , Ralink Technology Corp., All Rights Reserved
;   All Rights Reserved.
;
;   Developed by RaLink Technology, Corp. -- http://www.ralinktech.com
;
;****************************************************************************************

[Version]                  ; Required section
Signature = "$Windows NT$"
Provider = "Ralink"
CESignature = "$Windows CE$"

[CEDevice.pocket.arm]
ProcessorType  = 2577
UnsupportedPlatforms = "HPC","Jupiter"
VersionMin = 5.00 ; version 5.0
VersionMax = 5.99

[DefaultInstall]           ; Required section
AddReg = RegSettings.All
CopyFiles = Files

[Files]
"RT2870.dll",RT2870.dll,,COPYFLG_NOSKIP
;"RT2870.bin",RT2870.bin,,COPYFLG_NOSKIP


[SourceDisksNames]                   ; Required section
1 = ,"Common files",,   ; Using an absolute path
;1 = ,"Common files",,   ; Using an absolute path


[SourceDisksFiles]         ; Required section
RT2870.dll=1
;RT2870.bin=1


[DestinationDirs]             ; Required section
;Shortcuts.All = 0,%CE2%\Help  ; set to \Windows\Help
Files = 0,%InstallDir%        ; \Windows

[CEStrings]                ; Required section
AppName = "Ralink RT2870 Wireless LAN Driver"
InstallDir = %CE2%

[RegSettings.All]
;[HKEY_LOCAL_MACHINE\Comm\RT2870]
;    "DisplayName"="RT2870 b/g/n Wireless LAN Driver"
;    "Group"="NDIS"
;    "ImagePath"="RT2870.dll"
HKLM,Comm\RT2870,DisplayName	,0x00000000,"RT2870 b/g/n Wireless LAN Driver"
HKLM,Comm\RT2870,Group		,0x00000000,"NDIS"
HKLM,Comm\RT2870,ImagePath	,0x00000000,"RT2870.dll"

;[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\Default\RT2870]
;    "Dll"="RT2870.DLL"
HKLM,Drivers\USB\LoadClients\Default\Default\Default\RT2870,Dll	,0x00000000,"RT2870.dll"

;[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\RT2870]
;    "Dll"="RT2870.DLL"
HKLM,Drivers\USB\ClientDrivers\RT2870,Dll	,0x00000000,"RT2870.dll"

;[HKEY_LOCAL_MACHINE\Comm\RT28701\Parms]
;    "BusNumber"=dword:0
;    "BusType"=dword:0
;    "Channel"=dword:1
;    "SSID"=multi_sz:"RT2870AP"
;    "CountryRegion"=dword:5
;    "CountryRegionABand"=dword:7
;    "OpMode"=dword:0
;    "RtsThresh"=dword:92B
;    "FragThresh"=dword:92A
;    "Encryption"=dword:0
;    "AuthenType"=dword:0
;    "AutoReconnect"=dword:1
;    "NetworkType"=dword:1
;    "WirelessMode"=dword:5
;    "BACapability"=dword:07034020
;    "TransmitSetting"=dword:2ba15   
;    "ProviderName"=multi_sz:"Ralink Technology, Inc."
;    "VendorDesc"=multi_sz:"RT2870 802.11 b/g Wireless Card."
;    "WEPKeyUse"=dword:1
;    "WEPKey1"=multi_sz:"12345678901234567890123456"
;    "WEPKey2"=multi_sz:"12345678901234567890123456"
;    "WEPKey3"=multi_sz:"12345678901234567890123456"
;    "WEPKey4"=multi_sz:"12345678901234567890123456"
HKLM,Comm\RT28701\Parms,BusNumber        ,0x00010001, 0
HKLM,Comm\RT28701\Parms,BusType          ,0x00010001, 0
HKLM,Comm\RT28701\Parms,OpMode	         ,0x00010001, 0
HKLM,Comm\RT28701\Parms,Channel	         ,0x00010001, 1
HKLM,Comm\RT28701\Parms,CountryRegion    ,0x00010001, 5
HKLM,Comm\RT28701\Parms,CountryRegionABand    ,0x00010001, 7
HKLM,Comm\RT28701\Parms,SSID		 ,0x00010000, "RT2870AP"
HKLM,Comm\RT28701\Parms,RtsThresh	 ,0x00010001, 92B
HKLM,Comm\RT28701\Parms,FragThresh       ,0x00010001, 92A
HKLM,Comm\RT28701\Parms,Encryption	 ,0x00010001, 0
HKLM,Comm\RT28701\Parms,AuthenType       ,0x00010001, 0
HKLM,Comm\RT28701\Parms,AutoReconnect    ,0x00010001, 1
HKLM,Comm\RT28701\Parms,NetworkType      ,0x00010001, 1
HKLM,Comm\RT28701\Parms,WirelessMode	 ,0x00010001, 5
HKLM,Comm\RT28701\Parms,BACapability	 ,0x00010001, 07034020
HKLM,Comm\RT28701\Parms,TransmitSetting	 ,0x00010001, 2ba15
HKLM,Comm\RT28701\Parms,ProviderName     ,0x00010000, "Ralink Technology, Inc."
HKLM,Comm\RT28701\Parms,VendorDesc       ,0x00010000, "RT2870 802.11 b/g Wireless Card."
HKLM,Comm\RT28701\Parms,WEPKeyUse	 ,0x00010001, 1
HKLM,Comm\RT28701\Parms,WEPKey1	         ,0x00010000, "12345678901234567890123456"
HKLM,Comm\RT28701\Parms,WEPKey2	         ,0x00010000, "12345678901234567890123456"
HKLM,Comm\RT28701\Parms,WEPKey3	         ,0x00010000, "12345678901234567890123456"
HKLM,Comm\RT28701\Parms,WEPKey4	         ,0x00010000, "12345678901234567890123456"
;[HKEY_LOCAL_MACHINE\Comm\RT28701\Parms\TcpIp]
;    "EnableDHCP"=dword:1
;    "DefaultGateway"=multi_sz:"192.168.2.254"
;    "IpAddress"=multi_sz:"192.168.2.234"
;    "Subnetmask"=multi_sz:"255.255.255.0"
;    "DNS"="192.168.1.5"
;    "WINS"="192.168.1.5"
HKLM,Comm\RT28701\Parms\TcpIp,EnableDHCP,    0x00010001,1
HKLM,Comm\RT28701\Parms\TcpIp,DefaultGateway,0x00010000,"192.168.2.254"
HKLM,Comm\RT28701\Parms\TcpIp,IpAddress,     0x00010000,"192.168.2.234"
HKLM,Comm\RT28701\Parms\TcpIp,Subnetmask,    0x00010000,"255.255.255.0"
HKLM,Comm\RT28701\Parms\TcpIp,DNS,           0x00000000,"192.168.1.5"
HKLM,Comm\RT28701\Parms\TcpIp,WINS,          0x00000000,"192.168.1.5"

;[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\ehci]
;    "IntThreshCtrl"=dword:1
HKLM,Comm\Drivers\BuiltIn\PCI\Template\ehci,IntThreshCtrl	,0x00010001,1

; types
;0x00000000		REG_SZ			string
;0x00010000		REG_MULTI_SZ	        multi-string
;0x00000001		REG_BINARY		binary
;0x00010001		REG_DWORD		dword

