Searched refs:ap_list_buffer (Results 1 – 1 of 1) sorted by relevance
188 wifi_ap_record_t *ap_list_buffer; in scan_done_handler() local197 ap_list_buffer = k_malloc(aps * sizeof(wifi_ap_record_t)); in scan_done_handler()198 if (ap_list_buffer == NULL) { in scan_done_handler()203 if (esp_wifi_scan_get_ap_records(&aps, (wifi_ap_record_t *)ap_list_buffer) == ESP_OK) { in scan_done_handler()206 int ssid_len = strnlen(ap_list_buffer[k].ssid, WIFI_SSID_MAX_LEN); in scan_done_handler()209 strncpy(res.ssid, ap_list_buffer[k].ssid, ssid_len); in scan_done_handler()210 res.rssi = ap_list_buffer[k].rssi; in scan_done_handler()211 res.channel = ap_list_buffer[k].primary; in scan_done_handler()213 if (ap_list_buffer[k].authmode > WIFI_AUTH_OPEN) { in scan_done_handler()228 k_free(ap_list_buffer); in scan_done_handler()