10#ifndef __EFI_WIFI_MGR_DXE_H__
11#define __EFI_WIFI_MGR_DXE_H__
75#define WIFI_MGR_DXE_VERSION 0xb
77#define OUI_IEEE_80211I 0xAC0F00
78#define MAX_WIFI_CONNETION_ATTEMPTS 3
81 Ieee80211PairwiseCipherSuiteUseGroupCipherSuite = 0,
82 Ieee80211PairwiseCipherSuiteWEP40 = 1,
83 Ieee80211PairwiseCipherSuiteTKIP = 2,
84 Ieee80211PairwiseCipherSuiteCCMP = 4,
85 Ieee80211PairwiseCipherSuiteWEP104 = 5,
86 Ieee80211PairwiseCipherSuiteBIP = 6,
87 Ieee80211PairwiseCipherSuiteGCMP = 8,
88 Ieee80211PairwiseCipherSuiteGCMP256 = 9,
90} IEEE_80211_PAIRWISE_CIPHER_SUITE;
92#define IEEE_80211_PAIRWISE_CIPHER_SUITE_USE_GROUP (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteUseGroupCipherSuite << 24))
93#define IEEE_80211_PAIRWISE_CIPHER_SUITE_WEP40 (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteWEP40 << 24))
94#define IEEE_80211_PAIRWISE_CIPHER_SUITE_TKIP (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteTKIP << 24))
95#define IEEE_80211_PAIRWISE_CIPHER_SUITE_CCMP (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteCCMP << 24))
96#define IEEE_80211_PAIRWISE_CIPHER_SUITE_WEP104 (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteWEP104 << 24))
97#define IEEE_80211_PAIRWISE_CIPHER_SUITE_BIP (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteBIP << 24))
98#define IEEE_80211_PAIRWISE_CIPHER_SUITE_GCMP (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteGCMP << 24))
99#define IEEE_80211_PAIRWISE_CIPHER_SUITE_GCMP256 (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteGCMP256 << 24))
102 Ieee80211AkmSuite8021XOrPMKSA = 1,
103 Ieee80211AkmSuitePSK = 2,
104 Ieee80211AkmSuite8021XOrPMKSASHA256 = 5,
105 Ieee80211AkmSuitePSKSHA256 = 6,
106 Ieee80211AkmSuiteSAE = 8,
107 Ieee80211AkmSuite8021XSuiteB = 11,
108 Ieee80211AkmSuite8021XSuiteB192 = 12,
109 Ieee80211AkmSuiteOWE = 18,
111} IEEE_80211_AKM_SUITE;
113#define IEEE_80211_AKM_SUITE_8021X_OR_PMKSA (OUI_IEEE_80211I | (Ieee80211AkmSuite8021XOrPMKSA << 24))
114#define IEEE_80211_AKM_SUITE_PSK (OUI_IEEE_80211I | (Ieee80211AkmSuitePSK << 24))
115#define IEEE_80211_AKM_SUITE_8021X_OR_PMKSA_SHA256 (OUI_IEEE_80211I | (Ieee80211AkmSuite8021XOrPMKSASHA256 << 24))
116#define IEEE_80211_AKM_SUITE_PSK_SHA256 (OUI_IEEE_80211I | (Ieee80211AkmSuitePSKSHA256 << 24))
117#define IEEE_80211_AKM_SUITE_SAE (OUI_IEEE_80211I | (Ieee80211AkmSuiteSAE << 24))
118#define IEEE_80211_AKM_SUITE_8021X_SUITE_B (OUI_IEEE_80211I | (Ieee80211AkmSuite8021XSuiteB << 24))
119#define IEEE_80211_AKM_SUITE_8021X_SUITE_B192 (OUI_IEEE_80211I | (Ieee80211AkmSuite8021XSuiteB192 << 24))
120#define IEEE_80211_AKM_SUITE_OWE (OUI_IEEE_80211I | (Ieee80211AkmSuiteOWE << 24))
135 WifiMgrConnectingToAp,
136 WifiMgrConnectedToAp,
137 WifiMgrDisconnectingToAp,
138 WifiMgrConnectStateMaximum
139} WIFI_MGR_CONNECT_STATE;
144 WifiMgrScanStateMaximum
145} WIFI_MGR_SCAN_STATE;
147#define WIFI_SCAN_FREQUENCY 30
155#define EFI_WIFIMGR_PRIVATE_GUID \
157 0x99b7c019, 0x4789, 0x4829, { 0xa7, 0xbd, 0x0d, 0x4b, 0xaa, 0x62, 0x28, 0x72 } \
211 BOOLEAN HasDisconnectPendingNetwork;
217 UINT32 AvailableCount;
218 UINT32 MaxProfileIndex;
224 BOOLEAN OneTimeScanRequest;
225 BOOLEAN OneTimeConnectRequest;
226 BOOLEAN OneTimeDisconnectRequest;
227 WIFI_MGR_SCAN_STATE ScanState;
229 WIFI_MGR_CONNECT_STATE ConnectState;
230 BOOLEAN ConnectStateChanged;
233#define WIFI_MGR_DEVICE_DATA_SIGNATURE SIGNATURE_32 ('W','M','D','D')
235#define WIFI_MGR_DEVICE_DATA_FROM_IDENTIFIER(Identifier) \
238 WIFI_MGR_DEVICE_DATA, \
240 WIFI_MGR_DEVICE_DATA_SIGNATURE \
246 CHAR16 SSId[SSID_STORAGE_SIZE];
249#define WIFI_MGR_HIDDEN_NETWORK_SIGNATURE SIGNATURE_32 ('W','M','H','N')
251#define WIFI_MGR_HIDDEN_NETWORK_FROM_IDENTIFIER(Identifier) \
254 WIFI_HIDDEN_NETWORK_DATA, \
256 WIFI_MGR_HIDDEN_NETWORK_SIGNATURE \
284 UINT8 EapSecondAuthMethod;
285 CHAR16 EapIdentity[EAP_IDENTITY_SIZE];
288 WIFI_MGR_FILE_TYPE FileType;
290 UINT32 HiddenNetworkCount;
294#define WIFI_MGR_PRIVATE_DATA_SIGNATURE SIGNATURE_32 ('W','M','P','D')
296#define WIFI_MGR_PRIVATE_DATA_FROM_CONFIG_ACCESS(This) \
299 WIFI_MGR_PRIVATE_DATA, \
301 WIFI_MGR_PRIVATE_DATA_SIGNATURE \
306 TokenTypeGetNetworksToken,
307 TokenTypeConnectNetworkToken,
308 TokenTypeDisconnectNetworkToken,
310} WIFI_MGR_MAC_CONFIG_TOKEN_TYPE;
320 WIFI_MGR_MAC_CONFIG_TOKEN_TYPE Type;
EFI_DRIVER_BINDING_PROTOCOL gWifiMgrDxeDriverBinding
EFI_COMPONENT_NAME_PROTOCOL gWifiMgrDxeComponentName
EFI_COMPONENT_NAME2_PROTOCOL gWifiMgrDxeComponentName2