;=============================================================================
;
; Copyright (c) Intel Corporation (2017).
;
; INTEL MAKES NO WARRANTY OF ANY KIND REGARDING THE CODE.  THIS CODE IS
; LICENSED ON AN "AS IS" BASIS AND INTEL WILL NOT PROVIDE ANY SUPPORT,
; ASSISTANCE, INSTALLATION, TRAINING OR OTHER SERVICES.  INTEL DOES NOT
; PROVIDE ANY UPDATES, ENHANCEMENTS OR EXTENSIONS.  INTEL SPECIFICALLY
; DISCLAIMS ANY WARRANTY OF MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR ANY
; PARTICULAR PURPOSE, OR ANY OTHER WARRANTY.  Intel disclaims all liability,
; including liability for infringement of any proprietary rights, relating to
; use of the code. No license, express or implied, by estoppel or otherwise,
; to any intellectual property rights is granted herein.
;
;=============================================================================

;======================================================================
; Intel(R) Wireless Manageability driver INF file
;
; Installed as a Software Component by reference in the WiManWifiExtension.INF,
; an extension INF for suitable WiFi NIcs.
;======================================================================

[Version]
Signature="$WINDOWS NT$"
Class=SoftwareComponent
ClassGuid={5c4c3332-344d-483c-8739-259e934c9cc8}
Provider=%ManufacturerName%
CatalogFile=WiMan.cat
DriverVer = 12/24/2020,2052.59.22.0

[DestinationDirs]
DefaultDestDir = 13
Drivers_Dir_WiFi = 13, WiMan
Drivers_Dir_HECI = 13, WiManH
Drivers_Dir_HECI_uCode = 13, WiManHu
[SourceDisksNames]
1 = %DiskName%,,,""

[SourceDisksFiles]
WiMan.sys  = 1,WiMan
WiManH.sys  = 1,WiManH
WiManHu.sys  = 1,WiManHu

;*****************************************
; Install Section
;*****************************************

[Manufacturer]
%ManufacturerName%=Intel, NTamd64.10.0

[Intel.NTamd64.10.0]
%WiMan.DeviceDesc%=WiMan_WiFi_Device, SWC\842ADBFC-7499-407B-BD91-A52842585D0B  ; WiMan hw-id as WiFi extension
%WiMan.DeviceDesc%=WiMan_HECI_Device, SWC\B74B5286-A7A5-444D-973B-71A66AF711BE  ; WiMan hw-id as HECI extension
%WiMan.DeviceDesc%=WiMan_HECI_uCode_Device, SWC\D1D545FE-A4C1-45BD-8C7C-2B90A7C3734A  ; WiMan hw-id as HECI extension supporting ucode update

[WiMan_WiFi_Device.NT]
CopyFiles=Drivers_Dir_WiFi

[WiMan_HECI_Device.NT]
CopyFiles=Drivers_Dir_HECI

[WiMan_HECI_uCode_Device.NT]
CopyFiles=Drivers_Dir_HECI_uCode

[Drivers_Dir_WiFi]
WiMan.sys

[Drivers_Dir_HECI]
WiManH.sys

[Drivers_Dir_HECI_uCode]
WiManHu.sys

;-------------- Service installation
[WiMan_WiFi_Device.NT.Services]
AddService = WiMan,%SPSVCINST_ASSOCSERVICE%, WiMan_WiFi_Service_Inst, WiMan.EventLogWiFi

[WiMan_HECI_Device.NT.Services]
AddService = WiManH,%SPSVCINST_ASSOCSERVICE%, WiMan_HECI_Service_Inst, WiManH.EventLogHECI

[WiMan_HECI_uCode_Device.NT.Services]
AddService = WiManHu,%SPSVCINST_ASSOCSERVICE%, WiMan_HECI_uCode_Service_Inst, WiManHu.EventLogHECIuCode

; -------------- WiMan driver install sections
[WiMan_WiFi_Service_Inst]
DisplayName    = %WiMan.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %13%\WiMan\WiMan.sys

[WiMan_HECI_Service_Inst]
DisplayName    = %WiManH.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %13%\WiManH\WiManH.sys

[WiMan_HECI_uCode_Service_Inst]
DisplayName    = %WiManHu.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %13%\WiManHu\WiManHu.sys


[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="Intel"
SPSVCSINST_STARTSERVICE= 0x00000800

DiskName = "WiMan Installation Disk"
WiMan.DeviceDesc = "Intel(R) Wireless Manageability"
WiMan.SVCDESC = "WiMan Service"
WiManH.DeviceDesc = "Intel(R) Wireless Manageability"
WiManH.SVCDESC = "WiMan Service"
WiManHu.DeviceDesc = "Intel(R) Wireless Manageability"
WiManHu.SVCDESC = "WiMan Service"

EventLogMessageDllPath_WiMan_WiFi = "%SystemRoot%\System32\netevent.dll;%13%\WiMan\WiMan.sys
EventLogMessageDllPath_WiMan_HECI = "%SystemRoot%\System32\netevent.dll;%13%\WiManH\WiManH.sys
EventLogMessageDllPath_WiMan_HECI_uCode = "%SystemRoot%\System32\netevent.dll;%13%\WiManHu\WiManHu.sys

[WiMan.AddEventLogWiFi.reg]
HKR, , EventMessageFile, 0x00020000, %EventLogMessageDllPath_WiMan_WiFi%
HKR, , TypesSupported,   0x00010001, 7

[WiMan.EventLogWiFi]
AddReg = WiMan.AddEventLogWiFi.reg

[WiManH.AddEventLogHECI.reg]
HKR, , EventMessageFile, 0x00020000, %EventLogMessageDllPath_WiMan_HECI%
HKR, , TypesSupported,   0x00010001, 7

[WiManH.EventLogHECI]
AddReg = WiManH.AddEventLogHECI.reg

[WiManHu.AddEventLogHECIuCode.reg]
HKR, , EventMessageFile, 0x00020000, %EventLogMessageDllPath_WiMan_HECI_uCode%
HKR, , TypesSupported,   0x00010001, 7

[WiManHu.EventLogHECIuCode]
AddReg = WiManHu.AddEventLogHECIuCode.reg
