TianoCore EDK2 master
|
#include <Protocol/WiFi2.h>
Go to the source code of this file.
Macros | |
#define | EFI_WIRELESS_MAC_CONNECTION_PROTOCOL_GUID |
Typedefs | |
typedef struct _EFI_WIRELESS_MAC_CONNECTION_PROTOCOL | EFI_WIRELESS_MAC_CONNECTION_PROTOCOL |
typedef EFI_STATUS(EFIAPI * | EFI_WIRELESS_MAC_CONNECTION_SCAN) (IN EFI_WIRELESS_MAC_CONNECTION_PROTOCOL *This, IN EFI_80211_SCAN_DATA_TOKEN *Data) |
typedef EFI_STATUS(EFIAPI * | EFI_WIRELESS_MAC_CONNECTION_ASSOCIATE) (IN EFI_WIRELESS_MAC_CONNECTION_PROTOCOL *This, IN EFI_80211_ASSOCIATE_DATA_TOKEN *Data) |
typedef EFI_STATUS(EFIAPI * | EFI_WIRELESS_MAC_CONNECTION_DISASSOCIATE) (IN EFI_WIRELESS_MAC_CONNECTION_PROTOCOL *This, IN EFI_80211_DISASSOCIATE_DATA_TOKEN *Data) |
typedef EFI_STATUS(EFIAPI * | EFI_WIRELESS_MAC_CONNECTION_AUTHENTICATE) (IN EFI_WIRELESS_MAC_CONNECTION_PROTOCOL *This, IN EFI_80211_AUTHENTICATE_DATA_TOKEN *Data) |
typedef EFI_STATUS(EFIAPI * | EFI_WIRELESS_MAC_CONNECTION_DEAUTHENTICATE) (IN EFI_WIRELESS_MAC_CONNECTION_PROTOCOL *This, IN EFI_80211_DEAUTHENTICATE_DATA_TOKEN *Data) |
Enumerations | |
enum | EFI_80211_ACC_NET_TYPE { IeeePrivate = 0 , IeeePrivatewithGuest = 1 , IeeeChargeablePublic = 2 , IeeeFreePublic = 3 , IeeePersonal = 4 , IeeeEmergencyServOnly = 5 , IeeeTestOrExp = 14 , IeeeWildcard = 15 } |
enum | EFI_80211_ASSOCIATE_RESULT_CODE { AssociateSuccess , AssociateRefusedReasonUnspecified , AssociateRefusedCapsMismatch , AssociateRefusedExtReason , AssociateRefusedAPOutOfMemory , AssociateRefusedBasicRatesMismatch , AssociateRejectedEmergencyServicesNotSupported , AssociateRefusedTemporarily } |
enum | EFI_80211_SCAN_RESULT_CODE { ScanSuccess , ScanNotSupported } |
enum | EFI_80211_REASON_CODE { Ieee80211UnspecifiedReason = 1 , Ieee80211PreviousAuthenticateInvalid = 2 , Ieee80211DeauthenticatedSinceLeaving = 3 , Ieee80211DisassociatedDueToInactive = 4 , Ieee80211DisassociatedSinceApUnable = 5 , Ieee80211Class2FrameNonauthenticated = 6 , Ieee80211Class3FrameNonassociated = 7 , Ieee80211DisassociatedSinceLeaving = 8 } |
enum | EFI_80211_DISASSOCIATE_RESULT_CODE { DisassociateSuccess , DisassociateInvalidParameters } |
enum | EFI_80211_AUTHENTICATION_TYPE { OpenSystem , SharedKey , FastBSSTransition , SAE } |
enum | EFI_80211_AUTHENTICATE_RESULT_CODE { AuthenticateSuccess , AuthenticateRefused , AuthenticateAnticLoggingTokenRequired , AuthenticateFiniteCyclicGroupNotSupported , AuthenticationRejected , AuthenticateInvalidParameter } |
Variables | |
EFI_GUID | gEfiWiFiProtocolGuid |
This file provides management service interfaces of 802.11 MAC layer. It is used by network applications (and drivers) to establish wireless connection with an access point (AP).
Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file WiFi.h.
#define EFI_WIRELESS_MAC_CONNECTION_PROTOCOL_GUID |
typedef EFI_STATUS(EFIAPI * EFI_WIRELESS_MAC_CONNECTION_ASSOCIATE) (IN EFI_WIRELESS_MAC_CONNECTION_PROTOCOL *This, IN EFI_80211_ASSOCIATE_DATA_TOKEN *Data) |
Request an association with a specified peer MAC entity that is within an AP.
The Associate() function provides the capability for MAC layer to become associated with an AP.
[in] | This | Pointer to the EFI_WIRELESS_MAC_CONNECTION_PROTOCOL instance. |
[in] | Data | Pointer to the association token. |
EFI_SUCCESS | The operation completed successfully. |
EFI_INVALID_PARAMETER | One or more of the following conditions is TRUE: This is NULL. Data is NULL. Data->Data is NULL. |
EFI_UNSUPPORTED | One or more of the input parameters are not supported by this implementation. |
EFI_ALREADY_STARTED | The association process is already started. |
EFI_NOT_READY | Authentication is not performed before this association process. |
EFI_NOT_FOUND | The specified peer MAC entity is not found. |
EFI_OUT_OF_RESOURCES | Required system resources could not be allocated. |
typedef EFI_STATUS(EFIAPI * EFI_WIRELESS_MAC_CONNECTION_AUTHENTICATE) (IN EFI_WIRELESS_MAC_CONNECTION_PROTOCOL *This, IN EFI_80211_AUTHENTICATE_DATA_TOKEN *Data) |
Request the process of establishing an authentication relationship with a peer MAC entity.
The Authenticate() function requests authentication with a specified peer MAC entity. This service might be time-consuming thus is designed to be invoked independently of the association service.
[in] | This | Pointer to the EFI_WIRELESS_MAC_CONNECTION_PROTOCOL instance. |
[in] | Data | Pointer to the authentication token. |
EFI_SUCCESS | The operation completed successfully. |
EFI_INVALID_PARAMETER | One or more of the following conditions is TRUE: This is NULL. Data is NULL. Data.Data is NULL. |
EFI_UNSUPPORTED | One or more of the input parameters are not supported by this implementation. |
EFI_ALREADY_STARTED | The authentication process is already started. |
EFI_NOT_FOUND | The specified peer MAC entity is not found. |
EFI_OUT_OF_RESOURCES | Required system resources could not be allocated. |
typedef EFI_STATUS(EFIAPI * EFI_WIRELESS_MAC_CONNECTION_DEAUTHENTICATE) (IN EFI_WIRELESS_MAC_CONNECTION_PROTOCOL *This, IN EFI_80211_DEAUTHENTICATE_DATA_TOKEN *Data) |
Invalidate the authentication relationship with a peer MAC entity.
The Deauthenticate() function requests that the authentication relationship with a specified peer MAC entity be invalidated. Deauthentication is a notification and when it is sent out the association at the transmitting station is terminated.
[in] | This | Pointer to the EFI_WIRELESS_MAC_CONNECTION_PROTOCOL instance. |
[in] | Data | Pointer to the deauthentication token. |
EFI_SUCCESS | The operation completed successfully. |
EFI_INVALID_PARAMETER | One or more of the following conditions is TRUE: This is NULL. Data is NULL. Data.Data is NULL. |
EFI_ALREADY_STARTED | The deauthentication process is already started. |
EFI_NOT_READY | The deauthentication service is invoked to a nonexistent association or authentication relationship. |
EFI_NOT_FOUND | The specified peer MAC entity is not found. |
EFI_OUT_OF_RESOURCES | Required system resources could not be allocated. |
typedef EFI_STATUS(EFIAPI * EFI_WIRELESS_MAC_CONNECTION_DISASSOCIATE) (IN EFI_WIRELESS_MAC_CONNECTION_PROTOCOL *This, IN EFI_80211_DISASSOCIATE_DATA_TOKEN *Data) |
Request a disassociation with a specified peer MAC entity.
The Disassociate() function is invoked to terminate an existing association. Disassociation is a notification and cannot be refused by the receiving peer except when management frame protection is negotiated and the message integrity check fails.
[in] | This | Pointer to the EFI_WIRELESS_MAC_CONNECTION_PROTOCOL instance. |
[in] | Data | Pointer to the disassociation token. |
EFI_SUCCESS | The operation completed successfully. |
EFI_INVALID_PARAMETER | One or more of the following conditions is TRUE: This is NULL. Data is NULL. |
EFI_ALREADY_STARTED | The disassociation process is already started. |
EFI_NOT_READY | The disassociation service is invoked to a nonexistent association relationship. |
EFI_NOT_FOUND | The specified peer MAC entity is not found. |
EFI_OUT_OF_RESOURCES | Required system resources could not be allocated. |
typedef EFI_STATUS(EFIAPI * EFI_WIRELESS_MAC_CONNECTION_SCAN) (IN EFI_WIRELESS_MAC_CONNECTION_PROTOCOL *This, IN EFI_80211_SCAN_DATA_TOKEN *Data) |
Request a survey of potential BSSs that administrator can later elect to try to join.
The Scan() function returns the description of the set of BSSs detected by the scan process. Passive scan operation is performed by default.
[in] | This | Pointer to the EFI_WIRELESS_MAC_CONNECTION_PROTOCOL instance. |
[in] | Data | Pointer to the scan token. |
EFI_SUCCESS | The operation completed successfully. |
EFI_INVALID_PARAMETER | One or more of the following conditions is TRUE: This is NULL. Data is NULL. Data->Data is NULL. |
EFI_UNSUPPORTED | One or more of the input parameters are not supported by this implementation. |
EFI_ALREADY_STARTED | The scan operation is already started. |
EFI_80211_AUTHENTICATION_TYPE