diff options
author | Wang Fan <fan.wang@intel.com> | 2019-02-22 15:48:25 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2019-02-28 09:47:09 +0800 |
commit | 90b24889f9ced53c18b73266d507e45fbd94fab0 (patch) | |
tree | d57a487b436b4694afae03ae84e9dd7a3485b991 /NetworkPkg/WifiConnectionManagerDxe/WifiConnectionManagerDxe.inf | |
parent | 3eb69b081c683f9d825930d0c511e43c0485e5d2 (diff) | |
download | edk2-90b24889f9ced53c18b73266d507e45fbd94fab0.tar.gz edk2-90b24889f9ced53c18b73266d507e45fbd94fab0.tar.bz2 edk2-90b24889f9ced53c18b73266d507e45fbd94fab0.zip |
NetworkPkg: Add WiFi Connection Manager to NetworkPkg
* V2
* Remove Arch dependency in Inf file
* Add a global guid for WiFi formset and set other guids to module levels
* Open supplicant and EapConfig by BY_DRIVER
* Remove token free function to avoid potential NULL reference
* Update WifiMgrUpdateConnectMessage() to only display message for Current Nic
* Fix the potential NULL reference in AIP call
* REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1492
Add WiFi Connection Manager in NetworkPkg to provide UI for users to scan
networks, connect or disconnect to networks.
This connection manager won't include the UNDI driver, supplicant driver,
or other device specific drivers and is therefor not a complete solution
stack for UEFI Wi-Fi, users can seek help for Wireless card vendors.
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Wang Fan <fan.wang@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Siyuan Fu <siyuan.fu@intel.com>
Diffstat (limited to 'NetworkPkg/WifiConnectionManagerDxe/WifiConnectionManagerDxe.inf')
-rw-r--r-- | NetworkPkg/WifiConnectionManagerDxe/WifiConnectionManagerDxe.inf | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/NetworkPkg/WifiConnectionManagerDxe/WifiConnectionManagerDxe.inf b/NetworkPkg/WifiConnectionManagerDxe/WifiConnectionManagerDxe.inf new file mode 100644 index 0000000000..e431f2b710 --- /dev/null +++ b/NetworkPkg/WifiConnectionManagerDxe/WifiConnectionManagerDxe.inf @@ -0,0 +1,87 @@ +## @file
+# WiFi Connection Manager.
+#
+# This module is an example of how to make use of UEFI WiFi connection capabilities.
+# User can scan, connect and diconnect to networks through UI operations.
+#
+# Supported networks include:
+# 1). Open Network
+# 2). WPA2 Personal Network
+# 3). EAP Networks (EAP-TLS, EAP-TTLS/MSCHAPv2 and PEAPv0/MSCHAPv2)
+#
+# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
+#
+# This program and the accompanying materials
+# are licensed and made available under the terms and conditions of the BSD License
+# which accompanies this distribution. The full text of the license may be found at
+# http://opensource.org/licenses/bsd-license.php.
+#
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+#
+##
+
+[Defines]
+ INF_VERSION = 0x00010005
+ BASE_NAME = WifiConnectionManagerDxe
+ FILE_GUID = c6df98f2-5ec0-4a94-8c11-9a9828ef03f2
+ MODULE_TYPE = DXE_DRIVER
+ VERSION_STRING = 0.1
+ ENTRY_POINT = WifiMgrDxeDriverEntryPoint
+
+[Sources]
+ WifiConnectionMgrDxe.h
+ WifiConnectionMgrDriverBinding.h
+ WifiConnectionMgrConfig.h
+ WifiConnectionMgrMisc.h
+ WifiConnectionMgrImpl.h
+ WifiConnectionMgrConfigNVDataStruct.h
+ WifiConnectionMgrHiiConfigAccess.h
+ WifiConnectionMgrComponentName.h
+ WifiConnectionMgrFileUtil.h
+ WifiConnectionMgrDriver.c
+ WifiConnectionMgrComponentName.c
+ WifiConnectionMgrMisc.c
+ WifiConnectionMgrHiiConfigAccess.c
+ WifiConnectionMgrImpl.c
+ WifiConnectionMgrFileUtil.c
+ WifiConnectionManagerDxeStrings.uni
+ WifiConnectionManagerDxe.vfr
+ EapContext.h
+ WifiConnectionMgrConfigHii.h
+
+[Packages]
+ MdePkg/MdePkg.dec
+ MdeModulePkg/MdeModulePkg.dec
+ NetworkPkg/NetworkPkg.dec
+
+[LibraryClasses]
+ UefiDriverEntryPoint
+ UefiBootServicesTableLib
+ UefiRuntimeServicesTableLib
+ MemoryAllocationLib
+ BaseMemoryLib
+ BaseLib
+ UefiLib
+ DevicePathLib
+ DebugLib
+ HiiLib
+ PrintLib
+ UefiHiiServicesLib
+ NetLib
+ FileExplorerLib
+
+[Protocols]
+ gEfiHiiConfigAccessProtocolGuid ## PRODUCES
+ gEfiWiFi2ProtocolGuid ## TO_START
+ gEfiAdapterInformationProtocolGuid ## SOMETIMES_CONSUMES
+ gEfiSupplicantProtocolGuid ## SOMETIMES_CONSUMES
+ gEfiEapConfigurationProtocolGuid ## SOMETIMES_CONSUMES
+
+[Guids]
+ gWifiConfigGuid ## PRODUCES ## GUID
+ gEfiIfrTianoGuid ## CONSUMES ## GUID (Extended IFR Guid Opcode)
+ gEfiAdapterInfoMediaStateGuid ## SOMETIMES_CONSUMES ## GUID # Indicate the current media state status
+
+[Depex]
+ gEfiHiiConfigRoutingProtocolGuid
|