Lines Matching refs:esp32_data
39 static struct esp32_wifi_runtime esp32_data; variable
153 esp32_data.stats.bytes.received += len; in eth_esp32_rx()
154 esp32_data.stats.pkts.rx++; in eth_esp32_rx()
165 esp32_data.stats.errors.rx++; in eth_esp32_rx()
276 if (esp32_data.scan_cb) { in scan_done_handler()
277 esp32_data.scan_cb(esp32_wifi_iface, 0, &res); in scan_done_handler()
291 esp32_data.scan_cb(esp32_wifi_iface, 0, NULL); in scan_done_handler()
292 esp32_data.scan_cb = NULL; in scan_done_handler()
298 esp32_data.state = ESP32_STA_CONNECTED; in esp_wifi_handle_sta_connect_event()
310 if (esp32_data.state == ESP32_STA_CONNECTED) { in esp_wifi_handle_sta_disconnect_event()
337 esp32_data.state = ESP32_STA_CONNECTING; in esp_wifi_handle_sta_disconnect_event()
340 esp32_data.state = ESP32_STA_STARTED; in esp_wifi_handle_sta_disconnect_event()
388 if (!(esp32_data.ap_connection_cnt++)) { in esp_wifi_handle_ap_connect_event()
411 if (!(--esp32_data.ap_connection_cnt)) { in esp_wifi_handle_ap_disconnect_event()
424 struct esp32_wifi_runtime *ap_data = &esp32_data; in esp_wifi_event_handler()
430 esp32_data.state = ESP32_STA_STARTED; in esp_wifi_event_handler()
434 esp32_data.state = ESP32_STA_STOPPED; in esp_wifi_event_handler()
940 &esp32_data, NULL, CONFIG_WIFI_INIT_PRIORITY,