TianoCore EDK2 master
Loading...
Searching...
No Matches
WiFi.h
Go to the documentation of this file.
1
14#ifndef __EFI_WIFI_PROTOCOL_H__
15#define __EFI_WIFI_PROTOCOL_H__
16
17#include <Protocol/WiFi2.h>
18
19#define EFI_WIRELESS_MAC_CONNECTION_PROTOCOL_GUID \
20 { \
21 0xda55bc9, 0x45f8, 0x4bb4, {0x87, 0x19, 0x52, 0x24, 0xf1, 0x8a, 0x4d, 0x45 } \
22 }
23
25
29typedef enum {
30 IeeePrivate = 0,
31 IeeePrivatewithGuest = 1,
32 IeeeChargeablePublic = 2,
33 IeeeFreePublic = 3,
34 IeeePersonal = 4,
35 IeeeEmergencyServOnly = 5,
36 IeeeTestOrExp = 14,
37 IeeeWildcard = 15
39
43typedef enum {
44 AssociateSuccess,
45 AssociateRefusedReasonUnspecified,
46 AssociateRefusedCapsMismatch,
47 AssociateRefusedExtReason,
48 AssociateRefusedAPOutOfMemory,
49 AssociateRefusedBasicRatesMismatch,
50 AssociateRejectedEmergencyServicesNotSupported,
51 AssociateRefusedTemporarily
53
57typedef enum {
67
71typedef enum {
72 Ieee80211UnspecifiedReason = 1,
73 Ieee80211PreviousAuthenticateInvalid = 2,
74 Ieee80211DeauthenticatedSinceLeaving = 3,
75 Ieee80211DisassociatedDueToInactive = 4,
76 Ieee80211DisassociatedSinceApUnable = 5,
77 Ieee80211Class2FrameNonauthenticated = 6,
78 Ieee80211Class3FrameNonassociated = 7,
79 Ieee80211DisassociatedSinceLeaving = 8,
80 // ...
82
86typedef enum {
96
100typedef enum {
119 SAE
121
125typedef enum {
126 AuthenticateSuccess,
127 AuthenticateRefused,
128 AuthenticateAnticLoggingTokenRequired,
129 AuthenticateFiniteCyclicGroupNotSupported,
130 AuthenticationRejected,
131 AuthenticateInvalidParameter
133
137typedef struct {
145 UINT8 Length;
147
151typedef struct {
160 UINT8 RequestIDs[1];
162
166typedef struct {
174 UINT8 SSId[32];
176
180typedef struct {
193 UINT8 SSIdLen;
197 UINT8 *SSId;
201 BOOLEAN PassiveMode;
212 UINT32 *ChannelList;
243
247typedef struct {
262
266typedef struct {
282
286typedef union {
296
300typedef struct {
308 UINT8 CountryStr[3];
313 EFI_80211_COUNTRY_TRIPLET CountryTriplet[1];
315
319typedef struct {
324 UINT16 Version;
333 // UINT16 PairwiseCipherSuiteCount;
338 // UINT32 PairwiseCipherSuiteList[PairwiseCipherSuiteCount];
342 // UINT16 AKMSuiteCount;
347 // UINT32 AKMSuiteList[AKMSuiteCount];
351 // UINT16 RSNCapabilities;
355 // UINT16 PMKIDCount;
359 // UINT8 PMKIDList[PMKIDCount][16];
364 // UINT32 GroupManagementCipherSuite;
366
370typedef struct {
380
384typedef struct {
394 UINT8 Capabilities[1];
396
400typedef struct {
408 UINT8 *SSId;
412 UINT8 SSIdLen;
424 UINT64 Timestamp;
451 UINT8 RSSI;
476
480typedef struct {
488 UINT8 Length;
492 UINT8 Data[1];
494
498typedef struct {
513
517typedef struct {
533 UINT8 ConCountryStr[2];
541 UINT8 Channel;
545 UINT8 Interval;
559
563typedef struct {
587
591typedef struct {
619
623typedef struct {
633
637typedef struct {
647
651typedef struct {
687
691typedef struct {
699 UINT8 Type;
703 UINT32 Value;
705
709typedef struct {
747
751typedef struct {
777
781typedef struct {
796
800typedef struct {
824
828typedef struct {
848 UINT8 *FTContent;
859
863typedef struct {
873 UINT8 *FTContent;
884
888typedef struct {
919
923typedef struct {
938
942typedef struct {
963
983typedef
988 );
989
1013typedef
1018 );
1019
1041typedef
1046 );
1047
1071typedef
1076 );
1077
1100typedef
1105 );
1106
1119};
1120
1121extern EFI_GUID gEfiWiFiProtocolGuid;
1122
1123#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_EVENT
Definition: UefiBaseType.h:37
EFI_80211_BSS_TYPE
Definition: WiFi2.h:25
EFI_80211_ASSOCIATE_RESULT_CODE
Definition: WiFi.h:43
EFI_STATUS(EFIAPI * EFI_WIRELESS_MAC_CONNECTION_SCAN)(IN EFI_WIRELESS_MAC_CONNECTION_PROTOCOL *This, IN EFI_80211_SCAN_DATA_TOKEN *Data)
Definition: WiFi.h:985
EFI_STATUS(EFIAPI * EFI_WIRELESS_MAC_CONNECTION_ASSOCIATE)(IN EFI_WIRELESS_MAC_CONNECTION_PROTOCOL *This, IN EFI_80211_ASSOCIATE_DATA_TOKEN *Data)
Definition: WiFi.h:1015
EFI_STATUS(EFIAPI * EFI_WIRELESS_MAC_CONNECTION_AUTHENTICATE)(IN EFI_WIRELESS_MAC_CONNECTION_PROTOCOL *This, IN EFI_80211_AUTHENTICATE_DATA_TOKEN *Data)
Definition: WiFi.h:1073
EFI_STATUS(EFIAPI * EFI_WIRELESS_MAC_CONNECTION_DEAUTHENTICATE)(IN EFI_WIRELESS_MAC_CONNECTION_PROTOCOL *This, IN EFI_80211_DEAUTHENTICATE_DATA_TOKEN *Data)
Definition: WiFi.h:1102
EFI_STATUS(EFIAPI * EFI_WIRELESS_MAC_CONNECTION_DISASSOCIATE)(IN EFI_WIRELESS_MAC_CONNECTION_PROTOCOL *This, IN EFI_80211_DISASSOCIATE_DATA_TOKEN *Data)
Definition: WiFi.h:1043
EFI_80211_DISASSOCIATE_RESULT_CODE
Definition: WiFi.h:86
@ DisassociateInvalidParameters
Definition: WiFi.h:94
@ DisassociateSuccess
Definition: WiFi.h:90
EFI_80211_AUTHENTICATION_TYPE
Definition: WiFi.h:100
@ OpenSystem
Definition: WiFi.h:104
@ FastBSSTransition
Definition: WiFi.h:114
@ SharedKey
Definition: WiFi.h:109
@ SAE
Definition: WiFi.h:119
EFI_80211_AUTHENTICATE_RESULT_CODE
Definition: WiFi.h:125
EFI_80211_ACC_NET_TYPE
Definition: WiFi.h:29
EFI_80211_SCAN_RESULT_CODE
Definition: WiFi.h:57
@ ScanNotSupported
Definition: WiFi.h:65
@ ScanSuccess
Definition: WiFi.h:61
EFI_80211_REASON_CODE
Definition: WiFi.h:71
EFI_80211_ASSOCIATE_DATA * Data
Definition: WiFi.h:766
EFI_80211_ASSOCIATE_RESULT * Result
Definition: WiFi.h:775
EFI_80211_ASSOCIATE_RESULT_CODE ResultCode
Definition: WiFi.h:770
UINT8 * VendorSpecificInfo
Definition: WiFi.h:685
EFI_80211_ELEMENT_SUPP_CHANNEL * Channels
Definition: WiFi.h:672
EFI_80211_ELEMENT_EXT_CAP * ExtCapElement
Definition: WiFi.h:681
EFI_80211_ELEMENT_RSN RSN
Definition: WiFi.h:676
EFI_80211_MAC_ADDRESS BSSId
Definition: WiFi.h:655
EFI_80211_ELEMENT_TIMEOUT_VAL TimeoutInterval
Definition: WiFi.h:741
EFI_80211_ELEMENT_EXT_CAP * ExtCapElement
Definition: WiFi.h:737
EFI_80211_MAC_ADDRESS BSSId
Definition: WiFi.h:714
UINT8 * VendorSpecificInfo
Definition: WiFi.h:745
EFI_80211_AUTHENTICATE_DATA * Data
Definition: WiFi.h:908
EFI_80211_AUTHENTICATE_RESULT_CODE ResultCode
Definition: WiFi.h:912
EFI_80211_AUTHENTICATE_RESULT * Result
Definition: WiFi.h:917
EFI_80211_AUTHENTICATION_TYPE AuthType
Definition: WiFi.h:838
EFI_80211_MAC_ADDRESS BSSId
Definition: WiFi.h:833
UINT8 * VendorSpecificInfo
Definition: WiFi.h:857
EFI_80211_MAC_ADDRESS BSSId
Definition: WiFi.h:868
UINT8 * BSSMembershipSelectorSet
Definition: WiFi.h:469
EFI_80211_ELEMENT_EXT_CAP * ExtCapElement
Definition: WiFi.h:474
EFI_80211_ELEMENT_RSN RSN
Definition: WiFi.h:447
UINT8 * RequestedElements
Definition: WiFi.h:464
EFI_80211_BSS_TYPE BSSType
Definition: WiFi.h:416
EFI_80211_ELEMENT_COUNTRY * Country
Definition: WiFi.h:443
EFI_80211_MAC_ADDRESS BSSId
Definition: WiFi.h:404
UINT8 * BSSBasicRateSet
Definition: WiFi.h:433
UINT8 * OperationalRateSet
Definition: WiFi.h:438
EFI_80211_MULTIPLE_BSSID * MultipleBSSID
Definition: WiFi.h:549
EFI_80211_MAC_ADDRESS BSSId
Definition: WiFi.h:521
EFI_80211_BSS_TYPE BSSType
Definition: WiFi.h:525
EFI_80211_DEAUTHENTICATE_DATA * Data
Definition: WiFi.h:961
EFI_80211_MAC_ADDRESS BSSId
Definition: WiFi.h:928
EFI_80211_REASON_CODE ReasonCode
Definition: WiFi.h:932
EFI_80211_DISASSOCIATE_DATA * Data
Definition: WiFi.h:818
EFI_80211_DISASSOCIATE_RESULT_CODE ResultCode
Definition: WiFi.h:822
EFI_80211_REASON_CODE ReasonCode
Definition: WiFi.h:790
EFI_80211_MAC_ADDRESS BSSId
Definition: WiFi.h:786
UINT8 * VendorSpecificInfo
Definition: WiFi.h:794
EFI_80211_ELEMENT_HEADER Hdr
Definition: WiFi.h:304
UINT32 GroupDataCipherSuite
Definition: WiFi.h:328
EFI_80211_ELEMENT_HEADER Hdr
Definition: WiFi.h:388
EFI_80211_ELEMENT_HEADER Hdr
Definition: WiFi.h:155
EFI_80211_ELEMENT_DATA_RSN * Data
Definition: WiFi.h:378
EFI_80211_ELEMENT_HEADER Hdr
Definition: WiFi.h:374
EFI_80211_ELEMENT_HEADER Hdr
Definition: WiFi.h:170
EFI_80211_ELEMENT_HEADER Hdr
Definition: WiFi.h:641
EFI_80211_ELEMENT_HEADER Hdr
Definition: WiFi.h:695
EFI_80211_ELEMENT_HEADER Hdr
Definition: WiFi.h:502
EFI_80211_SCAN_RESULT_CODE ResultCode
Definition: WiFi.h:613
EFI_80211_SCAN_RESULT * Result
Definition: WiFi.h:617
EFI_80211_SCAN_DATA * Data
Definition: WiFi.h:609
EFI_STATUS Status
Definition: WiFi.h:605
UINT32 MinChannelTime
Definition: WiFi.h:217
EFI_80211_BSS_TYPE BSSType
Definition: WiFi.h:185
EFI_80211_ACC_NET_TYPE AccessNetworkType
Definition: WiFi.h:237
UINT32 * ChannelList
Definition: WiFi.h:212
EFI_80211_MAC_ADDRESS BSSId
Definition: WiFi.h:189
BOOLEAN PassiveMode
Definition: WiFi.h:201
UINT32 MaxChannelTime
Definition: WiFi.h:222
EFI_80211_ELEMENT_SSID * SSIDList
Definition: WiFi.h:232
UINT8 * VendorSpecificInfo
Definition: WiFi.h:241
EFI_80211_ELEMENT_REQ * RequestInformation
Definition: WiFi.h:227
UINT32 ProbeDelay
Definition: WiFi.h:207
UINT8 * SSId
Definition: WiFi.h:197
EFI_80211_BSS_DESCRIPTION ** BSSDespSet
Definition: WiFi.h:572
UINT8 * VendorSpecificInfo
Definition: WiFi.h:585
UINTN NumofBSSDespFromPilot
Definition: WiFi.h:577
UINTN NumOfBSSDesp
Definition: WiFi.h:568
EFI_80211_BSS_DESP_PILOT ** BSSDespFromPilotSet
Definition: WiFi.h:581
Definition: Base.h:213
EFI_80211_COUNTRY_TRIPLET_OPERATE Operating
Definition: WiFi.h:294
EFI_80211_COUNTRY_TRIPLET_SUBBAND Subband
Definition: WiFi.h:290