MdePkg[all]
1.08
|
Macros | |
#define | EFI_WIRELESS_MAC_CONNECTION_PROTOCOL_GUID |
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
#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
EFI_80211_REASON_CODE
EFI_GUID gEfiWiFiProtocolGuid |