@@ -32,10 +32,16 @@ extern "C" {
32
32
#define WIFI_CREDENTIALS_FLAG_2_4GHz BIT(2)
33
33
/* this entry can use the 5 GHz band */
34
34
#define WIFI_CREDENTIALS_FLAG_5GHz BIT(3)
35
+ /* this entry can use the 6 GHz band */
36
+ #define WIFI_CREDENTIALS_FLAG_6GHz BIT(4)
35
37
/* this entry requires management frame protection */
36
- #define WIFI_CREDENTIALS_FLAG_MFP_REQUIRED BIT(4 )
38
+ #define WIFI_CREDENTIALS_FLAG_MFP_REQUIRED BIT(5 )
37
39
/* this entry disables management frame protection */
38
- #define WIFI_CREDENTIALS_FLAG_MFP_DISABLED BIT(5)
40
+ #define WIFI_CREDENTIALS_FLAG_MFP_DISABLED BIT(6)
41
+ /* this entry has anonymous identity configured */
42
+ #define WIFI_CREDENTIALS_FLAG_ANONYMOUS_IDENTITY BIT(7)
43
+ /* this entry has key password configured */
44
+ #define WIFI_CREDENTIALS_FLAG_KEY_PASSWORD BIT(8)
39
45
40
46
#define WIFI_CREDENTIALS_MAX_PASSWORD_LEN \
41
47
MAX(WIFI_PSK_MAX_LEN, CONFIG_WIFI_CREDENTIALS_SAE_PASSWORD_LENGTH)
@@ -56,6 +62,10 @@ struct wifi_credentials_header {
56
62
uint32_t timeout ; /**< Timeout for connecting to the network */
57
63
uint8_t bssid [WIFI_MAC_ADDR_LEN ]; /**< BSSID (Basic Service Set Identifier) */
58
64
uint8_t channel ; /**< Channel on which the network operates */
65
+ char anon_id [16 ]; /**< Anonymous identifier */
66
+ uint8_t aid_length ; /**< Length of the Anonymous identifier */
67
+ char key_passwd [16 ]; /**< Password/PSK */
68
+ uint8_t key_passwd_length ; /**< Length of the Password */
59
69
};
60
70
61
71
/**
0 commit comments