/external/wpa_supplicant_6/wpa_supplicant/ |
events.c | 37 static int wpa_supplicant_select_config(struct wpa_supplicant *wpa_s) 41 if (wpa_s->conf->ap_scan == 1 && wpa_s->current_ssid) 46 ssid = wpa_supplicant_get_ssid(wpa_s); 67 wpa_supplicant_set_suites(wpa_s, NULL, ssid, 70 wpa_supplicant_set_non_wpa_policy(wpa_s, ssid); 73 if (wpa_s->current_ssid && wpa_s->current_ssid != ssid) 74 eapol_sm_invalidate_cached_session(wpa_s->eapol); 75 wpa_s->current_ssid = ssid 86 struct wpa_supplicant *wpa_s = eloop_ctx; local 975 struct wpa_supplicant *wpa_s = eloop_ctx; local 1140 struct wpa_supplicant *wpa_s = ctx; local [all...] |
ctrl_iface_dbus_handlers.h | 35 struct wpa_supplicant *wpa_s); 38 struct wpa_supplicant *wpa_s); 41 struct wpa_supplicant *wpa_s, 45 struct wpa_supplicant *wpa_s); 48 struct wpa_supplicant *wpa_s); 51 struct wpa_supplicant *wpa_s); 54 struct wpa_supplicant *wpa_s, 58 struct wpa_supplicant *wpa_s, 62 struct wpa_supplicant *wpa_s, 66 struct wpa_supplicant *wpa_s); [all...] |
wpas_glue.c | 38 struct wpa_supplicant *wpa_s = ctx; local 39 wpa_config_set_blob(wpa_s->conf, blob); 40 if (wpa_s->conf->update_config) { 41 int ret = wpa_config_write(wpa_s->confname, wpa_s->conf); 53 struct wpa_supplicant *wpa_s = ctx; local 54 return wpa_config_get_blob(wpa_s->conf, name); 61 static u8 * wpa_alloc_eapol(const struct wpa_supplicant *wpa_s, u8 type, 72 hdr->version = wpa_s->conf->eapol_version; 90 * @wpa_s: Pointer to wpa_supplicant dat 125 struct wpa_supplicant *wpa_s = ctx; local 199 struct wpa_supplicant *wpa_s = ctx; local 217 struct wpa_supplicant *wpa_s = ctx; local 225 struct wpa_supplicant *wpa_s = ctx; local 284 struct wpa_supplicant *wpa_s = ctx; local 342 struct wpa_supplicant *wpa_s = ctx; local 425 struct wpa_supplicant *wpa_s = ctx; local 439 struct wpa_supplicant *wpa_s = _wpa_s; local 476 struct wpa_supplicant *wpa_s = ctx; local 487 struct wpa_supplicant *wpa_s = ctx; local 502 struct wpa_supplicant *wpa_s = ctx; local [all...] |
ctrl_iface_dbus.h | 85 void wpa_supplicant_dbus_notify_scan_results(struct wpa_supplicant *wpa_s); 86 void wpa_supplicant_dbus_notify_scanning(struct wpa_supplicant *wpa_s); 87 void wpa_supplicant_dbus_notify_state_change(struct wpa_supplicant *wpa_s, 90 void wpa_supplicant_dbus_notify_wps_cred(struct wpa_supplicant *wpa_s, 96 int wpas_dbus_register_iface(struct wpa_supplicant *wpa_s); 97 int wpas_dbus_unregister_iface(struct wpa_supplicant *wpa_s); 103 int wpa_supplicant_set_dbus_path(struct wpa_supplicant *wpa_s, 105 const char *wpa_supplicant_get_dbus_path(struct wpa_supplicant *wpa_s); 126 wpa_supplicant_dbus_notify_scan_results(struct wpa_supplicant *wpa_s) 131 wpa_supplicant_dbus_notify_scanning(struct wpa_supplicant *wpa_s) [all...] |
mlme.c | 88 static void ieee80211_send_probe_req(struct wpa_supplicant *wpa_s, 92 ieee80211_bss_get(struct wpa_supplicant *wpa_s, const u8 *bssid); 93 static int ieee80211_sta_find_ibss(struct wpa_supplicant *wpa_s); 94 static int ieee80211_sta_wep_configured(struct wpa_supplicant *wpa_s); 99 static int ieee80211_sta_set_channel(struct wpa_supplicant *wpa_s, 106 for (i = 0; i < wpa_s->mlme.num_modes; i++) { 107 mode = &wpa_s->mlme.modes[i]; 109 wpa_s->mlme.curr_rates = mode->rates; 110 wpa_s->mlme.num_curr_rates = mode->num_rates; 115 return wpa_drv_set_channel(wpa_s, phymode, chan, freq) 1964 struct wpa_supplicant *wpa_s = eloop_ctx; local 2526 struct wpa_supplicant *wpa_s = eloop_ctx; local [all...] |
blacklist.c | 23 * @wpa_s: Pointer to wpa_supplicant data 27 struct wpa_blacklist * wpa_blacklist_get(struct wpa_supplicant *wpa_s, 32 e = wpa_s->blacklist; 45 * @wpa_s: Pointer to wpa_supplicant data 59 int wpa_blacklist_add(struct wpa_supplicant *wpa_s, const u8 *bssid) 63 e = wpa_blacklist_get(wpa_s, bssid); 77 e->next = wpa_s->blacklist; 78 wpa_s->blacklist = e; 88 * @wpa_s: Pointer to wpa_supplicant data 92 int wpa_blacklist_del(struct wpa_supplicant *wpa_s, const u8 *bssid [all...] |
wps_supplicant.c | 36 static void wpas_clear_wps(struct wpa_supplicant *wpa_s); 39 int wpas_wps_eapol_cb(struct wpa_supplicant *wpa_s) 41 if (!wpa_s->wps_success && 42 wpa_s->current_ssid && 43 eap_is_wps_pin_enrollee(&wpa_s->current_ssid->eap)) { 44 const u8 *bssid = wpa_s->bssid; 46 bssid = wpa_s->pending_bssid; 51 wpa_blacklist_add(wpa_s, bssid); 53 wpa_supplicant_deauthenticate(wpa_s, 55 wpa_s->reassociate = 1 187 struct wpa_supplicant *wpa_s = ctx; local 409 struct wpa_supplicant *wpa_s = ctx; local 465 struct wpa_supplicant *wpa_s = eloop_ctx; local [all...] |
ctrl_iface.c | 40 static int wpa_supplicant_ctrl_iface_set(struct wpa_supplicant *wpa_s, 53 eapol_sm_configure(wpa_s->eapol, 56 eapol_sm_configure(wpa_s->eapol, 59 eapol_sm_configure(wpa_s->eapol, 62 eapol_sm_configure(wpa_s->eapol, 65 if (wpa_sm_set_param(wpa_s->wpa, RSNA_PMK_LIFETIME, 70 if (wpa_sm_set_param(wpa_s->wpa, RSNA_PMK_REAUTH_THRESHOLD, 74 if (wpa_sm_set_param(wpa_s->wpa, RSNA_SA_TIMEOUT, atoi(value))) 84 static int wpa_supplicant_ctrl_iface_preauth(struct wpa_supplicant *wpa_s, 88 struct wpa_ssid *ssid = wpa_s->current_ssid 1926 struct wpa_supplicant *wpa_s; local 1999 struct wpa_supplicant *wpa_s; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
scan.h | 13 void wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec); 14 int wpa_supplicant_delayed_sched_scan(struct wpa_supplicant *wpa_s, 16 int wpa_supplicant_req_sched_scan(struct wpa_supplicant *wpa_s); 17 void wpa_supplicant_cancel_scan(struct wpa_supplicant *wpa_s); 18 void wpa_supplicant_cancel_sched_scan(struct wpa_supplicant *wpa_s); 19 void wpa_supplicant_notify_scanning(struct wpa_supplicant *wpa_s, 22 int wpa_supplicant_trigger_scan(struct wpa_supplicant *wpa_s, 25 wpa_supplicant_get_scan_results(struct wpa_supplicant *wpa_s, 27 int wpa_supplicant_update_scan_results(struct wpa_supplicant *wpa_s);
|
p2p_supplicant.h | 17 int wpas_p2p_init(struct wpa_global *global, struct wpa_supplicant *wpa_s); 18 void wpas_p2p_deinit(struct wpa_supplicant *wpa_s); 20 int wpas_p2p_connect(struct wpa_supplicant *wpa_s, const u8 *peer_addr, 24 void wpas_p2p_remain_on_channel_cb(struct wpa_supplicant *wpa_s, 26 void wpas_p2p_cancel_remain_on_channel_cb(struct wpa_supplicant *wpa_s, 29 int wpas_p2p_handle_frequency_conflicts(struct wpa_supplicant *wpa_s, 32 int wpas_p2p_group_remove(struct wpa_supplicant *wpa_s, const char *ifname); 33 int wpas_p2p_group_add(struct wpa_supplicant *wpa_s, int persistent_group, 35 int wpas_p2p_group_add_persistent(struct wpa_supplicant *wpa_s, 38 struct p2p_group * wpas_p2p_group_init(struct wpa_supplicant *wpa_s, [all...] |
wpas_glue.c | 36 struct wpa_supplicant *wpa_s = ctx; local 37 wpa_config_set_blob(wpa_s->conf, blob); 38 if (wpa_s->conf->update_config) { 39 int ret = wpa_config_write(wpa_s->confname, wpa_s->conf); 51 struct wpa_supplicant *wpa_s = ctx; local 52 return wpa_config_get_blob(wpa_s->conf, name); 59 static u8 * wpa_alloc_eapol(const struct wpa_supplicant *wpa_s, u8 type, 70 hdr->version = wpa_s->conf->eapol_version; 88 * @wpa_s: Pointer to wpa_supplicant dat 123 struct wpa_supplicant *wpa_s = ctx; local 197 struct wpa_supplicant *wpa_s = ctx; local 214 struct wpa_supplicant *wpa_s = ctx; local 222 struct wpa_supplicant *wpa_s = ctx; local 299 struct wpa_supplicant *wpa_s = ctx; local 351 struct wpa_supplicant *wpa_s = ctx; local 433 struct wpa_supplicant *wpa_s = ctx; local 443 struct wpa_supplicant *wpa_s = _wpa_s; local 480 struct wpa_supplicant *wpa_s = ctx; local 491 struct wpa_supplicant *wpa_s = ctx; local 498 struct wpa_supplicant *wpa_s = ctx; local 525 struct wpa_supplicant *wpa_s = ctx; local 548 struct wpa_supplicant *wpa_s = ctx; local 556 struct wpa_supplicant *wpa_s = ctx; local 565 struct wpa_supplicant *wpa_s = ctx; local 653 struct wpa_supplicant *wpa_s = ctx; local 700 struct wpa_supplicant *wpa_s = ctx; local 719 struct wpa_supplicant *wpa_s = ctx; local 772 struct wpa_supplicant *wpa_s = ctx; local [all...] |
ap.h | 13 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, 22 int wpa_supplicant_ap_wps_cancel(struct wpa_supplicant *wpa_s); 23 void wpas_wps_ap_pin_disable(struct wpa_supplicant *wpa_s); 24 const char * wpas_wps_ap_pin_random(struct wpa_supplicant *wpa_s, int timeout); 25 const char * wpas_wps_ap_pin_get(struct wpa_supplicant *wpa_s); 26 int wpas_wps_ap_pin_set(struct wpa_supplicant *wpa_s, const char *pin [all...] |
wpas_glue.h | 14 int wpa_supplicant_init_eapol(struct wpa_supplicant *wpa_s); 15 int wpa_supplicant_init_wpa(struct wpa_supplicant *wpa_s); 16 void wpa_supplicant_rsn_supp_set_config(struct wpa_supplicant *wpa_s,
|
ap.c | 44 static int wpa_supplicant_conf_ap(struct wpa_supplicant *wpa_s, 51 conf->driver = wpa_s->driver; 53 os_strlcpy(bss->iface, wpa_s->ifname, sizeof(bss->iface)); 82 if (wpa_s->hw.modes) { 85 for (i = 0; i < wpa_s->hw.num_modes; i++) { 86 if (wpa_s->hw.modes[i].mode == conf->hw_mode) { 87 mode = &wpa_s->hw.modes[i]; 136 bss->isolate = !wpa_s->conf->p2p_intra_bss; 243 if (wpa_s->conf->config_methods) 244 bss->config_methods = os_strdup(wpa_s->conf->config_methods) 282 struct wpa_supplicant *wpa_s = ctx; local 302 struct wpa_supplicant *wpa_s = ctx; local 334 struct wpa_supplicant *wpa_s = ctx; local 355 struct wpa_supplicant *wpa_s = ctx; local 367 struct wpa_supplicant *wpa_s = ctx; local 375 struct wpa_supplicant *wpa_s = ctx; local 577 struct wpa_supplicant *wpa_s = ctx; local 587 struct wpa_supplicant *wpa_s = ctx; local 596 struct wpa_supplicant *wpa_s = ctx; local 606 struct wpa_supplicant *wpa_s = ctx; local 615 struct wpa_supplicant *wpa_s = ctx; local 629 struct wpa_supplicant *wpa_s = ctx; local 724 struct wpa_supplicant *wpa_s = eloop_data; local [all...] |
offchannel.h | 13 int offchannel_send_action(struct wpa_supplicant *wpa_s, unsigned int freq, 16 void (*tx_cb)(struct wpa_supplicant *wpa_s, 23 void offchannel_send_action_done(struct wpa_supplicant *wpa_s); 24 void offchannel_remain_on_channel_cb(struct wpa_supplicant *wpa_s, 26 void offchannel_cancel_remain_on_channel_cb(struct wpa_supplicant *wpa_s, 28 void offchannel_deinit(struct wpa_supplicant *wpa_s); 30 struct wpa_supplicant *wpa_s, const u8 *dst, const u8 *data,
|
wps_supplicant.c | 41 static void wpas_clear_wps(struct wpa_supplicant *wpa_s); 44 int wpas_wps_eapol_cb(struct wpa_supplicant *wpa_s) 46 if (!wpa_s->wps_success && 47 wpa_s->current_ssid && 48 eap_is_wps_pin_enrollee(&wpa_s->current_ssid->eap)) { 49 const u8 *bssid = wpa_s->bssid; 51 bssid = wpa_s->pending_bssid; 56 wpa_blacklist_add(wpa_s, bssid); 58 wpa_supplicant_deauthenticate(wpa_s, 60 wpa_s->reassociate = 1 190 struct wpa_supplicant *wpa_s = ctx; local 414 struct wpa_supplicant *wpa_s = eloop_ctx; local 620 struct wpa_supplicant *wpa_s = ctx; local 717 struct wpa_supplicant *wpa_s = eloop_ctx; local 1070 struct wpa_supplicant *wpa_s = ctx; local [all...] |
blacklist.c | 17 * @wpa_s: Pointer to wpa_supplicant data 21 struct wpa_blacklist * wpa_blacklist_get(struct wpa_supplicant *wpa_s, 26 e = wpa_s->blacklist; 39 * @wpa_s: Pointer to wpa_supplicant data 53 int wpa_blacklist_add(struct wpa_supplicant *wpa_s, const u8 *bssid) 57 e = wpa_blacklist_get(wpa_s, bssid); 71 e->next = wpa_s->blacklist; 72 wpa_s->blacklist = e; 82 * @wpa_s: Pointer to wpa_supplicant data 86 int wpa_blacklist_del(struct wpa_supplicant *wpa_s, const u8 *bssid [all...] |
bss.c | 38 static void wpa_bss_remove(struct wpa_supplicant *wpa_s, struct wpa_bss *bss) 42 wpa_s->num_bss--; 43 wpa_dbg(wpa_s, MSG_DEBUG, "BSS: Remove id %u BSSID " MACSTR 46 wpas_notify_bss_removed(wpa_s, bss->bssid, bss->id); 60 struct wpa_bss * wpa_bss_get(struct wpa_supplicant *wpa_s, const u8 *bssid, 64 dl_list_for_each(bss, &wpa_s->bss, struct wpa_bss, list) { 99 static int wpa_bss_known(struct wpa_supplicant *wpa_s, struct wpa_bss *bss) 103 for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next) { 115 static int wpa_bss_remove_oldest_unknown(struct wpa_supplicant *wpa_s) 119 dl_list_for_each(bss, &wpa_s->bss, struct wpa_bss, list) 485 struct wpa_supplicant *wpa_s = eloop_ctx; local [all...] |
ctrl_iface.c | 47 static int pno_start(struct wpa_supplicant *wpa_s) 54 if (wpa_s->pno) 60 ssid = wpa_s->conf->ssid; 82 ssid = wpa_s->conf->ssid; 99 ret = wpa_drv_sched_scan(wpa_s, ¶ms, 10 * 1000); 102 wpa_s->pno = 1; 107 static int pno_stop(struct wpa_supplicant *wpa_s) 109 if (wpa_s->pno) { 110 wpa_s->pno = 0; 111 return wpa_drv_stop_sched_scan(wpa_s); 4070 struct wpa_supplicant *wpa_s; local 4143 struct wpa_supplicant *wpa_s; local [all...] |
interworking.c | 39 static void interworking_next_anqp_fetch(struct wpa_supplicant *wpa_s); 74 struct wpa_supplicant *wpa_s = ctx; local 76 anqp_resp_cb(wpa_s, dst, dialog_token, result, adv_proto, resp, 78 interworking_next_anqp_fetch(wpa_s); 82 static int interworking_anqp_send_req(struct wpa_supplicant *wpa_s, 109 res = gas_query_req(wpa_s->gas, bss->bssid, bss->freq, buf, 110 interworking_anqp_resp_cb, wpa_s); 419 static struct nai_realm_eap * nai_realm_find_eap(struct wpa_supplicant *wpa_s, 424 if (wpa_s->conf->home_username == NULL || 425 wpa_s->conf->home_username[0] == '\0' | 1070 struct wpa_supplicant *wpa_s = ctx; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_old.h | 78 void wpa_supplicant_dbus_notify_scan_results(struct wpa_supplicant *wpa_s); 79 void wpa_supplicant_dbus_notify_scanning(struct wpa_supplicant *wpa_s); 80 void wpa_supplicant_dbus_notify_state_change(struct wpa_supplicant *wpa_s, 83 void wpa_supplicant_dbus_notify_wps_cred(struct wpa_supplicant *wpa_s, 85 void wpa_supplicant_dbus_notify_certification(struct wpa_supplicant *wpa_s, 93 int wpas_dbus_register_iface(struct wpa_supplicant *wpa_s); 94 int wpas_dbus_unregister_iface(struct wpa_supplicant *wpa_s); 104 wpa_supplicant_dbus_notify_scan_results(struct wpa_supplicant *wpa_s) 109 wpa_supplicant_dbus_notify_scanning(struct wpa_supplicant *wpa_s) 116 wpa_supplicant_dbus_notify_wps_cred(struct wpa_supplicant *wpa_s, [all...] |
dbus_old_handlers.h | 36 struct wpa_supplicant *wpa_s); 39 struct wpa_supplicant *wpa_s); 42 struct wpa_supplicant *wpa_s, 46 struct wpa_supplicant *wpa_s); 49 struct wpa_supplicant *wpa_s); 52 struct wpa_supplicant *wpa_s); 55 struct wpa_supplicant *wpa_s, 59 struct wpa_supplicant *wpa_s, 63 struct wpa_supplicant *wpa_s, 67 struct wpa_supplicant *wpa_s); [all...] |
dbus_old.c | 138 * @wpa_s: a network interface's data 145 struct wpa_supplicant *wpa_s, 152 ssid = wpa_config_get_network(wpa_s->conf, network_id); 157 reply = wpas_dbus_iface_set_network(message, wpa_s, ssid); 159 reply = wpas_dbus_iface_enable_network(message, wpa_s, ssid); 161 reply = wpas_dbus_iface_disable_network(message, wpa_s, ssid); 170 * @wpa_s: a network interface's data 177 struct wpa_supplicant *wpa_s, 186 bss = wpa_bss_get_bssid(wpa_s, bssid); 192 return wpas_dbus_bssid_properties(message, wpa_s, bss) 212 struct wpa_supplicant *wpa_s = user_data; local 742 struct wpa_supplicant *wpa_s; local [all...] |
dbus_new_handlers_p2p.h | 19 struct wpa_supplicant *wpa_s; member in struct:peer_handler_args 24 struct wpa_supplicant *wpa_s; member in struct:groupmember_handler_args 33 DBusMessage *message, struct wpa_supplicant *wpa_s); 36 DBusMessage *message, struct wpa_supplicant *wpa_s); 39 DBusMessage *message, struct wpa_supplicant *wpa_s); 42 DBusMessage *message, struct wpa_supplicant *wpa_s); 45 DBusMessage *message, struct wpa_supplicant *wpa_s); 48 DBusMessage *message, struct wpa_supplicant *wpa_s); 51 DBusMessage *message, struct wpa_supplicant *wpa_s); 54 DBusMessage *message, struct wpa_supplicant *wpa_s); [all...] |
dbus_new.c | 37 * @wpa_s: %wpa_supplicant network interface data 43 static void wpas_dbus_signal_interface(struct wpa_supplicant *wpa_s, 50 iface = wpa_s->global->dbus; 63 &wpa_s->dbus_new_path)) 68 iface, wpa_s->dbus_new_path, 85 * @wpa_s: %wpa_supplicant network interface data 89 static void wpas_dbus_signal_interface_added(struct wpa_supplicant *wpa_s) 91 wpas_dbus_signal_interface(wpa_s, "InterfaceAdded", TRUE); 97 * @wpa_s: %wpa_supplicant network interface data 101 static void wpas_dbus_signal_interface_removed(struct wpa_supplicant *wpa_s) [all...] |