summaryrefslogtreecommitdiff
path: root/NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrDxe.h
diff options
context:
space:
mode:
authorZachary Clark-Williams <zclarkw112@gmail.com>2022-08-10 15:32:11 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-01-10 21:31:29 +0000
commitfe405f08a09e9f2306c72aa23d8edfbcfaa23bff (patch)
tree3a0c764d1d31900d59083ba796b159d15456ee9c /NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrDxe.h
parentec54ce1f1ab41b92782b37ae59e752fff0ef9c41 (diff)
downloadedk2-fe405f08a09e9f2306c72aa23d8edfbcfaa23bff.zip
edk2-fe405f08a09e9f2306c72aa23d8edfbcfaa23bff.tar.gz
edk2-fe405f08a09e9f2306c72aa23d8edfbcfaa23bff.tar.bz2
NetworkPkg: Add WiFi profile sync protocol support
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3845 Enables KVM and One Click Recovery WLAN capability with WiFi Profile Sync feature and protocol. Adding WiFiProfileSyncProtocol, which supports the profilesync driver operations for transferring WiFi profiles from AMT to the Supplicant. WiFiConnectionManager will check for the WifiProfileSyncProtocol and if found will operate on the premise of a One Click Recovery, or KVM flow with a Wifi profile provided by AMT. Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com> Cc: Wu Jiaxin <jiaxin.wu@intel.com> Cc: Andrei Otcheretianski <andrei.otcheretianski@intel.com> Signed-off-by: Zachary Clark-Williams <zachary.clark-williams@intel.com> Acked-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Diffstat (limited to 'NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrDxe.h')
-rw-r--r--NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrDxe.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrDxe.h b/NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrDxe.h
index 7b2e41e..047f85d 100644
--- a/NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrDxe.h
+++ b/NetworkPkg/WifiConnectionManagerDxe/WifiConnectionMgrDxe.h
@@ -47,6 +47,7 @@
#include <Protocol/SimpleNetwork.h>
#include <Protocol/SimpleFileSystem.h>
#include <Protocol/EapConfiguration.h>
+#include <Protocol/WiFiProfileSyncProtocol.h>
//
// Produced Protocols
@@ -73,7 +74,8 @@
//
#define WIFI_MGR_DXE_VERSION 0xb
-#define OUI_IEEE_80211I 0xAC0F00
+#define OUI_IEEE_80211I 0xAC0F00
+#define MAX_WIFI_CONNETION_ATTEMPTS 3
typedef enum {
Ieee80211PairwiseCipherSuiteUseGroupCipherSuite = 0,