-
Notifications
You must be signed in to change notification settings - Fork 1
/
wificx-skl.inx
112 lines (89 loc) · 6.69 KB
/
wificx-skl.inx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
;/*++
;
;Copyright (c) CoolStar. All rights reserved.
;
;Module Name:
; wificx-skl.inf
;
;Abstract:
; INF file for installing the WiFiCx Sample Driver
;
;
;--*/
[Version]
Signature = "$WINDOWS NT$"
Class = Net
ClassGuid = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider = CoolStar
CatalogFile = wificx-skl.cat
PnpLockdown = 1
;*****************************************
; WiFiCX Sample Install Section
;*****************************************
[Manufacturer]
%StdMfg%=Standard,NT$ARCH$.10.0...16299
; Decorated model section take precedence over undecorated
; ones on XP and later.
[Standard.NT$ARCH$.10.0...16299]
%WiFiCX_SKL.DeviceDesc%=WiFiCX_SKL.ndi, ACPI\0E8D7921
;
; NDI: This section declares your network interface characteristics.
;
[WiFiCX_SKL.ndi.NT]
FeatureScore = 0xFE
CopyFiles = WiFiCX_SKL.CopyFiles
Characteristics = 0x84 ; NCF_HAS_UI, NCF_PHYSICAL
; TODO: Update with the type of bus (PCI, USB, or custom) your device uses.
BusType = 5 ; PCIBus
; TODO: Update these next 3 values based on your device's media type.
*IfType = 71 ; IF_TYPE_IEEE80211
*MediaType = 16 ; NdisMediumNative802_11
*PhysicalMediaType = 9 ; NdisPhysicalMediumNative802_11
NumberOfNetworkInterfaces = 5; For WIFI DIRECT DEVICE AND ROLE ADAPTER
; TODO: Set this to 0 if your device is not a physical device.
*IfConnectorPresent = 1 ; true
; In most cases, you can keep these at their default values.
*ConnectionType = 1 ; NET_IF_CONNECTION_DEDICATED
*DirectionType = 0 ; NET_IF_DIRECTION_SENDRECEIVE
*AccessType = 2 ; NET_IF_ACCESS_BROADCAST
*HardwareLoopback = 0 ; false
AddReg = ndi.reg
[ndi.reg]
; TODO: Update these if your device is not Ethernet.
; Note that "ndis5" simply means to bind to TCPIP; it is not a version number.
HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces, LowerRange, 0, "ethernet,wlan"
HKR, Ndi, Service, 0, %ServiceName%
[WiFiCX_SKL.ndi.NT.Wdf]
KmdfService = %ServiceName%, wdf
[wdf]
KmdfLibraryVersion = $KMDFVERSION$
[WiFiCX_SKL.ndi.NT.Services]
AddService = %ServiceName%, 2, WiFiCX_SKL.Service, Service.EventLog
[WiFiCX_SKL.Service]
DisplayName = %Service.DisplayName%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
; TODO: Update the name of your binary.
ServiceBinary = %13%\wificx-skl.sys
[WiFiCX_SKL.CopyFiles]
wificx-skl.sys
[Service.EventLog]
AddReg = Service.AddEventLog.reg
[Service.AddEventLog.reg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR,, TypesSupported, 0x00010001, 7
[DestinationDirs]
WiFiCX_SKL.CopyFiles = 13
[SourceDisksNames]
1 = %DiskDescription%
[SourceDisksFiles]
wificx-skl.sys = 1
[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
StdMfg = "CoolStar"
DiskDescription = "WiFiCX Sample Controller Installation Disk #1"
WiFiCX_SKL.DeviceDesc = "WiFiCX Sample Controller"
Service.DisplayName = "WiFiCX Sample Service"
ServiceName = "WiFiCX_SKL"