Home
last modified time | relevance | path

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

1234

/external/wpa_supplicant_8/wpa_supplicant/
Ddriver_i.h15 static inline void * wpa_drv_init(struct wpa_supplicant *wpa_s, in wpa_drv_init() argument
18 if (wpa_s->driver->init2) in wpa_drv_init()
19 return wpa_s->driver->init2(wpa_s, ifname, in wpa_drv_init()
20 wpa_s->global_drv_priv); in wpa_drv_init()
21 if (wpa_s->driver->init) { in wpa_drv_init()
22 return wpa_s->driver->init(wpa_s, ifname); in wpa_drv_init()
27 static inline void wpa_drv_deinit(struct wpa_supplicant *wpa_s) in wpa_drv_deinit() argument
29 if (wpa_s->driver->deinit) in wpa_drv_deinit()
30 wpa_s->driver->deinit(wpa_s->drv_priv); in wpa_drv_deinit()
33 static inline int wpa_drv_set_param(struct wpa_supplicant *wpa_s, in wpa_drv_set_param() argument
[all …]
Doffchannel.c22 wpas_get_tx_interface(struct wpa_supplicant *wpa_s, const u8 *src) in wpas_get_tx_interface() argument
26 if (os_memcmp(src, wpa_s->own_addr, ETH_ALEN) == 0) { in wpas_get_tx_interface()
28 if (wpa_s->p2p_mgmt && wpa_s != wpa_s->parent && in wpas_get_tx_interface()
29 wpa_s->parent->ap_iface && in wpas_get_tx_interface()
30 os_memcmp(wpa_s->parent->own_addr, in wpas_get_tx_interface()
31 wpa_s->own_addr, ETH_ALEN) == 0 && in wpas_get_tx_interface()
32 wpabuf_len(wpa_s->pending_action_tx) >= 2 && in wpas_get_tx_interface()
33 *wpabuf_head_u8(wpa_s->pending_action_tx) != in wpas_get_tx_interface()
43 wpa_s->parent->ifname, wpa_s->ifname); in wpas_get_tx_interface()
44 return wpa_s->parent; in wpas_get_tx_interface()
[all …]
Dnotify.c62 int wpas_notify_iface_added(struct wpa_supplicant *wpa_s) in wpas_notify_iface_added() argument
64 if (!wpa_s->p2p_mgmt) { in wpas_notify_iface_added()
65 if (wpas_dbus_register_iface(wpa_s)) in wpas_notify_iface_added()
68 if (wpas_dbus_register_interface(wpa_s)) in wpas_notify_iface_added()
73 if (wpas_hidl_register_interface(wpa_s)) in wpas_notify_iface_added()
80 void wpas_notify_iface_removed(struct wpa_supplicant *wpa_s) in wpas_notify_iface_removed() argument
82 if (!wpa_s->p2p_mgmt) { in wpas_notify_iface_removed()
84 wpas_dbus_unregister_iface(wpa_s); in wpas_notify_iface_removed()
87 wpas_dbus_unregister_interface(wpa_s); in wpas_notify_iface_removed()
91 wpas_hidl_unregister_interface(wpa_s); in wpas_notify_iface_removed()
[all …]
Dsme.c39 static void sme_stop_sa_query(struct wpa_supplicant *wpa_s);
56 static int sme_set_sae_group(struct wpa_supplicant *wpa_s) in sme_set_sae_group() argument
58 int *groups = wpa_s->conf->sae_groups; in sme_set_sae_group()
65 if (!index_within_array(groups, wpa_s->sme.sae_group_index)) in sme_set_sae_group()
69 int group = groups[wpa_s->sme.sae_group_index]; in sme_set_sae_group()
72 if (sae_set_group(&wpa_s->sme.sae, group) == 0) { in sme_set_sae_group()
73 wpa_dbg(wpa_s, MSG_DEBUG, "SME: Selected SAE group %d", in sme_set_sae_group()
74 wpa_s->sme.sae.group); in sme_set_sae_group()
77 wpa_s->sme.sae_group_index++; in sme_set_sae_group()
84 static struct wpabuf * sme_auth_build_sae_commit(struct wpa_supplicant *wpa_s, in sme_auth_build_sae_commit() argument
[all …]
Dwpa_supplicant.c116 int wpa_set_wep_keys(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) in wpa_set_wep_keys() argument
125 wpa_drv_set_key(wpa_s, WPA_ALG_WEP, NULL, in wpa_set_wep_keys()
134 int wpa_supplicant_set_wpa_none_key(struct wpa_supplicant *wpa_s, in wpa_supplicant_set_wpa_none_key() argument
147 wpa_msg(wpa_s, MSG_INFO, "WPA: Invalid mode %d (not " in wpa_supplicant_set_wpa_none_key()
153 wpa_msg(wpa_s, MSG_INFO, "WPA: No PSK configured for " in wpa_supplicant_set_wpa_none_key()
158 switch (wpa_s->group_cipher) { in wpa_supplicant_set_wpa_none_key()
177 wpa_msg(wpa_s, MSG_INFO, "WPA: Invalid group cipher %d for " in wpa_supplicant_set_wpa_none_key()
178 "WPA-None", wpa_s->group_cipher); in wpa_supplicant_set_wpa_none_key()
185 ret = wpa_drv_set_key(wpa_s, alg, NULL, 0, 1, seq, 6, key, keylen); in wpa_supplicant_set_wpa_none_key()
193 struct wpa_supplicant *wpa_s = eloop_ctx; in wpa_supplicant_timeout() local
[all …]
Devents.c52 static int wpas_select_network_from_last_scan(struct wpa_supplicant *wpa_s,
57 static int wpas_temp_disabled(struct wpa_supplicant *wpa_s, in wpas_temp_disabled() argument
69 wpas_clear_temp_disabled(wpa_s, ssid, 0); in wpas_temp_disabled()
86 static int wpas_reenabled_network_time(struct wpa_supplicant *wpa_s) in wpas_reenabled_network_time() argument
92 if (wpa_s->conf->auto_interworking && wpa_s->conf->interworking && in wpas_reenabled_network_time()
93 wpa_s->conf->cred) in wpas_reenabled_network_time()
97 for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next) { in wpas_reenabled_network_time()
101 disabled_for = wpas_temp_disabled(wpa_s, ssid); in wpas_reenabled_network_time()
116 struct wpa_supplicant *wpa_s = eloop_ctx; in wpas_network_reenabled() local
118 if (wpa_s->disconnected || wpa_s->wpa_state != WPA_SCANNING) in wpas_network_reenabled()
[all …]
Dp2p_supplicant.c123 wpas_p2p_get_group_iface(struct wpa_supplicant *wpa_s, int addr_allocated,
125 static int wpas_p2p_join_start(struct wpa_supplicant *wpa_s, int freq,
127 static int wpas_p2p_setup_freqs(struct wpa_supplicant *wpa_s, int freq,
131 static void wpas_p2p_join_scan_req(struct wpa_supplicant *wpa_s, int freq,
134 static int wpas_p2p_join(struct wpa_supplicant *wpa_s, const u8 *iface_addr,
138 static int wpas_p2p_create_iface(struct wpa_supplicant *wpa_s);
139 static void wpas_p2p_cross_connect_setup(struct wpa_supplicant *wpa_s);
141 static void wpas_p2p_set_group_idle_timeout(struct wpa_supplicant *wpa_s);
145 static int wpas_p2p_fallback_to_go_neg(struct wpa_supplicant *wpa_s,
147 static void wpas_p2p_stop_find_oper(struct wpa_supplicant *wpa_s);
[all …]
Dscan.c28 static void wpa_supplicant_gen_assoc_event(struct wpa_supplicant *wpa_s) in wpa_supplicant_gen_assoc_event() argument
33 ssid = wpa_supplicant_get_ssid(wpa_s); in wpa_supplicant_gen_assoc_event()
37 if (wpa_s->current_ssid == NULL) { in wpa_supplicant_gen_assoc_event()
38 wpa_s->current_ssid = ssid; in wpa_supplicant_gen_assoc_event()
39 wpas_notify_network_changed(wpa_s); in wpa_supplicant_gen_assoc_event()
41 wpa_supplicant_initiate_eapol(wpa_s); in wpa_supplicant_gen_assoc_event()
42 wpa_dbg(wpa_s, MSG_DEBUG, "Already associated with a configured " in wpa_supplicant_gen_assoc_event()
45 wpa_supplicant_event(wpa_s, EVENT_ASSOC, &data); in wpa_supplicant_gen_assoc_event()
50 static int wpas_wps_in_use(struct wpa_supplicant *wpa_s, in wpas_wps_in_use() argument
56 for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next) { in wpas_wps_in_use()
[all …]
Dp2p_supplicant.h29 int wpas_p2p_add_p2pdev_interface(struct wpa_supplicant *wpa_s,
31 struct wpa_supplicant * wpas_get_p2p_go_iface(struct wpa_supplicant *wpa_s,
33 struct wpa_supplicant * wpas_get_p2p_client_iface(struct wpa_supplicant *wpa_s,
35 int wpas_p2p_connect(struct wpa_supplicant *wpa_s, const u8 *peer_addr,
42 int wpas_p2p_handle_frequency_conflicts(struct wpa_supplicant *wpa_s,
44 int wpas_p2p_group_add(struct wpa_supplicant *wpa_s, int persistent_group,
47 int wpas_p2p_group_add_persistent(struct wpa_supplicant *wpa_s,
54 struct p2p_group * wpas_p2p_group_init(struct wpa_supplicant *wpa_s,
62 int wpas_p2p_prov_disc(struct wpa_supplicant *wpa_s, const u8 *peer_addr,
66 void wpas_send_action_tx_status(struct wpa_supplicant *wpa_s, const u8 *dst,
[all …]
Dap.c48 static void wpas_conf_ap_vht(struct wpa_supplicant *wpa_s, in wpas_conf_ap_vht() argument
62 center_chan = wpas_p2p_get_vht80_center(wpa_s, mode, channel); in wpas_conf_ap_vht()
65 center_chan = wpas_p2p_get_vht160_center(wpa_s, mode, channel); in wpas_conf_ap_vht()
74 center_chan = wpas_p2p_get_vht160_center(wpa_s, mode, channel); in wpas_conf_ap_vht()
77 center_chan = wpas_p2p_get_vht80_center(wpa_s, mode, in wpas_conf_ap_vht()
100 int wpa_supplicant_conf_ap_ht(struct wpa_supplicant *wpa_s, in wpa_supplicant_conf_ap_ht() argument
123 if (wpa_s->hw.modes) { in wpa_supplicant_conf_ap_ht()
126 for (i = 0; i < wpa_s->hw.num_modes; i++) { in wpa_supplicant_conf_ap_ht()
127 if (wpa_s->hw.modes[i].mode == conf->hw_mode) { in wpa_supplicant_conf_ap_ht()
128 mode = &wpa_s->hw.modes[i]; in wpa_supplicant_conf_ap_ht()
[all …]
Dpreauth_test.c38 static void _wpa_supplicant_deauthenticate(void *wpa_s, int reason_code) in _wpa_supplicant_deauthenticate() argument
40 wpa_supplicant_deauthenticate(wpa_s, reason_code); in _wpa_supplicant_deauthenticate()
44 static u8 * wpa_alloc_eapol(const struct wpa_supplicant *wpa_s, u8 type, in wpa_alloc_eapol() argument
55 hdr->version = wpa_s->conf->eapol_version; in wpa_alloc_eapol()
71 static u8 * _wpa_alloc_eapol(void *wpa_s, u8 type, in _wpa_alloc_eapol() argument
75 return wpa_alloc_eapol(wpa_s, type, data, data_len, msg_len, data_pos); in _wpa_alloc_eapol()
81 struct wpa_supplicant *wpa_s = ctx; in _wpa_supplicant_set_state() local
82 wpa_s->wpa_state = state; in _wpa_supplicant_set_state()
88 struct wpa_supplicant *wpa_s = ctx; in _wpa_supplicant_get_state() local
89 return wpa_s->wpa_state; in _wpa_supplicant_get_state()
[all …]
Dwps_supplicant.c51 static void wpas_clear_wps(struct wpa_supplicant *wpa_s);
54 static void wpas_wps_clear_ap_info(struct wpa_supplicant *wpa_s) in wpas_wps_clear_ap_info() argument
56 os_free(wpa_s->wps_ap); in wpas_wps_clear_ap_info()
57 wpa_s->wps_ap = NULL; in wpas_wps_clear_ap_info()
58 wpa_s->num_wps_ap = 0; in wpas_wps_clear_ap_info()
59 wpa_s->wps_ap_iter = 0; in wpas_wps_clear_ap_info()
65 struct wpa_supplicant *wpa_s = eloop_ctx; in wpas_wps_assoc_with_cred() local
70 wpa_supplicant_fast_associate(wpa_s) != 1) in wpas_wps_assoc_with_cred()
71 wpa_supplicant_req_scan(wpa_s, 0, 0); in wpas_wps_assoc_with_cred()
75 static void wpas_wps_assoc_with_cred_cancel(struct wpa_supplicant *wpa_s) in wpas_wps_assoc_with_cred_cancel() argument
[all …]
Dnotify.h21 int wpas_notify_iface_added(struct wpa_supplicant *wpa_s);
22 void wpas_notify_iface_removed(struct wpa_supplicant *wpa_s);
23 void wpas_notify_state_changed(struct wpa_supplicant *wpa_s,
26 void wpas_notify_disconnect_reason(struct wpa_supplicant *wpa_s);
27 void wpas_notify_assoc_status_code(struct wpa_supplicant *wpa_s);
28 void wpas_notify_auth_timeout(struct wpa_supplicant *wpa_s);
29 void wpas_notify_network_changed(struct wpa_supplicant *wpa_s);
30 void wpas_notify_ap_scan_changed(struct wpa_supplicant *wpa_s);
31 void wpas_notify_bssid_changed(struct wpa_supplicant *wpa_s);
32 void wpas_notify_auth_changed(struct wpa_supplicant *wpa_s);
[all …]
Dautoscan.c31 static void request_scan(struct wpa_supplicant *wpa_s) in request_scan() argument
33 wpa_s->scan_req = MANUAL_SCAN_REQ; in request_scan()
35 if (wpa_supplicant_req_sched_scan(wpa_s)) in request_scan()
36 wpa_supplicant_req_scan(wpa_s, wpa_s->scan_interval, 0); in request_scan()
40 int autoscan_init(struct wpa_supplicant *wpa_s, int req_scan) in autoscan_init() argument
42 const char *name = wpa_s->conf->autoscan; in autoscan_init()
50 if (wpa_s->sched_scan_plans) { in autoscan_init()
56 if (wpa_s->autoscan && wpa_s->autoscan_priv) { in autoscan_init()
86 scan_plans = os_malloc(sizeof(*wpa_s->sched_scan_plans)); in autoscan_init()
90 wpa_s->autoscan_params = NULL; in autoscan_init()
[all …]
Dwpas_glue.c38 struct wpa_supplicant *wpa_s = ctx; in wpa_supplicant_set_config_blob() local
39 wpa_config_set_blob(wpa_s->conf, blob); in wpa_supplicant_set_config_blob()
40 if (wpa_s->conf->update_config) { in wpa_supplicant_set_config_blob()
41 int ret = wpa_config_write(wpa_s->confname, wpa_s->conf); in wpa_supplicant_set_config_blob()
53 struct wpa_supplicant *wpa_s = ctx; in wpa_supplicant_get_config_blob() local
54 return wpa_config_get_blob(wpa_s->conf, name); in wpa_supplicant_get_config_blob()
61 static u8 * wpa_alloc_eapol(const struct wpa_supplicant *wpa_s, u8 type, in wpa_alloc_eapol() argument
72 hdr->version = wpa_s->conf->eapol_version; in wpa_alloc_eapol()
97 static int wpa_ether_send(struct wpa_supplicant *wpa_s, const u8 *dest, in wpa_ether_send() argument
101 if (wpa_s->ext_eapol_frame_io && proto == ETH_P_EAPOL) { in wpa_ether_send()
[all …]
Dwnm_sta.c30 static int ieee80211_11_get_tfs_ie(struct wpa_supplicant *wpa_s, u8 *buf, in ieee80211_11_get_tfs_ie() argument
35 return wpa_drv_wnm_oper(wpa_s, oper, wpa_s->bssid, buf, buf_len); in ieee80211_11_get_tfs_ie()
40 static int ieee80211_11_set_tfs_ie(struct wpa_supplicant *wpa_s, in ieee80211_11_set_tfs_ie() argument
48 return wpa_drv_wnm_oper(wpa_s, oper, addr, (u8 *) buf, &len); in ieee80211_11_set_tfs_ie()
53 int ieee802_11_send_wnmsleep_req(struct wpa_supplicant *wpa_s, in ieee802_11_send_wnmsleep_req() argument
69 MAC2STR(wpa_s->bssid)); in ieee802_11_send_wnmsleep_req()
99 if (ieee80211_11_get_tfs_ie(wpa_s, wnmtfs_ie, &wnmtfs_ie_len, in ieee802_11_send_wnmsleep_req()
118 os_memcpy(mgmt->da, wpa_s->bssid, ETH_ALEN); in ieee802_11_send_wnmsleep_req()
119 os_memcpy(mgmt->sa, wpa_s->own_addr, ETH_ALEN); in ieee802_11_send_wnmsleep_req()
120 os_memcpy(mgmt->bssid, wpa_s->bssid, ETH_ALEN); in ieee802_11_send_wnmsleep_req()
[all …]
Dwps_supplicant.h28 int wpas_wps_init(struct wpa_supplicant *wpa_s);
29 void wpas_wps_deinit(struct wpa_supplicant *wpa_s);
30 int wpas_wps_eapol_cb(struct wpa_supplicant *wpa_s);
32 int wpas_wps_start_pbc(struct wpa_supplicant *wpa_s, const u8 *bssid,
34 int wpas_wps_start_pin(struct wpa_supplicant *wpa_s, const u8 *bssid,
36 void wpas_wps_pbc_overlap(struct wpa_supplicant *wpa_s);
37 int wpas_wps_cancel(struct wpa_supplicant *wpa_s);
38 int wpas_wps_start_reg(struct wpa_supplicant *wpa_s, const u8 *bssid,
40 int wpas_wps_ssid_bss_match(struct wpa_supplicant *wpa_s,
42 int wpas_wps_ssid_wildcard_ok(struct wpa_supplicant *wpa_s,
[all …]
Dmesh.c30 static void wpa_supplicant_mesh_deinit(struct wpa_supplicant *wpa_s) in wpa_supplicant_mesh_deinit() argument
32 wpa_supplicant_mesh_iface_deinit(wpa_s, wpa_s->ifmsh); in wpa_supplicant_mesh_deinit()
33 wpa_s->ifmsh = NULL; in wpa_supplicant_mesh_deinit()
34 wpa_s->current_ssid = NULL; in wpa_supplicant_mesh_deinit()
35 os_free(wpa_s->mesh_rsn); in wpa_supplicant_mesh_deinit()
36 wpa_s->mesh_rsn = NULL; in wpa_supplicant_mesh_deinit()
42 void wpa_supplicant_mesh_iface_deinit(struct wpa_supplicant *wpa_s, in wpa_supplicant_mesh_iface_deinit() argument
49 mesh_mpm_deinit(wpa_s, ifmsh); in wpa_supplicant_mesh_iface_deinit()
69 static struct mesh_conf * mesh_config_create(struct wpa_supplicant *wpa_s, in mesh_config_create() argument
89 if (wpa_s->drv_enc & WPA_DRIVER_CAPA_ENC_BIP) in mesh_config_create()
[all …]
Dwmm_ac.c69 static int wmm_ac_add_ts(struct wpa_supplicant *wpa_s, const u8 *addr, in wmm_ac_add_ts() argument
82 if (wpa_s->tspecs[ac][idx]) { in wmm_ac_add_ts()
98 ret = wpa_drv_add_ts(wpa_s, tsid, addr, up, admitted_time); in wmm_ac_add_ts()
109 wpa_s->tspecs[ac][idx] = _tspec; in wmm_ac_add_ts()
113 wpa_msg(wpa_s, MSG_INFO, WMM_AC_EVENT_TSPEC_ADDED in wmm_ac_add_ts()
121 static void wmm_ac_del_ts_idx(struct wpa_supplicant *wpa_s, u8 ac, in wmm_ac_del_ts_idx() argument
124 struct wmm_tspec_element *tspec = wpa_s->tspecs[ac][dir]; in wmm_ac_del_ts_idx()
135 wpa_drv_del_ts(wpa_s, tsid, wpa_s->bssid); in wmm_ac_del_ts_idx()
137 wpa_msg(wpa_s, MSG_INFO, WMM_AC_EVENT_TSPEC_REMOVED in wmm_ac_del_ts_idx()
138 "tsid=%d addr=" MACSTR, tsid, MAC2STR(wpa_s->bssid)); in wmm_ac_del_ts_idx()
[all …]
Dinterworking.c48 static void interworking_next_anqp_fetch(struct wpa_supplicant *wpa_s);
50 struct wpa_supplicant *wpa_s, struct wpa_bss *bss, int ignore_bw,
53 struct wpa_supplicant *wpa_s, struct wpa_bss *bss, int ignore_bw,
74 static void interworking_reconnect(struct wpa_supplicant *wpa_s) in interworking_reconnect() argument
78 if (wpa_s->wpa_state >= WPA_AUTHENTICATING) { in interworking_reconnect()
79 wpa_supplicant_cancel_sched_scan(wpa_s); in interworking_reconnect()
80 wpa_s->own_disconnect_req = 1; in interworking_reconnect()
81 wpa_supplicant_deauthenticate(wpa_s, in interworking_reconnect()
84 wpa_s->disconnected = 0; in interworking_reconnect()
85 wpa_s->reassociate = 1; in interworking_reconnect()
[all …]
Dwpas_kay.c47 static int wpas_enable_protect_frames(void *wpa_s, Boolean enabled) in wpas_enable_protect_frames() argument
49 return wpa_drv_enable_protect_frames(wpa_s, enabled); in wpas_enable_protect_frames()
53 static int wpas_enable_encrypt(void *wpa_s, Boolean enabled) in wpas_enable_encrypt() argument
55 return wpa_drv_enable_encrypt(wpa_s, enabled); in wpas_enable_encrypt()
59 static int wpas_set_replay_protect(void *wpa_s, Boolean enabled, u32 window) in wpas_set_replay_protect() argument
61 return wpa_drv_set_replay_protect(wpa_s, enabled, window); in wpas_set_replay_protect()
65 static int wpas_set_current_cipher_suite(void *wpa_s, u64 cs) in wpas_set_current_cipher_suite() argument
67 return wpa_drv_set_current_cipher_suite(wpa_s, cs); in wpas_set_current_cipher_suite()
71 static int wpas_enable_controlled_port(void *wpa_s, Boolean enabled) in wpas_enable_controlled_port() argument
73 return wpa_drv_enable_controlled_port(wpa_s, enabled); in wpas_enable_controlled_port()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new.h135 int wpas_dbus_register_interface(struct wpa_supplicant *wpa_s);
136 int wpas_dbus_unregister_interface(struct wpa_supplicant *wpa_s);
137 void wpas_dbus_signal_prop_changed(struct wpa_supplicant *wpa_s,
139 void wpas_dbus_bss_signal_prop_changed(struct wpa_supplicant *wpa_s,
142 void wpas_dbus_signal_network_enabled_changed(struct wpa_supplicant *wpa_s,
144 void wpas_dbus_signal_network_selected(struct wpa_supplicant *wpa_s, int id);
145 void wpas_dbus_signal_network_request(struct wpa_supplicant *wpa_s,
149 void wpas_dbus_signal_scan_done(struct wpa_supplicant *wpa_s, int success);
150 void wpas_dbus_signal_wps_cred(struct wpa_supplicant *wpa_s,
152 void wpas_dbus_signal_wps_event_m2d(struct wpa_supplicant *wpa_s,
[all …]
Ddbus_new.c64 struct wpa_supplicant *wpa_s; in noc_filter() local
78 for (wpa_s = priv->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in noc_filter()
79 if (wpa_s->preq_notify_peer != NULL && in noc_filter()
80 os_strcmp(name, wpa_s->preq_notify_peer) == 0 && in noc_filter()
83 os_free(wpa_s->preq_notify_peer); in noc_filter()
84 wpa_s->preq_notify_peer = NULL; in noc_filter()
130 static void wpas_dbus_signal_interface(struct wpa_supplicant *wpa_s, in wpas_dbus_signal_interface() argument
137 iface = wpa_s->global->dbus; in wpas_dbus_signal_interface()
140 if (iface == NULL || !wpa_s->dbus_new_path) in wpas_dbus_signal_interface()
150 &wpa_s->dbus_new_path) || in wpas_dbus_signal_interface()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/
Dhidl.cpp84 int wpas_hidl_register_interface(struct wpa_supplicant *wpa_s) in wpas_hidl_register_interface() argument
86 if (!wpa_s || !wpa_s->global->hidl) in wpas_hidl_register_interface()
91 wpa_s->ifname); in wpas_hidl_register_interface()
97 return hidl_manager->registerInterface(wpa_s); in wpas_hidl_register_interface()
100 int wpas_hidl_unregister_interface(struct wpa_supplicant *wpa_s) in wpas_hidl_unregister_interface() argument
102 if (!wpa_s || !wpa_s->global->hidl) in wpas_hidl_unregister_interface()
107 wpa_s->ifname); in wpas_hidl_unregister_interface()
113 return hidl_manager->unregisterInterface(wpa_s); in wpas_hidl_unregister_interface()
117 struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) in wpas_hidl_register_network() argument
119 if (!wpa_s || !wpa_s->global->hidl || !ssid) in wpas_hidl_register_network()
[all …]
Dhidl.h29 int wpas_hidl_register_interface(struct wpa_supplicant *wpa_s);
30 int wpas_hidl_unregister_interface(struct wpa_supplicant *wpa_s);
32 struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid);
34 struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid);
35 int wpas_hidl_notify_state_changed(struct wpa_supplicant *wpa_s);
37 struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
40 struct wpa_supplicant *wpa_s, const u8 *bssid, const char *result,
43 struct wpa_supplicant *wpa_s, const u8 *bssid, const char *file_name,
46 struct wpa_supplicant *wpa_s, const char *url, u8 osu_method);
48 struct wpa_supplicant *wpa_s, u8 code, u16 reauth_delay, const char *url);
[all …]

1234