TianoCore EDK2 master
Loading...
Searching...
No Matches
WifiConnectionMgrDxe.h File Reference

Go to the source code of this file.

Data Structures

struct  _WIFI_MGR_SUPPORTED_SUITES
 
struct  _WIFI_MGR_PRIVATE_PROTOCOL
 
struct  _WIFI_MGR_FILE_CONTEXT
 
struct  WIFI_MGR_DEVICE_DATA
 
struct  WIFI_HIDDEN_NETWORK_DATA
 
struct  _WIFI_MGR_PRIVATE_DATA
 
union  MAC_CONNECTION2_ADAPTER_TOKEN
 
struct  WIFI_MGR_MAC_CONFIG_TOKEN
 

Macros

#define WIFI_MGR_DXE_VERSION   0xb
 
#define OUI_IEEE_80211I   0xAC0F00
 
#define MAX_WIFI_CONNETION_ATTEMPTS   3
 
#define IEEE_80211_PAIRWISE_CIPHER_SUITE_USE_GROUP   (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteUseGroupCipherSuite << 24))
 
#define IEEE_80211_PAIRWISE_CIPHER_SUITE_WEP40   (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteWEP40 << 24))
 
#define IEEE_80211_PAIRWISE_CIPHER_SUITE_TKIP   (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteTKIP << 24))
 
#define IEEE_80211_PAIRWISE_CIPHER_SUITE_CCMP   (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteCCMP << 24))
 
#define IEEE_80211_PAIRWISE_CIPHER_SUITE_WEP104   (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteWEP104 << 24))
 
#define IEEE_80211_PAIRWISE_CIPHER_SUITE_BIP   (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteBIP << 24))
 
#define IEEE_80211_PAIRWISE_CIPHER_SUITE_GCMP   (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteGCMP << 24))
 
#define IEEE_80211_PAIRWISE_CIPHER_SUITE_GCMP256   (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteGCMP256 << 24))
 
#define IEEE_80211_AKM_SUITE_8021X_OR_PMKSA   (OUI_IEEE_80211I | (Ieee80211AkmSuite8021XOrPMKSA << 24))
 
#define IEEE_80211_AKM_SUITE_PSK   (OUI_IEEE_80211I | (Ieee80211AkmSuitePSK << 24))
 
#define IEEE_80211_AKM_SUITE_8021X_OR_PMKSA_SHA256   (OUI_IEEE_80211I | (Ieee80211AkmSuite8021XOrPMKSASHA256 << 24))
 
#define IEEE_80211_AKM_SUITE_PSK_SHA256   (OUI_IEEE_80211I | (Ieee80211AkmSuitePSKSHA256 << 24))
 
#define IEEE_80211_AKM_SUITE_SAE   (OUI_IEEE_80211I | (Ieee80211AkmSuiteSAE << 24))
 
#define IEEE_80211_AKM_SUITE_8021X_SUITE_B   (OUI_IEEE_80211I | (Ieee80211AkmSuite8021XSuiteB << 24))
 
#define IEEE_80211_AKM_SUITE_8021X_SUITE_B192   (OUI_IEEE_80211I | (Ieee80211AkmSuite8021XSuiteB192 << 24))
 
#define IEEE_80211_AKM_SUITE_OWE   (OUI_IEEE_80211I | (Ieee80211AkmSuiteOWE << 24))
 
#define WIFI_SCAN_FREQUENCY   30
 
#define EFI_WIFIMGR_PRIVATE_GUID
 
#define WIFI_MGR_DEVICE_DATA_SIGNATURE   SIGNATURE_32 ('W','M','D','D')
 
#define WIFI_MGR_DEVICE_DATA_FROM_IDENTIFIER(Identifier)
 
#define WIFI_MGR_HIDDEN_NETWORK_SIGNATURE   SIGNATURE_32 ('W','M','H','N')
 
#define WIFI_MGR_HIDDEN_NETWORK_FROM_IDENTIFIER(Identifier)
 
#define WIFI_MGR_PRIVATE_DATA_SIGNATURE   SIGNATURE_32 ('W','M','P','D')
 
#define WIFI_MGR_PRIVATE_DATA_FROM_CONFIG_ACCESS(This)
 

Typedefs

typedef struct _WIFI_MGR_SUPPORTED_SUITES WIFI_MGR_SUPPORTED_SUITES
 
typedef struct _WIFI_MGR_PRIVATE_DATA WIFI_MGR_PRIVATE_DATA
 
typedef struct _WIFI_MGR_PRIVATE_PROTOCOL WIFI_MGR_PRIVATE_PROTOCOL
 
typedef struct _WIFI_MGR_FILE_CONTEXT WIFI_MGR_FILE_CONTEXT
 

Enumerations

enum  IEEE_80211_PAIRWISE_CIPHER_SUITE {
  Ieee80211PairwiseCipherSuiteUseGroupCipherSuite = 0 , Ieee80211PairwiseCipherSuiteWEP40 = 1 , Ieee80211PairwiseCipherSuiteTKIP = 2 , Ieee80211PairwiseCipherSuiteCCMP = 4 ,
  Ieee80211PairwiseCipherSuiteWEP104 = 5 , Ieee80211PairwiseCipherSuiteBIP = 6 , Ieee80211PairwiseCipherSuiteGCMP = 8 , Ieee80211PairwiseCipherSuiteGCMP256 = 9
}
 
enum  IEEE_80211_AKM_SUITE {
  Ieee80211AkmSuite8021XOrPMKSA = 1 , Ieee80211AkmSuitePSK = 2 , Ieee80211AkmSuite8021XOrPMKSASHA256 = 5 , Ieee80211AkmSuitePSKSHA256 = 6 ,
  Ieee80211AkmSuiteSAE = 8 , Ieee80211AkmSuite8021XSuiteB = 11 , Ieee80211AkmSuite8021XSuiteB192 = 12 , Ieee80211AkmSuiteOWE = 18
}
 
enum  WIFI_MGR_CONNECT_STATE {
  WifiMgrDisconnected , WifiMgrConnectingToAp , WifiMgrConnectedToAp , WifiMgrDisconnectingToAp ,
  WifiMgrConnectStateMaximum
}
 
enum  WIFI_MGR_SCAN_STATE { WifiMgrScanFinished , WifiMgrScanning , WifiMgrScanStateMaximum }
 
enum  WIFI_MGR_FILE_TYPE { FileTypeCACert , FileTypeClientCert , FileTypeMax }
 
enum  WIFI_MGR_MAC_CONFIG_TOKEN_TYPE { TokenTypeGetNetworksToken , TokenTypeConnectNetworkToken , TokenTypeDisconnectNetworkToken , TokenTypeMax }
 

Variables

EFI_DRIVER_BINDING_PROTOCOL gWifiMgrDxeDriverBinding
 
EFI_COMPONENT_NAME2_PROTOCOL gWifiMgrDxeComponentName2
 
EFI_COMPONENT_NAME_PROTOCOL gWifiMgrDxeComponentName
 
EFI_HII_CONFIG_ACCESS_PROTOCOL gWifiMgrDxeHiiConfigAccess
 
WIFI_MGR_PRIVATE_DATAmPrivate
 

Detailed Description

The miscellaneous structure definitions for WiFi connection driver.

Copyright (c) 2019 - 2022, Intel Corporation. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file WifiConnectionMgrDxe.h.

Macro Definition Documentation

◆ EFI_WIFIMGR_PRIVATE_GUID

#define EFI_WIFIMGR_PRIVATE_GUID
Value:
{ \
0x99b7c019, 0x4789, 0x4829, { 0xa7, 0xbd, 0x0d, 0x4b, 0xaa, 0x62, 0x28, 0x72 } \
}

Definition at line 155 of file WifiConnectionMgrDxe.h.

◆ IEEE_80211_AKM_SUITE_8021X_OR_PMKSA

#define IEEE_80211_AKM_SUITE_8021X_OR_PMKSA   (OUI_IEEE_80211I | (Ieee80211AkmSuite8021XOrPMKSA << 24))

Definition at line 113 of file WifiConnectionMgrDxe.h.

◆ IEEE_80211_AKM_SUITE_8021X_OR_PMKSA_SHA256

#define IEEE_80211_AKM_SUITE_8021X_OR_PMKSA_SHA256   (OUI_IEEE_80211I | (Ieee80211AkmSuite8021XOrPMKSASHA256 << 24))

Definition at line 115 of file WifiConnectionMgrDxe.h.

◆ IEEE_80211_AKM_SUITE_8021X_SUITE_B

#define IEEE_80211_AKM_SUITE_8021X_SUITE_B   (OUI_IEEE_80211I | (Ieee80211AkmSuite8021XSuiteB << 24))

Definition at line 118 of file WifiConnectionMgrDxe.h.

◆ IEEE_80211_AKM_SUITE_8021X_SUITE_B192

#define IEEE_80211_AKM_SUITE_8021X_SUITE_B192   (OUI_IEEE_80211I | (Ieee80211AkmSuite8021XSuiteB192 << 24))

Definition at line 119 of file WifiConnectionMgrDxe.h.

◆ IEEE_80211_AKM_SUITE_OWE

#define IEEE_80211_AKM_SUITE_OWE   (OUI_IEEE_80211I | (Ieee80211AkmSuiteOWE << 24))

Definition at line 120 of file WifiConnectionMgrDxe.h.

◆ IEEE_80211_AKM_SUITE_PSK

#define IEEE_80211_AKM_SUITE_PSK   (OUI_IEEE_80211I | (Ieee80211AkmSuitePSK << 24))

Definition at line 114 of file WifiConnectionMgrDxe.h.

◆ IEEE_80211_AKM_SUITE_PSK_SHA256

#define IEEE_80211_AKM_SUITE_PSK_SHA256   (OUI_IEEE_80211I | (Ieee80211AkmSuitePSKSHA256 << 24))

Definition at line 116 of file WifiConnectionMgrDxe.h.

◆ IEEE_80211_AKM_SUITE_SAE

#define IEEE_80211_AKM_SUITE_SAE   (OUI_IEEE_80211I | (Ieee80211AkmSuiteSAE << 24))

Definition at line 117 of file WifiConnectionMgrDxe.h.

◆ IEEE_80211_PAIRWISE_CIPHER_SUITE_BIP

#define IEEE_80211_PAIRWISE_CIPHER_SUITE_BIP   (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteBIP << 24))

Definition at line 97 of file WifiConnectionMgrDxe.h.

◆ IEEE_80211_PAIRWISE_CIPHER_SUITE_CCMP

#define IEEE_80211_PAIRWISE_CIPHER_SUITE_CCMP   (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteCCMP << 24))

Definition at line 95 of file WifiConnectionMgrDxe.h.

◆ IEEE_80211_PAIRWISE_CIPHER_SUITE_GCMP

#define IEEE_80211_PAIRWISE_CIPHER_SUITE_GCMP   (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteGCMP << 24))

Definition at line 98 of file WifiConnectionMgrDxe.h.

◆ IEEE_80211_PAIRWISE_CIPHER_SUITE_GCMP256

#define IEEE_80211_PAIRWISE_CIPHER_SUITE_GCMP256   (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteGCMP256 << 24))

Definition at line 99 of file WifiConnectionMgrDxe.h.

◆ IEEE_80211_PAIRWISE_CIPHER_SUITE_TKIP

#define IEEE_80211_PAIRWISE_CIPHER_SUITE_TKIP   (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteTKIP << 24))

Definition at line 94 of file WifiConnectionMgrDxe.h.

◆ IEEE_80211_PAIRWISE_CIPHER_SUITE_USE_GROUP

#define IEEE_80211_PAIRWISE_CIPHER_SUITE_USE_GROUP   (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteUseGroupCipherSuite << 24))

Definition at line 92 of file WifiConnectionMgrDxe.h.

◆ IEEE_80211_PAIRWISE_CIPHER_SUITE_WEP104

#define IEEE_80211_PAIRWISE_CIPHER_SUITE_WEP104   (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteWEP104 << 24))

Definition at line 96 of file WifiConnectionMgrDxe.h.

◆ IEEE_80211_PAIRWISE_CIPHER_SUITE_WEP40

#define IEEE_80211_PAIRWISE_CIPHER_SUITE_WEP40   (OUI_IEEE_80211I | (Ieee80211PairwiseCipherSuiteWEP40 << 24))

Definition at line 93 of file WifiConnectionMgrDxe.h.

◆ MAX_WIFI_CONNETION_ATTEMPTS

#define MAX_WIFI_CONNETION_ATTEMPTS   3

Definition at line 78 of file WifiConnectionMgrDxe.h.

◆ OUI_IEEE_80211I

#define OUI_IEEE_80211I   0xAC0F00

Definition at line 77 of file WifiConnectionMgrDxe.h.

◆ WIFI_MGR_DEVICE_DATA_FROM_IDENTIFIER

#define WIFI_MGR_DEVICE_DATA_FROM_IDENTIFIER (   Identifier)
Value:
CR ( \
Identifier, \
WifiMgrIdentifier, \
WIFI_MGR_DEVICE_DATA_SIGNATURE \
)
#define CR(Record, TYPE, Field, TestSignature)
Definition: DebugLib.h:659

Definition at line 235 of file WifiConnectionMgrDxe.h.

◆ WIFI_MGR_DEVICE_DATA_SIGNATURE

#define WIFI_MGR_DEVICE_DATA_SIGNATURE   SIGNATURE_32 ('W','M','D','D')

Definition at line 233 of file WifiConnectionMgrDxe.h.

◆ WIFI_MGR_DXE_VERSION

#define WIFI_MGR_DXE_VERSION   0xb

Definition at line 75 of file WifiConnectionMgrDxe.h.

◆ WIFI_MGR_HIDDEN_NETWORK_FROM_IDENTIFIER

#define WIFI_MGR_HIDDEN_NETWORK_FROM_IDENTIFIER (   Identifier)
Value:
CR ( \
Identifier, \
WifiMgrIdentifier, \
WIFI_MGR_HIDDEN_NETWORK_SIGNATURE \
)

Definition at line 251 of file WifiConnectionMgrDxe.h.

◆ WIFI_MGR_HIDDEN_NETWORK_SIGNATURE

#define WIFI_MGR_HIDDEN_NETWORK_SIGNATURE   SIGNATURE_32 ('W','M','H','N')

Definition at line 249 of file WifiConnectionMgrDxe.h.

◆ WIFI_MGR_PRIVATE_DATA_FROM_CONFIG_ACCESS

#define WIFI_MGR_PRIVATE_DATA_FROM_CONFIG_ACCESS (   This)
Value:
CR ( \
This, \
ConfigAccess, \
WIFI_MGR_PRIVATE_DATA_SIGNATURE \
)

Definition at line 296 of file WifiConnectionMgrDxe.h.

◆ WIFI_MGR_PRIVATE_DATA_SIGNATURE

#define WIFI_MGR_PRIVATE_DATA_SIGNATURE   SIGNATURE_32 ('W','M','P','D')

Definition at line 294 of file WifiConnectionMgrDxe.h.

◆ WIFI_SCAN_FREQUENCY

#define WIFI_SCAN_FREQUENCY   30

Definition at line 147 of file WifiConnectionMgrDxe.h.

Typedef Documentation

◆ WIFI_MGR_PRIVATE_DATA

Definition at line 160 of file WifiConnectionMgrDxe.h.

Enumeration Type Documentation

◆ IEEE_80211_AKM_SUITE

enum IEEE_80211_AKM_SUITE

Definition at line 101 of file WifiConnectionMgrDxe.h.

◆ IEEE_80211_PAIRWISE_CIPHER_SUITE

enum IEEE_80211_PAIRWISE_CIPHER_SUITE

Definition at line 80 of file WifiConnectionMgrDxe.h.

◆ WIFI_MGR_CONNECT_STATE

enum WIFI_MGR_CONNECT_STATE

Definition at line 133 of file WifiConnectionMgrDxe.h.

◆ WIFI_MGR_FILE_TYPE

enum WIFI_MGR_FILE_TYPE

Definition at line 171 of file WifiConnectionMgrDxe.h.

◆ WIFI_MGR_MAC_CONFIG_TOKEN_TYPE

enum WIFI_MGR_MAC_CONFIG_TOKEN_TYPE

Definition at line 305 of file WifiConnectionMgrDxe.h.

◆ WIFI_MGR_SCAN_STATE

enum WIFI_MGR_SCAN_STATE

Definition at line 141 of file WifiConnectionMgrDxe.h.

Variable Documentation

◆ gWifiMgrDxeComponentName

EFI_COMPONENT_NAME_PROTOCOL gWifiMgrDxeComponentName
extern

Component Name Protocol instance

Definition at line 18 of file WifiConnectionMgrComponentName.c.

◆ gWifiMgrDxeComponentName2

EFI_COMPONENT_NAME2_PROTOCOL gWifiMgrDxeComponentName2
extern

Component Name 2 Protocol instance

Definition at line 28 of file WifiConnectionMgrComponentName.c.

◆ gWifiMgrDxeDriverBinding

EFI_DRIVER_BINDING_PROTOCOL gWifiMgrDxeDriverBinding
extern

Driver Binding Protocol instance

Definition at line 15 of file WifiConnectionMgrDriver.c.

◆ gWifiMgrDxeHiiConfigAccess

EFI_HII_CONFIG_ACCESS_PROTOCOL gWifiMgrDxeHiiConfigAccess
extern

Definition at line 40 of file WifiConnectionMgrHiiConfigAccess.c.

◆ mPrivate

WIFI_MGR_PRIVATE_DATA* mPrivate
extern

Definition at line 14 of file EsrtDxe.c.