Home
last modified time | relevance | path

Searched refs:wpa_s (Results 1 – 25 of 84) 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.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()
67 if (wpas_dbus_register_iface(wpa_s)) in wpas_notify_iface_added()
70 if (wpas_dbus_register_interface(wpa_s)) in wpas_notify_iface_added()
77 void wpas_notify_iface_removed(struct wpa_supplicant *wpa_s) in wpas_notify_iface_removed() argument
79 if (wpa_s->p2p_mgmt) in wpas_notify_iface_removed()
83 wpas_dbus_unregister_iface(wpa_s); in wpas_notify_iface_removed()
86 wpas_dbus_unregister_interface(wpa_s); in wpas_notify_iface_removed()
90 void wpas_notify_state_changed(struct wpa_supplicant *wpa_s, in wpas_notify_state_changed() argument
94 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()
27 return wpa_s; in wpas_get_tx_interface()
32 iface = wpa_s->global->ifaces; in wpas_get_tx_interface()
41 iface->ifname, wpa_s->ifname); in wpas_get_tx_interface()
45 return wpa_s; in wpas_get_tx_interface()
51 struct wpa_supplicant *wpa_s = eloop_ctx; in wpas_send_action_cb() local
56 without_roc = wpa_s->pending_action_without_roc; in wpas_send_action_cb()
57 wpa_s->pending_action_without_roc = 0; in wpas_send_action_cb()
60 without_roc, wpa_s->pending_action_tx, in wpas_send_action_cb()
[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 …]
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 …]
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 …]
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 if (wpa_s->current_ssid != NULL) in wpa_supplicant_gen_assoc_event()
40 wpas_notify_network_changed(wpa_s); in wpa_supplicant_gen_assoc_event()
42 wpa_supplicant_initiate_eapol(wpa_s); in wpa_supplicant_gen_assoc_event()
43 wpa_dbg(wpa_s, MSG_DEBUG, "Already associated with a configured " in wpa_supplicant_gen_assoc_event()
46 wpa_supplicant_event(wpa_s, EVENT_ASSOC, &data); in wpa_supplicant_gen_assoc_event()
51 static int wpas_wps_in_use(struct wpa_supplicant *wpa_s, in wpas_wps_in_use() argument
[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 …]
Dnotify.h20 int wpas_notify_iface_added(struct wpa_supplicant *wpa_s);
21 void wpas_notify_iface_removed(struct wpa_supplicant *wpa_s);
22 void wpas_notify_state_changed(struct wpa_supplicant *wpa_s,
25 void wpas_notify_disconnect_reason(struct wpa_supplicant *wpa_s);
26 void wpas_notify_assoc_status_code(struct wpa_supplicant *wpa_s);
27 void wpas_notify_network_changed(struct wpa_supplicant *wpa_s);
28 void wpas_notify_ap_scan_changed(struct wpa_supplicant *wpa_s);
29 void wpas_notify_bssid_changed(struct wpa_supplicant *wpa_s);
30 void wpas_notify_auth_changed(struct wpa_supplicant *wpa_s);
31 void wpas_notify_network_enabled_changed(struct wpa_supplicant *wpa_s,
[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.c37 struct wpa_supplicant *wpa_s = ctx; in wpa_supplicant_set_config_blob() local
38 wpa_config_set_blob(wpa_s->conf, blob); in wpa_supplicant_set_config_blob()
39 if (wpa_s->conf->update_config) { in wpa_supplicant_set_config_blob()
40 int ret = wpa_config_write(wpa_s->confname, wpa_s->conf); in wpa_supplicant_set_config_blob()
52 struct wpa_supplicant *wpa_s = ctx; in wpa_supplicant_get_config_blob() local
53 return wpa_config_get_blob(wpa_s->conf, name); in wpa_supplicant_get_config_blob()
60 static u8 * wpa_alloc_eapol(const struct wpa_supplicant *wpa_s, u8 type, in wpa_alloc_eapol() argument
71 hdr->version = wpa_s->conf->eapol_version; in wpa_alloc_eapol()
96 static int wpa_ether_send(struct wpa_supplicant *wpa_s, const u8 *dest, in wpa_ether_send() argument
100 if (wpa_s->ext_eapol_frame_io && proto == ETH_P_EAPOL) { in wpa_ether_send()
[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.c38 static void request_scan(struct wpa_supplicant *wpa_s) in request_scan() argument
40 wpa_s->scan_req = MANUAL_SCAN_REQ; in request_scan()
42 if (wpa_supplicant_req_sched_scan(wpa_s)) in request_scan()
43 wpa_supplicant_req_scan(wpa_s, wpa_s->scan_interval, 0); in request_scan()
47 int autoscan_init(struct wpa_supplicant *wpa_s, int req_scan) in autoscan_init() argument
49 const char *name = wpa_s->conf->autoscan; in autoscan_init()
57 if (wpa_s->sched_scan_plans) in autoscan_init()
60 if (wpa_s->autoscan && wpa_s->autoscan_priv) in autoscan_init()
88 scan_plans = os_malloc(sizeof(*wpa_s->sched_scan_plans)); in autoscan_init()
92 wpa_s->autoscan_params = NULL; in autoscan_init()
[all …]
Dwnm_sta.c29 static int ieee80211_11_get_tfs_ie(struct wpa_supplicant *wpa_s, u8 *buf, in ieee80211_11_get_tfs_ie() argument
34 return wpa_drv_wnm_oper(wpa_s, oper, wpa_s->bssid, buf, buf_len); in ieee80211_11_get_tfs_ie()
39 static int ieee80211_11_set_tfs_ie(struct wpa_supplicant *wpa_s, in ieee80211_11_set_tfs_ie() argument
47 return wpa_drv_wnm_oper(wpa_s, oper, addr, (u8 *) buf, &len); in ieee80211_11_set_tfs_ie()
52 int ieee802_11_send_wnmsleep_req(struct wpa_supplicant *wpa_s, in ieee802_11_send_wnmsleep_req() argument
68 MAC2STR(wpa_s->bssid)); in ieee802_11_send_wnmsleep_req()
98 if (ieee80211_11_get_tfs_ie(wpa_s, wnmtfs_ie, &wnmtfs_ie_len, in ieee802_11_send_wnmsleep_req()
117 os_memcpy(mgmt->da, wpa_s->bssid, ETH_ALEN); in ieee802_11_send_wnmsleep_req()
118 os_memcpy(mgmt->sa, wpa_s->own_addr, ETH_ALEN); in ieee802_11_send_wnmsleep_req()
119 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 …]
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.c41 static int wpas_enable_protect_frames(void *wpa_s, Boolean enabled) in wpas_enable_protect_frames() argument
43 return wpa_drv_enable_protect_frames(wpa_s, enabled); in wpas_enable_protect_frames()
47 static int wpas_set_replay_protect(void *wpa_s, Boolean enabled, u32 window) in wpas_set_replay_protect() argument
49 return wpa_drv_set_replay_protect(wpa_s, enabled, window); in wpas_set_replay_protect()
53 static int wpas_set_current_cipher_suite(void *wpa_s, const u8 *cs, in wpas_set_current_cipher_suite() argument
56 return wpa_drv_set_current_cipher_suite(wpa_s, cs, cs_len); in wpas_set_current_cipher_suite()
60 static int wpas_enable_controlled_port(void *wpa_s, Boolean enabled) in wpas_enable_controlled_port() argument
62 return wpa_drv_enable_controlled_port(wpa_s, enabled); in wpas_enable_controlled_port()
66 static int wpas_get_receive_lowest_pn(void *wpa_s, u32 channel, in wpas_get_receive_lowest_pn() argument
69 return wpa_drv_get_receive_lowest_pn(wpa_s, channel, an, lowest_pn); in wpas_get_receive_lowest_pn()
[all …]
Dctrl_iface.c60 static int * freq_range_to_channel_list(struct wpa_supplicant *wpa_s,
63 static int set_bssid_filter(struct wpa_supplicant *wpa_s, char *val) in set_bssid_filter() argument
92 os_free(wpa_s->bssid_filter); in set_bssid_filter()
93 wpa_s->bssid_filter = filter; in set_bssid_filter()
94 wpa_s->bssid_filter_count = count; in set_bssid_filter()
100 static int set_disallow_aps(struct wpa_supplicant *wpa_s, char *val) in set_disallow_aps() argument
189 os_free(wpa_s->disallow_aps_bssid); in set_disallow_aps()
190 wpa_s->disallow_aps_bssid = bssid; in set_disallow_aps()
191 wpa_s->disallow_aps_bssid_count = count; in set_disallow_aps()
194 os_free(wpa_s->disallow_aps_ssid); in set_disallow_aps()
[all …]
Dmesh_mpm.c70 static int mesh_mpm_parse_peer_mgmt(struct wpa_supplicant *wpa_s, in mesh_mpm_parse_peer_mgmt() argument
86 wpa_msg(wpa_s, MSG_DEBUG, "MPM: Invalid peer mgmt ie"); in mesh_mpm_parse_peer_mgmt()
122 static u16 copy_supp_rates(struct wpa_supplicant *wpa_s, in copy_supp_rates() argument
127 wpa_msg(wpa_s, MSG_ERROR, "no supported rates from " MACSTR, in copy_supp_rates()
134 wpa_msg(wpa_s, MSG_ERROR, in copy_supp_rates()
151 static Boolean matches_local(struct wpa_supplicant *wpa_s, in matches_local() argument
154 struct mesh_conf *mconf = wpa_s->ifmsh->mconf; in matches_local()
171 static Boolean llid_in_use(struct wpa_supplicant *wpa_s, u16 llid) in llid_in_use() argument
174 struct hostapd_data *hapd = wpa_s->ifmsh->bss[0]; in llid_in_use()
186 static void mesh_mpm_init_link(struct wpa_supplicant *wpa_s, in mesh_mpm_init_link() argument
[all …]
Dap.h13 int wpa_supplicant_create_ap(struct wpa_supplicant *wpa_s,
15 void wpa_supplicant_ap_deinit(struct wpa_supplicant *wpa_s);
16 void wpa_supplicant_ap_rx_eapol(struct wpa_supplicant *wpa_s,
18 int wpa_supplicant_ap_wps_pbc(struct wpa_supplicant *wpa_s, const u8 *bssid,
20 int wpa_supplicant_ap_wps_pin(struct wpa_supplicant *wpa_s, const u8 *bssid,
23 int wpa_supplicant_ap_wps_cancel(struct wpa_supplicant *wpa_s);
24 void wpas_wps_ap_pin_disable(struct wpa_supplicant *wpa_s);
25 const char * wpas_wps_ap_pin_random(struct wpa_supplicant *wpa_s, int timeout);
26 const char * wpas_wps_ap_pin_get(struct wpa_supplicant *wpa_s);
27 int wpas_wps_ap_pin_set(struct wpa_supplicant *wpa_s, const char *pin,
[all …]
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new.h134 int wpas_dbus_register_interface(struct wpa_supplicant *wpa_s);
135 int wpas_dbus_unregister_interface(struct wpa_supplicant *wpa_s);
136 void wpas_dbus_signal_prop_changed(struct wpa_supplicant *wpa_s,
138 void wpas_dbus_bss_signal_prop_changed(struct wpa_supplicant *wpa_s,
141 void wpas_dbus_signal_network_enabled_changed(struct wpa_supplicant *wpa_s,
143 void wpas_dbus_signal_network_selected(struct wpa_supplicant *wpa_s, int id);
144 void wpas_dbus_signal_network_request(struct wpa_supplicant *wpa_s,
148 void wpas_dbus_signal_scan_done(struct wpa_supplicant *wpa_s, int success);
149 void wpas_dbus_signal_wps_cred(struct wpa_supplicant *wpa_s,
151 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 …]

1234