; Copyright(c) 2004, LAN-Express AS IEEE 802.11A/B/G NIC INF for Windows 2K/XP
;
;   Date       Revision         Author          Comment
; ----------------------------------------------------------------------------------
;

[Version]
Signature    = "$Chicago$"    ; Single INF file for Windows 98 and Windows 2000
Compatible   = 1              ; Single INF file for Windows 98 and Windows 2000
Class        = Net
ClassGUID    = {4D36E972-E325-11CE-BFC1-08002BE10318}
Provider     = %Vendor_String%
DriverVer    = 04/18/2004,3.1.1.54
CatalogFile  = NetasAG.cat

[Manufacturer]
%Vendor_String% = Vendor

[ControlFlags]
ExcludeFromSelect   = PCI\VEN_168C&DEV_0013&SUBSYS_04061468 
ExcludeFromSelect   = PCI\VEN_168C&DEV_0013&SUBSYS_04071468 

[Vendor]
; DisplayName               Section             DeviceID
; -----------               -------             --------
%LEX.DeviceDesc.MB22g%      = LEX_MB22g_01,     PCI\VEN_168C&DEV_0013&SUBSYS_04061468
%LEX.DeviceDesc.MB22ag%     = LEX_MB22ag_01,    PCI\VEN_168C&DEV_0013&SUBSYS_04071468

;==========================================
[LEX_MB22g_01.NT]  ; Win2k
 AddReg          = LEX_MB22g_01_2k.reg, LEX_MB22g_01_9x_2k.reg, COMMON_G.reg, COMMON_NDIS_2k.reg, COMMON_PCI.reg, COMMON.reg
 CopyFiles       = WLAN_2k.CopyFiles
 DelFiles        = WLAN_2k.DelIniFiles
 BusType         = 5     ; PCI
 Characteristics = 0x84  ; NCF_PHYSICAL | NCF_HAS_UI

[LEX_MB22g_01.NT.Services]
 AddService      = LEX_AS_NIC_SERVICE_YNOS, 2, WlanNetCard.Service, WlanNetCard.EventLog

[LEX_MB22g_01_2k.reg]


[LEX_MB22g_01_9x_2k.reg] 
 HKR,    , VendorDesc,  0, %LEX.DeviceDesc.MB22g%
 
;==========================================
[LEX_MB22ag_01.NT]  ; Win2k
 AddReg          = LEX_MB22ag_01_2k.reg, LEX_MB22ag_01_9x_2k.reg, COMMON_AG.reg, COMMON_NDIS_2k.reg, COMMON_PCI.reg, COMMON.reg
 CopyFiles       = WLAN_2k.CopyFiles
 DelFiles        = WLAN_2k.DelIniFiles
 BusType         = 5     ; PCI
 Characteristics = 0x84  ; NCF_PHYSICAL | NCF_HAS_UI

[LEX_MB22ag_01.NT.Services]
 AddService      = LEX_AS_NIC_SERVICE_YNOS, 2, WlanNetCard.Service, WlanNetCard.EventLog

[LEX_MB22ag_01_2k.reg]


[LEX_MB22ag_01_9x_2k.reg] 
 HKR,    , VendorDesc,  0, %LEX.DeviceDesc.MB22ag%
 
       
;###############################################################################

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

[WlanNetCard.EventLog]
 AddReg         = WlanNetCard.EventLog.reg

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

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

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

[COMMON_G.reg]
HKR, ,                                  NetBand,                  0x00002,  %NetBand_DEF_STR_G%
HKR, ,                                  AdHocBand,                0x00002,  %AdhocBand_DEF_STR_G% 
 
[COMMON_AG.reg]
HKR, ,                                  NetBand,                  0x00002,  %NetBand_DEF_STR_AG%
HKR, ,                                  AdHocBand,                0x00002,  %AdhocBand_DEF_STR_AG%
 
;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
[COMMON_NDIS_2k.reg]
 HKR,NDI\Interfaces     ,UpperRange             ,0      ,"ndis5"
 HKR,NDI\Interfaces     ,LowerRange             ,0      ,"ethernet"
 HKR,NDI                ,Service                ,0      ,"LEX_AS_NIC_SERVICE_YNOS"
 ;HKR,                   ,aifs                   ,0      ,"2"
 ;HKR,                   ,cwmin                  ,0      ,"15"

[COMMON.reg]

HKR, ,                                  sleepMode,                      0x00002, %sleepMode_DEFAULT%
HKR, Ndi\params\sleepMode,              ParamDesc,                      0,  %sleepMode%
HKR, Ndi\params\sleepMode,              Base,                           0,  "10"
HKR, Ndi\params\sleepMode,              default,                        0,  %sleepMode_DEFAULT%
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, ,                                  tpc,                            0x00002, %tpc_DEFAULT%
;HKR, Ndi\params\tpc,                    ParamDesc,                      0,  %tpc%
;HKR, Ndi\params\tpc,                    Base,                           0,  "10"
;HKR, Ndi\params\tpc,                    default,                        0,  %tpc_DEFAULT%
;HKR, Ndi\params\tpc,                    type,                           0,  "enum"
;HKR, Ndi\params\tpc\enum,               "0",                            0,  "100%"
;HKR, Ndi\params\tpc\enum,               "1",                            0,  "50%"
;HKR, Ndi\params\tpc\enum,               "2",                            0,  "25%"
;HKR, Ndi\params\tpc\enum,               "3",                            0,  "12.5%"
;HKR, Ndi\params\tpc\enum,               "4",                            0,  %tpcLowest%

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

HKR, ,                                  radioEnable,                    0x00002, %radio_DEFAULT%
HKR, Ndi\params\radioEnable,            ParamDesc,                      0,  %radioEnable%
HKR, Ndi\params\radioEnable,            Base,                           0,  "10"
HKR, Ndi\params\radioEnable,            default,                        0,  %radio_DEFAULT%
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\authTypeUseOnly,        ParamDesc,                      0,  %authTypeUseOnly%
HKR, Ndi\params\authTypeUseOnly,        Base,                           0,  "10"
HKR, Ndi\params\authTypeUseOnly,        default,                        0,  "0"
HKR, Ndi\params\authTypeUseOnly,        type,                           0,  "enum"
HKR, Ndi\params\authTypeUseOnly\enum,   "0",                            0,  %authAuto%
HKR, Ndi\params\authTypeUseOnly\enum,   "1",                            0,  %authOpen%
HKR, Ndi\params\authTypeUseOnly\enum,   "2",                            0,  %authShared%

     
HKR, ,                                  AwakeTimePerf,                  0x00002,  "200"
HKR, ,                                  beaconInterval,                 0x00002,  "100"
HKR, ,                                  bkScanEnable,                   0x00002,  "1"
HKR, ,                                  bssType,                        0x00002,  "1"
HKR, ,                                  ccode,                          0x00002,  "US"
HKR, ,                                  clist,                          0x00002,  ""
HKR, ,                                  defaultKey,                     0x00002,  "0"
HKR, ,                                  EncryptionAlg,                  0x00002,  "2"
HKR, ,                                  FragThreshold,                  0x00002,  "2346"
HKR, ,                                  HwTxRetries,                    0x00002,  "4"
HKR, ,                                  privacyInvoked,                 0x00002,  "0"
HKR, ,                                  QoS,                            0x00002,  "0"
HKR, ,                                  rateCtrlEnable,                 0x00002,  "1"
HKR, ,                                  RTSThreshold,                   0x00002,  "2346"
HKR, ,                                  scanType,                       0x00002,  "2"
HKR, ,                                  SwTxRetryScale,                 0x00002,  "6"
HKR, ,                                  SmeEnable,                      0x00002,  "1"
HKR, ,                                  gpioPinFunc0,                   0x00002,  "1"
HKR, ,                                  adhocChannel,                   0x00002,  "2462"
HKR, ,                                  translateNullSsid,              0x00002,  "1"
HKR, ,                                  capLinkSp,              	0x00002,  "1"

 HKR,,LanExpress,0,"AS00"
 HKR,,DynamicConfig,0,"0"

; Allow non admin uses to switch profiles
[COMMON.reg.security]
"D:ARAI(A;;GA;;;BA)(A;;GA;;;SY)(A;CI;GA;;;IU)"
 
;###############################################################################
[DestinationDirs]
;CopyFiles Section      = Destination Directory ID -- see layout.inf
;-----------------        ------------------------
 DefaultDestDir         = 11 ; Win9x=%windir%\system Win2k=%windir%\system32
 WLAN_2k.CopyFiles      = 12 ; Win2k=%windir%\system32\drivers
 WLAN_2k.DelIniFiles    = 12 ; Win2k=%windir%\system32\drivers
 
[WLAN_2k.CopyFiles]
 ExpasAG.sys,,,0x00000004   ; COPYFLG_NOVERSIONCHECK
 
[WLAN_2k.DelIniFiles]
 Athnic.ini,,,1

[SourceDisksNames]
; diskid = description[, [tagfile] [, <unused>, subdir]]
;-------------------------------------------------------
 1                      = %DriverDiskName%,,,
 
[SourceDisksFiles.X86]  ; Win2k
 ExpasAG.sys          = 1

;###############################################################################
[Strings]
 DriverDiskName             = "LAN-Express AS IEEE 802.11g Driver Disk"
 Vendor_String              = "LAN-Express"
 LEX.DeviceDesc.MB22g       = "LAN-Express AS IEEE 802.11g miniPCI Adapter" 
 LEX.DeviceDesc.MB22ag      = "LAN-Express AS IEEE 802.11a/g miniPCI Adapter"
 Service.DispName           = "LAN-Express AS IEEE 802.11g Wireless Network Adapter Service"
 
; (0x01=11A, 0x02=11A_TURBO, 0x04=11B, 0x08=11G)
 NetBand_DEF_STR_A          = "3"                       ; (A/T) 
 NetBand_DEF_STR_AB         = "7"                       ; (A/T/B)   
 NetBand_DEF_STR_G          = "12"                      ; (B/G)     
 NetBand_DEF_STR_AG         = "15"                      ; (A/T/B/G)
 
; (0=11B, 1=11A, 2=11A_TURBO, 3=11G)
 AdhocBand_DEF_STR_A        = "1"                       ; (A)
 AdhocBand_DEF_STR_AB       = "1"                       ; (A)
 AdhocBand_DEF_STR_G        = "0"                       ; (B)
 AdhocBand_DEF_STR_AG       = "0"                       ; (B)

; (0=Disable, 1=Maximum, 2=Normal) 
 sleepMode                  = "Power Save Mode"
 sleepModeOff               = "CAM (Constantly Awake Mode)"
 sleepModeNormal            = "Fast PSP (Power Save Mode)"
 sleepModeMax               = "Max PSP (Max Power Saving)"
 sleepMode_DEFAULT          = "2"  

; (0=100%, 1=50%, 2=25%, 3=12.5%, 4=Lowest) 
 tpc                         = "Transmit Power"
 tpcLowest                   = "Lowest"
 tpc_DEFAULT                 = "0"
 
; (0=Long Preamble, 1=Long and Short) 
 shortPreamble               = "802.11b Preamble"
 shortPreambleEnable         = "Long and Short"
 shortPreambleDisable        = "Long only"
 shortPreamble_DEFAULT       = "1"

; (0=OFF, 1=ON)  
 radioEnable                 = "Radio On/Off"
 radioEnableOn               = "On"
 radioEnableOff              = "Off"
 radio_DEFAULT               = "1"
  
; (0=Auto, 1=Open, 2=Shared)  
authTypeUseOnly              = "802.11 Authentication Type"
authAuto                     = "Auto"
authOpen                     = "Open"
authShared                   = "Shared"

  