Home
last modified time | relevance | path

Searched refs:wpa_s (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/modules/hostap/src/
Dsupp_api.c102 struct wpa_supplicant *wpa_s; in get_wpa_s_handle() local
116 wpa_s = zephyr_get_handle_by_ifname(if_name); in get_wpa_s_handle()
117 if (!wpa_s) { in get_wpa_s_handle()
122 return wpa_s; in get_wpa_s_handle()
174 struct wpa_supplicant *wpa_s = get_wpa_s_handle(dev); in wait_for_disconnect_complete() local
177 if (!wpa_s) { in wait_for_disconnect_complete()
183 while (wpa_s->wpa_state != WPA_DISCONNECTED) { in wait_for_disconnect_complete()
201 struct wpa_supplicant *wpa_s; in supp_shell_connect_status() local
211 wpa_s = get_wpa_s_handle(ctrl->dev); in supp_shell_connect_status()
212 if (!wpa_s) { in supp_shell_connect_status()
[all …]
Dsupp_events.c204 struct wpa_supplicant *wpa_s = ctx; in supplicant_send_wifi_mgmt_conn_event() local
208 if (!wpa_s || !wpa_s->current_ssid) { in supplicant_send_wifi_mgmt_conn_event()
212 if (wpa_s->current_ssid->mode == WPAS_MODE_AP) { in supplicant_send_wifi_mgmt_conn_event()
218 return supplicant_send_wifi_mgmt_event(wpa_s->ifname, in supplicant_send_wifi_mgmt_conn_event()
226 struct wpa_supplicant *wpa_s = ctx; in supplicant_send_wifi_mgmt_disc_event() local
230 if (!wpa_s || !wpa_s->current_ssid) { in supplicant_send_wifi_mgmt_disc_event()
234 if (wpa_s->wpa_state >= WPA_COMPLETED) { in supplicant_send_wifi_mgmt_disc_event()
235 if (wpa_s->current_ssid->mode == WPAS_MODE_AP) { in supplicant_send_wifi_mgmt_disc_event()
241 if (wpa_s->current_ssid->mode == WPAS_MODE_AP) { in supplicant_send_wifi_mgmt_disc_event()
248 return supplicant_send_wifi_mgmt_event(wpa_s->ifname, in supplicant_send_wifi_mgmt_disc_event()
[all …]
Dsupp_main.c256 struct wpa_supplicant *wpa_s = NULL; in zephyr_get_handle_by_ifname() local
259 wpa_s = wpa_supplicant_get_iface(ctx->supplicant, ifname); in zephyr_get_handle_by_ifname()
260 if (!wpa_s) { in zephyr_get_handle_by_ifname()
265 return wpa_s; in zephyr_get_handle_by_ifname()
287 struct wpa_supplicant *wpa_s; in get_iface_count() local
290 for (wpa_s = ctx->supplicant->ifaces; wpa_s; wpa_s = wpa_s->next) { in get_iface_count()
299 struct wpa_supplicant *wpa_s; in add_interface() local
322 wpa_s = wpa_supplicant_get_iface(ctx->supplicant, ifname); in add_interface()
323 if (wpa_s == NULL) { in add_interface()
328 wpa_s->conf->filter_ssids = 1; in add_interface()
[all …]