Home
last modified time | relevance | path

Searched refs:wpa_s (Results 1 – 25 of 88) 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 …]
Dnotify.c61 int wpas_notify_iface_added(struct wpa_supplicant *wpa_s) in wpas_notify_iface_added() argument
63 if (!wpa_s->p2p_mgmt) { in wpas_notify_iface_added()
64 if (wpas_dbus_register_interface(wpa_s)) in wpas_notify_iface_added()
69 if (wpas_hidl_register_interface(wpa_s)) in wpas_notify_iface_added()
76 void wpas_notify_iface_removed(struct wpa_supplicant *wpa_s) in wpas_notify_iface_removed() argument
78 if (!wpa_s->p2p_mgmt) { in wpas_notify_iface_removed()
80 wpas_dbus_unregister_interface(wpa_s); in wpas_notify_iface_removed()
84 wpas_hidl_unregister_interface(wpa_s); in wpas_notify_iface_removed()
88 void wpas_notify_state_changed(struct wpa_supplicant *wpa_s, in wpas_notify_state_changed() argument
92 if (wpa_s->p2p_mgmt) in wpas_notify_state_changed()
[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 …]
Dwpa_supplicant.c125 static void wpas_update_fils_connect_params(struct wpa_supplicant *wpa_s);
130 int wpa_set_wep_keys(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) in wpa_set_wep_keys() argument
139 wpa_drv_set_key(wpa_s, WPA_ALG_WEP, NULL, in wpa_set_wep_keys()
148 int wpa_supplicant_set_wpa_none_key(struct wpa_supplicant *wpa_s, in wpa_supplicant_set_wpa_none_key() argument
161 wpa_msg(wpa_s, MSG_INFO, "WPA: Invalid mode %d (not " in wpa_supplicant_set_wpa_none_key()
167 wpa_msg(wpa_s, MSG_INFO, "WPA: No PSK configured for " in wpa_supplicant_set_wpa_none_key()
172 switch (wpa_s->group_cipher) { in wpa_supplicant_set_wpa_none_key()
191 wpa_msg(wpa_s, MSG_INFO, "WPA: Invalid group cipher %d for " in wpa_supplicant_set_wpa_none_key()
192 "WPA-None", wpa_s->group_cipher); in wpa_supplicant_set_wpa_none_key()
199 ret = wpa_drv_set_key(wpa_s, alg, NULL, 0, 1, seq, 6, key, keylen); in wpa_supplicant_set_wpa_none_key()
[all …]
Devents.c58 static int wpas_select_network_from_last_scan(struct wpa_supplicant *wpa_s,
63 int wpas_temp_disabled(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) in wpas_temp_disabled() argument
74 wpas_clear_temp_disabled(wpa_s, ssid, 0); in wpas_temp_disabled()
91 static int wpas_reenabled_network_time(struct wpa_supplicant *wpa_s) in wpas_reenabled_network_time() argument
97 if (wpa_s->conf->auto_interworking && wpa_s->conf->interworking && in wpas_reenabled_network_time()
98 wpa_s->conf->cred) in wpas_reenabled_network_time()
102 for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next) { in wpas_reenabled_network_time()
106 disabled_for = wpas_temp_disabled(wpa_s, ssid); in wpas_reenabled_network_time()
121 struct wpa_supplicant *wpa_s = eloop_ctx; in wpas_network_reenabled() local
123 if (wpa_s->disconnected || wpa_s->wpa_state != WPA_SCANNING) in wpas_network_reenabled()
[all …]
Dsme.c41 static void sme_stop_sa_query(struct wpa_supplicant *wpa_s);
58 static int sme_set_sae_group(struct wpa_supplicant *wpa_s) in sme_set_sae_group() argument
60 int *groups = wpa_s->conf->sae_groups; in sme_set_sae_group()
67 if (!index_within_array(groups, wpa_s->sme.sae_group_index)) in sme_set_sae_group()
71 int group = groups[wpa_s->sme.sae_group_index]; in sme_set_sae_group()
74 if (sae_set_group(&wpa_s->sme.sae, group) == 0) { in sme_set_sae_group()
75 wpa_dbg(wpa_s, MSG_DEBUG, "SME: Selected SAE group %d", in sme_set_sae_group()
76 wpa_s->sme.sae.group); in sme_set_sae_group()
79 wpa_s->sme.sae_group_index++; in sme_set_sae_group()
86 static struct wpabuf * sme_auth_build_sae_commit(struct wpa_supplicant *wpa_s, in sme_auth_build_sae_commit() argument
[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 …]
Ddpp_supplicant.c31 static int wpas_dpp_listen_start(struct wpa_supplicant *wpa_s,
34 static void wpas_dpp_auth_success(struct wpa_supplicant *wpa_s, int initiator);
35 static void wpas_dpp_tx_status(struct wpa_supplicant *wpa_s,
41 static int wpas_dpp_auth_init_next(struct wpa_supplicant *wpa_s);
43 wpas_dpp_tx_pkex_status(struct wpa_supplicant *wpa_s,
62 int wpas_dpp_qr_code(struct wpa_supplicant *wpa_s, const char *cmd) in wpas_dpp_qr_code() argument
65 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_qr_code()
67 bi = dpp_add_qr_code(wpa_s->dpp, cmd); in wpas_dpp_qr_code()
75 wpa_msg(wpa_s, MSG_INFO, DPP_EVENT_TX "dst=" MACSTR in wpas_dpp_qr_code()
79 offchannel_send_action(wpa_s, auth->curr_freq, in wpas_dpp_qr_code()
[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_auth_status_code(struct wpa_supplicant *wpa_s);
28 void wpas_notify_assoc_status_code(struct wpa_supplicant *wpa_s);
29 void wpas_notify_auth_timeout(struct wpa_supplicant *wpa_s);
30 void wpas_notify_roam_time(struct wpa_supplicant *wpa_s);
31 void wpas_notify_roam_complete(struct wpa_supplicant *wpa_s);
32 void wpas_notify_session_length(struct wpa_supplicant *wpa_s);
[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
83 center_chan = wpas_p2p_get_vht80_center(wpa_s, mode, channel); in wpas_conf_ap_vht()
89 center_chan = wpas_p2p_get_vht160_center(wpa_s, mode, channel); in wpas_conf_ap_vht()
101 center_chan = wpas_p2p_get_vht160_center(wpa_s, mode, channel); in wpas_conf_ap_vht()
108 center_chan = wpas_p2p_get_vht80_center(wpa_s, mode, in wpas_conf_ap_vht()
136 int wpa_supplicant_conf_ap_ht(struct wpa_supplicant *wpa_s, in wpa_supplicant_conf_ap_ht() argument
159 if (wpa_s->hw.modes) { in wpa_supplicant_conf_ap_ht()
167 for (i = 0; i < wpa_s->hw.num_modes; i++) { in wpa_supplicant_conf_ap_ht()
168 if (wpa_s->hw.modes[i].mode == conf->hw_mode) { in wpa_supplicant_conf_ap_ht()
169 mode = &wpa_s->hw.modes[i]; in wpa_supplicant_conf_ap_ht()
[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 …]
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.c33 static int ieee80211_11_get_tfs_ie(struct wpa_supplicant *wpa_s, u8 *buf, in ieee80211_11_get_tfs_ie() argument
38 return wpa_drv_wnm_oper(wpa_s, oper, wpa_s->bssid, buf, buf_len); in ieee80211_11_get_tfs_ie()
43 static int ieee80211_11_set_tfs_ie(struct wpa_supplicant *wpa_s, in ieee80211_11_set_tfs_ie() argument
51 return wpa_drv_wnm_oper(wpa_s, oper, addr, (u8 *) buf, &len); in ieee80211_11_set_tfs_ie()
56 int ieee802_11_send_wnmsleep_req(struct wpa_supplicant *wpa_s, in ieee802_11_send_wnmsleep_req() argument
72 MAC2STR(wpa_s->bssid)); in ieee802_11_send_wnmsleep_req()
101 if (ieee80211_11_get_tfs_ie(wpa_s, wnmtfs_ie, &wnmtfs_ie_len, in ieee802_11_send_wnmsleep_req()
114 if (action == WNM_SLEEP_MODE_EXIT && wpa_sm_ocv_enabled(wpa_s->wpa)) { in ieee802_11_send_wnmsleep_req()
117 if (wpa_drv_channel_info(wpa_s, &ci) != 0) { in ieee802_11_send_wnmsleep_req()
154 os_memcpy(mgmt->da, wpa_s->bssid, ETH_ALEN); in ieee802_11_send_wnmsleep_req()
[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 …]
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 …]
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()
37 os_free(wpa_s->mesh_params); in wpa_supplicant_mesh_deinit()
38 wpa_s->mesh_params = NULL; in wpa_supplicant_mesh_deinit()
44 void wpa_supplicant_mesh_iface_deinit(struct wpa_supplicant *wpa_s, in wpa_supplicant_mesh_iface_deinit() argument
51 mesh_mpm_deinit(wpa_s, ifmsh); in wpa_supplicant_mesh_iface_deinit()
[all …]
Dctrl_iface.c66 static int * freq_range_to_channel_list(struct wpa_supplicant *wpa_s,
70 static int set_bssid_filter(struct wpa_supplicant *wpa_s, char *val) in set_bssid_filter() argument
99 os_free(wpa_s->bssid_filter); in set_bssid_filter()
100 wpa_s->bssid_filter = filter; in set_bssid_filter()
101 wpa_s->bssid_filter_count = count; in set_bssid_filter()
107 static int set_disallow_aps(struct wpa_supplicant *wpa_s, char *val) in set_disallow_aps() argument
196 os_free(wpa_s->disallow_aps_bssid); in set_disallow_aps()
197 wpa_s->disallow_aps_bssid = bssid; in set_disallow_aps()
198 wpa_s->disallow_aps_bssid_count = count; in set_disallow_aps()
201 os_free(wpa_s->disallow_aps_ssid); in set_disallow_aps()
[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 …]
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()
95 ret = wpa_drv_add_ts(wpa_s, tsid, addr, up, admitted_time); in wmm_ac_add_ts()
106 wpa_s->tspecs[ac][idx] = _tspec; in wmm_ac_add_ts()
110 wpa_msg(wpa_s, MSG_INFO, WMM_AC_EVENT_TSPEC_ADDED in wmm_ac_add_ts()
118 static void wmm_ac_del_ts_idx(struct wpa_supplicant *wpa_s, u8 ac, in wmm_ac_del_ts_idx() argument
121 struct wmm_tspec_element *tspec = wpa_s->tspecs[ac][dir]; in wmm_ac_del_ts_idx()
132 wpa_drv_del_ts(wpa_s, tsid, wpa_s->bssid); in wmm_ac_del_ts_idx()
134 wpa_msg(wpa_s, MSG_INFO, WMM_AC_EVENT_TSPEC_REMOVED in wmm_ac_del_ts_idx()
135 "tsid=%d addr=" MACSTR, tsid, MAC2STR(wpa_s->bssid)); in wmm_ac_del_ts_idx()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.2/
Dhidl.cpp30 static void wpas_hidl_notify_dpp_failure(struct wpa_supplicant *wpa_s, DppFailureCode code);
31 static void wpas_hidl_notify_dpp_progress(struct wpa_supplicant *wpa_s, DppProgressCode code);
88 int wpas_hidl_register_interface(struct wpa_supplicant *wpa_s) in wpas_hidl_register_interface() argument
90 if (!wpa_s || !wpa_s->global->hidl) in wpas_hidl_register_interface()
95 wpa_s->ifname); in wpas_hidl_register_interface()
101 return hidl_manager->registerInterface(wpa_s); in wpas_hidl_register_interface()
104 int wpas_hidl_unregister_interface(struct wpa_supplicant *wpa_s) in wpas_hidl_unregister_interface() argument
106 if (!wpa_s || !wpa_s->global->hidl) in wpas_hidl_unregister_interface()
111 wpa_s->ifname); in wpas_hidl_unregister_interface()
117 return hidl_manager->unregisterInterface(wpa_s); in wpas_hidl_unregister_interface()
[all …]
Dhidl.h31 int wpas_hidl_register_interface(struct wpa_supplicant *wpa_s);
32 int wpas_hidl_unregister_interface(struct wpa_supplicant *wpa_s);
34 struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid);
36 struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid);
37 int wpas_hidl_notify_state_changed(struct wpa_supplicant *wpa_s);
39 struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
42 struct wpa_supplicant *wpa_s, const u8 *bssid, const char *result,
45 struct wpa_supplicant *wpa_s, const u8 *bssid,
48 struct wpa_supplicant *wpa_s, const char *url, u8 osu_method);
50 struct wpa_supplicant *wpa_s, u8 code, u16 reauth_delay,
[all …]
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new.h149 int wpas_dbus_register_interface(struct wpa_supplicant *wpa_s);
150 int wpas_dbus_unregister_interface(struct wpa_supplicant *wpa_s);
151 void wpas_dbus_signal_prop_changed(struct wpa_supplicant *wpa_s,
153 void wpas_dbus_bss_signal_prop_changed(struct wpa_supplicant *wpa_s,
156 void wpas_dbus_signal_network_enabled_changed(struct wpa_supplicant *wpa_s,
158 void wpas_dbus_signal_network_selected(struct wpa_supplicant *wpa_s, int id);
159 void wpas_dbus_signal_network_request(struct wpa_supplicant *wpa_s,
163 void wpas_dbus_signal_scan_done(struct wpa_supplicant *wpa_s, int success);
164 void wpas_dbus_signal_wps_cred(struct wpa_supplicant *wpa_s,
166 void wpas_dbus_signal_wps_event_m2d(struct wpa_supplicant *wpa_s,
[all …]
Ddbus_new.c65 struct wpa_supplicant *wpa_s; in noc_filter() local
79 for (wpa_s = priv->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in noc_filter()
80 if (wpa_s->preq_notify_peer != NULL && in noc_filter()
81 os_strcmp(name, wpa_s->preq_notify_peer) == 0 && in noc_filter()
84 os_free(wpa_s->preq_notify_peer); in noc_filter()
85 wpa_s->preq_notify_peer = NULL; in noc_filter()
131 static void wpas_dbus_signal_interface(struct wpa_supplicant *wpa_s, in wpas_dbus_signal_interface() argument
139 iface = wpa_s->global->dbus; in wpas_dbus_signal_interface()
142 if (iface == NULL || !wpa_s->dbus_new_path) in wpas_dbus_signal_interface()
152 &wpa_s->dbus_new_path) || in wpas_dbus_signal_interface()
[all …]

1234