Home
last modified time | relevance | path

Searched refs:WIFI_SSID_MAX_LEN (Results 1 – 19 of 19) sorted by relevance

/Zephyr-latest/modules/hostap/src/
Dsupp_events.h84 char ssid[WIFI_SSID_MAX_LEN];
101 char ssid[WIFI_SSID_MAX_LEN];
109 char ssid[WIFI_SSID_MAX_LEN];
Dsupp_api.c855 uint8_t ssid_null_terminated[WIFI_SSID_MAX_LEN + 1]; in wpas_add_and_config_network()
887 if (params->ssid_length > WIFI_SSID_MAX_LEN) { in wpas_add_and_config_network()
888 wpa_printf(MSG_ERROR, "SSID too long (max %d characters)", WIFI_SSID_MAX_LEN); in wpas_add_and_config_network()
892 strncpy(ssid_null_terminated, params->ssid, WIFI_SSID_MAX_LEN); in wpas_add_and_config_network()
1730 if (ssid_len > WIFI_SSID_MAX_LEN) {
3012 WIFI_SSID_MAX_LEN * 2);
3116 WIFI_SSID_MAX_LEN * 2);
/Zephyr-latest/subsys/net/lib/wifi_credentials/
Dwifi_credentials.c20 static char ssid_cache[CONFIG_WIFI_CREDENTIALS_MAX_ENTRIES][WIFI_SSID_MAX_LEN];
110 if (ssid == NULL || ssid_len > WIFI_SSID_MAX_LEN || ssid_len == 0) { in wifi_credentials_get_by_ssid_personal_struct()
161 if (creds->header.ssid_len > WIFI_SSID_MAX_LEN || creds->header.ssid_len == 0) { in wifi_credentials_set_personal_struct()
201 if (ssid == NULL || ssid_len > WIFI_SSID_MAX_LEN || ssid_len == 0) { in wifi_credentials_set_personal()
270 if (ssid == NULL || ssid_len > WIFI_SSID_MAX_LEN || ssid_len == 0) { in wifi_credentials_get_by_ssid_personal()
332 if (ssid == NULL || ssid_len > WIFI_SSID_MAX_LEN || ssid_len == 0) { in wifi_credentials_delete_by_ssid()
Dwifi_credentials_shell.c141 if (strnlen(argv[1], WIFI_SSID_MAX_LEN + 1) > WIFI_SSID_MAX_LEN) { in cmd_add_network()
277 if (strnlen(argv[1], WIFI_SSID_MAX_LEN + 1) > WIFI_SSID_MAX_LEN) { in cmd_delete_network()
/Zephyr-latest/include/zephyr/net/
Dwifi_credentials.h53 char ssid[WIFI_SSID_MAX_LEN]; /**< SSID (Service Set Identifier) */
Dwifi_mgmt.h499 uint8_t ssid[WIFI_SSID_MAX_LEN + 1];
676 char ssid[WIFI_SSID_MAX_LEN + 1];
902 uint8_t ssid[WIFI_SSID_MAX_LEN + 1];
1153 char ssid[WIFI_SSID_MAX_LEN + 1];
1201 char ssid[WIFI_SSID_MAX_LEN + 1];
Dwifi.h257 #define WIFI_SSID_MAX_LEN 32 macro
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_utils.c288 if (len > WIFI_SSID_MAX_LEN) { in wifi_utils_parse_scan_ssids()
292 WIFI_SSID_MAX_LEN); in wifi_utils_parse_scan_ssids()
Dwifi_mgmt.c29 char ssid[WIFI_SSID_MAX_LEN + 1];
30 uint8_t bssid[WIFI_SSID_MAX_LEN];
31 uint8_t bssid_info[WIFI_SSID_MAX_LEN];
358 (params->ssid_length > WIFI_SSID_MAX_LEN) || in wifi_connect()
541 char bssid[WIFI_SSID_MAX_LEN + 1] = {0}; in wifi_mgmt_raise_neighbor_rep_recv_event()
542 char bssid_info[WIFI_SSID_MAX_LEN + 1] = {0}; in wifi_mgmt_raise_neighbor_rep_recv_event()
552 "bssid=%" STRINGIFY(WIFI_SSID_MAX_LEN) "s " in wifi_mgmt_raise_neighbor_rep_recv_event()
553 "info=%" STRINGIFY(WIFI_SSID_MAX_LEN) "s " in wifi_mgmt_raise_neighbor_rep_recv_event()
Dwifi_shell.c189 uint8_t ssid_print[WIFI_SSID_MAX_LEN + 1]; in handle_wifi_scan_result()
638 if (params->ssid_length > WIFI_SSID_MAX_LEN) { in __wifi_args_to_params()
640 WIFI_SSID_MAX_LEN); in __wifi_args_to_params()
2879 strncpy(params->auth_init.ssid, state->optarg, WIFI_SSID_MAX_LEN); in parse_dpp_args_auth_init()
3054 strncpy(params->configurator_set.ssid, state->optarg, WIFI_SSID_MAX_LEN); in parse_dpp_args_set_config_param()
/Zephyr-latest/drivers/wifi/eswifi/
Deswifi.h46 char ssid[WIFI_SSID_MAX_LEN + 1];
Deswifi_core.c76 while (*str && (*str != '"') && i < WIFI_SSID_MAX_LEN) { in __parse_ssid()
503 status->ssid_len = strnlen(sta->ssid, WIFI_SSID_MAX_LEN); in eswifi_mgmt_iface_status()
/Zephyr-latest/drivers/wifi/nxp/
Dnxp_wifi_drv.c764 strncpy(wlan_scan_params_v2.ssid[0], params->ssids[0], WIFI_SSID_MAX_LEN); in nxp_wifi_scan()
765 wlan_scan_params_v2.ssid[0][WIFI_SSID_MAX_LEN - 1] = 0; in nxp_wifi_scan()
770 strncpy(wlan_scan_params_v2.ssid[1], params->ssids[1], WIFI_SSID_MAX_LEN); in nxp_wifi_scan()
771 wlan_scan_params_v2.ssid[1][WIFI_SSID_MAX_LEN - 1] = 0; in nxp_wifi_scan()
1017 strncpy(status->ssid, nxp_wlan_uap_network.ssid, WIFI_SSID_MAX_LEN); in nxp_wifi_uap_status()
1018 status->ssid[WIFI_SSID_MAX_LEN - 1] = 0; in nxp_wifi_uap_status()
1095 strncpy(status->ssid, nxp_wlan_network.ssid, WIFI_SSID_MAX_LEN - 1); in nxp_wifi_status()
1096 status->ssid[WIFI_SSID_MAX_LEN - 1] = '\0'; in nxp_wifi_status()
/Zephyr-latest/drivers/wifi/esp32/src/
Desp_wifi_drv.c58 char ssid[WIFI_SSID_MAX_LEN + 1];
239 int ssid_len = strnlen(ap_list_buffer[k].ssid, WIFI_SSID_MAX_LEN); in scan_done_handler()
763 strncpy(status->ssid, data->status.ssid, WIFI_SSID_MAX_LEN); in esp32_wifi_status()
764 status->ssid_len = strnlen(data->status.ssid, WIFI_SSID_MAX_LEN); in esp32_wifi_status()
/Zephyr-latest/tests/boards/espressif/wifi/src/
Dmain.c44 uint8_t ssid_print[WIFI_SSID_MAX_LEN + 1]; in wifi_scan_result()
/Zephyr-latest/drivers/wifi/esp_at/
Desp.c344 WIFI_SSID_MAX_LEN * 2 + 1]; in MODEM_CMD_DIRECT_DEFINE()
382 if (strlen(ssid) > WIFI_SSID_MAX_LEN) { in MODEM_CMD_DIRECT_DEFINE()
425 WIFI_SSID_MAX_LEN * 2 + 1]; in MODEM_CMD_DIRECT_DEFINE()
1295 char cmd[sizeof("AT+"_CWSAP"=\"\",\"\",xx,x") + WIFI_SSID_MAX_LEN + in esp_mgmt_ap_enable()
Desp.h80 WIFI_SSID_MAX_LEN * 2 + WIFI_PSK_MAX_LEN * 2)
/Zephyr-latest/drivers/wifi/simplelink/
Dsimplelink_support.c596 __ASSERT_NO_MSG(net_entry->SsidLen <= WIFI_SSID_MAX_LEN); in z_simplelink_get_scan_result()
/Zephyr-latest/drivers/wifi/winc1500/
Dwifi_winc1500.c701 memcpy(result.ssid, pstrScanResult->au8SSID, WIFI_SSID_MAX_LEN); in handle_scan_result()