;****************************************************************************************
;
; Drt2870.inf
;
;   This installation script supports Windows 2000 & XP for the
;   D-Link DWA series USB Wireless LAN Card.
;
;   Copyright (c)2002-2010 , D-Link Corp., All Rights Reserved
;
;****************************************************************************************

[Version]
Signature       = "$Chicago$"
Class           = Net
ClassGUID       = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider        = %D-Link%
Compatible      = 1
DriverVer       = 01/02/2012, 3.02.07.0000
CatalogFile     = Drt2870.cat            ;for WHQL certified

[ControlFlags]
;***********D-Link 802.11 n board  ***********
ExcludeFromSelect = *

[Manufacturer]
%D-Link%        = D-Link

[D-Link]
; DisplayName               Section                 DeviceID
; -----------               -------                 --------
%DWA-140B1_3C09.DeviceDesc%    = RTWLAN_C2.ndi,         USB\VID_07D1&PID_3C09
%DWA-160B1_3C11.DeviceDesc%    = RTWLANH_C2.ndi,        USB\VID_07D1&PID_3C11
%DWA-130B1_3C13.DeviceDesc%    = RTWLAN_C2.ndi,         USB\VID_07D1&PID_3C13
%DWA-140B2_3C0A.DeviceDesc%    = RTWLAN_C2.ndi,         USB\VID_07D1&PID_3C0A
%DWA-110B1_3C0B.DeviceDesc%    = RTWLAN_C2.ndi,         USB\VID_07D1&PID_3C0B
%DWA-125A1_3C0D.DeviceDesc%    = RTWLAN_C2.ndi,         USB\VID_07D1&PID_3C0D
%WUA-2340B1_3C0E.DeviceDesc%   = RTWLAN_C2.ndi,         USB\VID_07D1&PID_3C0E
%DWL-G122E1_3C0F.DeviceDesc%   = RTWLAN_C2.ndi,         USB\VID_07D1&PID_3C0F
%DWA-140B3_3C15.DeviceDesc%    = RTWLAN_C2.ndi,         USB\VID_2001&PID_3C15
%DWA-125A2_3C16.DeviceDesc%    = RTWLAN_C2.ndi,         USB\VID_07D1&PID_3C16
%DWA-123A1_3C17.DeviceDesc%    = RTWLAN_C5.ndi,         USB\VID_2001&PID_3C17
%DWA-125A3_3C19.DeviceDesc%    = RTWLAN_C2.ndi,         USB\VID_2001&PID_3C19
%DWA-160B2_3C1A.DeviceDesc%    = RTWLANH_C2.ndi,        USB\VID_2001&PID_3C1A
%GoUSBN150A1_3C1C.DeviceDesc%  = RTWLAN_C13.ndi,       	USB\VID_2001&PID_3C1C
%DWA-123B1_3C1D.DeviceDesc%    = RTWLAN_C13.ndi,        USB\VID_2001&PID_3C1D
%DWA-125B1_3C1E.DeviceDesc%    = RTWLAN_C13.ndi,        USB\VID_2001&PID_3C1E
;*******************************************************************************************
; NT specific entries
;*******************************************************************************************

[RTWLAN_C2.ndi.NT]
AddReg                  = Common.reg, RTUSB.ndi.NT.reg, DefaultBand.reg, IEEE80211H.reg, AdhocN.reg, Customer2.reg, CoInstOpt_DLink.reg, FastRoaming.reg
DelReg                  = RegRemove.delReg
Characteristics         = 0x84                      ; NCF_REMOVABLE | NCF_HAS_UI | NCF_PHYSICAL
BusType                 = 15                        ;USB
CopyFiles               = NT.CopyFiles

[RTWLANH_C2.ndi.NT]
AddReg                  = Common.reg, RTUSB.ndi.NT.reg, DefaultBand.reg, IEEE80211H.reg, AdhocN.reg, IEEE80211H_SET.reg, Customer2.reg, CoInstOpt_DLink.reg, FastRoaming.reg
DelReg                  = RegRemove.delReg
Characteristics         = 0x84                      ; NCF_REMOVABLE | NCF_HAS_UI | NCF_PHYSICAL
BusType                 = 15                        ;USB
CopyFiles               = NT.CopyFiles

[RTWLAN_C5.ndi.NT]
AddReg                  = Common.reg, RTUSB.ndi.NT.reg, DefaultBand.reg, IEEE80211H.reg, AdhocN.reg, Customer2.reg, BTCoexist.reg, CoInstOpt_DLink.reg, FastRoaming.reg
DelReg                  = RegRemove.delReg
Characteristics         = 0x84                      ; NCF_REMOVABLE | NCF_HAS_UI | NCF_PHYSICAL
BusType                 = 15                        ;USB
CopyFiles               = NT.CopyFiles

[RTWLAN_C13.ndi.NT]
AddReg                  = Common.reg, RTUSB.ndi.NT.reg, SingleBand.reg, AdhocN.reg, PsControl.reg, TssiPatchForAntennaVariation.reg, CoInstOpt_DLink.reg, FastRoaming.reg
DelReg                  = RegRemove.delReg
Characteristics         = 0x84                      ; NCF_REMOVABLE | NCF_HAS_UI | NCF_PHYSICAL
BusType                 = 15                        ; USB
CopyFiles               = NT.CopyFiles

; NT services sections
[RTWLAN_C2.ndi.NT.Services]
AddService              = rt2870, 2, Generic.Service, common.EventLog

[RTWLANH_C2.ndi.NT.Services]
AddService              = rt2870, 2, Generic.Service, common.EventLog

[RTWLAN_C5.ndi.NT.Services]
AddService              = rt2870, 2, Generic.Service, common.EventLog

[RTWLAN_C13.ndi.NT.Services]
AddService              = rt2870, 2, Generic.Service, common.EventLog

;*******************************************************************************************
; NT CoInstallers Sections
;*******************************************************************************************
[RTWLAN_C2.ndi.NT.CoInstallers]
CopyFiles = CoInstaller.CopyFiles
AddReg = CoInstaller_AddReg

[RTWLANH_C2.ndi.NT.CoInstallers]
CopyFiles = CoInstaller.CopyFiles
AddReg = CoInstaller_AddReg

[RTWLAN_C5.ndi.NT.CoInstallers]
CopyFiles = CoInstaller.CopyFiles
AddReg = CoInstaller_AddReg

[RTWLAN_C13.ndi.NT.CoInstallers]
CopyFiles = CoInstaller.CopyFiles
AddReg = CoInstaller_AddReg

;*******************************************************************************************
; common regs for NT
;*******************************************************************************************

[Common.reg]
;*******************************************************************************************
; System Level Property

;
; Current Profile
;
HKR, ,                            CurProfile,      0,""
HKR, Default,                     CurProfile,      0,""

;
; 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%

;
; Auto Reconnect Mode
;
HKR, ,                            AutoReconnect,   0, "1"

;
; Show Hidden SSID in Site Survey Page
;
HKR, ,                            ShowHiddenSSID,  0, "1"   ; 0=disable(default), 1=enable

;*******************************************************************************************
; Advance Page

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

;
; CCX drastic roaming use
;
HKR, ,                            CCXPktLossLimitTime,    0, "30"

;
; CCX Dbm offset
;
HKR, ,                            CCXDbmOffset,    0, "4"

;
; CCX VO/VI Drop Period, 3 or 5 is recommanded
;
HKR, ,                            CACDropPeriod,    0, "0"

;
; CCX VO/VI Drop Criteria
;
HKR, ,                            CACDropCriteria,    0, "1700"

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

;
; Enable patch for pass wifi 11n draft
;
HKR, ,                            TGnWifiTest,     0, "0"

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

;
; Use Turbo rate
;
HKR, ,                            TurboRate,       0, "0"

;
; Use Ofdm rate in adhoc mode
;
HKR, ,                            AdhocOfdm,       0, "1"

;
; Disable 5GHz adhoc mode
;
HKR, ,                            Adhoc5GDisable,  0, "0"

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

;
; Use BG Protection
;
HKR, ,                            BGProtection,    0, "0"

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

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

;
; AutoChannelSelect
;
HKR, ,                            AutoChannelSelect,0, "0"

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

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

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

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

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

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

;
; MaxSPLength
;
HKR, ,                            MaxSPLength,     0, "0"
HKR, Default,                     MaxSPLength,     0, "0"

;
; DLSCapable
;
HKR, ,                            DLSCapable,      0, "1"
;
; DirectMode
;
HKR, ,                            DirectMode,      0, "0"

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

;
; ProhibitTKIPonHT
;
HKR, ,                            ProhibitTKIPonHT,0, "1"

;
; Link Speed Status
;
HKR, ,                            LinkSpeedStatus, 0, "0"

;
; 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, "0"
HKR, NDI\params\SmartScan\enum,   0,               0, %Disable%
HKR, NDI\params\SmartScan\enum,   1,               0, %Enable%

;
; AdhocN40MHzAllowed
;
HKR, ,                            AdhocN40MHzAllowed,0, "0"

;
; PSP XLink mode
;
HKR, ,                            PSPXlink,        0, "0"
HKR, NDI\params\PSPXlink,         ParamDesc,       0, %PSPXlink%
HKR, NDI\params\PSPXlink,         type,            0, "enum"
HKR, NDI\params\PSPXlink,         default,         0, "0"
HKR, NDI\params\PSPXlink\enum,    0,               0, %Disable%
HKR, NDI\params\PSPXlink\enum,    1,               0, %Enable%

;
; CCX2 control
;
HKR, ,                            CCX2Control,     0x00010001, 0x00fa4600

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

;
; Wifi Direct settings
;
HKR, ,                            WifiDirectControl,	0x10001, "0x803f8078"
HKR, Default,                     WifiDirectControl,	0x10001, "0x803f8078"

;
; P2P Reinforced ACK check
;
HKR, ,                            P2PAckCheck,    0, "1"
HKR, Default,                     P2PAckCheck,    0, "1"

;
; Enable P2P Video Boost within P2P Group
;
HKR, ,                            P2PVideoBoost,      0, "0"

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

;
; Rssi Delta
;
HKR, ,                            RssiDelta,       0, "6"

;
; Vendor Description
;
HKR, ,                            VendorDesc,      0, %VENDOR_DESC_DEF_STR%
HKR, Default,                     VendorDesc,      0, %VENDOR_DESC_DEF_STR%

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

;*******************************************************************************************
; Profile

;
; SSID
;
;HKR, ,                           SSID,            0, %SSID_DEF_STR%
;HKR, Default,                    SSID,            0, %SSID_DEF_STR%
;HKR, NDI\params\SSID,            ParamDesc,       0, "SSID"
;HKR, NDI\params\SSID,            type,            0, "edit"
;HKR, NDI\params\SSID,            limitText,       0, "32"
;HKR, NDI\params\SSID,            default,         0, %SSID_DEF_STR%

;
; Network Type
;
HKR, ,                            NetworkType,     0, %NETWORK_TYPE_DEF_STR%
HKR, Default,                     NetworkType,     0, %NETWORK_TYPE_DEF_STR%

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


;*******************************************************************************************
; System Configuration Page

;
; Local Administration MAC Network Address
;
HKR, ,                            NetworkAddress,  0, ""
;HKR, Default,                     NetworkAddress,  0, ""
;HKR, NDI\params\NetworkAddress,   ParamDesc,       0, %LocalNetworkAddress%
;HKR, NDI\params\NetworkAddress,   type,            0, "edit"
;HKR, NDI\params\NetworkAddress,   limitText,       0, "12"
;HKR, NDI\params\NetworkAddress,   default,         0, ""
;HKR, NDI\params\Networkaddress,   optional,        0, "1"

;
; 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%

;
; CAM when AC Power
;
HKR, ,                            ACPowerCam,      0, "0"
HKR, Default,                     ACPowerCam,      0, "0"

;
; Preamble Type
;
HKR, ,                            PreambleType,    0, "0"
HKR, Default,                     PreambleType,    0, "0"

;
; RTS Threshold
;
HKR, ,                            RTSThresh,       0, "2347"
HKR, Default,                     RTSThresh,       0, "2347"

;
; Fragment Threshold
;
HKR, ,                            FragThresh,      0, "2346"
HKR, Default,                     FragThresh,      0, "2346"

;*******************************************************************************************
; Authentication & Security Page

;
; Authentication Type
;
HKR, ,                            AuthenType,      0, "0" ; Open System
HKR, Default,                     AuthenType,      0, "0"
                                  
;                                 
; Encryption                      
;                                 
HKR, ,                            Encryption,      0, "1" ; Disable
HKR, Default,                     Encryption,      0, "1"
                                  
;                                 
; WEP Keys Length                 
;                                 
HKR, ,                            WEPKeyLen,       0, "0"
HKR, Default,                     WEPKeyLen,       0, "0"
                                  
;                                 
; WEP Key to use                  
;                                 
HKR, ,                            WEPKeyUse,       0,"1"
HKR, Default,                     WEPKeyUse,       0,"1"
                                  
;                                 
; WEP Key1                        
;                                 
HKR, ,                            WEPKey1,         0,""
HKR, Default,                     WEPKey1,         0,""
                                  
;                                 
; WEP Key2                        
;                                 
HKR, ,                            WEPKey2,         0,""
HKR, Default,                     WEPKey2,         0,""
                                  
;                                 
; WEP Key3                        
;                                 
HKR, ,                            WEPKey3,         0,""
HKR, Default,                     WEPKey3,         0,""
                                  
;                                 
; WEP Key4                        
;                                 
HKR, ,                            WEPKey4,         0,""
HKR, Default,                     WEPKey4,         0,""
                                  
;                                 
; Reposit Bssid List              
;                                 
HKR, ,                            BssidRepositTime,0, "90"
                                  
[RemoveFlag.reg]                  
HKR, ,                            SafelyRemoveOff, 0, "1"

;
; Fast Roaming
;
[FastRoaming.reg]
HKR, ,                                 FastRoamingSensitivity, 0, "1"
HKR, NDI\params\FastRoamingSensitivity,    ParamDesc,          0, %FAST_ROAMING_SENSITIVITY_STR%
HKR, NDI\params\FastRoamingSensitivity,              Type,         0x00000002, "enum"
HKR, NDI\params\FastRoamingSensitivity,              Default,      0x00000002, "1"
HKR, NDI\params\FastRoamingSensitivity,              Optional,     0x00000002, "0"
;HKR, NDI\params\FastRoamingSensitivity\enum,0,                 0, %DISABLE_STR%
HKR, NDI\params\FastRoamingSensitivity\enum,1,                 0, %LOWEST_STR%
HKR, NDI\params\FastRoamingSensitivity\enum,2,                 0, %LOW_STR%
HKR, NDI\params\FastRoamingSensitivity\enum,3,                 0, %MEDIUM_STR%
HKR, NDI\params\FastRoamingSensitivity\enum,4,                 0, %HIGH_STR%
HKR, NDI\params\FastRoamingSensitivity\enum,5,                 0, %HIGHEST_STR%
;
; Remove registry
;
[RegRemove.delReg]
; Remove CountryRegion
HKR, NDI\params\CountryRegion
HKR, NDI\params\CountryRegionABand
                                  
[IEEE80211H.reg]
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%

[IEEE80211H_SET.reg]                  
HKR, ,                            IEEE80211H,      0, "1"
                                  
[CarrierDetect.reg]               
HKR, ,                            CarrierDetect,   0, "1"
                                  
[SmartScan.reg]                   
HKR, ,                            SmartScan,       0, "1"

[AdhocN.reg]
;
; 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%

[PsControl.reg]
;
; Power Saving Control
;
HKR, ,                            PSControl,       0x00010001, 0x00000001


; Disable Channel 14 for JP
[InitChn14Disabled.reg]
HKR, ,                    InitChn14Disabled,      0,"1"

[SingleBand.reg]
;
; 2.4G Band
;
HKR, ,                                 CountryRegion,      0, "0"
;HKR, NDI\params\CountryRegion,         ParamDesc,          0, %CountryRegion24G%
;HKR, NDI\params\CountryRegion,         type,               0, "enum"
;HKR, NDI\params\CountryRegion,         default,            0, "0"
;HKR, NDI\params\CountryRegion\enum,    0,                  0, %CountryRegion24G_0%
;HKR, NDI\params\CountryRegion\enum,    1,                  0, %CountryRegion24G_1%
;HKR, NDI\params\CountryRegion\enum,    2,                  0, %CountryRegion24G_2%
;HKR, NDI\params\CountryRegion\enum,    3,                  0, %CountryRegion24G_3%
;HKR, NDI\params\CountryRegion\enum,    4,                  0, %CountryRegion24G_4%
;HKR, NDI\params\CountryRegion\enum,    5,                  0, %CountryRegion24G_5%
;HKR, NDI\params\CountryRegion\enum,    6,                  0, %CountryRegion24G_6%
;HKR, NDI\params\CountryRegion\enum,    7,                  0, %CountryRegion24G_7%

[DefaultBand.reg]
;
; 2.4G Band
;
HKR, ,                                 CountryRegion,      0, "0"
;HKR, NDI\params\CountryRegion,         ParamDesc,          0, %CountryRegion24G%
;HKR, NDI\params\CountryRegion,         type,               0, "enum"
;HKR, NDI\params\CountryRegion,         default,            0, "0"
;HKR, NDI\params\CountryRegion\enum,    0,                  0, %CountryRegion24G_0%
;HKR, NDI\params\CountryRegion\enum,    1,                  0, %CountryRegion24G_1%
;HKR, NDI\params\CountryRegion\enum,    2,                  0, %CountryRegion24G_2%
;HKR, NDI\params\CountryRegion\enum,    3,                  0, %CountryRegion24G_3%
;HKR, NDI\params\CountryRegion\enum,    4,                  0, %CountryRegion24G_4%
;HKR, NDI\params\CountryRegion\enum,    5,                  0, %CountryRegion24G_5%
;HKR, NDI\params\CountryRegion\enum,    6,                  0, %CountryRegion24G_6%
;HKR, NDI\params\CountryRegion\enum,    7,                  0, %CountryRegion24G_7%

;
; 5G Band
;
HKR, ,                                 CountryRegionABand, 0, "0"
;HKR, NDI\params\CountryRegionABand,    ParamDesc,          0, %CountryRegion5G%
;HKR, NDI\params\CountryRegionABand,    type,               0, "enum"
;HKR, NDI\params\CountryRegionABand,    default,            0, "0"
;HKR, NDI\params\CountryRegionABand\enum,0,                 0, %CountryRegion5G_0%
;HKR, NDI\params\CountryRegionABand\enum,1,                 0, %CountryRegion5G_1%
;HKR, NDI\params\CountryRegionABand\enum,2,                 0, %CountryRegion5G_2%
;HKR, NDI\params\CountryRegionABand\enum,3,                 0, %CountryRegion5G_3%
;HKR, NDI\params\CountryRegionABand\enum,4,                 0, %CountryRegion5G_4%
;HKR, NDI\params\CountryRegionABand\enum,5,                 0, %CountryRegion5G_5%
;HKR, NDI\params\CountryRegionABand\enum,6,                 0, %CountryRegion5G_6%
;HKR, NDI\params\CountryRegionABand\enum,7,                 0, %CountryRegion5G_7%
;HKR, NDI\params\CountryRegionABand\enum,8,                 0, %CountryRegion5G_8%
;HKR, NDI\params\CountryRegionABand\enum,9,                 0, %CountryRegion5G_9%
;HKR, NDI\params\CountryRegionABand\enum,10,                0, %CountryRegion5G_10%
;HKR, NDI\params\CountryRegionABand\enum,11,                0, %CountryRegion5G_11%
;HKR, NDI\params\CountryRegionABand\enum,12,                0, %CountryRegion5G_12%
;HKR, NDI\params\CountryRegionABand\enum,13,                0, %CountryRegion5G_13%
;HKR, NDI\params\CountryRegionABand\enum,14,                0, %CountryRegion5G_14%
;HKR, NDI\params\CountryRegionABand\enum,15,                0, %CountryRegion5G_15%
;HKR, NDI\params\CountryRegionABand\enum,16,                0, %CountryRegion5G_16%

;*******************************************************************************************
; Customer Request
;*******************************************************************************************

[Customer1.reg]
;
; Customer request for Allied 
;
; Vendor Description
HKR, ,                            VendorDesc,      0, %VENDOR_DESC_CUSTOMER1%
HKR, Default,                     VendorDesc,      0, %VENDOR_DESC_CUSTOMER1%

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

[Customer2.reg]
;
; D-Link Request
;
; WMMCapable
HKR, ,                            WMMCapable,      0, "1"
; Show Hidden SSID in Site Survey Page
HKR, ,                            ShowHiddenSSID,  0, "1"   ; 0=disable(default), 1=enable
; Enable TX Burst
HKR, ,                            TXBurst,         0, "1"
; FrameAggregation
HKR, ,                            FrameAggregation,0, "1"
; DLSCapable
HKR, ,                            DLSCapable,      0, "1"

[BTCoexist.reg]
HKR, ,                BTSoftwareOn,      0, "0"
HKR, ,                BTConfiguration, 0x00010001, 0x380004fd

[LinkSpeedStatus.reg]
;
; LinkSpeedStatus
;
HKR, ,                            LinkSpeedStatus, 0, "1"

[LinkQualitySetting.reg]
;
;LinkQualitySetting
;
HKR, ,                            LinkQualitySetting, 0x00010001, "0x51"

[GainProSpeed.reg]
HKR, ,                            GainProSpeed, 0x00010001, 0x00000300 

[InitChn14Disabled.reg]
;
; Disable Channel 14 for JP
;
HKR, ,                            InitChn14Disabled,0,"1"

[CoInstOpt_DisableN.reg]
;
; RaCoInstaller Options
;
; CoInstaller Options for Azurewave, MSI
HKR, ,                            RaCoInstOpt,     0,"00101111"
HKR, ,                            CountryWirelessMode,     0x00010001, 0x00001000 

; WirelessMode
HKR, ,                            WirelessMode,    0, "3"

; CoInstaller Options , Enable 11n feature in Morocco, Russia, Ukraine.
[CoInstOpt_DLink.reg]
HKR, ,                            RaCoInstOpt,      0,"00001111"
; WirelessMode
HKR, ,                            WirelessMode,    0, "5"
; CountryWirelessMode
HKR, ,                            CountryWirelessMode,    0x10001, "0x11101110"

[BaldEagle.reg]
;
; Bald Eagle Mechanism
;
HKR, ,                            BaldEagleSSID, 0, %BaldEagle_SSID%

[Led2.reg]
;
; Led Configuration
;
HKR, ,                            LedCfg,  0, "1"   ; 0=firmware(def), 1=asic


[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "RaCoInst.dll,ClassCoInstaller"

[NotProhibitTKIPonHT.reg]
;
; Not ProhibitTKIPonHT
;
HKR, ,                            ProhibitTKIPonHT,0, "0"

[TssiPatchForAntennaVariation.reg]
HKR, ,                            TssiPatchForAntennaVariation,  0, "1"

;
; Remove registry
;

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

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

[NT.CopyFiles]
Drt2870.sys                   ; NT Installation

[CoInstaller.CopyFiles]
RaCoInst.dll
RaCoInst.dat

[SourceDisksNames]
1                       = %INSTALL_DISK_STR%,,,

[SourceDisksFiles] 
Drt2870.sys              = 1
RaCoInst.dll            = 1
RaCoInst.dat            = 1

;*******************************************************************************************
; NT specific
;*******************************************************************************************
[RTUSB.ndi.NT.reg]
HKR, Ndi,                   Service,            0, "rt2870"
HKR, Ndi\Interfaces,        UpperRange,         0, "ndis5"
HKR, Ndi\Interfaces,        LowerRange,         0, "ethernet"

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

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

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

;*******************************************************************************************
; Strings
;*******************************************************************************************
[strings]
D-Link                      = "D-Link Corporation"
DWA-140B1_3C09.DeviceDesc      = "D-Link DWA-140 RangeBooster N USB Adapter"
DWA-160B1_3C11.DeviceDesc      = "D-Link DWA-160 Xtreme N Dual Band USB Adapter(rev.B)"
DWA-130B1_3C13.DeviceDesc      = "D-Link DWA-130 Wireless N USB Adapter(rev.B)"
DWA-140B2_3C0A.DeviceDesc      = "D-Link DWA-140 RangeBooster N USB Adapter(rev.B2)"
DWA-110B1_3C0B.DeviceDesc      = "D-Link DWA-110 Wireless G USB Adapter(rev.B)"
DWA-125A1_3C0D.DeviceDesc      = "D-Link DWA-125 Wireless N 150 USB Adapter(rev.A2)"
WUA-2340B1_3C0E.DeviceDesc     = "D-Link WUA-2340 USB Adapter(rev.B)"
DWL-G122E1_3C0F.DeviceDesc     = "D-Link AirPlus G DWL-G122 Wireless Adapter(rev.E)"
DWA-140B3_3C15.DeviceDesc      = "D-Link DWA-140 Wireless N USB Adapter(rev.B3)"
DWA-125A2_3C16.DeviceDesc      = "D-Link DWA-125 Wireless N 150 USB Adapter(rev.A2)"
DWA-121A1_3C17.DeviceDesc      = "D-Link DWA-121 Wireless N 150 Compact USB Adapter"
DWA-123A1_3C17.DeviceDesc      = "D-Link DWA-123 Wireless N 150 USB Adapter"
DWA-125A3_3C19.DeviceDesc      = "D-Link DWA-125 Wireless N 150 USB Adapter(rev.A3)"	
DWA-160B2_3C1A.DeviceDesc      = "D-Link DWA-160 Xtreme N Dual Band USB Adapter(rev.B2)"
GoUSBN150A1_3C1C.DeviceDesc    = "D-Link GO-USB-N150 Wireless N 150 Easy USB Adapter"
DWA-123B1_3C1D.DeviceDesc      = "D-Link DWA-123 Wireless N 150 USB Adapter(rev.B)"
DWA-125B1_3C1E.DeviceDesc      = "D-Link DWA-125 Wireless N 150 USB Adapter(rev.B)"
	
INSTALL_DISK_STR            = "D-Link dnetr28u Wireless 11n USB Installation Disk"
Generic.Service.DispName    = "D-Link dnetr28u USB Extensible Wireless LAN Card Driver"

;
; Don't put spaces around=sign otherwise installer will not be able to
; find these lines.
; SSID_DEF_STR                = ""
VENDOR_DESC_DEF_STR         = "IEEE 802.11 Wireless Card."
NETWORK_TYPE_DEF_STR        = "1"
CHANNEL                     = "6"
WPS_DEVNAME_DEF_STR         = "D-Link Client"
FAST_ROAMING_SENSITIVITY_STR = "Roaming Sensitivity"
;DISABLE_STR = "Disable"
LOWEST_STR = "1. Lowest"
LOW_STR = "2. Low"
MEDIUM_STR = "3. Medium"
HIGH_STR = "4. High"
HIGHEST_STR = "5. Highest"

RadioOnOff                  = "Radio On/Off"
Disable                     = "Disable"
Enable                      = "Enable"
CountryRegion24G            = "Country Region (2.4GHz)"
CountryRegion24G_0          = "#0 (1 - 11)"
CountryRegion24G_1          = "#1 (1 - 13)"
CountryRegion24G_2          = "#2 (10 - 11)"
CountryRegion24G_3          = "#3 (10 - 13)"
CountryRegion24G_4          = "#4 (14)"
CountryRegion24G_5          = "#5 (1 - 14)"
CountryRegion24G_6          = "#6 (3 - 9)"
CountryRegion24G_7          = "#7 (5 - 13)"
CountryRegion5G             = "Country Region (5GHz)"
CountryRegion5G_0           = "#0 (36 - 64,149 - 165)"
CountryRegion5G_1           = "#1 (36 - 140)"
CountryRegion5G_2           = "#2 (36 - 64)"
CountryRegion5G_3           = "#3 (52 - 64,149 - 161)"
CountryRegion5G_4           = "#4 (149 - 165)"
CountryRegion5G_5           = "#5 (149 - 161)"
CountryRegion5G_6           = "#6 (36 - 48)"
CountryRegion5G_7           = "#7 (36 - 165)"
CountryRegion5G_8           = "#8 (52 - 64)"
CountryRegion5G_9           = "#9 (36 - 116,132 - 165)"
CountryRegion5G_10          = "#10 (36 - 48,149 - 165)"
CountryRegion5G_11          = "#11 (36 - 120,149 - 161)"
CountryRegion5G_12          = "#12 (36 - 140)"
CountryRegion5G_13          = "#13 (52 - 161)"
CountryRegion5G_14          = "#14 (36 - 116,136 - 165)"
CountryRegion5G_15          = "#15 (149 - 173)"
CountryRegion5G_16          = "#16 (36 - 173)"
IEEE802_11h                 = "IEEE802.11h"
SmartScan                   = "Multimedia/Gaming Environment"
PSPXlink                    = "PSP Xlink Mode"
LocalNetworkAddress         = "Local MAC Network Address"
PSMode                      = "Power Saving Mode"
CAM                         = "CAM"
MAXPSP                      = "Max_PSP"
AdhocNMode                  = "Adhoc support 802.11n"
WMMCapable                  = "WMM Capable"
APSDCapable                 = "APSD Capable"
APSDAC_BE                   = "AC_BE support APSD"
APSDAC_BK                   = "AC_BK support APSD"
APSDAC_VI                   = "AC_VI support APSD"
APSDAC_VO                   = "AC_VO support APSD"
BaldEagle_SSID              = "amz?;'seimdf^&j$#@ksjdo*(hq!"