]>
Commit | Line | Data |
---|---|---|
90b24889 WF |
1 | /** @file\r |
2 | Define network structure used by the WiFi Connection Manager.\r | |
3 | \r | |
4 | Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r | |
5 | \r | |
6 | This program and the accompanying materials\r | |
7 | are licensed and made available under the terms and conditions of the BSD License\r | |
8 | which accompanies this distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php.\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | \r | |
14 | **/\r | |
15 | \r | |
16 | #ifndef _WIFI_MGR_CONFIG_H_\r | |
17 | #define _WIFI_MGR_CONFIG_H_\r | |
18 | \r | |
19 | #include "WifiConnectionMgrConfigNVDataStruct.h"\r | |
20 | \r | |
21 | extern UINT8 WifiConnectionManagerDxeBin[];\r | |
22 | extern UINT8 WifiConnectionManagerDxeStrings[];\r | |
23 | \r | |
24 | typedef struct {\r | |
25 | UINT32 Signature;\r | |
26 | \r | |
27 | //\r | |
28 | // Link to the current profile list in NIC device data (WIFI_MGR_DEVICE_DATA)\r | |
29 | //\r | |
30 | LIST_ENTRY Link;\r | |
31 | \r | |
32 | UINT32 NicIndex;\r | |
33 | UINT32 ProfileIndex; // The unique identifier for network profile, starts from 1\r | |
34 | CHAR16 SSId[SSID_STORAGE_SIZE];\r | |
35 | CHAR16 Password[PASSWORD_STORAGE_SIZE];\r | |
36 | \r | |
37 | UINT8 SecurityType;\r | |
38 | UINT8 EapAuthMethod;\r | |
39 | \r | |
40 | CHAR16 CACertName[WIFI_FILENAME_STR_MAX_SIZE];\r | |
41 | VOID *CACertData;\r | |
42 | UINTN CACertSize;\r | |
43 | CHAR16 ClientCertName[WIFI_FILENAME_STR_MAX_SIZE];\r | |
44 | VOID *ClientCertData;\r | |
45 | UINTN ClientCertSize;\r | |
46 | CHAR16 PrivateKeyName[WIFI_FILENAME_STR_MAX_SIZE];\r | |
47 | VOID *PrivateKeyData;\r | |
48 | UINTN PrivateKeyDataSize;\r | |
49 | CHAR16 PrivateKeyPassword[PASSWORD_STORAGE_SIZE]; //Password to protect private key file\r | |
50 | CHAR16 EapIdentity[EAP_IDENTITY_SIZE];\r | |
51 | CHAR16 EapPassword[PASSWORD_STORAGE_SIZE];\r | |
52 | UINT8 EapSecondAuthMethod;\r | |
53 | \r | |
54 | BOOLEAN AKMSuiteSupported;\r | |
55 | BOOLEAN CipherSuiteSupported;\r | |
56 | BOOLEAN IsAvailable;\r | |
57 | EFI_80211_NETWORK Network;\r | |
58 | UINT8 NetworkQuality;\r | |
59 | EFI_STRING_ID TitleToken;\r | |
60 | } WIFI_MGR_NETWORK_PROFILE;\r | |
61 | \r | |
62 | #define WIFI_MGR_PROFILE_SIGNATURE SIGNATURE_32 ('W','M','N','P')\r | |
63 | \r | |
64 | #pragma pack(1)\r | |
65 | ///\r | |
66 | /// HII specific Vendor Device Path definition.\r | |
67 | ///\r | |
68 | typedef struct {\r | |
69 | VENDOR_DEVICE_PATH VendorDevicePath;\r | |
70 | EFI_DEVICE_PATH_PROTOCOL End;\r | |
71 | } HII_VENDOR_DEVICE_PATH;\r | |
72 | #pragma pack()\r | |
73 | \r | |
74 | #endif\r |