Home
last modified time | relevance | path

Searched refs:ssid_length (Results 1 – 16 of 16) sorted by relevance

/Zephyr-latest/samples/net/cloud/tagoio_http_post/src/
Dwifi.c54 .ssid_length = 0, in wifi_connect()
61 cnx_params.ssid_length = strlen(CONFIG_TAGOIO_HTTP_WIFI_SSID); in wifi_connect()
/Zephyr-latest/samples/subsys/mgmt/updatehub/src/
Dmain.c120 .ssid_length = 0, in main()
127 cnx_params.ssid_length = strlen(CONFIG_UPDATEHUB_SAMPLE_WIFI_SSID); in main()
/Zephyr-latest/samples/net/wifi/apsta_mode/src/
Dmain.c122 ap_config.ssid_length = strlen(WIFI_AP_SSID); in enable_ap_mode()
154 sta_config.ssid_length = strlen(WIFI_SSID); in connect_to_wifi()
/Zephyr-latest/drivers/wifi/esp32/src/
Desp_wifi_drv.c241 res.ssid_length = ssid_len; in scan_done_handler()
525 memcpy(data->status.ssid, params->ssid, params->ssid_length); in esp32_wifi_connect()
526 data->status.ssid[params->ssid_length] = '\0'; in esp32_wifi_connect()
532 memcpy(wifi_config.sta.ssid, params->ssid, params->ssid_length); in esp32_wifi_connect()
533 wifi_config.sta.ssid[params->ssid_length] = '\0'; in esp32_wifi_connect()
662 memcpy(data->status.ssid, params->ssid, params->ssid_length); in esp32_wifi_ap_enable()
663 data->status.ssid[params->ssid_length] = '\0'; in esp32_wifi_ap_enable()
665 strncpy((char *) wifi_config.ap.ssid, params->ssid, params->ssid_length); in esp32_wifi_ap_enable()
666 wifi_config.ap.ssid_len = params->ssid_length; in esp32_wifi_ap_enable()
/Zephyr-latest/tests/boards/espressif/wifi/src/
Dmain.c57 wifi_ctx.scan_result, ssid_print, entry->ssid_length, entry->channel, in wifi_scan_result()
176 params.ssid_length = strlen(params.ssid); in wifi_connect()
/Zephyr-latest/drivers/wifi/eswifi/
Deswifi_core.c105 res->ssid_length = __parse_ssid(str, res->ssid); in __parse_scan_res()
106 str += res->ssid_length; in __parse_scan_res()
573 memcpy(eswifi->sta.ssid, params->ssid, params->ssid_length); in __eswifi_sta_config()
574 eswifi->sta.ssid[params->ssid_length] = '\0'; in __eswifi_sta_config()
/Zephyr-latest/drivers/wifi/winc1500/
Dwifi_winc1500.c702 result.ssid_length = strlen(result.ssid); in handle_scan_result()
1013 memcpy(ssid, params->ssid, params->ssid_length); in winc1500_mgmt_connect()
1014 ssid[params->ssid_length] = '\0'; in winc1500_mgmt_connect()
1034 ssid, params->ssid_length, in winc1500_mgmt_connect()
1040 if (m2m_wifi_connect((char *)ssid, params->ssid_length, in winc1500_mgmt_connect()
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dwifi_mgmt_scan.c340 res.ssid_length = MIN(sizeof(res.ssid), r->ssid.nrf_wifi_ssid_len); in nrf_wifi_event_proc_disp_scan_res_zep()
352 res.ssid_length); in nrf_wifi_event_proc_disp_scan_res_zep()
/Zephyr-latest/drivers/wifi/infineon/
Dairoc_wifi.c188 p_zy_result->ssid_length = p_whd_result->SSID.length; in parse_scan_result()
524 ssid.length = params->ssid_length; in airoc_mgmt_connect()
525 memcpy(ssid.value, params->ssid, params->ssid_length); in airoc_mgmt_connect()
649 ssid.length = params->ssid_length; in airoc_mgmt_ap_enable()
/Zephyr-latest/drivers/wifi/nxp/
Dnxp_wifi_drv.c471 if ((params->ssid_length == 0) || (params->ssid_length > IEEEtypes_SSID_SIZE)) { in nxp_wifi_start_ap()
484 memcpy(nxp_wlan_uap_network.ssid, params->ssid, params->ssid_length); in nxp_wifi_start_ap()
677 res.ssid_length = scan_result.ssid_len; in nxp_wifi_process_results()
864 if ((params->ssid_length == 0) || (params->ssid_length > IEEEtypes_SSID_SIZE)) { in nxp_wifi_connect()
878 memcpy(nxp_wlan_network.ssid, params->ssid, params->ssid_length); in nxp_wifi_connect()
1199 params.ssid_length = ssid_len; in nxp_wifi_auto_connect()
/Zephyr-latest/drivers/wifi/simplelink/
Dsimplelink_support.c598 scan_result->ssid_length = net_entry->SsidLen; in z_simplelink_get_scan_result()
656 params->ssid_length, 0, &secParams, 0); in z_simplelink_connect()
/Zephyr-latest/drivers/wifi/esp_at/
Desp.c386 res.ssid_length = MIN(sizeof(res.ssid), strlen(ssid)); in MODEM_CMD_DIRECT_DEFINE()
387 memcpy(res.ssid, ssid, res.ssid_length); in MODEM_CMD_DIRECT_DEFINE()
1254 params->ssid, params->ssid_length); in esp_mgmt_connect()
1307 memcpy(&cmd[len], params->ssid, params->ssid_length); in esp_mgmt_ap_enable()
1308 len += params->ssid_length; in esp_mgmt_ap_enable()
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_mgmt.c350 LOG_HEXDUMP_DBG(params->ssid, params->ssid_length, "ssid"); in wifi_connect()
358 (params->ssid_length > WIFI_SSID_MAX_LEN) || in wifi_connect()
359 (params->ssid_length == 0U) || in wifi_connect()
1334 params->ssid_length = creds->header.ssid_len; in __stored_creds_to_params()
Dwifi_shell.c202 context.scan_result, ssid_print, entry->ssid_length, entry->channel, in handle_wifi_scan_result()
637 params->ssid_length = strlen(params->ssid); in __wifi_args_to_params()
638 if (params->ssid_length > WIFI_SSID_MAX_LEN) { in __wifi_args_to_params()
/Zephyr-latest/include/zephyr/net/
Dwifi_mgmt.h501 uint8_t ssid_length; member
523 uint8_t ssid_length; /* Max 32 */ member
/Zephyr-latest/modules/hostap/src/
Dsupp_api.c887 if (params->ssid_length > WIFI_SSID_MAX_LEN) { in wpas_add_and_config_network()
893 ssid_null_terminated[params->ssid_length] = '\0'; in wpas_add_and_config_network()