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

Go to the source code of this file.

Data Structures

struct  _WIFI_MANAGER_IFR_NVDATA
 

Macros

#define MANAGER_VARSTORE_ID   0x0802
 
#define WIFI_STR_MAX_SIZE   224
 
#define WIFI_FILENAME_STR_MAX_SIZE   224
 
#define WIFI_MGR_MAX_MAC_STRING_LEN   96
 
#define SSID_MIN_LEN   1
 
#define SSID_MAX_LEN   32
 
#define SSID_STORAGE_SIZE   33
 
#define PASSWORD_MIN_LEN   8
 
#define PASSWORD_MAX_LEN   63
 
#define PASSWORD_STORAGE_SIZE   65
 
#define EAP_IDENTITY_LEN   63
 
#define EAP_IDENTITY_SIZE   64
 
#define FORMID_NONE_FORM   0
 
#define FORMID_MAC_SELECTION   1
 
#define FORMID_WIFI_MAINPAGE   2
 
#define FORMID_NETWORK_LIST   3
 
#define FORMID_CONNECT_NETWORK   4
 
#define FORMID_ENROLL_CERT   5
 
#define FORMID_CA_LIST   6
 
#define FORMID_ENROLL_PRIVATE_KEY   7
 
#define FORMID_PRIVATE_KEY_LIST   8
 
#define FORMID_WIFI_SETTINGS   9
 
#define FORMID_HIDDEN_NETWORK_LIST   10
 
#define KEY_MAC_LIST   0x100
 
#define KEY_REFRESH_TITLE_CONNECTION_STATUS   0x101
 
#define KEY_NETWORK_LIST   0x102
 
#define KEY_REFRESH_NETWORK_LIST   0x103
 
#define KEY_WIFI_SETTINGS   0x104
 
#define KEY_PASSWORD_CONNECT_NETWORK   0x201
 
#define KEY_CONNECT_ACTION   0x202
 
#define KEY_REFRESH_CONNECT_CONFIGURATION   0x203
 
#define KEY_EAP_AUTH_METHOD_CONNECT_NETWORK   0x204
 
#define KEY_EAP_SEAUTH_METHOD_CONNECT_NETWORK   0x205
 
#define KEY_ENROLL_CA_CERT_CONNECT_NETWORK   0x206
 
#define KEY_ENROLL_CLIENT_CERT_CONNECT_NETWORK   0x207
 
#define KEY_ENROLL_PRIVATE_KEY_CONNECT_NETWORK   0x208
 
#define KEY_EAP_IDENTITY_CONNECT_NETWORK   0x209
 
#define KEY_EAP_PASSWORD_CONNECT_NETWORK   0x210
 
#define KEY_EAP_ENROLL_CERT_FROM_FILE   0x301
 
#define KEY_EAP_ENROLL_PRIVATE_KEY_FROM_FILE   0x302
 
#define KEY_SAVE_CERT_TO_MEM   0x303
 
#define KEY_NO_SAVE_CERT_TO_MEM   0x304
 
#define KEY_SAVE_PRIVATE_KEY_TO_MEM   0x305
 
#define KEY_NO_SAVE_PRIVATE_KEY_TO_MEM   0x306
 
#define KEY_PRIVATE_KEY_PASSWORD   0x307
 
#define KEY_ENROLLED_CERT_NAME   0x308
 
#define KEY_ENROLLED_PRIVATE_KEY_NAME   0x309
 
#define KEY_HIDDEN_NETWORK   0x401
 
#define KEY_ADD_HIDDEN_NETWORK   0x402
 
#define KEY_REMOVE_HIDDEN_NETWORK   0x403
 
#define MAC_LIST_COUNT_MAX   255
 
#define LABEL_MAC_ENTRY   0x1000
 
#define KEY_MAC_ENTRY_BASE   0x1100
 
#define NETWORK_LIST_COUNT_MAX   4095
 
#define LABEL_NETWORK_LIST_ENTRY   0x2000
 
#define KEY_AVAILABLE_NETWORK_ENTRY_BASE   0x3000
 
#define HIDDEN_NETWORK_LIST_COUNT_MAX   255
 
#define LABEL_HIDDEN_NETWORK_ENTRY   0x4000
 
#define KEY_HIDDEN_NETWORK_ENTRY_BASE   0x4100
 
#define LABEL_END   0xffff
 
#define SECURITY_TYPE_NONE   0
 
#define SECURITY_TYPE_WPA_ENTERPRISE   1
 
#define SECURITY_TYPE_WPA2_ENTERPRISE   2
 
#define SECURITY_TYPE_WPA_PERSONAL   3
 
#define SECURITY_TYPE_WPA2_PERSONAL   4
 
#define SECURITY_TYPE_WEP   5
 
#define SECURITY_TYPE_WPA3_PERSONAL   6
 
#define SECURITY_TYPE_WPA3_ENTERPRISE   7
 
#define SECURITY_TYPE_UNKNOWN   8
 
#define SECURITY_TYPE_MAX   9
 
#define EAP_AUTH_METHOD_TTLS   0
 
#define EAP_AUTH_METHOD_PEAP   1
 
#define EAP_AUTH_METHOD_TLS   2
 
#define EAP_AUTH_METHOD_MAX   3
 
#define EAP_SEAUTH_METHOD_MSCHAPV2   0
 
#define EAP_SEAUTH_METHOD_MAX   1
 
#define HIDDEN_NETWORK_LIST_VAR_OFFSET   ((UINT16) OFFSET_OF (WIFI_MANAGER_IFR_NVDATA, HiddenNetworkList))
 

Typedefs

typedef struct _WIFI_MANAGER_IFR_NVDATA WIFI_MANAGER_IFR_NVDATA
 

Detailed Description

Define IFR NVData structures used by the WiFi Connection Manager.

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

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

Definition in file WifiConnectionMgrConfigNVDataStruct.h.

Macro Definition Documentation

◆ EAP_AUTH_METHOD_MAX

#define EAP_AUTH_METHOD_MAX   3

Definition at line 130 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ EAP_AUTH_METHOD_PEAP

#define EAP_AUTH_METHOD_PEAP   1

Definition at line 128 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ EAP_AUTH_METHOD_TLS

#define EAP_AUTH_METHOD_TLS   2

Definition at line 129 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ EAP_AUTH_METHOD_TTLS

#define EAP_AUTH_METHOD_TTLS   0

Definition at line 127 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ EAP_IDENTITY_LEN

#define EAP_IDENTITY_LEN   63

Definition at line 30 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ EAP_IDENTITY_SIZE

#define EAP_IDENTITY_SIZE   64

Definition at line 31 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ EAP_SEAUTH_METHOD_MAX

#define EAP_SEAUTH_METHOD_MAX   1

Definition at line 133 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ EAP_SEAUTH_METHOD_MSCHAPV2

#define EAP_SEAUTH_METHOD_MSCHAPV2   0

Definition at line 132 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ FORMID_CA_LIST

#define FORMID_CA_LIST   6

Definition at line 39 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ FORMID_CONNECT_NETWORK

#define FORMID_CONNECT_NETWORK   4

Definition at line 37 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ FORMID_ENROLL_CERT

#define FORMID_ENROLL_CERT   5

Definition at line 38 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ FORMID_ENROLL_PRIVATE_KEY

#define FORMID_ENROLL_PRIVATE_KEY   7

Definition at line 40 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ FORMID_HIDDEN_NETWORK_LIST

#define FORMID_HIDDEN_NETWORK_LIST   10

Definition at line 43 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ FORMID_MAC_SELECTION

#define FORMID_MAC_SELECTION   1

Definition at line 34 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ FORMID_NETWORK_LIST

#define FORMID_NETWORK_LIST   3

Definition at line 36 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ FORMID_NONE_FORM

#define FORMID_NONE_FORM   0

Definition at line 33 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ FORMID_PRIVATE_KEY_LIST

#define FORMID_PRIVATE_KEY_LIST   8

Definition at line 41 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ FORMID_WIFI_MAINPAGE

#define FORMID_WIFI_MAINPAGE   2

Definition at line 35 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ FORMID_WIFI_SETTINGS

#define FORMID_WIFI_SETTINGS   9

Definition at line 42 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ HIDDEN_NETWORK_LIST_COUNT_MAX

#define HIDDEN_NETWORK_LIST_COUNT_MAX   255

Definition at line 107 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ HIDDEN_NETWORK_LIST_VAR_OFFSET

#define HIDDEN_NETWORK_LIST_VAR_OFFSET   ((UINT16) OFFSET_OF (WIFI_MANAGER_IFR_NVDATA, HiddenNetworkList))

Definition at line 135 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_ADD_HIDDEN_NETWORK

#define KEY_ADD_HIDDEN_NETWORK   0x402

Definition at line 93 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_AVAILABLE_NETWORK_ENTRY_BASE

#define KEY_AVAILABLE_NETWORK_ENTRY_BASE   0x3000

Definition at line 105 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_CONNECT_ACTION

#define KEY_CONNECT_ACTION   0x202

Definition at line 66 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_EAP_AUTH_METHOD_CONNECT_NETWORK

#define KEY_EAP_AUTH_METHOD_CONNECT_NETWORK   0x204

Definition at line 68 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_EAP_ENROLL_CERT_FROM_FILE

#define KEY_EAP_ENROLL_CERT_FROM_FILE   0x301

Definition at line 79 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_EAP_ENROLL_PRIVATE_KEY_FROM_FILE

#define KEY_EAP_ENROLL_PRIVATE_KEY_FROM_FILE   0x302

Definition at line 80 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_EAP_IDENTITY_CONNECT_NETWORK

#define KEY_EAP_IDENTITY_CONNECT_NETWORK   0x209

Definition at line 73 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_EAP_PASSWORD_CONNECT_NETWORK

#define KEY_EAP_PASSWORD_CONNECT_NETWORK   0x210

Definition at line 74 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_EAP_SEAUTH_METHOD_CONNECT_NETWORK

#define KEY_EAP_SEAUTH_METHOD_CONNECT_NETWORK   0x205

Definition at line 69 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_ENROLL_CA_CERT_CONNECT_NETWORK

#define KEY_ENROLL_CA_CERT_CONNECT_NETWORK   0x206

Definition at line 70 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_ENROLL_CLIENT_CERT_CONNECT_NETWORK

#define KEY_ENROLL_CLIENT_CERT_CONNECT_NETWORK   0x207

Definition at line 71 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_ENROLL_PRIVATE_KEY_CONNECT_NETWORK

#define KEY_ENROLL_PRIVATE_KEY_CONNECT_NETWORK   0x208

Definition at line 72 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_ENROLLED_CERT_NAME

#define KEY_ENROLLED_CERT_NAME   0x308

Definition at line 86 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_ENROLLED_PRIVATE_KEY_NAME

#define KEY_ENROLLED_PRIVATE_KEY_NAME   0x309

Definition at line 87 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_HIDDEN_NETWORK

#define KEY_HIDDEN_NETWORK   0x401

Definition at line 92 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_HIDDEN_NETWORK_ENTRY_BASE

#define KEY_HIDDEN_NETWORK_ENTRY_BASE   0x4100

Definition at line 109 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_MAC_ENTRY_BASE

#define KEY_MAC_ENTRY_BASE   0x1100

Definition at line 101 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_MAC_LIST

#define KEY_MAC_LIST   0x100

Definition at line 48 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_NETWORK_LIST

#define KEY_NETWORK_LIST   0x102

Definition at line 58 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_NO_SAVE_CERT_TO_MEM

#define KEY_NO_SAVE_CERT_TO_MEM   0x304

Definition at line 82 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_NO_SAVE_PRIVATE_KEY_TO_MEM

#define KEY_NO_SAVE_PRIVATE_KEY_TO_MEM   0x306

Definition at line 84 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_PASSWORD_CONNECT_NETWORK

#define KEY_PASSWORD_CONNECT_NETWORK   0x201

Definition at line 65 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_PRIVATE_KEY_PASSWORD

#define KEY_PRIVATE_KEY_PASSWORD   0x307

Definition at line 85 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_REFRESH_CONNECT_CONFIGURATION

#define KEY_REFRESH_CONNECT_CONFIGURATION   0x203

Definition at line 67 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_REFRESH_NETWORK_LIST

#define KEY_REFRESH_NETWORK_LIST   0x103

Definition at line 59 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_REFRESH_TITLE_CONNECTION_STATUS

#define KEY_REFRESH_TITLE_CONNECTION_STATUS   0x101

Definition at line 53 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_REMOVE_HIDDEN_NETWORK

#define KEY_REMOVE_HIDDEN_NETWORK   0x403

Definition at line 94 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_SAVE_CERT_TO_MEM

#define KEY_SAVE_CERT_TO_MEM   0x303

Definition at line 81 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_SAVE_PRIVATE_KEY_TO_MEM

#define KEY_SAVE_PRIVATE_KEY_TO_MEM   0x305

Definition at line 83 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ KEY_WIFI_SETTINGS

#define KEY_WIFI_SETTINGS   0x104

Definition at line 60 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ LABEL_END

#define LABEL_END   0xffff

Definition at line 111 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ LABEL_HIDDEN_NETWORK_ENTRY

#define LABEL_HIDDEN_NETWORK_ENTRY   0x4000

Definition at line 108 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ LABEL_MAC_ENTRY

#define LABEL_MAC_ENTRY   0x1000

Definition at line 100 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ LABEL_NETWORK_LIST_ENTRY

#define LABEL_NETWORK_LIST_ENTRY   0x2000

Definition at line 104 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ MAC_LIST_COUNT_MAX

#define MAC_LIST_COUNT_MAX   255

Definition at line 99 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ MANAGER_VARSTORE_ID

#define MANAGER_VARSTORE_ID   0x0802

Definition at line 16 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ NETWORK_LIST_COUNT_MAX

#define NETWORK_LIST_COUNT_MAX   4095

Definition at line 103 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ PASSWORD_MAX_LEN

#define PASSWORD_MAX_LEN   63

Definition at line 27 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ PASSWORD_MIN_LEN

#define PASSWORD_MIN_LEN   8

Definition at line 26 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ PASSWORD_STORAGE_SIZE

#define PASSWORD_STORAGE_SIZE   65

Definition at line 28 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ SECURITY_TYPE_MAX

#define SECURITY_TYPE_MAX   9

Definition at line 125 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ SECURITY_TYPE_NONE

#define SECURITY_TYPE_NONE   0

Definition at line 116 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ SECURITY_TYPE_UNKNOWN

#define SECURITY_TYPE_UNKNOWN   8

Definition at line 124 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ SECURITY_TYPE_WEP

#define SECURITY_TYPE_WEP   5

Definition at line 121 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ SECURITY_TYPE_WPA2_ENTERPRISE

#define SECURITY_TYPE_WPA2_ENTERPRISE   2

Definition at line 118 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ SECURITY_TYPE_WPA2_PERSONAL

#define SECURITY_TYPE_WPA2_PERSONAL   4

Definition at line 120 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ SECURITY_TYPE_WPA3_ENTERPRISE

#define SECURITY_TYPE_WPA3_ENTERPRISE   7

Definition at line 123 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ SECURITY_TYPE_WPA3_PERSONAL

#define SECURITY_TYPE_WPA3_PERSONAL   6

Definition at line 122 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ SECURITY_TYPE_WPA_ENTERPRISE

#define SECURITY_TYPE_WPA_ENTERPRISE   1

Definition at line 117 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ SECURITY_TYPE_WPA_PERSONAL

#define SECURITY_TYPE_WPA_PERSONAL   3

Definition at line 119 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ SSID_MAX_LEN

#define SSID_MAX_LEN   32

Definition at line 23 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ SSID_MIN_LEN

#define SSID_MIN_LEN   1

Definition at line 22 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ SSID_STORAGE_SIZE

#define SSID_STORAGE_SIZE   33

Definition at line 24 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ WIFI_FILENAME_STR_MAX_SIZE

#define WIFI_FILENAME_STR_MAX_SIZE   224

Definition at line 19 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ WIFI_MGR_MAX_MAC_STRING_LEN

#define WIFI_MGR_MAX_MAC_STRING_LEN   96

Definition at line 20 of file WifiConnectionMgrConfigNVDataStruct.h.

◆ WIFI_STR_MAX_SIZE

#define WIFI_STR_MAX_SIZE   224

Definition at line 18 of file WifiConnectionMgrConfigNVDataStruct.h.