;===========================================================================
; 
; Windows XP, 2000 NDIS driver INF for Libertas 802.11a/b/g Wireless
; Copyright (C) 2004 Marvell Semiconductor, Inc.
;
;=========================================================================== 
 
 
[Version] 
Signature = "$Windows NT$" 
Compatible  = 1
Class=Net
ClassGUID={4D36E972-E325-11CE-BFC1-08002BE10318} 
Provider=%MRVL% 
CatalogFile=CB55N5x.cat
DriverVer=02/03/2005,1.2.0.13

;===========================================================================
; Source Media Information Sections
;===========================================================================
[SourceDisksNames]
1 = "Marvell installation disk 1",,,

[SourceDisksFiles]
; On Marvell installation disk 1 
CB55N51.sys = 1
CB55N50.sys = 1

[DestinationDirs]
W8335aPCI.XP.CopyFiles  = 12 
W8335aPCI.2K.CopyFiles  = 12 
DefaultDestDirs    = 11

[Manufacturer] 
%MRVL%=Marvell,NT.5.1

[Marvell]
%W8335aPCI.DeviceDesc% = W8335aPCI.ndi.NT, PCI\VEN_11AB&DEV_2A01

[Marvell.NT.5.1]
%W8335aPCI.DeviceDesc% = W8335aPCIXP.ndi, PCI\VEN_11AB&DEV_2A01

;===========================================================================
; ControlFlags section
;===========================================================================
[ControlFlags]
ExcludeFromSelect = *

;***************************************************************************
;**         
;**          Win XP DDInstall section
;**          
;***************************************************************************
;***************************************************************************
[W8335aPCIXP.ndi]
; "Characteristics" is (NCF_PHYSICAL | NCF_HAS_UI)
Characteristics = 0x84 
; "BusType" is PCI or CardBus
BusType         = 5 
AddReg          = W8335aPCI.reg, W8335aPCIXP.reg, W8335aPCIXP.zerocfg
CopyFiles       = W8335aPCI.XP.CopyFiles

[W8335aPCIXP.ndi.Services]
AddService = CB55N51, 2, W8335aPCIXP.Service, CommonXP.EventLog

;===========================================================================
; W8335a PCI WinXP registers
;===========================================================================
[W8335aPCIXP.reg]
HKR, Ndi,            Service,    0, "CB55N51"
HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"


[W8335aPCI.XP.CopyFiles]
CB55N51.sys,,,2 

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


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

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



;***************************************************************************
;***************************************************************************
;**         
;**          Win 2K DDInstall section
;**          
;***************************************************************************
;***************************************************************************

[W8335aPCI.ndi.NT]
; "Characteristics" is (NCF_PHYSICAL | NCF_HAS_UI)
Characteristics = 0x84 
; "BusType" is PCI or CardBus
BusType         = 5 
AddReg          = W8335aPCI.reg, W8335aPCI2K.reg, W8335aPCI.devID.reg
CopyFiles       = W8335aPCI.2K.CopyFiles 

DeviceID = "PCI\VEN_11AB&DEV_2A01"

[W8335aPCI.ndi.NT.Services]
AddService = CB55N50, 2, W8335aPCI2K.Service, Common.EventLog

;===========================================================================
; W8335a PCI Win2K registers
;===========================================================================
[W8335aPCI2K.reg]
HKR, Ndi,            Service,    0, "CB55N50"
HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"

[W8335aPCI.2K.CopyFiles]
CB55N50.sys,,,2 


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

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

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

[W8335aPCI.devID.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_11AB&DEV_2A01"

;===========================================================================
; W8335a PCI common, MIB can be defined here
;===========================================================================
[W8335aPCI.reg]
HKR, Ndi\params\AdhocGMode,ParamDesc,,"%AdhocGMode%"
HKR, Ndi\params\AdhocGMode,default,,"1"
HKR, Ndi\params\AdhocGMode,type,,enum
HKR, Ndi\params\AdhocGMode\enum,"0",,"Adhoc G Mode"
HKR, Ndi\params\AdhocGMode\enum,"1",,"Adhoc B Mode only" 

HKR, Ndi\xparams\DesiredSSID,ParamDesc,,"%SSID%"
HKR, Ndi\xparams\DesiredSSID,default,,""
HKR, Ndi\xparams\DesiredSSID,type,,"edit" 
HKR, Ndi\xparams\DesiredSSID,LimitText,,"32"
HKR, Ndi\xparams\DesiredSSID,UpperCase,,"0" 
HKR, Ndi\xparams\DesiredSSID,Optional,,"1" 

HKR, Ndi\xparams\AuthMode,ParamDesc,,"%AuthMode%"
HKR, Ndi\xparams\AuthMode,default,,"0"
HKR, Ndi\xparams\AuthMode,type,,enum
HKR, Ndi\xparams\AuthMode\enum,"0",,"Open"
HKR, Ndi\xparams\AuthMode\enum,"1",,"Shared"

HKR, Ndi\xparams\NetworkMode,ParamDesc,,"%NetworkMode%"
HKR, Ndi\xparams\NetworkMode,default,,"1"
HKR, Ndi\xparams\NetworkMode,type,,enum
HKR, Ndi\xparams\NetworkMode\enum,"0",,"Ad Hoc"
HKR, Ndi\xparams\NetworkMode\enum,"1",,"Infrastructure"

;HKR, Ndi\xparams\Wireless,ParamDesc,,"%WirelessM%"
;HKR, Ndi\xparams\Wireless,default,,"0"
;HKR, Ndi\xparams\Wireless,type,,enum
;HKR, Ndi\xparams\Wireless\enum,"0",,"Auto"
;HKR, Ndi\xparams\Wireless\enum,"1",,"B rates only"
 
HKR, Ndi\params\FragThsd,  ParamDesc,0 , "%FragThsds%"
HKR, Ndi\params\FragThsd,  default, 0 , "2346"
HKR, Ndi\params\FragThsd,  min, 0 , "256"
HKR, Ndi\params\FragThsd,  max, 0 , "2346"
HKR, Ndi\params\FragThsd,  step, 0 , "1"
HKR, Ndi\params\FragThsd,  Base, 0 , "10"
HKR, Ndi\params\FragThsd,  type, 0 ,"dword"

HKR, Ndi\xparams\Channel,  ParamDesc,0 , "%Channel%"
HKR, Ndi\xparams\Channel,  default, 0 , "56"
HKR, Ndi\xparams\Channel,  min, 0 , "1"
HKR, Ndi\xparams\Channel,  max, 0 , "165"
HKR, Ndi\xparams\Channel,  step, 0 , "1"
HKR, Ndi\xparams\Channel,  Base, 0 , "16"
HKR, Ndi\xparams\Channel,  type, 0 ,"dword"

HKR, Ndi\xparams\TxAntenna,  ParamDesc,0 , "%TxAntennaStr%"
HKR, Ndi\xparams\TxAntenna,  default, 0 , "2"
HKR, Ndi\xparams\TxAntenna,  min, 0 , "1"
HKR, Ndi\xparams\TxAntenna,  max, 0 , "ffff"
HKR, Ndi\xparams\TxAntenna,  step, 0 , "1"
HKR, Ndi\xparams\TxAntenna,  Base, 0 , "16"
HKR, Ndi\xparams\TxAntenna,  type, 0 ,"dword"

HKR, Ndi\xparams\RxAntenna,  ParamDesc,0 , "%RxAntennaStr%"
HKR, Ndi\xparams\RxAntenna,  default, 0 , "ffff"
HKR, Ndi\xparams\RxAntenna,  min, 0 , "1"
HKR, Ndi\xparams\RxAntenna,  max, 0 , "ffff"
HKR, Ndi\xparams\RxAntenna,  step, 0 , "1"
HKR, Ndi\xparams\RxAntenna,  Base, 0 , "16"
HKR, Ndi\xparams\RxAntenna,  type, 0 ,"dword"

HKR, Ndi\params\RTSThsd,  ParamDesc, 0, "%RTSThsds%"
HKR, Ndi\params\RTSThsd,  default, 0, "2346"
HKR, Ndi\params\RTSThsd,  min, 0, "0"
HKR, Ndi\params\RTSThsd,  max, 0, "2346"
HKR, Ndi\params\RTSThsd,  step, 0, "1"
HKR, Ndi\params\RTSThsd,  Base, 0, "10"
HKR, Ndi\params\RTSThsd,  type, 0, "dword"

HKR, Ndi\params\PowerMode,ParamDesc,,"%PowerMode%"
HKR, Ndi\params\PowerMode,default,,"0"
HKR, Ndi\params\PowerMode,type,,enum
HKR, Ndi\params\PowerMode\enum,"0",,"CAM-Constantly Awake Mode"
HKR, Ndi\params\PowerMode\enum,"1",,"MaxPSP-Max Power Savings"
HKR, Ndi\params\PowerMode\enum,"2",,"FastPSP-Fast Power Savings"

HKR, Ndi\xparams\DataRate,ParamDesc,,"%DataRate%"
HKR, Ndi\xparams\DataRate,default,,"FF"
HKR, Ndi\xparams\DataRate,type,,enum
HKR, Ndi\xparams\DataRate\enum,"FF",,"Auto"
HKR, Ndi\xparams\DataRate\enum,"2",,"1 Mbps"
HKR, Ndi\xparams\DataRate\enum,"4",,"2 Mbps"
HKR, Ndi\xparams\DataRate\enum,"b",,"5.5 Mbps"
HKR, Ndi\xparams\DataRate\enum,"16",,"11 Mbps"
;HKR, Ndi\xparams\DataRate\enum,"2C",,"22 Mbps" 
HKR, Ndi\xparams\DataRate\enum,"C",,"6 Mbps" 
HKR, Ndi\xparams\DataRate\enum,"12",,"9 Mbps" 
HKR, Ndi\xparams\DataRate\enum,"18",,"12 Mbps" 
HKR, Ndi\xparams\DataRate\enum,"24",,"18 Mbps" 
HKR, Ndi\xparams\DataRate\enum,"30",,"24 Mbps" 
HKR, Ndi\xparams\DataRate\enum,"48",,"36 Mbps" 
HKR, Ndi\xparams\DataRate\enum,"60",,"48 Mbps" 
HKR, Ndi\xparams\DataRate\enum,"6C",,"54 Mbps"

HKR, Ndi\xparams\WepStatus,ParamDesc,,"%WepStatus%"
HKR, Ndi\xparams\WepStatus,default,,"1"
HKR, Ndi\xparams\WepStatus,type,,enum
HKR, Ndi\xparams\WepStatus\enum,"0",,"Enabled"
HKR, Ndi\xparams\WepStatus\enum,"1",,"Disabled"

HKR, Ndi\params\Preamble,ParamDesc,,"%PreambleStr%"
HKR, Ndi\params\Preamble,default,,"3"
HKR, Ndi\params\Preamble,type,,enum 
HKR, Ndi\params\Preamble\enum,"1",,"Auto"
HKR, Ndi\params\Preamble\enum,"2",,"Short Preamble" 
HKR, Ndi\params\Preamble\enum,"3",,"Long Preamble"

;CCH add
HKR, Ndi\params\DefaultAdhocMediaMode,ParamDesc,,"%DefaultAdhocMediaModeStr%"
HKR, Ndi\params\DefaultAdhocMediaMode,default,,"0"
HKR, Ndi\params\DefaultAdhocMediaMode,type,,enum 
HKR, Ndi\params\DefaultAdhocMediaMode\enum,"0",,"11g"
HKR, Ndi\params\DefaultAdhocMediaMode\enum,"1",,"11b" 
HKR, Ndi\params\DefaultAdhocMediaMode\enum,"2",,"11a"
HKR,, DefaultAdhocMediaMode, 2, "2" 

HKR,, TxWepKey, 2, "" 
HKR,, WepKey1, 2, "" 
HKR,, WepKey2, 2, "" 
HKR,, WepKey3, 2, "" 
HKR,, WepKey4, 2, "" 

HKR,, DriverRel, 2, "02/03/2005"


;Special for Driver on WinXP OS.
[W8335aPCIXP.zerocfg]
 
;===========================================================================
; Strings section
;===========================================================================
[Strings]
MRVL = "Marvell"

TxAntennaStr = "Tx Antenna Select"
RxAntennaStr = "Rx Antenna Select" 
Channel = "Channel"
FragThsds = "Fragamentation Threshold"
DataRate = "Data Rate"
RTSThsds = "RTS Threshold"
AuthMode = "Authentication Mode"
;WirelessM = "Wireless Mode"
NetworkMode = "Operation Mode"
WepStatus = "WEP Status"
SSID = "SSID"
PreambleStr = "Preamble Select"
PowerMode = "Power Save Mode"
AdhocGMode = "Adhoc Mode"
DefaultAdhocMediaModeStr = "Default Adhoc Media Mode"

W8335aPCI.DeviceDesc         = "Marvell Libertas 802.11a/b/g Wireless (CB55)"
W8335aPCIXP.Service.DispName = "Marvell Libertas 802.11a/b/g Driver for Windows XP (CB55)"
W8335aPCI2K.Service.DispName = "Marvell Libertas 802.11a/b/g Driver for Windows 2K (CB55)" 










 




