;****************************************************************************************
;
; WLANCRN.inf
;
;   This installation script supports Windows 2000, XP for the
;   Wireless LAN Adapters.
;
;   Copyright © 2007
;   All Rights Reserved.
;
;***********************************************************************

[Version]
Signature          = "$Chicago$"
Class              = Net
ClassGUID          = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider           = %Provider%
Compatible         = 1
DriverVer          = 07/18/2007, 1.00.04.0000
CatalogFile.NT     = WLANCRN.cat

;[ControlFlags]
;ExcludeFromSelect   = *

[Manufacturer]
%MANUFACTURER_STR%        = DeviceList, NTx86.5.1


[DeviceList.NTx86.5.1]
; DisplayName               Section                 DeviceID
; -----------               -------                 --------
%WLAN_PCIE_DESC_STR%    = WLAN_PCIE1.XP,          PCI\VEN_1814&DEV_0601&SUBSYS_006317CF

[DeviceList]
; DisplayName               Section                 DeviceID
; -----------               -------                 --------
%WLAN_PCIE_DESC_STR%    = WLAN_PCIE1,          PCI\VEN_1814&DEV_0601&SUBSYS_006317CF


;##############################################################################################
; winxp specific entries
;##############################################################################################

[WLAN_PCIE1.XP.NT]
AddReg                  = WLAN_PCIE1_XP_REG, Common.reg, WlanPCI.ndi.NT.reg
Characteristics         = 0x84
BusType                 = 5
CopyFiles               = WINNT.CopyFiles

[WLAN_PCIE1_XP_REG]
HKR,,VendorDesc,0,%WLAN_PCIE_DESC_STR%

[WLAN_PCIE1.XP.NT.Services]
AddService              = BWXN990, 2, WLAN_PCI.Service, common.EventLog

;##############################################################################################
; win2k specific entries
;##############################################################################################

[WLAN_PCIE1.NT]
AddReg                  = WLAN_PCIE1_2K_REG, Common.reg, WlanPCI.ndi.NT.reg
Characteristics         = 0x84
BusType                 = 5
CopyFiles               = WINNT.CopyFiles

[WLAN_PCIE1_2K_REG]
HKR,,VendorDesc,0,%WLAN_PCIE_DESC_STR%

[WLAN_PCIE1.NT.Services]
AddService              = BWXN990, 2, WLAN_PCI.Service, common.EventLog
;##############################################################################################
; win2k,xp,amd64 common
;##############################################################################################
; NT services sections 
[WlanPCI.ndi.NT.reg]
HKR, Ndi,                   Service,            0, "BWXN990"
HKR, Ndi\Interfaces,        UpperRange,         0, "ndis5"
HKR, Ndi\Interfaces,        LowerRange,         0, "ethernet"


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


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

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

;*******************************************************************************************
; common regs for NT and W9x
;*******************************************************************************************
[Common.reg]
;*******************************************************************************************
HKR, ,                    CurProfile,      0,""

HKR, ,                            Radio,           0, "0"
HKR, NDI\params\Radio,            ParamDesc,       0, "Radio On/Off"
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"

HKR, ,                                  AutoReconnect,      0, "1"          ;0 = disable,  1=enable(default)

HKR, ,                                  ShowHiddenSSID,     0, "0"   ; 0=disable(default), 1=enable

HKR, ,                            OpMode,          0, "0"			

HKR, ,                            WirelessMode,    0, "5"

HKR, ,                            TXBurst,         0, "0"

HKR, ,                            ShortSlot,       0, "1"			

HKR, ,                            TurboRate,       0, "0"

HKR, ,                            AdhocOfdm,       0, "0"

HKR, ,                            BGProtection,    0, "0"		
HKR, NDI\params\BGProtection,           ParamDesc, 0, "B/G Protection"
HKR, NDI\params\BGProtection,           type,      0, "enum"
HKR, NDI\params\BGProtection,           default,   0, "0"
HKR, NDI\params\BGProtection\enum,      0,         0, "Auto"
HKR, NDI\params\BGProtection\enum,      1,         0, "On"
HKR, NDI\params\BGProtection\enum,      2,         0, "Off"

HKR, ,                            FrameAggregation,0, "0"
HKR, NDI\params\FrameAggregation,       ParamDesc, 0, "Frame Aggregation"
HKR, NDI\params\FrameAggregation,       type,      0, "enum"
HKR, NDI\params\FrameAggregation,       default,   0, "0"
HKR, NDI\params\FrameAggregation\enum,  0,         0, "Disable"
HKR, NDI\params\FrameAggregation\enum,  1,         0, "Enable"

HKR, ,                            IEEE80211H,      0, "0"

HKR, ,                            WMMCapable,      0, "1"
HKR, NDI\params\WMMCapable,             ParamDesc, 0, "WMM Capable"
HKR, NDI\params\WMMCapable,             type,      0, "enum"
HKR, NDI\params\WMMCapable,             default,   0, "1"
HKR, NDI\params\WMMCapable\enum,        0,         0, "Disable"
HKR, NDI\params\WMMCapable\enum,        1,         0, "Enable"

HKR, ,                            APSDCapable,     0, "0"      	; 0=disable(default), 1=enable

HKR, ,                            APSDAC_BE,       0, "0"      	; 0=disable(default), 1=enable

HKR, ,                            APSDAC_BK,       0, "0"      	; 0=disable(default), 1=enable

HKR, ,                            APSDAC_VI,       0, "0"	; 0=disable(default), 1=enable

HKR, ,                            APSDAC_VO,       0, "0"	; 0=disable(default), 1=enable

HKR, ,                            TGnWifiTest,         0, "0"


HKR, ,                                  DLSCapable,0, "0"
HKR, NDI\params\DLSCapable,             ParamDesc, 0, "DLS Capable"
HKR, NDI\params\DLSCapable,             type,      0, "enum"
HKR, NDI\params\DLSCapable,             default,   0, "0"
HKR, NDI\params\DLSCapable\enum,        0,         0, "Disable"
HKR, NDI\params\DLSCapable\enum,        1,         0, "Enable"

HKR, ,                                  RDG,       0, "1"
HKR, NDI\params\RDG,                    ParamDesc, 0, "RDG"
HKR, NDI\params\RDG,                    type,      0, "enum"
HKR, NDI\params\RDG,                    default,   0, "1"
HKR, NDI\params\RDG\enum,               0,         0, "Disable"
HKR, NDI\params\RDG\enum,               1,         0, "Enable"

HKR, ,                           AllowBW40InBGBand,0, "1"
HKR, NDI\params\AllowBW40InBGBand,      ParamDesc, 0, "AllowBW40InBGBand"
HKR, NDI\params\AllowBW40InBGBand,      type,      0, "enum"
HKR, NDI\params\AllowBW40InBGBand,      default,   0, "1"
HKR, NDI\params\AllowBW40InBGBand\enum, 0,         0, "Disable"
HKR, NDI\params\AllowBW40InBGBand\enum, 1,         0, "Enable"

HKR, ,                            PSPXlink,        0, "0"
HKR, NDI\params\PSPXlink,         ParamDesc,       0, "PSP Xlink Mode"
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"

HKR, ,                            CCX2Control,     0x00010001, 0x00fa4600

HKR, ,                            BACapability,      0x10001, "0x07034040"
HKR, Default,                     BACapability,      0x10001, "0x07034040"

HKR, ,                            TransmitSetting,      0x10001, "0x2BA15"
HKR, Default,                     TransmitSetting,      0x10001, "0x2BA15"

HKR, ,                            NetworkType,     0, %NETWORK_TYPE_DEF_STR%

;HKR, ,                            SSID,            0, %SSID_DEF_STR%


HKR, ,                            Channel,         0, %CHANNEL%

HKR, ,                            PreambleType,    0, "0"

HKR, ,                AuthenType,      0, "0" ; Open System

HKR, ,                Encryption,      0, "1" ; Disable

HKR, ,                WEPKeyLen,       0, "0"

HKR, ,                WEPKeyUse,       0,"1"

HKR, ,                WEPKey1,         0,""
HKR, ,                WEPKey2,         0,""
HKR, ,                WEPKey3,         0,""
HKR, ,                WEPKey4,         0,""
;*******************************************************************************************
; DestinationDirs
;*******************************************************************************************

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



[WINNT.CopyFiles]
WLANCRN.sys                     ; NT Installation


[SourceDisksNames]
1                 	= %INSTALL_DISK_STR%,,,

[SourceDisksFiles] 
WLANCRN.sys             = 1

;###############################################################################
[strings]
Provider                    = "Bewan"
MANUFACTURER_STR            = "Bewan"

WLAN_PCI.Service.DispName   = "Bewan 802.11n XN990 Driver"

INSTALL_DISK_STR            = "Cd-Rom d’installation 802.11n"

WLAN_PCIE_DESC_STR          = "Carte PCI Wi-Fi 802.11n"

NETWORK_TYPE_DEF_STR        = "1"
CHANNEL                     = "1"
