;/*++
;
;Copyright (c) 2001-2004 TP-LINK technologies co., Ltd. All Rights Reserved
;
;Module Name:
;
;    Adapter.inf
;
;Abstract:
;    INF file for installing TP-LINK 11G Wireless Adapter
;
;    Installs Adapter.sys (NDIS 5/5.1 driver) on NT platforms (2000, XP and greater)
;    Installs Adapter9x.sys (NDIS 5 driver) on 9x platforms
;
;--*/

[Version]
Signature   = "$CHICAGO$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %TPLINK%
Compatible  = 1
DriverVer   = 07/12/2004,3.3.0.156
Catalogfile = 11gAdapter.cat

[Manufacturer]
%TPLINK%     = TPLINK

[ControlFlags]
ExcludeFromSelect = \  ;for win95 and legacy support
  PCI\VEN_168C&DEV_0013

[TPLINK]
; DisplayName               Section                 DeviceID
; -----------               -------                 --------
; Generic
%TL.DeviceDesc.0012%  = TL_DEV_0012.ndi,    PCI\VEN_168C&DEV_0012
%TL.DeviceDesc.0013%  = TL_DEV_0013.ndi,    PCI\VEN_168C&DEV_0013
%TL.DeviceDesc.0013%  = TL_DEV_0013.ndi,    PCI\VEN_168C&DEV_0014
%TL.DeviceDesc.0013%  = TL_DEV_0013.ndi,    PCI\VEN_168C&DEV_0015
%TL.DeviceDesc.0013%  = TL_DEV_0013.ndi,    PCI\VEN_168C&DEV_0016
%TL.DeviceDesc.0013%  = TL_DEV_0013.ndi,    PCI\VEN_168C&DEV_0017
%TL.DeviceDesc.0013%  = TL_DEV_0013.ndi,    PCI\VEN_168C&DEV_0018
%TL.DeviceDesc.0013%  = TL_DEV_0013.ndi,    PCI\VEN_168C&DEV_0019
%TL.DeviceDesc.0013%  = TL_DEV_0013.ndi,    PCI\VEN_168C&DEV_001A

; TP-LINK
%TL.DeviceDesc.1021%  = TL_DEV_1021.ndi,    PCI\VEN_168C&DEV_0012&SUBSYS_1021168C
%TL.DeviceDesc.2021%  = TL_DEV_2021.ndi,    PCI\VEN_168C&DEV_0012&SUBSYS_2021168C
%TL.DeviceDesc.1022%  = TL_DEV_1022.ndi,    PCI\VEN_168C&DEV_0012&SUBSYS_1022168C
%TL.DeviceDesc.2022%  = TL_DEV_2022.ndi,    PCI\VEN_168C&DEV_0012&SUBSYS_2022168C
%TL.DeviceDesc.1025%  = TL_DEV_1025.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_1025168C
%TL.DeviceDesc.2025%  = TL_DEV_2025.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_2025168C
%TL.DeviceDesc.1026%  = TL_DEV_1026.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_1026168C
%TL.DeviceDesc.2026%  = TL_DEV_2026.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_2026168C
%TL.DeviceDesc.1027%  = TL_DEV_1027.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_1027168C
%TL.DeviceDesc.2027%  = TL_DEV_2027.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_2027168C
%TL.DeviceDesc.1030%  = TL_DEV_1030.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_1030168C
%TL.DeviceDesc.2030%  = TL_DEV_2030.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_2030168C
%TL.DeviceDesc.1031%  = TL_DEV_1031.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_1031168C
%TL.DeviceDesc.2031%  = TL_DEV_2031.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_2031168C
%TL.DeviceDesc.1041%  = TL_DEV_1041.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_1041168C
%TL.DeviceDesc.2041%  = TL_DEV_2041.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_2041168C
%TL.DeviceDesc.1042%  = TL_DEV_1042.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_1042168C
%TL.DeviceDesc.2042%  = TL_DEV_2042.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_2042168C

; Other
%TL.DeviceDesc.2022%  = TL_DEV_2022.ndi,    PCI\VEN_168C&DEV_0012&SUBSYS_7005144F
%TL.DeviceDesc.2026%  = TL_DEV_0013.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_7005144F
%TL.DeviceDesc.2026%  = TL_DEV_0013.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_7057144F
%TL.DeviceDesc.2026%  = TL_DEV_0013.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_7058144F
%TL.DeviceDesc.2041%  = TL_DEV_2041.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_7064144F
%TL.DeviceDesc.2042%  = TL_DEV_2042.ndi,    PCI\VEN_168C&DEV_0013&SUBSYS_7065144F

; Windows 9X specific entries
[TL_DEV_0012.ndi]
AddReg          = TL_DEV_0012.id.reg, 5211.reg, TL.win.reg, 5211.acb.reg
CopyFiles       = TL.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles
DelReg          = 5211.DelReg

[TL_DEV_0013.ndi]
AddReg          = TL_DEV_0013.id.reg, 5211.reg, TL.win.reg, 5212.abgcb.reg
CopyFiles       = TL.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles
DelReg          = 5211.DelReg

[TL_DEV_1021.ndi]
AddReg          = TL_DEV_1021.id.reg, 5211.reg, TL.win.reg, 5211.acb.reg
CopyFiles       = TL.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles
DelReg          = 5211.DelReg

[TL_DEV_2021.ndi]
AddReg          = TL_DEV_2021.id.reg, 5211.reg, TL.win.reg, 5211.amp.reg
CopyFiles       = TL.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles
DelReg          = 5211.DelReg

[TL_DEV_1022.ndi]
AddReg          = TL_DEV_1022.id.reg, 5211.reg, TL.win.reg, 5211.abcb.reg
CopyFiles       = TL.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles
DelReg          = 5211.DelReg

[TL_DEV_2022.ndi]
AddReg          = TL_DEV_2022.id.reg, 5211.reg, TL.win.reg, 5211.abmp.reg
CopyFiles       = TL.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles
DelReg          = 5211.DelReg

[TL_DEV_1025.ndi]
AddReg          = TL_DEV_1025.id.reg, 5211.reg, TL.win.reg, 5212.bgcb.reg
CopyFiles       = TL.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles
DelReg          = 5211.DelReg

[TL_DEV_2025.ndi]
AddReg          = TL_DEV_2025.id.reg, 5211.reg, TL.win.reg, 5212.bgmp.reg
CopyFiles       = TL.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles
DelReg          = 5211.DelReg

[TL_DEV_1026.ndi]
AddReg          = TL_DEV_1026.id.reg, 5211.reg, TL.win.reg, 5212.abgcb.reg
CopyFiles       = TL.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles
DelReg          = 5211.DelReg

[TL_DEV_2026.ndi]
AddReg          = TL_DEV_2026.id.reg, 5211.reg, TL.win.reg, 5212.abgmp.reg
CopyFiles       = TL.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles
DelReg          = 5211.DelReg

[TL_DEV_1027.ndi]
AddReg          = TL_DEV_1027.id.reg, 5211.reg, TL.win.reg, 5212.bgcb.reg
CopyFiles       = TL.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles
DelReg          = 5211.DelReg

[TL_DEV_2027.ndi]
AddReg          = TL_DEV_2027.id.reg, 5211.reg, TL.win.reg, 5212.bgmp.reg
CopyFiles       = TL.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles
DelReg          = 5211.DelReg

[TL_DEV_1030.ndi]
AddReg          = TL_DEV_1030.id.reg, 5211.reg, TL.win.reg, 5212.bgcb.reg
CopyFiles       = TL.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles
DelReg          = 5211.DelReg

[TL_DEV_2030.ndi]
AddReg          = TL_DEV_2030.id.reg, 5211.reg, TL.win.reg, 5212.bgmp.reg
CopyFiles       = TL.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles
DelReg          = 5211.DelReg

[TL_DEV_1031.ndi]
AddReg          = TL_DEV_1031.id.reg, 5211.reg, TL.win.reg, 5212.abgcb.reg
CopyFiles       = TL.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles
DelReg          = 5211.DelReg

[TL_DEV_2031.ndi]
AddReg          = TL_DEV_2031.id.reg, 5211.reg, TL.win.reg, 5212.abgmp.reg
CopyFiles       = TL.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles
DelReg          = 5211.DelReg

[TL_DEV_1041.ndi]
AddReg          = TL_DEV_1041.id.reg, 5211.reg, TL.win.reg, 5212.bgcb.reg
CopyFiles       = TL.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles
DelReg          = 5211.DelReg

[TL_DEV_2041.ndi]
AddReg          = TL_DEV_2041.id.reg, 5211.reg, TL.win.reg, 5212.bgmp.reg
CopyFiles       = TL.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles
DelReg          = 5211.DelReg

[TL_DEV_1042.ndi]
AddReg          = TL_DEV_1042.id.reg, 5211.reg, TL.win.reg, 5212.abgcb.reg
CopyFiles       = TL.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles
DelReg          = 5211.DelReg

[TL_DEV_2042.ndi]
AddReg          = TL_DEV_2042.id.reg, 5211.reg, TL.win.reg, 5212.abgmp.reg
CopyFiles       = TL.win.CopyFiles, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles
DelReg          = 5211.DelReg

; Windows NT specific entries

[TL_DEV_0012.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, TL.reg, 5211.reg, 5211.acb.reg
CopyFiles       = TL.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles

[TL_DEV_0013.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, TL.reg, 5211.reg, 5212.abgcb.reg
CopyFiles       = TL.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles

[TL_DEV_1021.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, TL.reg, 5211.reg, 5211.acb.reg
CopyFiles       = TL.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles

[TL_DEV_2021.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, TL.reg, 5211.reg, 5211.amp.reg
CopyFiles       = TL.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles

[TL_DEV_1022.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, TL.reg, 5211.reg, 5211.abcb.reg
CopyFiles       = TL.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles

[TL_DEV_2022.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, TL.reg, 5211.reg, 5211.abmp.reg
CopyFiles       = TL.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles

[TL_DEV_1025.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, TL.reg, 5211.reg, 5212.bgcb.reg
CopyFiles       = TL.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles

[TL_DEV_2025.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, TL.reg, 5211.reg, 5212.bgmp.reg
CopyFiles       = TL.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles

[TL_DEV_1026.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, TL.reg, 5211.reg, 5212.abgcb.reg
CopyFiles       = TL.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles

[TL_DEV_2026.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, TL.reg, 5211.reg, 5212.abgmp.reg
CopyFiles       = TL.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles

[TL_DEV_1027.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, TL.reg, 5211.reg, 5212.bgcb.reg
CopyFiles       = TL.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles

[TL_DEV_2027.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, TL.reg, 5211.reg, 5212.bgmp.reg
CopyFiles       = TL.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles

[TL_DEV_1030.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, TL.reg, 5211.reg, 5212.bgcb.reg
CopyFiles       = TL.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles

[TL_DEV_2030.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, TL.reg, 5211.reg, 5212.bgmp.reg
CopyFiles       = TL.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles

[TL_DEV_1031.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, TL.reg, 5211.reg, 5212.abgcb.reg
CopyFiles       = TL.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles

[TL_DEV_2031.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, TL.reg, 5211.reg, 5212.abgmp.reg
CopyFiles       = TL.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles

[TL_DEV_1041.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, TL.reg, 5211.reg, 5212.bgcb.reg
CopyFiles       = TL.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles

[TL_DEV_2041.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, TL.reg, 5211.reg, 5212.bgmp.reg
CopyFiles       = TL.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles

[TL_DEV_1042.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, TL.reg, 5211.reg, 5212.abgcb.reg
CopyFiles       = TL.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles

[TL_DEV_2042.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType         = 5
DelReg          = 5211.DelReg
AddReg          = 5211.reg, TL.reg, 5211.reg, 5212.abgmp.reg
CopyFiles       = TL.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles        = TL.DelIniFiles

[TL_DEV_0012.ndi.NT.Services]
AddService      = AR5211, 2, TL.Service, common.EventLog

[TL_DEV_0013.ndi.NT.Services]
AddService      = AR5211, 2, TL.Service, common.EventLog

[TL_DEV_1021.ndi.NT.Services]
AddService      = AR5211, 2, TL.Service, common.EventLog

[TL_DEV_2021.ndi.NT.Services]
AddService      = AR5211, 2, TL.Service, common.EventLog

[TL_DEV_1022.ndi.NT.Services]
AddService      = AR5211, 2, TL.Service, common.EventLog

[TL_DEV_2022.ndi.NT.Services]
AddService      = AR5211, 2, TL.Service, common.EventLog

[TL_DEV_1025.ndi.NT.Services]
AddService      = AR5211, 2, TL.Service, common.EventLog

[TL_DEV_2025.ndi.NT.Services]
AddService      = AR5211, 2, TL.Service, common.EventLog

[TL_DEV_1026.ndi.NT.Services]
AddService      = AR5211, 2, TL.Service, common.EventLog

[TL_DEV_2026.ndi.NT.Services]
AddService      = AR5211, 2, TL.Service, common.EventLog

[TL_DEV_1027.ndi.NT.Services]
AddService      = AR5211, 2, TL.Service, common.EventLog

[TL_DEV_2027.ndi.NT.Services]
AddService      = AR5211, 2, TL.Service, common.EventLog

[TL_DEV_1030.ndi.NT.Services]
AddService      = AR5211, 2, TL.Service, common.EventLog

[TL_DEV_2030.ndi.NT.Services]
AddService      = AR5211, 2, TL.Service, common.EventLog

[TL_DEV_1031.ndi.NT.Services]
AddService      = AR5211, 2, TL.Service, common.EventLog

[TL_DEV_2031.ndi.NT.Services]
AddService      = AR5211, 2, TL.Service, common.EventLog

[TL_DEV_1041.ndi.NT.Services]
AddService      = AR5211, 2, TL.Service, common.EventLog

[TL_DEV_2041.ndi.NT.Services]
AddService      = AR5211, 2, TL.Service, common.EventLog

[TL_DEV_1042.ndi.NT.Services]
AddService      = AR5211, 2, TL.Service, common.EventLog

[TL_DEV_2042.ndi.NT.Services]
AddService      = AR5211, 2, TL.Service, common.EventLog

;----------------------------------------------------------------------------
; Win9x id registry sections
; These are not needed by NT

[TL_DEV_0012.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0012"

[TL_DEV_0013.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0013"

[TL_DEV_1021.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0012&SUBSYS_1021168C"

[TL_DEV_2021.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0012&SUBSYS_2021168C"

[TL_DEV_1022.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0012&SUBSYS_1022168C"

[TL_DEV_2022.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0012&SUBSYS_2022168C"

[TL_DEV_1025.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0013&SUBSYS_1025168C"

[TL_DEV_2025.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0013&SUBSYS_2025168C"

[TL_DEV_1026.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0013&SUBSYS_1026168C"

[TL_DEV_2026.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0013&SUBSYS_2026168C"

[TL_DEV_1027.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0013&SUBSYS_1027168C"

[TL_DEV_2027.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0013&SUBSYS_2027168C"

[TL_DEV_1030.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0013&SUBSYS_1030168C"

[TL_DEV_2030.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0013&SUBSYS_2030168C"

[TL_DEV_1031.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0013&SUBSYS_1031168C"

[TL_DEV_2031.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0013&SUBSYS_2031168C"

[TL_DEV_1041.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0013&SUBSYS_1041168C"

[TL_DEV_2041.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0013&SUBSYS_2041168C"

[TL_DEV_1042.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0013&SUBSYS_1042168C"

[TL_DEV_2042.id.reg]
HKR, Ndi, DeviceID, 0, "PCI\VEN_168C&DEV_0013&SUBSYS_2042168C"

;
; 5211 Enumerated Types
;
[5211.acb.reg]
HKR, ,                                  NetBand,                        0x00002,  "3"
HKR, CustomParams\Configurations,       NicType,                        0x10003,  0

[5211.amp.reg]
HKR, ,                                  NetBand,                        0x00002,  "3"
HKR, CustomParams\Configurations,       NicType,                        0x10003,  0

[5211.abcb.reg]
HKR, ,                                  NetBand,                        0x00002,  "7"
HKR, CustomParams\Configurations,       NicType,                        0x10003,  1

[5211.abmp.reg]
HKR, ,                                  NetBand,                        0x00002,  "7"
HKR, CustomParams\Configurations,       NicType,                        0x10003,  2

[5212.abgcb.reg]
HKR, ,                                  NetBand,                        0x00002,  "15"
HKR, CustomParams\Configurations,       NicType,                        0x10003,  1

[5212.abgmp.reg]
HKR, ,                                  NetBand,                        0x00002,  "15"
HKR, CustomParams\Configurations,       NicType,                        0x10003,  2

[5212.bgcb.reg]
HKR, ,                                  NetBand,                        0x00002,  "12"
HKR, CustomParams\Configurations,       NicType,                        0x10003,  1

[5212.bgmp.reg]
HKR, ,                                  NetBand,                        0x00002,  "12"
HKR, CustomParams\Configurations,       NicType,                        0x10003,  2

;-----------------------------------------------------------------------------

;
; 5211 common
;
[5211.DelReg]
HKR,,NetBand
HKR,,ssid
HKR,,ssid2
HKR,,ssid3
HKR,,prefBssid1
HKR,,prefBssid2
HKR,,prefBssid3
HKR,,prefBssid4
HKR,Ndi\Params\tpc
HKR,,tpc
HKR,Ndi\Params\authTypeUseOnly
HKR,,authTypeUseOnly
HKR,,AdHocBand
HKR,,AwakeTimePerf
HKR,,beaconInterval
HKR,,bkScanEnable
HKR,,bssType
HKR,,ccode
HKR,,clist
HKR,,defaultKey
HKR,,EncryptionAlg
HKR,,FragThreshold
HKR,,HwTxRetries
HKR,,privacyInvoked
HKR,,QoS
HKR,,rateCtrlEnable
HKR,,RTSThreshold
HKR,,scanType
HKR,,SwTxRetryScale
HKR,,SmeEnable
HKR,,aifs
HKR,,cwmin

[5211.reg]

HKR, Ndi\params\MapRegisters,           ParamDesc,                      0,  %MapRegisters%
HKR, Ndi\params\MapRegisters,           default,                        0,  "256"
HKR, Ndi\params\MapRegisters,           min,                            0,  "32"
HKR, Ndi\params\MapRegisters,           max,                            0,  "512"
HKR, Ndi\params\MapRegisters,           step,                           0,  "8"
HKR, Ndi\params\MapRegisters,           base,                           0,  "10"
HKR, Ndi\params\MapRegisters,           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\sleepMode,              ParamDesc,                      0,  %sleepMode%
HKR, Ndi\params\sleepMode,              Base,                           0,  "10"
HKR, Ndi\params\sleepMode,              default,                        0,  "2"
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, 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\radioEnable,            ParamDesc,                      0,  %radioEnable%
HKR, Ndi\params\radioEnable,            Base,                           0,  "10"
HKR, Ndi\params\radioEnable,            default,                        0,  "1"
HKR, Ndi\params\radioEnable,            type,                           0,  "enum"
HKR, Ndi\params\radioEnable\enum,       "1",                            0,  %radioEnableOn%
HKR, Ndi\params\radioEnable\enum,       "0",                            0,  %radioEnableOff%

HKR, CustomParams\Configurations,       MajorVersion,                   0x10003,  2
HKR, CustomParams\Configurations,       MinorVersion,                   0x10003,  0

HKR, CustomParams\Configurations,       SelectedConfigurationIndex,     0x10003,  0
HKR, CustomParams\Configurations,       SelectedConfigurationName,      0x00002,  "Default"

; Allow non admin uses to switch profiles
[5211.reg.security]
"D:ARAI(A;;GA;;;BA)(A;;GA;;;SY)(A;CI;GA;;;IU)"

;-----------------------------------------------------------------------------
; TL NT specific
;

[TL.reg]
HKR, Ndi,             Service,      0, "AR5211"
HKR, Ndi\Interfaces,  UpperRange,   0, "ndis5"
HKR, Ndi\Interfaces,  LowerRange,   0, "ethernet"

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

;-----------------------------------------------------------------------------
; TL NT/XP common
;
[common.EventLog]
AddReg = common.AddEventLog.reg

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

;----------------------------------------------------------------------------
; TL Win9x specific
;
[TL.win.reg]
HKR, ,                  DevLoader,          0,            "*ndis"
HKR, ,                  DeviceVxDs,         0,            "11gAdapter9x.sys"
HKR, ,                  EnumPropPages,      0,            "netdi.dll,EnumPropPages"

HKR, Ndi\Interfaces,    DefUpper,           0,            "ndis3"
HKR, Ndi\Interfaces,    DefLower,           0,            "ethernet"
HKR, Ndi\Interfaces,    UpperRange,         0,            "ndis3"
HKR, Ndi\Interfaces,    LowerRange,         0,            "ethernet"


HKR, NDIS,              LogDriverName,      0,            "11GADAPTER9X"
HKR, NDIS,              MajorNdisVersion,   1,            03
HKR, NDIS,              MinorNdisVersion,   1,            0A

HKR, Ndi\Install,       ndis3,              0,            "TL.install"

;----------------------------------------------------------------------------
; Win9x Files to Copy
[TL.win.CopyFiles]
11gAdapter9x.sys,,,2

;----------------------------------------------------------------------------
; NT Files to Copy
[TL.CopyFiles.nt]
11gAdapter.sys,,,2

[TL.DelIniFiles]
Athnic.ini,,,1

[SourceDisksNames]
;
; diskid = description[, [tagfile] [, <unused>, subdir]]
;
1 = %TL_Disk%,,,

;----------------------------------------------------------------------------
; Source Files
[SourceDisksFiles]
11gAdapter9x.sys                 = 1,, ; on distribution disk 1
11gAdapter.sys                   = 1,, ; on distribution disk 1


[DestinationDirs]
TL.CopyFiles.nt           = 12
TL.win.CopyFiles          = 10,system32\drivers ; %SystemRoot%\system32\drivers
TL.DelIniFiles            = 10,system32\drivers ; %SystemRoot%\system32\drivers
DefaultDestDir               = 11

[DEFAULTDESTDIRS]
;


[Strings]
TPLINK                      = "TP-LINK"
MapRegisters                 = "Map Registers"
NetworkAddress               = "Network Address"
sleepMode                    = "Power Save Mode"
sleepModeOff                 = "CAM (Constantly Awake Mode)"
sleepModeNormal              = "Fast PSP (Power Save Mode)"
sleepModeMax                 = "Max PSP (Max Power Saving)"
shortPreamble                = "802.11b Preamble"
shortPreambleEnable          = "Long and Short"
shortPreambleDisable         = "Long only"
radioEnable                  = "Radio On/Off"
radioEnableOn                = "On"
radioEnableOff               = "Off"

TL_Disk                 = "TP-LINK Wireless Driver Disk"
TL.Service.DispName       = "TP-LINK TL-WN310G/350G 11G Wireless Adapter Service"
TL.DeviceDesc.0012        = "TP-LINK TL-WN310G/350G 11G Wireless Adapter"
TL.DeviceDesc.0013        = "TP-LINK TL-WN310G/350G 11G Wireless Adapter"
TL.DeviceDesc.1021        = "TP-LINK AR5001A Wireless Network Adapter"
TL.DeviceDesc.2021        = "TP-LINK AR5001A Wireless Network Adapter"
TL.DeviceDesc.1022        = "TP-LINK AR5001X Cardbus Wireless Network Adapter"
TL.DeviceDesc.2022        = "TP-LINK AR5001X Mini PCI Wireless Network Adapter"
TL.DeviceDesc.1025        = "TP-LINK AR5001X+ Wireless Network Adapter"
TL.DeviceDesc.2025        = "TP-LINK AR5001X+ Wireless Network Adapter"
TL.DeviceDesc.1026        = "TP-LINK AR5001X+ Wireless Network Adapter"
TL.DeviceDesc.2026        = "TP-LINK AR5001X+ Wireless Network Adapter"
TL.DeviceDesc.1027        = "TP-LINK AR5001X+ Wireless Network Adapter"
TL.DeviceDesc.2027        = "TP-LINK AR5001X+ Wireless Network Adapter"
TL.DeviceDesc.1030        = "TP-LINK AR5002G Wireless Network Adapter"
TL.DeviceDesc.2030        = "TP-LINK AR5002G Wireless Network Adapter"
TL.DeviceDesc.1031        = "TP-LINK AR5002X Wireless Network Adapter"
TL.DeviceDesc.2031        = "TP-LINK AR5002X Wireless Network Adapter"
TL.DeviceDesc.1041        = "TP-LINK AR5004G Wireless Network Adapter"
TL.DeviceDesc.2041        = "TP-LINK AR5004G Wireless Network Adapter"
TL.DeviceDesc.1042        = "TP-LINK AR5004X Wireless Network Adapter"
TL.DeviceDesc.2042        = "TP-LINK AR5004X Wireless Network Adapter"
