;
; Copyright (c) 2013, Microsoft Corporation.
;


[Version]
Signature       = "$Windows NT$"
Class           = Net
ClassGUID       = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider        = %MSFT%
DriverVer       = 03/19/2013,6.9114.0318.2014

[Manufacturer]
%Realtek% = Realtek,NTamd64.6.1

[ControlFlags]
ExcludeFromSelect = *

;;****************************************************************************
;; IDs for X64
;;****************************************************************************
[Realtek.NTamd64.6.1]
; DisplayName		   	Section			DeviceID
; -----------		   	-------			--------
%RTL8187Se.DeviceDesc.ASUS%     = RTL8187Se.ndi,  PCI\VEN_10EC&DEV_8199&SUBSYS_831F1043&REV_22
%RTL8187Se.DeviceDesc.MSI%      = RTL8187Se.ndi,  PCI\VEN_10EC&DEV_8199&SUBSYS_68941462&REV_22
%RTL8187Se.DeviceDesc.WL194G%   = RTL8187Se.ndi,  PCI\VEN_10EC&DEV_8199&SUBSYS_83411043&REV_22
%RTL8187Se.DeviceDesc.WL174GH%  = RTL8187Se.ndi,  PCI\VEN_10EC&DEV_8199&SUBSYS_00661B0A&REV_22
%RTL8187Se.DeviceDesc.WL174%    = RTL8187Se.ndi,  PCI\VEN_10EC&DEV_8199&SUBSYS_00351B0A&REV_22
%RTL8187Se.DeviceDesc%          = RTL8187Se.ndi,  PCI\VEN_10EC&DEV_8199&SUBSYS_0CD6105B&REV_22

%RTL8187Se.DeviceDesc%          = RTL8187Se.ndi,  PCI\VEN_10EC&DEV_8199&REV_22
%RTL8187Se.DeviceDesc%          = RTL8187Se.ndi,  PCI\VEN_10EC&DEV_8185&REV_22

;;****************************************************************************
[RTL8187Se.ndi.NT]
Include                 = netvwifibus.inf
Needs                   = VWiFiBus.CopyFiles
AddReg                  = RTL8187Se.common.reg, RTLWLAN.reg, RTL8187Se_os61.reg
Characteristics	        = 0x84
BusType                 = 5 
CopyFiles               = RTL8187Se.CopyFiles
*IfType                 = 71            ; IF_TYPE_IEEE80211
*MediaType              = 16            ; NdisMediumNative802_11
*PhysicalMediaType      = 9         	; NdisPhysicalMediumNative802_11

[RTL8187Se.ndi.NT.Services]
Include                 = netvwifibus.inf
Needs                   = VWiFiBus.Services
AddService              = RTL8187Se, 2, RTL8187Se.nt61.Service, RTL8187Se.nt61.EventLog

[RTL8187Se.ndi.NT.HW]
Include=netvwifibus.inf
Needs=VWiFiBus.PnPFilterRegistration.Hw
AddReg = RTL8187Se_os61.vwifi.reg

[RTL8187Se_os61.reg]
HKR, Ndi\Interfaces,            UpperRange, 0, "ndis5,mdcwifi,wifipro"
HKR, Ndi\Interfaces,            LowerRange, 0, "wlan,ethernet,vwifi"
HKR, Ndi,                       Service,    0, "RTL8187Se"

[RTL8187Se.nt61.Service]
DisplayName    = %RTL8187Se.DeviceDesc.DispName%
ServiceType    = 1              ; SERVICE_KERNEL_DRIVER
StartType      = 3              ; SERVICE_DEMAND_START
ErrorControl   = 1              ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\RTL8187Se.sys
LoadOrderGroup = NDIS

[RTL8187Se.nt61.EventLog]
AddReg = RTL8187Se.nt61.AddEventLog.reg

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

;; Adds the VWiFi PNP filter
[RTL8187Se_os61.vwifi.reg]
HKR,,"UpperFilters",0x00010000,"vwifibus"


;*******************************************************************************
; RTL8187Se common parameters
;*******************************************************************************
[RTL8187Se.common.reg]


HKR,Ndi\params\QoS,        ParamDesc,  0, %QOS_STR%
HKR,Ndi\params\QoS,        type,       0, "enum"
HKR,Ndi\params\QoS,        default,    0, "0"
HKR,Ndi\params\QoS\enum,   "0",        0, %DISABLE_STR%
HKR,Ndi\params\QoS\enum,   "1",        0, %ENABLE_STR%
HKR,defaults,QoS,0,"0"
HKR,,QoS,0,"0"

HKR,,CcxRm,0,"0"

;;----------------------------------------------------------------------------
;; Realtek WLAN NIC parameters
;;----------------------------------------------------------------------------
[RTLWLAN.reg]

HKR,,Channel,0,"10"

HKR,Ndi\params\WirelessMode, ParamDesc, 0, %WL_MODE_STR%
HKR,Ndi\params\WirelessMode, type, 0, "enum"
HKR,Ndi\params\WirelessMode, default, 0, "4"
;HKR,Ndi\params\WirelessMode\enum, "1", 0, %IEEE_802_11A_STR%
HKR,Ndi\params\WirelessMode\enum, "2", 0, %IEEE_802_11B_STR%
HKR,Ndi\params\WirelessMode\enum, "4", 0, %IEEE_802_11BG_STR%
;HKR,Ndi\params\WirelessMode\enum, "8", 0, %AUTO_STR%
HKR,defaults,WirelessMode, 0, "4"
HKR,,WirelessMode, 0, "4"

HKR,Ndi\params\Dot11dEnable,        ParamDesc,  0, %DOT11_ENABLE_STR%
HKR,Ndi\params\Dot11dEnable,        type,       0, "enum"
HKR,Ndi\params\Dot11dEnable,        default,    0, "0"
HKR,Ndi\params\Dot11dEnable\enum,   "0",        0, %DISABLE_STR%
HKR,Ndi\params\Dot11dEnable\enum,   "1",        0, %ENABLE_STR%
HKR,defaults,Dot11dEnable,0,"0"
HKR,,Dot11dEnable,0,"0"

HKR,,LeisurePsMode,0,"2"

;Inactive Power Save
HKR,,bInactivePs,0,"1"

;Keep Alive Mechanism
HKR,,KeepAliveLevel,0,"1"

HKR,,RoamRetryLimit, 0, "24"

;Hw/Sw Radio Off D3 Mode
HKR,,HwSwRfOffD3,0,"2"

HKR,,RegROAMSensitiveLevel,0,"0"


HKR,,CustomerID,0,"0"

HKR,,bEnableL0s,0,"0"

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


;*******************************************************************************
; Destination Directory
;*******************************************************************************
[RTL8187Se.CopyFiles]
RTL8187Se.sys,,,2

[DestinationDirs]
DefaultDestDir          = 11
RTL8187Se.CopyFiles     = 12

;;****************************************************************************
;; Source Files
;;****************************************************************************
[SourceDisksFiles]
RTL8187Se.sys = 1

[SourceDisksNames]
1=%DISKNAME%,,,

;*******************************************************************************
; Strings
;*******************************************************************************
[Strings]
; Non-Localizable strings
MSFT                            = "Microsoft"
Realtek                         = "Realtek Semiconductor Corp."

; Localizable strings
SSID_STR                        = "SSID"
CHANNEL_STR                     = "Channel"
NETWORK_TYPE_STR                = "Network Type"
LED_CONTROL_STR	                = "LED Control" 
POWER_SAVE_STR                  = "Power Save Mode"
WIFI_IBSS_STR                   = "IBSS Default 11b Mode"
RATE_ADAPTIVE_STR               = "Rate Adaptive"
QOS_STR                         = "QoS"
WMM_APSD                        = "WMM APSD"
CCX_RM_STR                      = "CCX Radio Measurement"
CCX_OFF_LINE_DUR_UP_LIMIT_STR   = "CCX Max Off-Line Measurement (0: unlimited)"
FORCE_PRIORITY_STR              = "Forced Priority"
HW_PARA_STR                     = "Init from HwParaFile"
THREE_WIRE_MODE_STR             = "Three Wire Programming Mode"
BOARD_TYPE_STR                  = "Board Type"
PROTECTION_MODE_STR             = "Protection Mode"
TPC_STR                         = "Transmit Power Control"
TPC_POLARITY_STR                = "TPC Polarity Select"
HIGH_POWER_STR                  = "High Power Mechanism"
INIT_GAIN_STR                   = "Initial Gain State"
CW_MAX_MIN_STR                  = "Contention Window"
PSP_XLINK_STR                   = "PSP XLink Mode"
CHANNEL_PLAN_STR                = "Channel Plan"
WL_MODE_STR                     = "Wireless Mode"
PREAMBLE_MODE_STR               = "Preamble Mode"
FRAGTHRESH_STR                  = "Fragmentation Threshold"
RTSTHRESH_STR                   = "RTS Threshold"
DOT11_ENABLE_STR                = "802.11d"

DISABLE_STR                     = "Disable"
ENABLE_STR                      = "Enable"
CAM_STR                         = "CAM"
MAX_PSP_STR                     = "MAX_PSP"
FAST_PSP_STR                    = "Fast_PSP"
AD_HOC_STR                      = "Ad Hoc"
INFRASTRUCTURE_STR              = "Infrastructure"
AUTO_SELECT_STR                 = "Auto select"
DOMAIN_FROM_EEPROM_STR          = "DOMAIN_FROM_EEPROM"
AUTO_STR                        = "Auto"
LONG_PREAMBLE_STR               = "Long Preamble"
SHORT_PREAMBLE_STR              = "Short Preamble"

FCC_STR                         = "FCC"
IC_STR                          = "IC"
ETSI_STR                        = "ETSI"
SPAIN_STR                       = "Spain"
FRANCE_STR                      = "France"
MKK_STR                         = "MKK"
MKK1_STR                        = "MKK1"
ISRAEL_STR                      = "Israel"
TELEC_STR                       = "TELEC"

IEEE_802_11A_STR                = "IEEE 802.11a"
IEEE_802_11B_STR                = "IEEE 802.11b"
IEEE_802_11BG_STR               = "IEEE 802.11 b/g"
Roam_Retry_Limit_STR            = "Roam Retry Limit(sec)"
LEISURE_POWER_SAVE_STR          = "Leisure Power Save"

;; Source disk name
DISKNAME                        = "Realtek RTL8187SE Wireless LAN PCIE Network Adapter Driver Disk"
RTL8187Se.DeviceDesc.ASUS       = "Realtek RTL8187SE 802.11b/g Wireless LAN PCIE Network"
RTL8187Se.DeviceDesc.MSI        = "802.11b/g Mini Card Wireless Adapter"
RTL8187Se.DeviceDesc.WL194G     = "Realtek RTL8187SE 802.11b/g Wireless LAN PCIE Network"
RTL8187Se.DeviceDesc.WL174GH    = "Realtek RTL8187SE 802.11b/g Wireless LAN HMC Network"
RTL8187Se.DeviceDesc.WL174      = "Realtek RTL8187SE 802.11b/g Wireless LAN mini-PCIE Network"
RTL8187Se.DeviceDesc	        = "Realtek RTL8187SE Wireless LAN PCIE Network Adapter"
RTL8187Se.DeviceDesc.DispName   = "Realtek RTL8187SE Wireless LAN PCIE Network Adapter"

