; /****************************************************************************
; * Copyright 2006 Atheros Communications Inc., all rights reserved.          *
; * INF file for Atheros reference designs                                    *
; ****************************************************************************/

[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %ATHEROS%
LoutFiles   = layout.inf
CatalogFile = athrextx.cat
DriverVer   = 12/20/2008,7.7.0.199


[Manufacturer]
%ATHEROS%     = Atheros, NTamd64

[ControlFlags]
ExcludeFromSelect = *


[Atheros.NTamd64]
; DisplayName               Section                 DeviceID
; -----------               -------                 --------
%ATHR.DeviceDesc.3067%     = ATHR_DEV_001C.ndi,    PCI\VEN_168C&DEV_001C&SUBSYS_303F103C
%ATHR.DeviceDesc.3067%     = ATHR_DEV_001C.ndi,    PCI\VEN_168C&DEV_001C&SUBSYS_3040103C
%ATHR.DeviceDesc.3067%     = ATHR_DEV_001C.ndi,    PCI\VEN_168C&DEV_001C&SUBSYS_137A103C
%ATHR.DeviceDesc.3067%     = ATHR_DEV_001C.ndi,    PCI\VEN_168C&DEV_001C&SUBSYS_137B103C
%ATHR.DeviceDesc.2063%     = ATHR_DEV_2063.ndi,    PCI\VEN_168C&DEV_001C&SUBSYS_1385103C
%ATHR.DeviceDesc.2063%     = ATHR_DEV_2063.ndi,    PCI\VEN_168C&DEV_001C&SUBSYS_1386103C
%ATHR.DeviceDesc.3096%     = ATHR_DEV_002A.ndi,    PCI\VEN_168C&DEV_002A&SUBSYS_1381103C
%ATHR.DeviceDesc.3096%     = ATHR_DEV_002A.ndi,    PCI\VEN_168C&DEV_002A&SUBSYS_1382103C
%ATHR.DeviceDesc.3096%     = ATHR_DEV_002A.ndi,    PCI\VEN_168C&DEV_002A&SUBSYS_3041103C
%ATHR.DeviceDesc.3096%     = ATHR_DEV_002A.ndi,    PCI\VEN_168C&DEV_002A&SUBSYS_3042103C
%ATHR.DeviceDesc.30A1%     = ATHR_DEV_30A1.ndi,    PCI\VEN_168C&DEV_002B&SUBSYS_303F103C
%ATHR.DeviceDesc.30A1%     = ATHR_DEV_30A1.ndi,    PCI\VEN_168C&DEV_002B&SUBSYS_3040103C

[ATHR_DEV_001C.ndi.NTamd64]
Characteristics = 0x84
BusType         = 5
AddReg          = atheros.reg, ledcontrol.reg
DelReg          = atheros.DelReg
CopyFiles       = atheros.CopyFiles
*IfType         = 71        ; IF_TYPE_IEEE80211
*MediaType      = 16        ; NdisMediumNative802_11
*PhysicalMediaType = 9      ; NdisPhysicalMediumNative802_11

[ATHR_DEV_001C.ndi.NTamd64.Services]
AddService = athr, 2, atheros.Service, atheros.EventLog

[ATHR_DEV_2063.ndi.NTamd64]
Characteristics = 0x84
BusType         = 5
AddReg          = atheros.reg, ledcontrol3.reg
DelReg          = atheros.DelReg
CopyFiles       = atheros.CopyFiles
*IfType         = 71        ; IF_TYPE_IEEE80211
*MediaType      = 16        ; NdisMediumNative802_11
*PhysicalMediaType = 9      ; NdisPhysicalMediumNative802_11

[ATHR_DEV_2063.ndi.NTamd64.Services]
AddService = athr, 2, atheros.Service, atheros.EventLog

[ATHR_DEV_002A.ndi.NTamd64]
Characteristics = 0x84
BusType         = 5
AddReg          = atheros11n.reg, ledcontrol2.reg
DelReg          = atheros.DelReg
CopyFiles       = atheros.CopyFiles
*IfType         = 71        ; IF_TYPE_IEEE80211
*MediaType      = 16        ; NdisMediumNative802_11
*PhysicalMediaType = 9      ; NdisPhysicalMediumNative802_11

[ATHR_DEV_002A.ndi.NTamd64.Services]
AddService = athr, 2, atheros.Service, atheros.EventLog

[ATHR_DEV_30A1.ndi.NTamd64]
Characteristics = 0x84
BusType         = 5
AddReg          = atheros11n.reg, ledcontrol2.reg
DelReg          = atheros.DelReg
CopyFiles       = atheros.CopyFiles
*IfType         = 71        ; IF_TYPE_IEEE80211
*MediaType      = 16        ; NdisMediumNative802_11
*PhysicalMediaType = 9      ; NdisPhysicalMediumNative802_11

[ATHR_DEV_30A1.ndi.NTamd64.Services]
AddService = athr, 2, atheros.Service, atheros.EventLog

[atheros.reg]
HKR, Ndi,                           Service,    0, "athr"
HKR, Ndi\Interfaces,                UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces,                LowerRange, 0, "wlan,ethernet"
HKR, Ndi\params\*ReceiveBuffers,    ParamDesc,  0, "%ReceiveBuffers%"
HKR, Ndi\params\*ReceiveBuffers,    default,    0, "256"
HKR, Ndi\params\*ReceiveBuffers,    min,        0, "1"
HKR, Ndi\params\*ReceiveBuffers,    max,        0, "00000512"
HKR, Ndi\params\*ReceiveBuffers,    step,       0, "1"
HKR, Ndi\params\*ReceiveBuffers,    Base,       0, "10"
HKR, Ndi\params\*ReceiveBuffers,    type,       0, "int"
HKR, Ndi\params\*TransmitBuffers,   ParamDesc,  0, "%TransmitBuffers%"
HKR, Ndi\params\*TransmitBuffers,   default,    0, "512"
HKR, Ndi\params\*TransmitBuffers,   min,        0, "1"
HKR, Ndi\params\*TransmitBuffers,   max,        0, "00000512"
HKR, Ndi\params\*TransmitBuffers,   step,       0, "1"
HKR, Ndi\params\*TransmitBuffers,   Base,       0, "10"
HKR, Ndi\params\*TransmitBuffers,   type,       0, "int"
HKR, Ndi\params\NetworkAddress,     ParamDesc,  0,  %NetworkAddress%
HKR, Ndi\params\NetworkAddress,     default,    0,  ""
HKR, Ndi\params\NetworkAddress,     LimitText,  0,  "12"
HKR, Ndi\params\NetworkAddress,     UpperCase,  0,  "1"
HKR, Ndi\params\NetworkAddress,     optional,   0,  "1"
HKR, Ndi\params\NetworkAddress,     type,       0,  "edit"
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\scanTimeValid,      ParamDesc,  0,  %scanTimeValid%
HKR, Ndi\params\scanTimeValid,      default,    0,  "60"
HKR, Ndi\params\scanTimeValid,      min,        0,  "20"
HKR, Ndi\params\scanTimeValid,      max,        0,  "120"
HKR, Ndi\params\scanTimeValid,      step,       0,  "5"
HKR, Ndi\params\scanTimeValid,      base,       0,  "10"
HKR, Ndi\params\scanTimeValid,      type,       0,  "int"

[atheros11n.reg]
HKR, Ndi,                           Service,    0, "athr"
HKR, Ndi\Interfaces,                UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces,                LowerRange, 0, "wlan,ethernet"
HKR, Ndi\params\*ReceiveBuffers,    ParamDesc,  0, "%ReceiveBuffers%"
HKR, Ndi\params\*ReceiveBuffers,    default,    0, "256"
HKR, Ndi\params\*ReceiveBuffers,    min,        0, "1"
HKR, Ndi\params\*ReceiveBuffers,    max,        0, "00000512"
HKR, Ndi\params\*ReceiveBuffers,    step,       0, "1"
HKR, Ndi\params\*ReceiveBuffers,    Base,       0, "10"
HKR, Ndi\params\*ReceiveBuffers,    type,       0, "int"
HKR, Ndi\params\*TransmitBuffers,   ParamDesc,  0, "%TransmitBuffers%"
HKR, Ndi\params\*TransmitBuffers,   default,    0, "512"
HKR, Ndi\params\*TransmitBuffers,   min,        0, "1"
HKR, Ndi\params\*TransmitBuffers,   max,        0, "00000512"
HKR, Ndi\params\*TransmitBuffers,   step,       0, "1"
HKR, Ndi\params\*TransmitBuffers,   Base,       0, "10"
HKR, Ndi\params\*TransmitBuffers,   type,       0, "int"
HKR, Ndi\params\NetworkAddress,     ParamDesc,  0,  %NetworkAddress%
HKR, Ndi\params\NetworkAddress,     default,    0,  ""
HKR, Ndi\params\NetworkAddress,     LimitText,  0,  "12"
HKR, Ndi\params\NetworkAddress,     UpperCase,  0,  "1"
HKR, Ndi\params\NetworkAddress,     optional,   0,  "1"
HKR, Ndi\params\NetworkAddress,     type,       0,  "edit"
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\scanTimeValid,      ParamDesc,  0,  %scanTimeValid%
HKR, Ndi\params\scanTimeValid,      default,    0,  "60"
HKR, Ndi\params\scanTimeValid,      min,        0,  "20"
HKR, Ndi\params\scanTimeValid,      max,        0,  "120"
HKR, Ndi\params\scanTimeValid,      step,       0,  "5"
HKR, Ndi\params\scanTimeValid,      base,       0,  "10"
HKR, Ndi\params\scanTimeValid,      type,       0,  "int"

;/* Enable these if VLAN or 802.1p is to be enabled */
;HKR, Ndi\Params\*PriorityVLANTag,  ParamDesc,  , %PriorityVLAN%
;HKR, Ndi\Params\*PriorityVLANTag,  default,    , "3"
;HKR, Ndi\Params\*PriorityVLANTag,  type,       , "enum"
;HKR, Ndi\Params\*PriorityVLANTag\enum, 0,      , %PriorityVLANDisabled%
;HKR, Ndi\Params\*PriorityVLANTag\enum, 1,      , %PriorityEnabled%
;HKR, Ndi\Params\*PriorityVLANTag\enum, 2,      , %VLANEnabled%
;HKR, Ndi\Params\*PriorityVLANTag\enum, 3,      , %PriorityVLANEnabled%

[atheros.DelReg]

;;Customized Section

[ledcontrol.reg]
HKR, ,                                  gpioPinFunc0,                 	0x00002,  "3"
HKR, ,                                  gpioFunc0ActHi,                 0x00002,  "0"

[ledcontrol2.reg]
HKR, ,                                  gpioPinFunc0,                   0x00002,  "1"
HKR, ,                                  gpioFunc0ActHi,                 0x00002,  "0"

[ledcontrol3.reg]
HKR, ,                                  gpioPinFunc0,                   0x00002,  "1"
HKR, ,                                  gpioFunc0ActHi,                 0x00002,  "0"

;;End of Customized Section

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

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

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

[atheros.CopyFiles]
athrx.sys,,,2

[SourceDisksNames]
1 = %DiskDescription%,athrx.sys,,

[SourceDisksFiles]
athrx.sys = 1,,

[DestinationDirs]
atheros.CopyFiles            = 12
DefaultDestDirs              = 11

[Strings]
Msft                         = "Microsoft"
Atheros                      = "Atheros Communications Inc."
ATHR.Service.DispName        = "Atheros Extensible Wireless LAN device driver"
DiskDescription              = "Atheros Sample Driver Disk 1"
TransmitBuffers              = "Transmit Buffers"
ReceiveBuffers               = "Receive Buffers"
NetworkAddress               = "Network Address"
scanTimeValid                = "Scan Valid Interval"
shortPreamble                = "802.11b Preamble"
shortPreambleEnable          = "Long and Short"
shortPreambleDisable         = "Long only"
rssiThrHigh                  = "RSSI Threshold"
rssiThrHighNormal            = "Normal"
rssiThrHighMin               = "Min"
scanTime                     = "Roam Time (sec)"
roamRssiA                    = "Roam Time Threshold (db)"
WirelessMode                 = "Wireless Mode Selection"
adhocchannel                 = "Adhoc channel Selection"
ATHR.DeviceDesc.3067         = "Atheros AR5007 802.11b/g WiFi Adapter"
ATHR.DeviceDesc.2063         = "Atheros AR5006 802.11a/b/g WiFi Adapter"
ATHR.DeviceDesc.3096         = "Atheros AR5009 802.11a/g/n WiFi Adapter"
ATHR.DeviceDesc.30A1         = "Atheros AR9285 802.11b/g WiFi Adapter"

;/* Enable these if VLAN or 802.1p is to be enabled */
;PriorityVLAN                = "Priority & VLAN"
;PriorityVLANDisabled        = "Priority & VLAN Disabled"
;PriorityEnabled             = "Priority Enabled"
;VLANEnabled                 = "VLAN Enabled"
;PriorityVLANEnabled         = "Priority & VLAN Enabled"
