;; Windows .INF file for NDIS driver
;;
;; Realtek RTL8187 Wireless USB 2.0 Adapter
;;
;; Copyright (C) 2005 Realtek Semiconductor Corp.
;;
;; this release is primarily for WHQL test.

[Version]
Signature	= "$Chicago$"
Compatible	= 1
Class		= Net
ClassGUID	= {4d36e972-e325-11ce-bfc1-08002be10318}
Provider	= %Realtek%
CatalogFile.NT	= netrtuw.cat		;; for WHQL certified
DriverVer	= 12/19/2005,5.1197.05.1219

[Manufacturer]
%Realtek%    = Realtek

[ControlFlags]
ExcludeFromSelect = USB\VID_0BDA&PID_8187

[Realtek]
%RTL8187.DeviceDesc% = RTL8187.ndi,USB\VID_0BDA&PID_8187

;;****************************************************************************
;; IDs for OEM.
;;****************************************************************************
%RTL8187.DeviceDesc% = RTL8187.ndi,USB\VID_1385&PID_6A00 ; Netgear WG111v2
%RTL8187.DeviceDesc% = RTL8187.ndi,USB\VID_0846&PID_6A00 ; Netgear WG111v2

; by Owen on 04/12/04
;;****************************************************************************
;; Windows 98
;;****************************************************************************
[RTL8187.ndi]
DriverVer       = 12/19/2005,1197
AddReg = RTL8187.Reg, RTL8187.common.reg
CopyFiles       = RTL8187.CopyFiles98
;
;;****************************************************************************
;; Windows XP
;;****************************************************************************
[RTL8187.ndi.NT]
AddReg		= RTL8187.NT.Reg, RTL8187.common.reg
Characteristics = 0x84
BusType         = 15 
CopyFiles       = RTL8187.CopyFiles


[RTL8187.ndi.NT.Services]
AddService = RTLWUSB, 2, rtsnt.Service, RTL8187.EventLog

; by Owen on 04/12/04
;*******************************************************************************
; Windows 98
;*******************************************************************************
[RTL8187.Reg]
HKR, Ndi, DeviceID, 0, USB\VID_0BDA&PID_8187

HKR,Ndi,CardType,,"PNP"

HKR, , DriverDesc, 0, "Realtek RTL8187 Wireless USB 2.0 Adapter"
HKR, , DevLoader,,*ndis,*ntkern,*ndis
HKR, , DeviceVxDs,,RTL8187.sys
HKR, , EnumPropPages, 0, netdi.dll, EnumPropPages

; NDIS Info
HKR,NDIS,MajorNdisVersion,1,03
HKR,NDIS,MinorNdisVersion,1,0a
HKR,NDIS,LogDriverName,,RTLWUSB

; Interfaces
HKR,Ndi\Interfaces,DefLower,,"ethernet"
HKR,Ndi\Interfaces,LowerRange,,"ethernet"
HKR,Ndi\Interfaces,DefUpper,,"ndis3"
HKR,Ndi\Interfaces,UpperRange,,"ndis3"
;
;*******************************************************************************
; RTL8187 common paramters
;*******************************************************************************
[RTL8187.common.reg]
HKR,Ndi\params\SSID,   	      ParamDesc,  0, %SSID_STR%
HKR,Ndi\params\SSID,   	      type,       0, "edit"
HKR,Ndi\params\SSID,   	      default,    0, "ANY"
HKR,Ndi\params\SSID,   	      LimitText,  0, "32"
HKR,defaults,SSID,0,"ANY"
HKR,,SSID,0,"ANY"

HKR,Ndi\params\Channel,       ParamDesc,  0, %CHANNEL_STR%
HKR,Ndi\params\Channel,       type,       0, "int"
HKR,Ndi\params\Channel,       default,    0, "1"
HKR,Ndi\params\Channel,       Min,        0, "1"
HKR,Ndi\params\Channel,       Max,        0, "14"
HKR,Ndi\params\Channel,       Step,       0, "1"
HKR,Ndi\params\Channel,       Base,       0, "10"
HKR,defaults,Channel,0,"1"
HKR,,Channel,0,"1"

HKR,Ndi\params\NetworkType,        ParamDesc,  0, %NETWORK_TYPE_STR%
HKR,Ndi\params\NetworkType,        type,       0, "enum"
HKR,Ndi\params\NetworkType,        default,    0, "1"
HKR,Ndi\params\NetworkType\enum,   "0",        0, "Ad Hoc"
HKR,Ndi\params\NetworkType\enum,   "1",        0, "Infrastructure"
HKR,Ndi\params\NetworkType\enum,   "2",        0, "Auto select"
HKR,defaults,NetworkType,0,"1"
HKR,,NetworkType,0,"1"

HKR,Ndi\params\LedCtrl,        ParamDesc,  0, "LED Control"
HKR,Ndi\params\LedCtrl,        type,       0, "enum"
HKR,Ndi\params\LedCtrl,        default,    0, "1"
HKR,Ndi\params\LedCtrl\enum,   "0",        0, "Disable"
HKR,Ndi\params\LedCtrl\enum,   "1",        0, "Enable"
HKR,defaults,LedCtrl,0,"1"
HKR,,LedCtrl,0,"1"

;HKR,NDI\params\PowerSaveMode,      ParamDesc,  0, %POWER_SAVE_STR%
;HKR,NDI\params\PowerSaveMode,      type,       0, "enum"
;HKR,Ndi\params\PowerSaveMode,      default,    0, "0"
;HKR,NDI\params\PowerSaveMode\enum, "0",        0, "CAM"
;HKR,NDI\params\PowerSaveMode\enum, "1",        0, "MAX_PSP"
;HKR,NDI\params\PowerSaveMode\enum, "2",        0, "Fast_PSP"

HKR,Ndi\params\WiFi11bIbss,        ParamDesc,  0, "WiFi 11b IBSS"
HKR,Ndi\params\WiFi11bIbss,        type,       0, "enum"
HKR,Ndi\params\WiFi11bIbss,        default,    0, "0"
HKR,Ndi\params\WiFi11bIbss\enum,   "0",        0, "Disable"
HKR,Ndi\params\WiFi11bIbss\enum,   "1",        0, "Enable"
HKR,defaults,WiFi11bIbss,0,"0"
HKR,,WiFi11bIbss,0,"0"

HKR,Ndi\params\bRateAdaptive,        ParamDesc,  0, "Rate Adaptive"
HKR,Ndi\params\bRateAdaptive,        type,       0, "enum"
HKR,Ndi\params\bRateAdaptive,        default,    0, "1"
HKR,Ndi\params\bRateAdaptive\enum,   "0",        0, "Disable"
HKR,Ndi\params\bRateAdaptive\enum,   "1",        0, "Enable"
HKR,defaults,bRateAdaptive,0,"1"
HKR,,bRateAdaptive,0,"1"

HKR,Ndi\params\TurboMode,        ParamDesc,  0, "Turbo Mode"
HKR,Ndi\params\TurboMode,        type,       0, "enum"
HKR,Ndi\params\TurboMode,        default,    0, "1"
HKR,Ndi\params\TurboMode\enum,   "0",        0, "Disable"
HKR,Ndi\params\TurboMode\enum,   "1",        0, "Enable"
HKR,defaults,TurboMode,0,"1"
HKR,,TurboMode,0,"1"

HKR,,DefaultKeyID,,"0"
HKR,,DefaultKey0,,""
HKR,,DefaultKey1,,""
HKR,,DefaultKey2,,""
HKR,,DefaultKey3,,""

; by Owen on 04/12/04
[RTL8187.CopyFiles98]
RTL8187.sys,,,2
;
;*******************************************************************************
; Windows XP
;*******************************************************************************
[RTL8187.NT.Reg]
HKR, Ndi\Interfaces,	UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces,    LowerRange, 0, "ethernet"
HKR, Ndi,            	Service,    0, "RTLWUSB"

[rtsnt.Service]
DisplayName    = %RTL8187.DeviceDesc.DispName%
ServiceType    = 1		; %SERVICE_KERNEL_DRIVER%
StartType      = 3		; %SERRVICE_DEMAND_START%
ErrorControl   = 1		; %SERRVICE_ERROR_NORMAL%
ServiceBinary  = %12%\RTL8187.sys
LoadOrderGroup = NDIS

[RTL8187.EventLog]
AddReg = RTL8187.AddEventLog.reg

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

[RTL8187.CopyFiles]
RTL8187.sys,,,2

;*******************************************************************************
; Destination Directory
;*******************************************************************************
[DestinationDirs]
; by Owen on 04/12/04
RTL8187.CopyFiles98	= 11
;
RTL8187.CopyFiles	= 12

[SourceDisksNames]
1=%DISKNAME%,,,

[SourceDisksFiles]
RTL8187.sys = 1

;*******************************************************************************
; Strings
;*******************************************************************************
[Strings]
Realtek 			= "Realtek Semiconductor Corp."
SSID_STR			= "SSID"
CHANNEL_STR			= "Channel"
NETWORK_TYPE_STR		= "Network Type"
;POWER_SAVE_STR			= "Power Save Mode"

;; Source disk name
DISKNAME			= "Realtek RTL8187 Wireless USB 2.0 Adapter Driver Disk"

RTL8187.DeviceDesc 		= "Realtek RTL8187 Wireless USB 2.0 Adapter"
RTL8187.DeviceDesc.DispName  	= "Realtek RTL8187 Wireless USB 2.0 Adapter NT Driver"

