;****************************************************************************************
;
; NETR28.INF
;
;   This installation script supports Windows Vista for the
;   Ralink RT2860 series Wireless LAN Card.
;
;   Copyright (c)2007, Ralink Technology Corp., All Rights Reserved
;   Developed by RaLink Technology, Corp. -- http://www.ralinktech.com
;
;****************************************************************************************

[Version]
Signature       = "$Chicago$"
Class           = Net
ClassGUID       = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider        = %BUFFALO%
Compatible      = 1
CatalogFile     = cbg300n2.cat
DriverVer       = 11/03/2008,2.01.02.0000

[ControlFlags]
;ExcludeFromSelect = PCI\VEN_1814&DEV_0601

[Manufacturer]
%BUFFALO%       = BUFFALO

[BUFFALO]
; DisplayName               Section                 DeviceID
; -----------               -------                 --------
%WLI2CBG300N.DeviceDesc%    = BUFFALO.ndi,           PCI\VEN_1814&DEV_0601&SUBSYS_03591154
%WLICBG300HP.DeviceDesc%    = BUFFALO.ndi,           PCI\VEN_1814&DEV_0601&SUBSYS_03641154

;*******************************************************************************************
; NT specific entries
;*******************************************************************************************

[BUFFALO.ndi.NT]
AddReg                  = RT2860.reg
Characteristics         = 0x84                      ; NCF_REMOVABLE | NCF_HAS_UI | NCF_PHYSICAL
BusType                 = 5
CopyFiles               = NT.CopyFiles
*IfType                 = 71                        ; IF_TYPE_IEEE80211
*MediaType              = 16                        ; NdisMediumNative802_11
*PhysicalMediaType      = 9                         ; NdisPhysicalMediumNative802_11

;*******************************************************************************************
; NT services sections
;*******************************************************************************************
[BUFFALO.ndi.NT.Services]
AddService              = cbg300n2, 2, Generic.Service, common.EventLog

;*******************************************************************************************
; RT2860 registry for Windows Vista
;*******************************************************************************************
[RT2860.reg]
HKR, Ndi,                       Service,    0, "cbg300n2"

HKR, Ndi\Interfaces,            UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces,            LowerRange, 0, "wlan,ethernet"

;
; WirelessMode
;
HKR, ,                            WirelessMode,    0, "5"

;
; Channel
;
HKR, ,                            Channel,         0, %CHANNEL%
HKR, Default,                     Channel,         0, %CHANNEL%

;
; Radio On/Off
;
HKR, ,                            Radio,           0, "0"
HKR, NDI\params\Radio,            ParamDesc,       0, %RadioOnOff%
HKR, NDI\params\Radio,            type,            0, "enum"
HKR, NDI\params\Radio,            default,         0, "0"
HKR, NDI\params\Radio\enum,       1,               0, %Disable%
HKR, NDI\params\Radio\enum,       0,               0, %Enable%

;
; WMMCapable
;
HKR, ,                            WMMCapable,      0, "1"

;
; FrameAggregation
;
HKR, ,                            FrameAggregation,0, "0"

;
; IEEE80211H
;
HKR, ,                            IEEE80211H,      0, "0"
HKR, NDI\params\IEEE80211H,       ParamDesc,       0, %IEEE802_11h%
HKR, NDI\params\IEEE80211H,       type,            0, "enum"
HKR, NDI\params\IEEE80211H,       default,         0, "0"
HKR, NDI\params\IEEE80211H\enum,  0,               0, %Disable%
HKR, NDI\params\IEEE80211H\enum,  1,               0, %Enable%

;
; CarrierDetect
;
HKR, ,                               CarrierDetect,   0, "0"

;
; WPS Device Name
;
HKR, ,                            WPSDevName,      0, %WPS_DEVNAME_DEF_STR%
HKR, Default,                     WPSDevName,      0, %WPS_DEVNAME_DEF_STR%

;
; OpMode
;
HKR, ,                            OpMode,          0, "0"

;
; Enable TX Burst
;
HKR, ,                            TXBurst,         0, "0"

;
; Use Short Slot Time
;
HKR, ,                            ShortSlot,       0, "1"


; Block ACK settings
;
HKR, ,                            BACapability,      0x10001, "0x0b034040"
HKR, Default,                     BACapability,      0x10001, "0x0b034040"

;
; Transmit Rate setting
;
HKR, ,                            TransmitSetting,      0x10001, "0x2B215"
HKR, Default,                     TransmitSetting,      0x10001, "0x2B215"

;
; RDG
;
HKR, ,                            RDG,             0, "0"

;
; Network Type
;
HKR, ,                            NetworkType,     0, "1"
HKR, Default,                     NetworkType,     0, "1"

;
; AdhocNMode
;
HKR, ,                            AdhocNMode,      0, "0"
HKR, NDI\params\AdhocNMode,       ParamDesc,       0, %AdhocNMode%
HKR, NDI\params\AdhocNMode,       type,            0, "enum"
HKR, NDI\params\AdhocNMode,       default,         0, "0"
HKR, NDI\params\AdhocNMode\enum,  0,               0, %Disable%
HKR, NDI\params\AdhocNMode\enum,  1,               0, %Enable%

;
; SmartScan
;
HKR, ,                            SmartScan,       0, "1"
HKR, NDI\params\SmartScan,              ParamDesc, 0, %SmartScan%
HKR, NDI\params\SmartScan,              type,      0, "enum"
HKR, NDI\params\SmartScan,              default,   0, "1"
HKR, NDI\params\SmartScan\enum,         0,         0, %Disable%
HKR, NDI\params\SmartScan\enum,         1,         0, %Enable%

;
; Power Saving Mode
;
HKR, ,                            PSMode,          0, "0"
HKR, Default,                     PSMode,          0, "0"
HKR, NDI\params\PSMode,           ParamDesc,       0, %PSMode%
HKR, NDI\params\PSMode,           type,            0, "enum"
HKR, NDI\params\PSMode,           default,         0, "0"
HKR, NDI\params\PSMode\enum,      0,               0, %CAM%
HKR, NDI\params\PSMode\enum,      1,               0, %MAXPSP%

;
; Power Save control
;
HKR, ,                            PSControl,     0x00010001, 0x00000000

;*******************************************************************************************
; DestinationDirs
;*******************************************************************************************

[NT.CopyFiles]
cbg300n2.sys,,,2

[SourceDisksNames]
1 = %INSTALL_DISK_STR%,,,

[SourceDisksFiles]
cbg300n2.sys                = 1,,

[DestinationDirs]
NT.CopyFiles     = 12     ; system32\drivers subdirectory on NT
DefaultDestDir   = 11

;*******************************************************************************************
; NT specific
;*******************************************************************************************

[Generic.Service]
DisplayName                 = %WLI2CBG300N.Service.DispName%
ServiceType                 = 1                             ;%SERVICE_KERNEL_DRIVER%
StartType                   = 3                             ;%SERVICE_AUTO_START%
ErrorControl                = 1                             ;%SERVICE_ERROR_NORMAL%
ServiceBinary               = %12%\cbg300n2.sys
LoadOrderGroup              = NDIS


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

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

;*******************************************************************************************
; Strings
;*******************************************************************************************
[Strings]
BUFFALO                     = "BUFFALO INC."

RadioOnOff                  = "Radio On/Off"
Disable                     = "Disable"
Enable                      = "Enable"
IEEE802_11h                 = "IEEE802.11h"
SmartScan                   = "Multimedia/Gaming Environment"
PSMode                      = "Power Saving Mode"
CAM                         = "CAM"
MAXPSP                      = "Max_PSP"
AdhocNMode                  = "Adhoc support 802.11n"

;*******************************************************************************************
; Device description
;*******************************************************************************************
WLI2CBG300N.DeviceDesc       = "BUFFALO WLI2-CB-G300N Wireless LAN Adapter"
WLICBG300HP.DeviceDesc       = "BUFFALO WLI-CB-G300HP Wireless LAN Adapter"

INSTALL_DISK_STR             = "AirNavigator CD"

WLI2CBG300N.Service.DispName = "BUFFALO WLI2-CB-G300N Wireless LAN Driver"

;
; Parameters
;
CHANNEL                     = "1"
WPS_DEVNAME_DEF_STR         = "Ralink Client"

