Lines Matching refs:wpa_s
256 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()
329 wpa_s->conf->ap_scan = 1; in add_interface()
337 ret = zephyr_wpa_ctrl_init(wpa_s); in add_interface()
370 struct wpa_supplicant *wpa_s; in del_interface() local
390 wpa_s = wpa_supplicant_get_iface(ctx->supplicant, ifname); in del_interface()
391 if (!wpa_s) { in del_interface()
423 while (retry++ < count && wpa_s->wpa_state != WPA_INTERFACE_DISABLED) { in del_interface()
427 if (wpa_s->wpa_state != WPA_INTERFACE_DISABLED) { in del_interface()
433 zephyr_wpa_ctrl_deinit(wpa_s); in del_interface()
1105 struct wpa_supplicant *wpa_s = ctx; in zephyr_hostap_msg_ifname_cb() local
1107 return wpa_s->ifname; in zephyr_hostap_msg_ifname_cb()