]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrImpl.c
NetworkPkg: Add Wi-Fi Wpa3 support in WifiConnectManager
[mirror_edk2.git] / NetworkPkg / WifiConnectionManagerDxe / WifiConnectionMgrImpl.c
index 7630c0695c39f254811c87fb3b5085e7a2cd9f02..59bac48c42401cf1508f19f057721d38ea7d85a6 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   The Mac Connection2 Protocol adapter functions for WiFi Connection Manager.\r
 \r
-  Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2019 - 2022, Intel Corporation. All rights reserved.<BR>\r
 \r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
@@ -848,6 +848,7 @@ WifiMgrPrepareConnection (
   if (AKMSuiteSupported && CipherSuiteSupported) {\r
     switch (SecurityType) {\r
       case SECURITY_TYPE_WPA2_PERSONAL:\r
+      case SECURITY_TYPE_WPA3_PERSONAL:\r
 \r
         Status = WifiMgrConfigPassword (Nic, Profile);\r
         if (EFI_ERROR (Status)) {\r
@@ -863,6 +864,7 @@ WifiMgrPrepareConnection (
         break;\r
 \r
       case SECURITY_TYPE_WPA2_ENTERPRISE:\r
+      case SECURITY_TYPE_WPA3_ENTERPRISE:\r
 \r
         Status = WifiMgrConfigEap (Nic, Profile);\r
         if (EFI_ERROR (Status)) {\r