@@ -33,10 +33,16 @@ extern "C" {
33
33
#define WIFI_CREDENTIALS_FLAG_2_4GHz BIT(2)
34
34
/* this entry can use the 5 GHz band */
35
35
#define WIFI_CREDENTIALS_FLAG_5GHz BIT(3)
36
+ /* this entry can use the 6 GHz band */
37
+ #define WIFI_CREDENTIALS_FLAG_6GHz BIT(4)
36
38
/* this entry requires management frame protection */
37
- #define WIFI_CREDENTIALS_FLAG_MFP_REQUIRED BIT(4 )
39
+ #define WIFI_CREDENTIALS_FLAG_MFP_REQUIRED BIT(5 )
38
40
/* this entry disables management frame protection */
39
- #define WIFI_CREDENTIALS_FLAG_MFP_DISABLED BIT(5)
41
+ #define WIFI_CREDENTIALS_FLAG_MFP_DISABLED BIT(6)
42
+ /* this entry has anonymous identity configured */
43
+ #define WIFI_CREDENTIALS_FLAG_ANONYMOUS_IDENTITY BIT(7)
44
+ /* this entry has key password configured */
45
+ #define WIFI_CREDENTIALS_FLAG_KEY_PASSWORD BIT(8)
40
46
41
47
/* Maximum length of the password */
42
48
#define WIFI_CREDENTIALS_MAX_PASSWORD_LEN \
@@ -71,6 +77,18 @@ struct wifi_credentials_header {
71
77
72
78
/** Channel on which the network operates */
73
79
uint8_t channel ;
80
+
81
+ /** Anonymous identifier (Limited to 16 bytes due to settings subsystem overflow) */
82
+ char anon_id [16 ];
83
+
84
+ /** Length of the Anonymous identifier */
85
+ uint8_t aid_length ;
86
+
87
+ /** Password/PSK (Limited to 16 bytes due to settings subsystem overflow) */
88
+ char key_passwd [16 ];
89
+
90
+ /** Length of the Password */
91
+ uint8_t key_passwd_length ;
74
92
};
75
93
76
94
/**
0 commit comments