;***********************************************************************
; PRISMA02.INF
;
;   PRISM 802.11 USB 2.0 Adapter installation script.
;   Installs driver, network control panel app, coinstaller, advanced properties,
;   PRISM API, and PRISM server.
;   Supports Windows 98, Me, 2000 and XP.
;   WHQL certifiable (passes INF check).
;
;   Copyright 2001-2005 Conexant Systems, Inc.  All Rights Reserved
;***********************************************************************

[Version]
 DriverVer = 03/13/2007, 3.03.41.0
 Signature           = "$Chicago$"
 Compatible          = 1
 Class               = Net
 ClassGUID           = {4d36e972-e325-11ce-bfc1-08002be10318}
 Provider            = %VER_VENDOR_STR%
 CatalogFile         = PRISMA02.cat

[ControlFlags]
;Exclude all PNP adapters from user selection
 ExcludeFromSelect   = *

[Manufacturer]
 %VER_VENDOR_NAME_STR% = DeviceList, NTX86, NTAMD64

[DeviceList.NTX86]
 %A022_DESC_STR%     = PRISM_A022,        USB\VID_06B9&PID_0121
 %A022_DESC_STR%     = PRISM_A022,        USB\VID_1435&PID_0427
 ;%A021_DESC_STR%     = PRISM_A021,        USB\VID_09AA&PID_1000
 ;%A022_DESC_STR%     = PRISM_A022,        USB\VID_0915&PID_2000
 ;%A022_DESC_STR%     = PRISM_A022,        USB\VID_0915&PID_2002
 ;%A022_DESC_STR%     = PRISM_A022,        USB\VID_0572&PID_2000
 ;%A022_DESC_STR%     = PRISM_A022,        USB\VID_0572&PID_2002
 
[DeviceList.NTAMD64]
 %A022_DESC_STR%     = PRISM_A022,        USB\VID_06B9&PID_0121
 %A022_DESC_STR%     = PRISM_A022,        USB\VID_1435&PID_0427
 ;%A021_DESC_STR%     = PRISM_A021,        USB\VID_09AA&PID_1000
 ;%A022_DESC_STR%     = PRISM_A022,        USB\VID_0915&PID_2000
 ;%A022_DESC_STR%     = PRISM_A022,        USB\VID_0915&PID_2002
 ;%A022_DESC_STR%     = PRISM_A022,        USB\VID_0572&PID_2000
 ;%A022_DESC_STR%     = PRISM_A022,        USB\VID_0572&PID_2002

;===========================================================================================
[PRISM_A021.NT]    ; Win2k and WinXP and Vista
 AddReg         = PRISM_A021.reg, COMMON_A02.reg, COMMON_NDIS.reg.NT, COMMON.reg
 CopyFiles      = PRISM_DRIVER.copy.NT, PRISM_APPLET.copy.NT
 BusType        = 15 ; PNP (allows USB)
 Characteristics= 0x84  ; NCF_PHYSICAL | NCF_HAS_UI

[PRISM_A021.NT.Services]
 AddService= "PRISM_A02", 2, PRISM_DRIVER_A02.Service, PRISM_DRIVER.EventLog

[PRISM_A021.NT.CoInstallers]
 CopyFiles      = PRISM_COINSTALL.copy.NT
 AddReg         = PRISM_COINSTALL.reg.NT
 
[PRISM_A021.NTAMD64]
 AddReg         = PRISM_A021.reg, COMMON_A02.reg, COMMON_NDIS.reg.NT, COMMON.reg
 CopyFiles      = PRISM_DRIVER.copy.NTAMD64, PRISM_APPLET.copy.NT
 BusType        = 15 ; PNP (allows USB)
 Characteristics= 0x84  ; NCF_PHYSICAL | NCF_HAS_UI

[PRISM_A021.NTAMD64.Services]
 AddService     = "PRISM_A02", 2, PRISM_DRIVER_A02.Service, PRISM_DRIVER.EventLog

[PRISM_A021.NTAMD64.CoInstallers]
 CopyFiles      = PRISM_COINSTALL.copy.NT
 AddReg         = PRISM_COINSTALL.reg.NT
 
[PRISM_A021.reg]
 HKR,Ndi,DeviceID,0,"USB\VID_09AA&PID_1000"
; 0x3890 = 14480 0x2280 = 8832
 HKR,,PlatformID,0,14480
 HKR,,UsbVariant,0,8832
 HKR,,VendorDesc,0,%A021_DESC_STR%
 HKR,,FWFileName,0,"PRISMA02.arm"
 
;===========================================================================================
[PRISM_A022.NT]    ; Win2k
 AddReg         = PRISM_A022.reg, COMMON_A02.reg, COMMON_NDIS.reg.NT, COMMON.reg
 CopyFiles      = PRISM_DRIVER.copy.NT, PRISM_APPLET.copy.NT
 BusType        = 15 ; PNP (allows USB)
 Characteristics= 0x84

[PRISM_A022.NT.Services]
 AddService= "PRISM_A02", 2, PRISM_DRIVER_A02.Service, PRISM_DRIVER.EventLog

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

[PRISM_A022.NTAMD64]
 AddReg         = PRISM_A022.reg, COMMON_A02.reg, COMMON_NDIS.reg.NT, COMMON.reg
 CopyFiles      = PRISM_DRIVER.copy.NTAMD64, PRISM_APPLET.copy.NT
 BusType        = 15 ; PNP (allows USB)
 Characteristics= 0x84  ; NCF_PHYSICAL | NCF_HAS_UI

[PRISM_A022.NTAMD64.Services]
 AddService     = "PRISM_A02", 2, PRISM_DRIVER_A02.Service, PRISM_DRIVER.EventLog

[PRISM_A022.NTAMD64.CoInstallers]
 CopyFiles      = PRISM_COINSTALL.copy.NT
 AddReg         = PRISM_COINSTALL.reg.NT
 
[PRISM_A022.reg]
 HKR,Ndi,DeviceID,0,"USB\VID_0915&PID_2000"
; 0x3890 = 14480 0x3887 = 14471
 HKR,,PlatformID,0,14480
 HKR,,UsbVariant,0,14471
 HKR,,VendorDesc,0,%A022_DESC_STR%
 HKR,,FWFileName,0,"PRISMA02.arm"

;###############################################################################
[PRISM_COINSTALL.reg.NT]
 HKR,           ,CoInstallers32         ,0x00010000     ,"PRISMNDI.dll,NdiProc"

[PRISM_DRIVER_A02.Service]
 DisplayName    = %A02_SERVICE_STR%
 Description    = "%HelpText%"
 ServiceType    = 1    ; SERVICE_KERNEL_DRIVER
 StartType      = 3    ; SERVICE_DEMAND_START
 ErrorControl   = 1    ; NORMAL
 ServiceBinary  = %12%\PRISMA02.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

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

[COMMON_A02_DEL.reg]
 HKR,                   ,FWFileName

[COMMON_A02.reg]
 HKR,NDI                ,CardType               ,0      ,"USB"
 HKR,                   ,BusType                ,0      ,"0"  ; Inconsistency with earlier definition is needed.

[COMMON_NDIS.reg.NT]
 HKR,NDI                ,Service                ,0      ,"PRISM_A02"
 HKR,Ndi                ,HelpText               ,0      ,"%HelpText%"
 HKR,                   ,EnumPropPages32        ,0      ,"PRISMNDI.dll,NetPropPageProvider"
 HKR,NDI\Interfaces     ,UpperRange             ,0      ,"ndis5"
 HKR,NDI\Interfaces     ,LowerRange             ,0      ,"ethernet"

[COMMON.reg]
 HKR,                   ,SSID                   ,0      ,"PRISM-SSID"
 HKR,                   ,PRISMIOC               ,0      ,"1"
 HKR,                   ,SilentInstall          ,0      ,"1"
;Uncomment the line above to install without user interface prompts

 HKR,,PSMode,0,1
 HKR,Ndi\params\PSMode,default,0,1
 HKR,NDI\params\PSMode,ParamDesc,0,%POWER_SAVE_STR%
 HKR,NDI\params\PSMode,type,0,"enum"
 HKR,NDI\params\PSMode,flag,1,30,00,00,00
 HKR,NDI\params\PSMode,default,0,"1"
 HKR,NDI\params\PSMode\enum,1,,%POWER_SAVE_OFF_STR%
 HKR,NDI\params\PSMode\enum,2,,%POWER_SAVE_DYN_STR%
 HKR,NDI\params\PSMode\enum,3,,%POWER_SAVE_MAX_STR%
 HKR,NDI\params\PSMode\enum,4,,%POWER_SAVE_DYNALWAYS_STR%
 HKR,NDI\params\PSMode\enum,5,,%POWER_SAVE_MAXALWAYS_STR%
 HKR,NDI\params\PSMode,optional,0,1
 
 HKR,,ConfigProfile,0,256
 HKR,NDI\params\ConfigProfile,default,0,256
 HKR,NDI\params\ConfigProfile,ParamDesc,,%CONFIG_PROFILE%
 HKR,NDI\params\ConfigProfile,type,0,"enum"
 HKR,NDI\params\ConfigProfile,flag,1,30,00,00,00
 HKR,NDI\params\ConfigProfile\enum,0,,%CONFIG_PROF_B_ONLY%
 HKR,NDI\params\ConfigProfile\enum,1,,%CONFIG_PROF_MIXED%
 HKR,NDI\params\ConfigProfile\enum,2,,%CONFIG_PROF_MIXED_LONG%
 HKR,NDI\params\ConfigProfile\enum,3,,%CONFIG_PROF_G_ONLY%
 HKR,NDI\params\ConfigProfile\enum,4,,%CONFIG_PROF_TEST%
 HKR,NDI\params\ConfigProfile\enum,5,,%CONFIG_PROF_B_WIFI%
 HKR,NDI\params\ConfigProfile\enum,6,,%CONFIG_PROF_MIXED_SHORT%
 HKR,NDI\params\ConfigProfile\enum,256,,%CONFIG_PROF_WIFI_SPEC%
 HKR,NDI\params\ConfigProfile,optional,0,1

 HKR,,NitroMode,0,"1"
 HKR,NDI\params\NitroMode,default,0,1
 HKR,NDI\params\NitroMode,ParamDesc,,%NITRO_MODE%
 HKR,NDI\params\NitroMode,type,,enum
 HKR,NDI\params\NitroMode,flag,1,30,00,00,00
 HKR,NDI\params\NitroMode\enum,0,,%OFF_STR%
 HKR,NDI\params\NitroMode\enum,1,,%ON_STR%
 HKR,NDI\params\NitroMode,optional,0,1

 HKR,,DisableQOS,0,"0"
 HKR,NDI\params\DisableQOS,default,0,0
 HKR,NDI\params\DisableQOS,ParamDesc,,%DISABLE_QOS%
 HKR,NDI\params\DisableQOS,type,,enum
 HKR,NDI\params\DisableQOS,flag,1,30,00,00,00
 HKR,NDI\params\DisableQOS\enum,0,,%NO_STR%
 HKR,NDI\params\DisableQOS\enum,1,,%YES_STR%
 HKR,NDI\params\DisableQOS,optional,0,1
 
 HKR,Ndi\params\RTSThresh,default,0,2347
 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,2347
 HKR,NDI\params\RTSThresh,step,0,1
 HKR,NDI\params\RTSThresh,optional,0,1

 HKR,Ndi\params\FragThresh,default,0,2346
 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,2346
 HKR,NDI\params\FragThresh,step,0,2
 HKR,NDI\params\FragThresh,optional,0,1
 
 HKR,,PpePdlpEnable,0,"1"
 HKR,NDI\params\PpePdlpEnable,default,0,1
 HKR,NDI\params\PpePdlpEnable,ParamDesc,,%PPE_PDLP%
 HKR,NDI\params\PpePdlpEnable,type,,enum
 HKR,NDI\params\PpePdlpEnable,flag,1,30,00,00,00
 HKR,NDI\params\PpePdlpEnable\enum,0,,%OFF_STR%
 HKR,NDI\params\PpePdlpEnable\enum,1,,%ON_STR%
 HKR,NDI\params\PpePdlpEnable,optional,0,1

 HKR,,PpeCompressEnable,0,"1"
 HKR,NDI\params\PpeCompressEnable,default,0,1
 HKR,NDI\params\PpeCompressEnable,ParamDesc,,%PPE_COMPRESS%
 HKR,NDI\params\PpeCompressEnable,type,,enum
 HKR,NDI\params\PpeCompressEnable,flag,1,30,00,00,00
 HKR,NDI\params\PpeCompressEnable\enum,0,,%OFF_STR%
 HKR,NDI\params\PpeCompressEnable\enum,1,,%ON_STR%
 HKR,NDI\params\PpeCompressEnable,optional,0,1
 
 HKR,,PpeConcatEnable,0,"1"
 HKR,NDI\params\PpeConcatEnable,default,0,1
 HKR,NDI\params\PpeConcatEnable,ParamDesc,,%PPE_CONCAT%
 HKR,NDI\params\PpeConcatEnable,type,,enum
 HKR,NDI\params\PpeConcatEnable,flag,1,30,00,00,00
 HKR,NDI\params\PpeConcatEnable\enum,0,,%OFF_STR%
 HKR,NDI\params\PpeConcatEnable\enum,1,,%ON_STR%
 HKR,NDI\params\PpeConcatEnable,optional,0,1

 HKR,,PpePiggyBackEnable,0,"1"
 HKR,NDI\params\PpePiggyBackEnable,default,0,1
 HKR,NDI\params\PpePiggyBackEnable,ParamDesc,,%PPE_PIGGYBACK%
 HKR,NDI\params\PpePiggyBackEnable,type,,enum
 HKR,NDI\params\PpePiggyBackEnable,flag,1,30,00,00,00
 HKR,NDI\params\PpePiggyBackEnable\enum,0,,%OFF_STR%
 HKR,NDI\params\PpePiggyBackEnable\enum,1,,%ON_STR%
 HKR,NDI\params\PpePiggyBackEnable,optional,0,1
 
 HKR,NDI\params\RoamingProfile,default,0,1
 HKR,NDI\params\RoamingProfile,ParamDesc,0,%ROAM_PROFILE_STR%
 HKR,NDI\params\RoamingProfile,type,0,"enum"
 HKR,NDI\params\RoamingProfile,flag,1,30,00,00,00
 HKR,NDI\params\RoamingProfile\enum,0,,%ROAM_PROFILE_SOHO%
 HKR,NDI\params\RoamingProfile\enum,1,,%ROAM_PROFILE_HIGH%
 HKR,NDI\params\RoamingProfile\enum,2,,%ROAM_PROFILE_MEDIUM%
 HKR,NDI\params\RoamingProfile\enum,3,,%ROAM_PROFILE_LOW%
 HKR,NDI\params\RoamingProfile,optional,0,1
 
;###############################################################################
[DestinationDirs]
;CopyFiles Section      = Destination Directory ID -- see layout.inf
;-----------------        ------------------------
 DefaultDestDir         = 11 ; Win9x=%windir%\system Win2k=%windir%\system32
 PRISM_DRIVER.copy.NT   = 12 ; Win2k=%windir%\system32\drivers
 PRISM_DRIVER.copy.NTAMD64   = 12 ; Win2k=%windir%\system32\drivers

[PRISM_NDI.copy]
 PRISMNDI.dll
 PRISMAPI.dll
 PRISMSVR.exe

[PRISM_COINSTALL.copy.NT]
 PRISMNDI.dll           ; Win2k CoInstaller
 PRISMAPI.dll
 PRISMSVR.exe

[PRISM_DRIVER.copy.NT]
 PRISMA02.sys

[PRISM_DRIVER.copy.NTAMD64]
 PRISMA02.sys
 
[PRISM_APPLET.copy]

[PRISM_APPLET.copy.NT]

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

[SourceDisksFiles.X86]  ; Win2k/Xp
 PRISMA02.sys           = 1,winxp
 PRISMNDI.dll           = 1,win2k
 PRISMAPI.dll           = 1
 PRISMSVR.exe           = 1
 
[SourceDisksFiles.AMD64]
 PRISMA02.sys           = 1,win64
 PRISMNDI.dll           = 1,win64
 PRISMAPI.dll           = 1,win64
 PRISMSVR.exe           = 1,win64

;###############################################################################
[Strings]
;String ID               = String Text
;---------                 -----------
 VER_VENDOR_STR          = "Conexant"
 VER_VENDOR_NAME_STR     = "Conexant Systems, Inc."
 INSTALL_DISK_STR        = "PRISM Wireless LAN Install Disk"

 A021_DESC_STR           = "PRISM 802.11 Adapter (USB)"
 A022_DESC_STR           = "PRISM 802.11 USB Adapter"
 A02_SERVICE_STR         = "PRISM 802.11 USB Driver"
 HelpText                = "The PRISMŽ 802.11 Adapter provides wireless local area networking."

 POWER_SAVE_STR          = "Power Save Mode"
 POWER_SAVE_OFF_STR      = "Disabled"
 POWER_SAVE_DYN_STR      = "Dynamic (Auto)"
 POWER_SAVE_MAX_STR      = "Maximum (Auto)"
 POWER_SAVE_DYNALWAYS_STR= "Dynamic"
 POWER_SAVE_MAXALWAYS_STR= "Maximum"
 RTSTHRESH_STR           = "RTS Threshold"
 FRAGTHRESH_STR          = "Fragmentation Threshold"
 ON_STR                  = "On"
 OFF_STR                 = "Off"
 YES_STR                  = "Yes"
 NO_STR                 = "No"
DISABLE_QOS		 = "DisableQOS"
 CONFIG_PROFILE          = "Configuration Profile"
 CONFIG_PROF_B_ONLY      = "B only"
 CONFIG_PROF_MIXED       = "Mixed"
 CONFIG_PROF_MIXED_LONG  = "Mixed Long"
 CONFIG_PROF_G_ONLY      = "G only"
 CONFIG_PROF_TEST        = "Test"
 CONFIG_PROF_B_WIFI      = "B WiFi"
 CONFIG_PROF_MIXED_SHORT = "Mixed Short"
 CONFIG_PROF_WIFI_SPEC   = "WiFi Spec"
 NITRO_MODE              = "Nitro Mode"
 PPE_PDLP                = "Direct Link"
 PPE_COMPRESS            = "Compression"
 PPE_CONCAT              = "Concatenation"
 PPE_PIGGYBACK           = "PiggyBack"
 ROAM_PROFILE_STR        = "Roaming Profile"
 ROAM_PROFILE_SOHO       = "Single AP"
 ROAM_PROFILE_HIGH       = "High Density"
 ROAM_PROFILE_MEDIUM     = "Medium Density"
 ROAM_PROFILE_LOW        = "Low Density"
