Home
last modified time | relevance | path

Searched refs:wifi_credentials_personal (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/subsys/net/lib/wifi_credentials/
Dwifi_credentials.c105 struct wifi_credentials_personal *buf) in wifi_credentials_get_by_ssid_personal_struct()
129 ret = wifi_credentials_load_entry(idx, buf, sizeof(struct wifi_credentials_personal)); in wifi_credentials_get_by_ssid_personal_struct()
151 int wifi_credentials_set_personal_struct(const struct wifi_credentials_personal *creds) in wifi_credentials_set_personal_struct()
178 ret = wifi_credentials_store_entry(idx, creds, sizeof(struct wifi_credentials_personal)); in wifi_credentials_set_personal_struct()
241 struct wifi_credentials_personal *header_personal = in wifi_credentials_set_personal()
242 (struct wifi_credentials_personal *)buf; in wifi_credentials_set_personal()
255 ret = wifi_credentials_set_personal_struct((struct wifi_credentials_personal *)buf); in wifi_credentials_set_personal()
288 (struct wifi_credentials_personal *)buf); in wifi_credentials_get_by_ssid_personal()
312 struct wifi_credentials_personal *header_personal = in wifi_credentials_get_by_ssid_personal()
313 (struct wifi_credentials_personal *)buf; in wifi_credentials_get_by_ssid_personal()
Dwifi_credentials_internal.h9 #define ENTRY_MAX_LEN sizeof(struct wifi_credentials_personal)
Dwifi_credentials_shell.c29 struct wifi_credentials_personal creds = {0}; in print_network_info()
146 struct wifi_credentials_personal creds = { in cmd_add_network()
/Zephyr-latest/tests/net/lib/wifi_credentials_backend_psa/src/
Dmain.c53 static const struct wifi_credentials_personal example1 = {
65 static const struct wifi_credentials_personal example2 = {
91 zassert_equal(sizeof(struct wifi_credentials_personal) * 8, bits, "Key bits mismatch"); in custom_psa_set_key_bits()
146 sizeof(struct wifi_credentials_personal)); in ZTEST()
150 zassert_equal(psa_import_key_fake.arg2_val, sizeof(struct wifi_credentials_personal), in ZTEST()
156 sizeof(struct wifi_credentials_personal)); in ZTEST()
160 zassert_equal(psa_import_key_fake.arg2_val, sizeof(struct wifi_credentials_personal), in ZTEST()
/Zephyr-latest/include/zephyr/net/
Dwifi_credentials.h69 struct wifi_credentials_personal { struct
153 struct wifi_credentials_personal *buf);
165 int wifi_credentials_set_personal_struct(const struct wifi_credentials_personal *creds);
/Zephyr-latest/tests/net/lib/wifi_credentials_backend_settings/src/
Dmain.c50 static const struct wifi_credentials_personal example1 = {
62 static const struct wifi_credentials_personal example2 = {
172 ret = wifi_credentials_store_entry(0, &example1, sizeof(struct wifi_credentials_personal)); in ZTEST()
174 ret = wifi_credentials_store_entry(1, &example2, sizeof(struct wifi_credentials_personal)); in ZTEST()
206 ret = wifi_credentials_store_entry(0, &example1, sizeof(struct wifi_credentials_personal)); in ZTEST()
208 ret = wifi_credentials_store_entry(1, &example2, sizeof(struct wifi_credentials_personal)); in ZTEST()
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_mgmt.c1310 static int __stored_creds_to_params(struct wifi_credentials_personal *creds, in __stored_creds_to_params()
1420 static int add_network_from_credentials_struct_personal(struct wifi_credentials_personal *creds, in add_network_from_credentials_struct_personal()
1455 struct wifi_credentials_personal creds; in add_stored_network()
1473 struct wifi_credentials_personal creds = { in add_static_network_config()