; Copyright (c) 2005 Hewlett-Packard, WLAN W400/W500 INF for Windows 2K/XP
;
;   Date       Revision         Comment
; ----------------------------------------------------------------------------------
;  01/12/2005  4.0.0.140        Fix version info.
;

[Version]
Signature   = "$CHICAGO$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %Vendor_String%
Compatible  = 1
DriverVer   = 12/27/2004,4.0.0.140
Catalogfile = net5211.cat

[Manufacturer]
%Vendor_String% = Vendor, NT.5.1

[ControlFlags]
ExcludeFromSelect = *

[Vendor]
; DisplayName               Section                 DeviceID
; -----------               -------                 --------
%Vendor.DeviceDesc.MB22%    = MB22_01,              PCI\VEN_168C&DEV_0012&SUBSYS_00E50E11

%Vendor.DeviceDesc.MB22ag%  = MB22ag_01,            PCI\VEN_168C&DEV_0013&SUBSYS_00E50E11
%Vendor.DeviceDesc.MB22g%   = MB22g_01,             PCI\VEN_168C&DEV_0013&SUBSYS_00E60E11

[Vendor.NT.5.1] ; For XP and later
; DisplayName               Section                 DeviceID
; -----------               -------                 --------
%Vendor.DeviceDesc.MB22%    = MB22_01.XP,           PCI\VEN_168C&DEV_0012&SUBSYS_00E50E11

%Vendor.DeviceDesc.MB22ag%  = MB22ag_01.XP,         PCI\VEN_168C&DEV_0013&SUBSYS_00E50E11
%Vendor.DeviceDesc.MB22g%   = MB22g_01.XP,          PCI\VEN_168C&DEV_0013&SUBSYS_00E60E11


; Windows 2K specific entries
[MB22_01.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, COMMON_NDIS_NT.reg, 5211.reg, 5211.ab.reg
CopyFiles       = WLAN_NT.CopyFiles, DEFAULTDESTDIRS
DelFiles        = WLAN_NT.DelIniFiles

[MB22_02.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, COMMON_NDIS_NT.reg, 5211.reg, 5211.ab.reg
CopyFiles       = WLAN_NT.CopyFiles, DEFAULTDESTDIRS
DelFiles        = WLAN_NT.DelIniFiles

[MB22ag_01.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, COMMON_NDIS_NT.reg, 5211.reg, 5212.abg.reg
CopyFiles       = WLAN_NT.CopyFiles, DEFAULTDESTDIRS
DelFiles        = WLAN_NT.DelIniFiles

[MB22g_01.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, COMMON_NDIS_NT.reg, 5211.reg, 5212.bg.reg
CopyFiles       = WLAN_NT.CopyFiles, DEFAULTDESTDIRS
DelFiles        = WLAN_NT.DelIniFiles

[MB22_01.NT.Services]
AddService      = WLAN_400_500_SERVICE, 2, WlanNetCard.Service, common.EventLog

[MB22_02.NT.Services]
AddService      = WLAN_400_500_SERVICE, 2, WlanNetCard.Service, common.EventLog

[MB22ag_01.NT.Services]
AddService      = WLAN_400_500_SERVICE, 2, WlanNetCard.Service, common.EventLog

[MB22g_01.NT.Services]
AddService      = WLAN_400_500_SERVICE, 2, WlanNetCard.Service, common.EventLog


; Windows XP specific entries
[MB22_01.XP]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, COMMON_NDIS_NT.reg, 5211.reg, 5211.ab.reg, 5211.XP.reg, 5211.ab.XP.reg
CopyFiles       = WLAN_NT.CopyFiles, DEFAULTDESTDIRS
DelFiles        = WLAN_NT.DelIniFiles

[MB22_02.XP]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, COMMON_NDIS_NT.reg, 5211.reg, 5211.ab.reg, 5211.XP.reg, 5211.ab.XP.reg
CopyFiles       = WLAN_NT.CopyFiles, DEFAULTDESTDIRS
DelFiles        = WLAN_NT.DelIniFiles

[MB22ag_01.XP]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, COMMON_NDIS_NT.reg, 5211.reg, 5212.abg.reg, 5211.XP.reg, 5212.abg.XP.reg
CopyFiles       = WLAN_NT.CopyFiles, DEFAULTDESTDIRS
DelFiles        = WLAN_NT.DelIniFiles

[MB22g_01.XP]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, COMMON_NDIS_NT.reg, 5211.reg, 5212.bg.reg, 5211.XP.reg, 5212.bg.XP.reg
CopyFiles       = WLAN_NT.CopyFiles, DEFAULTDESTDIRS
DelFiles        = WLAN_NT.DelIniFiles

[MB22_01.XP.Services]
AddService      = WLAN_400_500_SERVICE, 2, WlanNetCard.Service, common.EventLog

[MB22_02.XP.Services]
AddService      = WLAN_400_500_SERVICE, 2, WlanNetCard.Service, common.EventLog

[MB22ag_01.XP.Services]
AddService      = WLAN_400_500_SERVICE, 2, WlanNetCard.Service, common.EventLog

[MB22g_01.XP.Services]
AddService      = WLAN_400_500_SERVICE, 2, WlanNetCard.Service, common.EventLog


;
; 5211/5212 Enumerated Types
;

[5211.ab.reg]
HKR, ,                                  AdHocBand,                      0x00002,  "0"
HKR, ,                                  NetBand,                        0x00002,  "7"
HKR, CustomParams\Configurations,       NicType,                        0x10003,  1
HKR, CustomParams\Configurations\Cfg0,  NetBand,                        0x10003,  7

[5212.abg.reg]
HKR, ,                                  AdHocBand,                      0x00002,  "0"
HKR, ,                                  NetBand,                        0x00002,  "15"
HKR, CustomParams\Configurations,       NicType,                        0x10003,  1
HKR, CustomParams\Configurations\Cfg0,  NetBand,                        0x10003,  15

[5212.bg.reg]
HKR, ,                                  AdHocBand,                      0x00002,  "0"
HKR, ,                                  NetBand,                        0x00002,  "12"
HKR, CustomParams\Configurations,       NicType,                        0x10003,  1
HKR, CustomParams\Configurations\Cfg0,  NetBand,                        0x10003,  12


[5211.ab.XP.reg]
HKR, Ndi\params\NetBand,                ParamDesc,                      0,  %WirelessMode%
HKR, Ndi\params\NetBand,                Base,                           0,  "10"
HKR, Ndi\params\NetBand,                default,                        0,  "7"
HKR, Ndi\params\NetBand,                type,                           0,  "enum"
HKR, Ndi\params\NetBand\enum,           "7",                            0,  "5Ghz + 2.4Ghz"
HKR, Ndi\params\NetBand\enum,           "3",                            0,  "5Ghz Only"
HKR, Ndi\params\NetBand\enum,           "4",                            0,  "2.4Ghz Only"

[5212.abg.XP.reg]
HKR, Ndi\params\NetBand,                ParamDesc,                      0,  %WirelessMode%
HKR, Ndi\params\NetBand,                Base,                           0,  "10"
HKR, Ndi\params\NetBand,                default,                        0,  "15"
HKR, Ndi\params\NetBand,                type,                           0,  "enum"
HKR, Ndi\params\NetBand\enum,           "15",                           0,  "5Ghz + 2.4Ghz"
HKR, Ndi\params\NetBand\enum,           "3",                            0,  "5Ghz Only"
HKR, Ndi\params\NetBand\enum,           "12",                           0,  "2.4Ghz Only"

[5212.bg.XP.reg]


;-----------------------------------------------------------------------------

[5211.XP.reg]

HKR, Ndi\params\sleepMode,              ParamDesc,                      0,  %sleepMode%
HKR, Ndi\params\sleepMode,              Base,                           0,  "10"
HKR, Ndi\params\sleepMode,              default,                        0,  "0"
HKR, Ndi\params\sleepMode,              type,                           0,  "enum"
HKR, Ndi\params\sleepMode\enum,         "0",                            0,  %sleepModeOff%
HKR, Ndi\params\sleepMode\enum,         "2",                            0,  %sleepModeNormal%
HKR, Ndi\params\sleepMode\enum,         "1",                            0,  %sleepModeMax%

HKR, Ndi\params\shortPreamble,          ParamDesc,                      0,  %shortPreamble%
HKR, Ndi\params\shortPreamble,          Base,                           0,  "10"
HKR, Ndi\params\shortPreamble,          default,                        0,  "1"
HKR, Ndi\params\shortPreamble,          type,                           0,  "enum"
HKR, Ndi\params\shortPreamble\enum,     "1",                            0,  %shortPreambleEnable%
HKR, Ndi\params\shortPreamble\enum,     "0",                            0,  %shortPreambleDisable%

HKR, Ndi\params\radioEnable,            ParamDesc,                      0,  %radioEnable%
HKR, Ndi\params\radioEnable,            Base,                           0,  "10"
HKR, Ndi\params\radioEnable,            default,                        0,  "1"
HKR, Ndi\params\radioEnable,            type,                           0,  "enum"
HKR, Ndi\params\radioEnable\enum,       "1",                            0,  %radioEnableOn%
HKR, Ndi\params\radioEnable\enum,       "0",                            0,  %radioEnableOff%

HKR, Ndi\params\bkScanEnable,            ParamDesc,                      0,  %BackScan%
HKR, Ndi\params\bkScanEnable,            Base,                           0,  "10"
HKR, Ndi\params\bkScanEnable,            default,                        0,  "1"
HKR, Ndi\params\bkScanEnable,            type,                           0,  "enum"
HKR, Ndi\params\bkScanEnable\enum,       "1",                            0,  %Enabled%
HKR, Ndi\params\bkScanEnable\enum,       "0",                            0,  %Disabled%


;-----------------------------------------------------------------------------
;
; 5211 common
;

[5211.DelReg]
HKR,,NetBand
HKR,,ssid
HKR,,ssid2
HKR,,ssid3
HKR,,prefBssid1
HKR,,prefBssid2
HKR,,prefBssid3
HKR,,prefBssid4
HKR,Ndi\Params\tpc
HKR,,tpc
HKR,Ndi\Params\authTypeUseOnly
HKR,,authTypeUseOnly
HKR,,AdHocBand
HKR,,AwakeTimePerf
HKR,,beaconInterval
HKR,,bkScanEnable
HKR,,bssType
HKR,,ccode
HKR,,clist
HKR,,defaultKey
HKR,,EncryptionAlg
HKR,,FragThreshold
HKR,,HwTxRetries
HKR,,privacyInvoked
HKR,,QoS
HKR,,rateCtrlEnable
HKR,,RTSThreshold
HKR,,scanType
HKR,,SwTxRetryScale
HKR,,SmeEnable
HKR,,aifs
HKR,,cwmin


[5211.reg]

HKR, Ndi\params\scanTimeValid,          ParamDesc,                      0,  	%ScanTimeValid%
HKR, Ndi\params\scanTimeValid,          Base,                           0,  	"10"
HKR, Ndi\params\scanTimeValid,          default,                        0,  	"120000"
HKR, Ndi\params\scanTimeValid,          type,                           0,  	"enum"
HKR, Ndi\params\scanTimeValid\enum,     "5000",                         0,  	%5seconds%
HKR, Ndi\params\scanTimeValid\enum,     "15000",                        0,  	%15seconds%
HKR, Ndi\params\scanTimeValid\enum,     "30000",                        0,  	%30seconds%
HKR, Ndi\params\scanTimeValid\enum,     "60000",                        0,  	%60seconds%
HKR, Ndi\params\scanTimeValid\enum,     "90000",                        0,  	%90seconds%
HKR, Ndi\params\scanTimeValid\enum,     "120000",                       0,  	%120seconds%


HKR, Ndi\params\removeNoGSubId,		ParamDesc,                      0,	%80211g%
HKR, Ndi\params\removeNoGSubId,		Base,                           0,	"10"
HKR, Ndi\params\removeNoGSubId,		default,                        0,	"1"
HKR, Ndi\params\removeNoGSubId,		type,                           0,	"enum"
HKR, Ndi\params\removeNoGSubId\enum,	"1",                            0,	%80211g Enabled%
HKR, Ndi\params\removeNoGSubId\enum,	"0",                            0,	%80211g Disabled%


HKR, Ndi\params\scanTimePreSleep,	ParamDesc,                      0,	%Disconnect Scan Mode%
HKR, Ndi\params\scanTimePreSleep,	Base,                           0,	"10"
HKR, Ndi\params\scanTimePreSleep,	default,                        0,	"300"
HKR, Ndi\params\scanTimePreSleep,	type,                           0,	"enum"
HKR, Ndi\params\scanTimePreSleep\enum,	"32767",                        0,	%Scan Continuously%
HKR, Ndi\params\scanTimePreSleep\enum,	"300",                          0,	%Sleep between Scans%

HKR, ,                                  gpioPinFunc0,                   0x00002,  "1"

HKR, CustomParams\Configurations,       MajorVersion,                   0x10003,  2
HKR, CustomParams\Configurations,       MinorVersion,                   0x10003,  0

HKR, CustomParams\Configurations,       SelectedConfigurationIndex,     0x10003,  0
HKR, CustomParams\Configurations,       SelectedConfigurationName,      0x00002,  "Default"
HKR, CustomParams\Configurations\Cfg0,  AdHocBand,                      0x10003,  0
HKR, CustomParams\Configurations\Cfg0,  ConfigurationName,              0x00002,  "Default"
HKR, CustomParams\Configurations\Cfg0,  DefaultKey,                     0x10003,  0
HKR, CustomParams\Configurations\Cfg0,  EnableMacAddress,               0x10003,  0
HKR, CustomParams\Configurations\Cfg0,  EnableSecurity,                 0x10003,  0
HKR, CustomParams\Configurations\Cfg0,  EncryptionAlg,                  0x10003,  4
HKR, CustomParams\Configurations\Cfg0,  HexEntry,                       0x10003,  1
HKR, CustomParams\Configurations\Cfg0,  leapEnabled,                    0x10003,  0
HKR, CustomParams\Configurations\Cfg0,  MacAddress,                     0x00002,  ""
HKR, CustomParams\Configurations\Cfg0,  NetworkConnectionType,          0x10003,  1
HKR, CustomParams\Configurations\Cfg0,  NetworkName,                    0x00002,  ""
HKR, CustomParams\Configurations\Cfg0,  PowerManagement,                0x10003,  0
HKR, CustomParams\Configurations\Cfg0,  Preamble,                       0x10003,  1
HKR, CustomParams\Configurations\Cfg0,  QoS,                            0x10003,  0
HKR, CustomParams\Configurations\Cfg0,  scanType,                       0x10003,  2
HKR, CustomParams\Configurations\Cfg0,  tpc,                            0x10003,  0

; Allow non admin uses to switch profiles
[5211.reg.security]
"D:ARAI(A;;GA;;;BA)(A;;GA;;;SY)(A;CI;GA;;;IU)"

;-----------------------------------------------------------------------------
; NT specific
;

[COMMON_NDIS_NT.reg]
HKR, Ndi,             Service,      0, "WLAN_400_500_SERVICE"
HKR, Ndi\Interfaces,  UpperRange,   0, "ndis5"
HKR, Ndi\Interfaces,  LowerRange,   0, "ethernet"


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

;-----------------------------------------------------------------------------
; NT common
;
[common.EventLog]
AddReg = common.AddEventLog.reg

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

  
;----------------------------------------------------------------------------
; NT Files to Copy
[WLAN_NT.CopyFiles]
 ar5211.sys,,,0x00000004    ; COPYFLG_NOVERSIONCHECK

[WLAN_NT.DelIniFiles]
 Athnic.ini,,,1

[SourceDisksNames]
; diskid = description[, [tagfile] [, <unused>, subdir]]
;-------------------------------------------------------
;
1 = %DriverDiskName%,,,

[SourceDisksFiles.X86]  ; WinNT
; filename_on_source = diskID[, [subdir][, size]]
;-------------------------------------------------------
 ar5211.sys             = 1,, ; on distribution disk 1

[DestinationDirs]
 DefaultDestDir         = 11 ; Win9x=%windir%\system WinNT=%windir%\system32
 WLAN_NT.CopyFiles      = 12 ; WinNT=%windir%\system32\drivers
 WLAN_NT.DelIniFiles    = 12 ; WinNT=%windir%\system32\drivers
 
[DEFAULTDESTDIRS]
;


[Strings]
Vendor_String               = "HP"
WirelessMode                = "Wireless Mode"
sleepMode                   = "Power Save Mode"
sleepModeOff                = "Off"
sleepModeNormal             = "Normal"
sleepModeMax                = "Maximum"
tpc                         = "Transmit Power"
tpcLowest                   = "Lowest"
shortPreamble               = "802.11b Preamble"
shortPreambleEnable         = "Long and Short"
shortPreambleDisable        = "Long only"
radioEnable                 = "Radio On/Off"
radioEnableOn               = "On"
radioEnableOff              = "Off"
BackScan                    = "Scanning for available networks"
Enabled                     = "Allowed anytime"
Disabled                    = "Not while connected"
DriverDiskName              = "HP WLAN W400/W500 Driver Disk 1"
Vendor.DeviceDesc.MB22g     = "HP WLAN 802.11b/g W400"
Vendor.DeviceDesc.MB22ag    = "HP WLAN 802.11a/b/g W500"
Vendor.DeviceDesc.MB22      = "HP WLAN 802.11a/b W500"
Service.DispName            = "HP WLAN W400/W500 Wireless Network Adapter Service"

authTypeUseOnly              = "802.11 Authentication Type"
authAuto                     = "Auto"
authOpen                     = "Open Only"
authShared                   = "Shared Key Only"

80211g			     ="802.11g Capability"
80211g Enabled		     ="Enabled"
80211g Disabled		     ="Disabled"

Disconnect Scan Mode		= "Scan Mode during Disconnect State"
Scan Continuously		= "Scan Continuously"
Sleep between Scans		= "Sleep between Scans"

ScanTimeValid		 	= "Roam Scan Timeout(sec)"
5seconds		 	= "5 seconds"
15seconds		 	= "15 seconds"
30seconds		 	= "30 seconds"
60seconds		 	= "60 seconds"
90seconds		 	= "90 seconds"
120seconds		 	= "120 seconds"