;***********************************************************************
;
; AEIWLNIC.INF
;
;   This installation script supports Windows 95,98,Me&2000 for the
;   Actiontec PRISM Wireless LAN Adapters.
;
;   Copyright (c) 2001 Actiontec Electronics, Inc
;   All Rights Reserved.
;   Developed by TriplePoint, Inc. -- http://www.TriplePoint.com
;
;***********************************************************************

[Version]
 DriverVer = 12/31/2001, 1.7.35
 Signature           = "$Chicago$"
 Compatible          = 1
 Class               = Net
 ClassGUID           = {4d36e972-e325-11ce-bfc1-08002be10318}
 Provider            = %VER_VENDOR_STR%
 CatalogFile         = AEIWLNIC.cat
 MillenniumPreferred = .ME

[ControlFlags]
;Exclude all PNP adapters from user selection
 ExcludeFromSelect   = PCI\VEN_1260&DEV_3873&SUBSYS_04061668

[Manufacturer]
 %VER_VENDOR_NAME_STR% = DeviceList

[DeviceList]
 %PRISM_PCI2%    = PRISM_PCI2,    PCI\VEN_1260&DEV_3873&SUBSYS_04061668

;==========================================
[PRISM_PCI2]            ; Win9x
 AddReg         = PRISM_PCI2.reg, COMMON_PCI.reg, COMMON_NDIS.reg, COMMON.reg
 CopyFiles      = PRISM_DRIVER.copy, PRISM_APPLET.copy, PRISM_NDI.copy

[PRISM_PCI2.ME]         ; WinMe
 AddReg         = PRISM_PCI2.reg, COMMON_PCI.reg, COMMON_NDIS.reg.ME, COMMON.reg
 CopyFiles      = PRISM_DRIVER.copy.ME, PRISM_APPLET.copy.ME, PRISM_NDI.copy.ME

[PRISM_PCI2.ME.ME]      ; WinMe - Same as .ME (Needed for Update Driver)
 AddReg         = PRISM_PCI2.reg, COMMON_PCI.reg, COMMON_NDIS.reg.ME, COMMON.reg
 CopyFiles      = PRISM_DRIVER.copy.ME, PRISM_APPLET.copy.ME, PRISM_NDI.copy.ME

[PRISM_PCI2.NT]         ; Win2k
 AddReg         = PRISM_PCI2.reg, COMMON_PCI.reg, COMMON_NDIS.reg.NT, COMMON.reg
 CopyFiles      = PRISM_DRIVER.copy.NT, PRISM_APPLET.copy.NT
 BusType        = 5     ; PCI
 Characteristics= 0x84  ; NCF_PHYSICAL | NCF_HAS_UI

[PRISM_PCI2.NT.Services]
 AddService     = AEIWL, 2, PRISM_DRIVER.Service, PRISM_DRIVER.EventLog

[PRISM_PCI2.NT.CoInstallers]
 CopyFiles      = PRISM_COINSTALL.copy.NT
 AddReg         = PRISM_COINSTALL.reg.NT

[PRISM_PCI2.reg]
 HKR,Ndi        ,DeviceID,0,"PCI\VEN_1260&DEV_3873&SUBSYS_04061668"

;###############################################################################

[PRISM_COINSTALL.reg.NT]
 HKR,           ,CoInstallers32         ,0x00010000     ,"AEIWLCFG.cpl,NdiProc"

[PRISM_DRIVER.Service]
 DisplayName    = %PRISM_SERVICE_DISPLAY%
 ServiceType    = 1    ; SERVICE_KERNEL_DRIVER
 StartType      = 3    ; SERVICE_DEMAND_START
 ErrorControl   = 1    ; NORMAL
 ServiceBinary  = %12%\AEIWLNDS.sys
 LoadOrderGroup = NDIS

[PRISM_DRIVER.EventLog]
 AddReg         = PRISM_DRIVER.EventLog.reg

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

;###############################################################################
;RegKey,SubKey          ,Name                   ,Type   ,Value
;-------------          -----                   -----   ------
[COMMON_PCI.reg]
 HKR,NDI                ,CardType               ,0      ,"PCI"
 HKR,                   ,BusType                ,0      ,"5"
 HKR,                   ,DeviceVxDs             ,0      ,"AEIWLNDS.sys"

[COMMON_NDIS.reg]
 HKR,                   ,RunningWin9X           ,0      ,"1"
 HKR,                   ,DevLoader              ,0      ,"*ndis"
 HKR,                   ,EnumPropPages          ,0      ,"netdi.dll,EnumPropPages"
 HKR,NDI                ,NdiInstaller           ,0      ,"AEIWLCFG.dll,NdiProc"
 HKR,NDI\Interfaces     ,UpperRange             ,0      ,"ndis3"
 HKR,NDI\Interfaces     ,LowerRange             ,0      ,"ethernet"
 HKR,NDI\Interfaces     ,DefUpper               ,0      ,"ndis3"
 HKR,NDI\Interfaces     ,DefLower               ,0      ,"ethernet"
 HKR,NDIS               ,LogDriverName          ,0      ,"AEIWL"
 HKR,NDIS               ,MajorNdisVersion       ,1      ,03
 HKR,NDIS               ,MinorNdisVersion       ,1      ,0a

 HKR,defaults,PSMode,0,1
; HKR,NDI\params\PSMode,,0,1
 HKR,Ndi\params\PSMode,default,0,1
 HKR,NDI\params\PSMode,ParamDesc,,%POWER_SAVE_STR%
 HKR,NDI\params\PSMode,type,,enum
 HKR,NDI\params\PSMode,flag,1,30,00,00,00
 HKR,NDI\params\PSMode\enum,1,,"Disable"
 HKR,NDI\params\PSMode\enum,2,,"Always Enable"
 HKR,NDI\params\PSMode,optional,0,1

[COMMON_NDIS.reg.ME]
 HKR,                   ,RunningWin9X           ,0      ,"1"
 HKR,                   ,DevLoader              ,0      ,"*ndis"
 HKR,                   ,EnumPropPages          ,0      ,"netdi.dll,EnumPropPages"
 HKR,NDI                ,NdiInstaller           ,0      ,"AEIWLCFG.dll,NdiProc"
 HKR,NDI\Interfaces     ,UpperRange             ,0      ,"ndis3"
 HKR,NDI\Interfaces     ,LowerRange             ,0      ,"ethernet"
 HKR,NDI\Interfaces     ,DefUpper               ,0      ,"ndis3"
 HKR,NDI\Interfaces     ,DefLower               ,0      ,"ethernet"
 HKR,NDIS               ,LogDriverName          ,0      ,"AEIWL"
 HKR,NDIS               ,MajorNdisVersion       ,1      ,03
 HKR,NDIS               ,MinorNdisVersion       ,1      ,0a

 HKR,defaults,PSMode,0,1
; HKR,NDI\params\PSMode,,0,1
 HKR,Ndi\params\PSMode,default,0,1
 HKR,NDI\params\PSMode,ParamDesc,,%POWER_SAVE_STR%
 HKR,NDI\params\PSMode,type,,enum
 HKR,NDI\params\PSMode,flag,1,30,00,00,00
 HKR,NDI\params\PSMode\enum,1,,"Disable"
 HKR,NDI\params\PSMode\enum,2,,"Always Enable"
 HKR,NDI\params\PSMode,optional,0,1

[COMMON_NDIS.reg.NT]
 HKR,                   ,EnumPropPages32        ,0      ,"AEIWLCFG.cpl,NetPropPageProvider"
 HKR,NDI                ,Service                ,0      ,"AEIWL"
 HKR,NDI\Interfaces     ,UpperRange             ,0      ,"ndis5"
 HKR,NDI\Interfaces     ,LowerRange             ,0      ,"ethernet"

 HKR,defaults,PSMode,0,1
; HKR,NDI\params\PSMode,,0,1
 HKR,Ndi\params\PSMode,default,0,1
 HKR,NDI\params\PSMode,ParamDesc,,%POWER_SAVE_STR%
 HKR,NDI\params\PSMode,type,,enum
 HKR,NDI\params\PSMode,flag,1,30,00,00,00
 HKR,NDI\params\PSMode\enum,1,,"Disable"
 HKR,NDI\params\PSMode\enum,2,,"Always Enable"
 HKR,NDI\params\PSMode,optional,0,1

[COMMON.reg]
 HKR,                   ,EnableIRQSharing       ,1      ,01,00,00,00
 HKR,                   ,IOBaseAddress          ,1      ,02,00,00,00
 HKR,                   ,InterruptNumber        ,1      ,04,00,00,00
 HKR,                   ,AEIWLIOC               ,0      ,"1"
 HKR,                   ,SilentInstall          ,0      ,"1"
;Uncomment the line above to install without user interface prompts
 HKR,			,EnablePromiscuous	,0	,"1"
 HKR,			,VendorDesc		,0	,"High Rate Wireless LAN MiniPCI Combo Card"

 HKR,defaults,ListenInterval,0,3
; HKR,NDI\params\ListenInterval,,0,3
 HKR,Ndi\params\ListenInterval,default,0,3
 HKR,NDI\params\ListenInterval,ParamDesc,,%LISTENINTERVAL_STR%
 HKR,NDI\params\ListenInterval,type,,int
 HKR,NDI\params\ListenInterval,flag,1,30,00,00,00
 HKR,NDI\params\ListenInterval,min,0,0
 HKR,NDI\params\ListenInterval,max,0,77
 HKR,NDI\params\ListenInterval,step,0,1
 HKR,NDI\params\ListenInterval,optional,0,1

 HKR,defaults,RTSThresh,0,2432
; HKR,NDI\params\RTSThresh,,0,2432
 HKR,Ndi\params\RTSThresh,default,0,2432
 HKR,NDI\params\RTSThresh,ParamDesc,0,%RTSTHRESH_STR%
 HKR,NDI\params\RTSThresh,type,0,int
 HKR,NDI\params\RTSThresh,flag,1,20,00,00,00
 HKR,NDI\params\RTSThresh,min,0,0
 HKR,NDI\params\RTSThresh,max,0,2432
 HKR,NDI\params\RTSThresh,step,0,64
 HKR,NDI\params\RTSThresh,optional,0,1

 HKR,defaults,FragThresh,0,2432
; HKR,NDI\params\FragThresh,,0,2432
 HKR,Ndi\params\FragThresh,default,0,2432
 HKR,NDI\params\FragThresh,ParamDesc,0,%FRAGTHRESH_STR%
 HKR,NDI\params\FragThresh,type,0,int
 HKR,NDI\params\FragThresh,flag,1,20,00,00,00
 HKR,NDI\params\FragThresh,min,0,256
 HKR,NDI\params\FragThresh,max,0,2432
 HKR,NDI\params\FragThresh,step,0,128
 HKR,NDI\params\FragThresh,optional,0,1

 HKR,defaults,PreambleMode,0,1
; HKR,NDI\params\PreambleMode,,0,1
 HKR,Ndi\params\PreambleMode,default,0,1
 HKR,NDI\params\PreambleMode,ParamDesc,,%SHORT_PREAM_STR%
 HKR,NDI\params\PreambleMode,type,,enum
 HKR,NDI\params\PreambleMode,flag,1,30,00,00,00
 HKR,NDI\params\PreambleMode\enum,1,,"Long Tx Preamble"
 HKR,NDI\params\PreambleMode\enum,2,,"Short Tx Preamble"
 HKR,NDI\params\PreambleMode\enum,3,,"Auto"
 HKR,NDI\params\PreambleMode,optional,0,1

 HKR,defaults,AuthentAlg,0,65535
; HKR,NDI\params\AuthentAlg,,0,65535
 HKR,NDI\params\AuthentAlg,default,0,65535
 HKR,NDI\params\AuthentAlg,ParamDesc,,%AUTHENT_TYPE_STR%
 HKR,NDI\params\AuthentAlg,type,,enum
 HKR,NDI\params\AuthentAlg,flag,1,30,00,00,00
 HKR,NDI\params\AuthentAlg\enum,1,,"Open System Authentication"
 HKR,NDI\params\AuthentAlg\enum,2,,"Shared with WEP"
 HKR,NDI\params\AuthentAlg\enum,65535,,"Automatic"
 HKR,NDI\params\AuthentAlg,optional,0,1

 HKR,defaults,AdhocDemoMode,0,0
; HKR,NDI\params\AdhocDemoMode,,0,0
 HKR,Ndi\params\AdhocDemoMode,default,0,0
 HKR,NDI\params\AdhocDemoMode,ParamDesc,,%ADHOC_DEMO_STR%
 HKR,NDI\params\AdhocDemoMode,type,,enum
 HKR,NDI\params\AdhocDemoMode,flag,1,30,00,00,00
 HKR,NDI\params\AdhocDemoMode\enum,0,,"Disable"
 HKR,NDI\params\AdhocDemoMode\enum,1,,"Enable"
 HKR,NDI\params\AdhocDemoMode,optional,0,1

 HKR,defaults,PSLevel,0,1
; HKR,NDI\params\PSLevel,,0,1
 HKR,Ndi\params\PSLevel,default,0,1
 HKR,NDI\params\PSLevel,ParamDesc,,%POWER_LEVEL_STR%
 HKR,NDI\params\PSLevel,type,,enum
 HKR,NDI\params\PSLevel,flag,1,30,00,00,00
 HKR,NDI\params\PSLevel\enum,0,,"Normal"
 HKR,NDI\params\PSLevel\enum,1,,"Enhanced"
 HKR,NDI\params\PSLevel,optional,0,1

;###############################################################################
[DestinationDirs]
;CopyFiles Section      = Destination Directory ID -- see layout.inf
;-----------------        ------------------------
 DefaultDestDir         = 11 ; Win9x=%windir%\system Win2k=%windir%\system32
 PRISM_DRIVER.copy      = 11 ; Win9x=%windir%\system
 PRISM_DRIVER.copy.ME   = 11 ; Win9x=%windir%\system
 PRISM_DRIVER.copy.NT   = 12 ; Win2k=%windir%\system32\drivers

[PRISM_NDI.copy]
 AEIWLR16.dll           ; Win9x NDI
 AEIWLCFG.dll           ; Win9x NDI

[PRISM_NDI.copy.ME]
 AEIWLR16.dll           ; Win9x NDI
 AEIWLCFG.dll           ; Win9x NDI

[PRISM_COINSTALL.copy.NT]
 AEIWLRES.dll
 AEIWLIOC.dll
 AEIWLCFG.cpl           ; Win2k CoInstaller
; FIXME - Add context sensitive help
;AEIWLCFG.hlp           ; Help file
;AEIWLCSH.dll           ; Context Sensitive Helper

[PRISM_DRIVER.copy]
 AEIWLNDS.sys
 AEIWLIOC.vxd           ; Win9x Ioctl interface

[PRISM_DRIVER.copy.ME]
 AEIWLNDS.sys
 AEIWLIOC.vxd           ; Win9x Ioctl interface

[PRISM_DRIVER.copy.NT]
 AEIWLNDS.sys

[PRISM_APPLET.copy]
 AEIWLRES.dll
 AEIWLIOC.dll
 AEIWLCFG.cpl
 AEIWLSTA.exe
; FIXME - Add context sensitive help
;AEIWLCFG.hlp           ; Help file
;AEIWLCSH.dll           ; Context Sensitive Helper

[PRISM_APPLET.copy.ME]
 AEIWLRES.dll
 AEIWLIOC.dll
 AEIWLCFG.cpl
 AEIWLSTA.exe
; FIXME - Add context sensitive help
;AEIWLCFG.hlp           ; Help file
;AEIWLCSH.dll           ; Context Sensitive Helper

[PRISM_APPLET.copy.NT]
;AEIWLRES.dll           ; Copied by coinstaller
;AEIWLIOC.dll           ; Copied by coinstaller
;AEIWLCFG.cpl           ; Copied by coinstaller
;AEIWLCFG.hlp           ; Copied by coinstaller
;AEIWLCSH.dll           ; Copied by coinstaller
 AEIWLSTA.exe

[SourceDisksNames]
;Source Disk ID         = Disk Name
;--------------           ---------
 1                      = %INSTALL_DISK_STR%,,,

[SourceDisksFiles]      ; Win9x
;File Name              = Source Disk ID
;---------                --------------
 AEIWLR16.dll           = 1;,win9x
 AEIWLCFG.dll           = 1;,win9x
 AEIWLIOC.vxd           = 1;,win9x
 AEIWLIOC.dll           = 1
 AEIWLCFG.cpl           = 1;,winnt
 AEIWLNDS.sys           = 1
 AEIWLSTA.exe           = 1
; FIXME - Add context sensitive help
;AEIWLCFG.hlp           = 1
;AEIWLCSH.dll           = 1
 AEIWLRES.dll           = 1

[SourceDisksFiles.ME]   ; WinMe
 AEIWLR16.dll           = 1;,win9x
 AEIWLCFG.dll           = 1;,win9x
 AEIWLIOC.vxd           = 1;,win9x
 AEIWLIOC.dll           = 1
 AEIWLCFG.cpl           = 1;,winnt
 AEIWLNDS.sys           = 1
 AEIWLSTA.exe           = 1
; FIXME - Add context sensitive help
;AEIWLCFG.hlp           = 1
;AEIWLCSH.dll           = 1
 AEIWLRES.dll           = 1

[SourceDisksFiles.X86]  ; Win2k
 AEIWLRES.dll           = 1
 AEIWLIOC.dll           = 1
 AEIWLCFG.cpl           = 1;,win2k
 AEIWLNDS.sys           = 1
 AEIWLSTA.exe           = 1
; FIXME - Add context sensitive help
;AEIWLCFG.hlp           = 1
;AEIWLCSH.dll           = 1

;###############################################################################
[Strings]
;String ID              = String Text
;---------                -----------
 VER_VENDOR_STR         = "Actiontec"
 VER_VENDOR_NAME_STR    = "Actiontec Electronics, Inc"

 PRISM_PCI2             = "High Rate Wireless LAN MiniPCI Combo Card"

 PRISM_SERVICE_DISPLAY  = "High Rate Wireless LAN MiniPCI Combo Card Driver"
 INSTALL_DISK_STR       = "Actiontec PRISM Install Disk"

 ADHOC_DEMO_STR         = "Adhoc Demo Mode"
 SHORT_PREAM_STR        = "Preamble Mode"
 RTSTHRESH_STR          = "RTS Threshold"
 FRAGTHRESH_STR         = "Fragmentation Threshold"
 AUTHENT_TYPE_STR       = "Authentication Algorithm"
 LISTENINTERVAL_STR     = "Listen Interval"
 POWER_SAVE_STR         = "Power Save Mode"
 POWER_LEVEL_STR        = "Power Save Level"
