Home
last modified time | relevance | path

Searched refs:sta_list (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/wifi/esp32/src/
Desp_wifi_drv.c357 wifi_sta_list_t sta_list; in esp_wifi_handle_ap_connect_event() local
368 (void)esp_wifi_ap_get_sta_list(&sta_list); in esp_wifi_handle_ap_connect_event()
369 for (int i = 0; i < sta_list.num; i++) { in esp_wifi_handle_ap_connect_event()
370 wifi_sta_info_t *sta = &sta_list.sta[i]; in esp_wifi_handle_ap_connect_event()
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_shell.c115 static struct wifi_ap_sta_node sta_list[CONFIG_WIFI_SHELL_MAX_AP_STA]; variable
425 memset(&sta_list, 0, sizeof(sta_list)); in handle_wifi_ap_disable_result()
443 if (!sta_list[i].valid) { in handle_wifi_ap_sta_connected()
444 sta_list[i].sta_info = *sta_info; in handle_wifi_ap_sta_connected()
445 sta_list[i].valid = true; in handle_wifi_ap_sta_connected()
469 if (!sta_list[i].valid) { in handle_wifi_ap_sta_disconnected()
473 if (!memcmp(sta_list[i].sta_info.mac, sta_info->mac, in handle_wifi_ap_sta_disconnected()
475 sta_list[i].valid = false; in handle_wifi_ap_sta_disconnected()
1979 if (!sta_list[i].valid) { in cmd_wifi_ap_stations()
1983 sta = &sta_list[i].sta_info; in cmd_wifi_ap_stations()