/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_new_handlers.h | 14 struct wpa_supplicant *wpa_s; member in struct:network_handler_args 19 struct wpa_supplicant *wpa_s; member in struct:bss_handler_args 88 struct wpa_supplicant *wpa_s); 91 struct wpa_supplicant *wpa_s); 93 dbus_bool_t set_network_properties(struct wpa_supplicant *wpa_s, 99 struct wpa_supplicant *wpa_s); 102 struct wpa_supplicant *wpa_s); 105 struct wpa_supplicant *wpa_s); 108 DBusMessage *message, struct wpa_supplicant *wpa_s); 111 struct wpa_supplicant *wpa_s); [all...] |
dbus_new_handlers_p2p.h | 13 struct wpa_supplicant *wpa_s; member in struct:peer_handler_args 18 struct wpa_supplicant *wpa_s; member in struct:groupmember_handler_args 27 DBusMessage *message, struct wpa_supplicant *wpa_s); 30 DBusMessage *message, struct wpa_supplicant *wpa_s); 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); [all...] |
dbus_new_handlers_wps.c | 215 * @wpa_s: %wpa_supplicant data structure 224 struct wpa_supplicant *wpa_s) 268 ret = wpas_wps_start_reg(wpa_s, params.bssid, params.pin, 272 if (wpa_s->ap_iface) 273 ret = wpa_supplicant_ap_wps_pin(wpa_s, 280 ret = wpas_wps_start_pin(wpa_s, params.bssid, 288 if (wpa_s->ap_iface) 289 ret = wpa_supplicant_ap_wps_pbc(wpa_s, 294 ret = wpas_wps_start_pbc(wpa_s, params.bssid, 0); 342 * @wpa_s: %wpa_supplicant data structur 353 struct wpa_supplicant *wpa_s = user_data; local 374 struct wpa_supplicant *wpa_s = user_data; local [all...] |
dbus_old.c | 132 * @wpa_s: a network interface's data 139 struct wpa_supplicant *wpa_s, 146 ssid = wpa_config_get_network(wpa_s->conf, network_id); 151 reply = wpas_dbus_iface_set_network(message, wpa_s, ssid); 153 reply = wpas_dbus_iface_enable_network(message, wpa_s, ssid); 155 reply = wpas_dbus_iface_disable_network(message, wpa_s, ssid); 164 * @wpa_s: a network interface's data 171 struct wpa_supplicant *wpa_s, 180 bss = wpa_bss_get_bssid(wpa_s, bssid); 186 return wpas_dbus_bssid_properties(message, wpa_s, bss) 206 struct wpa_supplicant *wpa_s = user_data; local 738 struct wpa_supplicant *wpa_s; local [all...] |
dbus_old_handlers.c | 159 struct wpa_supplicant *wpa_s; local 168 if ((wpa_s = wpa_supplicant_add_iface(global, &iface))) { 169 const char *path = wpa_s->dbus_path; 209 struct wpa_supplicant *wpa_s; local 220 wpa_s = wpa_supplicant_get_iface_by_dbus_path(global, path); 221 if (wpa_s == NULL) { 226 if (!wpa_supplicant_remove_iface(global, wpa_s, 0)) { 256 struct wpa_supplicant *wpa_s; local 265 wpa_s = wpa_supplicant_get_iface(global, ifname); 266 if (wpa_s == NULL) [all...] |
dbus_new.c | 63 struct wpa_supplicant *wpa_s; local 77 for (wpa_s = priv->global->ifaces; wpa_s; wpa_s = wpa_s->next) 79 if (wpa_s->preq_notify_peer != NULL && 80 os_strcmp(name, wpa_s->preq_notify_peer) == 0 && 83 os_free(wpa_s->preq_notify_peer); 84 wpa_s->preq_notify_peer = NULL; 124 * @wpa_s: %wpa_supplicant network interface dat [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
nfc_pw_token.c | 39 struct wpa_supplicant wpa_s; local 48 os_memset(&wpa_s, 0, sizeof(wpa_s)); 49 wpa_s.conf = os_zalloc(sizeof(*wpa_s.conf)); 50 if (wpa_s.conf == NULL) 53 buf = wpas_wps_nfc_token(&wpa_s, 0); 69 printf("wps_nfc_dev_pw_id=%d\n", wpa_s.conf->wps_nfc_dev_pw_id); 70 print_bin("wps_nfc_dh_pubkey", wpa_s.conf->wps_nfc_dh_pubkey); 71 print_bin("wps_nfc_dh_privkey", wpa_s.conf->wps_nfc_dh_privkey) [all...] |
autoscan_exponential.c | 16 struct wpa_supplicant *wpa_s; member in struct:autoscan_exponential_data 45 static void * autoscan_exponential_init(struct wpa_supplicant *wpa_s, 62 data->wpa_s = wpa_s;
|
ibss_rsn.h | 29 struct wpa_supplicant *wpa_s; member in struct:ibss_rsn 36 struct ibss_rsn * ibss_rsn_init(struct wpa_supplicant *wpa_s);
|
offchannel.c | 21 wpas_get_tx_interface(struct wpa_supplicant *wpa_s, const u8 *src) 25 if (os_memcmp(src, wpa_s->own_addr, ETH_ALEN) == 0) 26 return wpa_s; 31 iface = wpa_s->global->ifaces; 33 if (os_memcmp(wpa_s->pending_action_src, 41 iface->ifname, wpa_s->ifname); 45 return wpa_s; 51 struct wpa_supplicant *wpa_s = eloop_ctx; local 56 without_roc = wpa_s->pending_action_without_roc; 57 wpa_s->pending_action_without_roc = 0 [all...] |
bgscan_simple.c | 21 struct wpa_supplicant *wpa_s; member in struct:bgscan_simple_data 36 struct wpa_supplicant *wpa_s = data->wpa_s; local 52 if (wpa_supplicant_trigger_scan(wpa_s, ¶ms)) { 111 static void * bgscan_simple_init(struct wpa_supplicant *wpa_s, 120 data->wpa_s = wpa_s; 137 wpa_drv_signal_monitor(wpa_s, data->signal_threshold, 4) < 0) { 147 if (wpa_drv_signal_poll(wpa_s, &siginfo) == 0 && 173 wpa_drv_signal_monitor(data->wpa_s, 0, 0) [all...] |
preauth_test.c | 41 static void _wpa_supplicant_deauthenticate(void *wpa_s, int reason_code) 43 wpa_supplicant_deauthenticate(wpa_s, reason_code); 47 static u8 * wpa_alloc_eapol(const struct wpa_supplicant *wpa_s, u8 type, 58 hdr->version = wpa_s->conf->eapol_version; 74 static u8 * _wpa_alloc_eapol(void *wpa_s, u8 type, 78 return wpa_alloc_eapol(wpa_s, type, data, data_len, msg_len, data_pos); 84 struct wpa_supplicant *wpa_s = ctx; local 85 wpa_s->wpa_state = state; 91 struct wpa_supplicant *wpa_s = ctx; local 92 return wpa_s->wpa_state 168 struct wpa_supplicant *wpa_s = ctx; local 176 struct wpa_supplicant *wpa_s = ctx; local 206 struct wpa_supplicant *wpa_s = eloop_ctx; local 269 struct wpa_supplicant *wpa_s = signal_ctx; local 277 struct wpa_supplicant wpa_s; local [all...] |
bgscan_learn.c | 31 struct wpa_supplicant *wpa_s; member in struct:bgscan_learn_data 274 struct wpa_supplicant *wpa_s = data->wpa_s; local 309 if (wpa_supplicant_trigger_scan(wpa_s, ¶ms)) { 352 static int * bgscan_learn_get_supp_freqs(struct wpa_supplicant *wpa_s) 358 modes = wpa_s->hw.modes; 362 for (i = 0; i < wpa_s->hw.num_modes; i++) { 381 static void * bgscan_learn_init(struct wpa_supplicant *wpa_s, 391 data->wpa_s = wpa_s; [all...] |
ctrl_iface_udp.c | 41 struct wpa_supplicant *wpa_s; member in struct:ctrl_iface_priv 149 struct wpa_supplicant *wpa_s = eloop_ctx; local 236 reply = wpa_supplicant_ctrl_iface_process(wpa_s, pos, 254 eapol_sm_notify_ctrl_attached(wpa_s->eapol); 261 struct wpa_supplicant *wpa_s = ctx; local 262 if (wpa_s == NULL || wpa_s->ctrl_iface == NULL) 264 wpa_supplicant_ctrl_iface_send(wpa_s->ctrl_iface, level, txt, len); 269 wpa_supplicant_ctrl_iface_init(struct wpa_supplicant *wpa_s) 278 priv->wpa_s = wpa_s [all...] |
ctrl_iface_unix.c | 47 struct wpa_supplicant *wpa_s; member in struct:ctrl_iface_priv 132 struct wpa_supplicant *wpa_s = eloop_ctx; local 180 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { 181 if (os_strcmp(wpa_s->ifname, ifname + 10) == 0) 184 if (wpa_s == NULL) { 186 wpa_s = eloop_ctx 270 struct wpa_supplicant *wpa_s = ctx; local [all...] |
gas_query.c | 51 struct wpa_supplicant *wpa_s; member in struct:gas_query 62 * @wpa_s: Pointer to wpa_supplicant data 65 struct gas_query * gas_query_init(struct wpa_supplicant *wpa_s) 73 gas->wpa_s = wpa_s; 85 offchannel_send_action_done(gas->wpa_s); 148 res = offchannel_send_action(gas->wpa_s, query->freq, query->addr, 149 gas->wpa_s->own_addr, query->addr,
|
ibss_rsn.c | 59 struct wpa_supplicant *wpa_s = peer->ibss_rsn->wpa_s; local 65 if (wpa_s->l2) 66 return l2_packet_send(wpa_s->l2, dest, proto, buf, len); 68 return wpa_drv_send_eapol(wpa_s, dest, proto, buf, len); 134 if (os_memcmp(peer->ibss_rsn->wpa_s->own_addr, peer->addr, 143 return wpa_drv_set_key(peer->ibss_rsn->wpa_s, alg, addr, key_idx, 151 return wpa_supplicant_get_ssid(peer->ibss_rsn->wpa_s); 185 ctx->msg_ctx = peer->ibss_rsn->wpa_s; 250 struct wpa_supplicant *wpa_s = ibss_rsn->wpa_s local [all...] |
notify.c | 49 int wpas_notify_iface_added(struct wpa_supplicant *wpa_s) 51 if (wpas_dbus_register_iface(wpa_s)) 54 if (wpas_dbus_register_interface(wpa_s)) 61 void wpas_notify_iface_removed(struct wpa_supplicant *wpa_s) 64 wpas_dbus_unregister_iface(wpa_s); 67 wpas_dbus_unregister_interface(wpa_s); 71 void wpas_notify_state_changed(struct wpa_supplicant *wpa_s, 76 wpa_supplicant_dbus_notify_state_change(wpa_s, new_state, 80 wpas_dbus_signal_prop_changed(wpa_s, WPAS_DBUS_PROP_STATE); 84 wpas_p2p_notif_connected(wpa_s); 382 struct wpa_supplicant *wpa_s; local 395 struct wpa_supplicant *wpa_s; local [all...] |
ap.c | 44 static int wpa_supplicant_conf_ap(struct wpa_supplicant *wpa_s, 50 conf->driver = wpa_s->driver; 52 os_strlcpy(bss->iface, wpa_s->ifname, sizeof(bss->iface)); 85 if (wpa_s->hw.modes) { 88 for (i = 0; i < wpa_s->hw.num_modes; i++) { 89 if (wpa_s->hw.modes[i].mode == conf->hw_mode) { 90 mode = &wpa_s->hw.modes[i]; 111 wpas_p2p_get_ht40_mode(wpa_s, mode, 160 bss->isolate = !wpa_s->conf->p2p_intra_bss; 212 else if (wpa_s->conf->dtim_period 320 struct wpa_supplicant *wpa_s = ctx; local 340 struct wpa_supplicant *wpa_s = ctx; local 372 struct wpa_supplicant *wpa_s = ctx; local 394 struct wpa_supplicant *wpa_s = ctx; local 407 struct wpa_supplicant *wpa_s = ctx; local 415 struct wpa_supplicant *wpa_s = ctx; local 619 struct wpa_supplicant *wpa_s = ctx; local 629 struct wpa_supplicant *wpa_s = ctx; local 638 struct wpa_supplicant *wpa_s = ctx; local 648 struct wpa_supplicant *wpa_s = ctx; local 657 struct wpa_supplicant *wpa_s = ctx; local 671 struct wpa_supplicant *wpa_s = ctx; local 752 struct wpa_supplicant *wpa_s = eloop_data; local [all...] |
ctrl_iface_named_pipe.c | 76 struct wpa_supplicant *wpa_s; member in struct:ctrl_iface_priv 160 priv->wpa_s->ifname); 163 priv->wpa_s->ifname); 281 struct wpa_supplicant *wpa_s = dst->priv->wpa_s; local 306 reply = wpa_supplicant_ctrl_iface_process(wpa_s, buf, 342 eapol_sm_notify_ctrl_attached(wpa_s->eapol); 429 struct wpa_supplicant *wpa_s = ctx; local 430 if (wpa_s == NULL || wpa_s->ctrl_iface == NULL [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 425 struct wpa_supplicant *wpa_s = ctx; local 435 struct wpa_supplicant *wpa_s = _wpa_s; local 472 struct wpa_supplicant *wpa_s = ctx; local 483 struct wpa_supplicant *wpa_s = ctx; local 490 struct wpa_supplicant *wpa_s = ctx; local 517 struct wpa_supplicant *wpa_s = ctx; local 540 struct wpa_supplicant *wpa_s = ctx; local 548 struct wpa_supplicant *wpa_s = ctx; local 560 struct wpa_supplicant *wpa_s = ctx; local 662 struct wpa_supplicant *wpa_s = ctx; local 711 struct wpa_supplicant *wpa_s = ctx; local 730 struct wpa_supplicant *wpa_s = ctx; local 739 struct wpa_supplicant *wpa_s = ctx; local 747 struct wpa_supplicant *wpa_s = ctx; local 835 struct wpa_supplicant *wpa_s = ctx; local [all...] |
bss.c | 175 static void wpa_bss_remove(struct wpa_supplicant *wpa_s, struct wpa_bss *bss, 178 if (wpa_s->last_scan_res) { 180 for (i = 0; i < wpa_s->last_scan_res_used; i++) { 181 if (wpa_s->last_scan_res[i] == bss) { 182 os_memmove(&wpa_s->last_scan_res[i], 183 &wpa_s->last_scan_res[i + 1], 184 (wpa_s->last_scan_res_used - i - 1) 186 wpa_s->last_scan_res_used--; 193 wpa_s->num_bss--; 194 wpa_dbg(wpa_s, MSG_DEBUG, "BSS: Remove id %u BSSID " MACST 779 struct wpa_supplicant *wpa_s = eloop_ctx; local [all...] |
scan.c | 27 static void wpa_supplicant_gen_assoc_event(struct wpa_supplicant *wpa_s) 32 ssid = wpa_supplicant_get_ssid(wpa_s); 36 if (wpa_s->current_ssid == NULL) { 37 wpa_s->current_ssid = ssid; 38 if (wpa_s->current_ssid != NULL) 39 wpas_notify_network_changed(wpa_s); 41 wpa_supplicant_initiate_eapol(wpa_s); 42 wpa_dbg(wpa_s, MSG_DEBUG, "Already associated with a configured " 45 wpa_supplicant_event(wpa_s, EVENT_ASSOC, &data); 50 static int wpas_wps_in_use(struct wpa_supplicant *wpa_s, 242 struct wpa_supplicant *wpa_s = eloop_ctx; local 254 struct wpa_supplicant *wpa_s = eloop_ctx; local 528 struct wpa_supplicant *wpa_s = eloop_ctx; local [all...] |
sme.c | 39 static void sme_stop_sa_query(struct wpa_supplicant *wpa_s); 56 static int sme_set_sae_group(struct wpa_supplicant *wpa_s) 58 int *groups = wpa_s->conf->sae_groups; 65 if (!index_within_array(groups, wpa_s->sme.sae_group_index)) 69 int group = groups[wpa_s->sme.sae_group_index]; 72 if (sae_set_group(&wpa_s->sme.sae, group) == 0) { 73 wpa_dbg(wpa_s, MSG_DEBUG, "SME: Selected SAE group %d", 74 wpa_s->sme.sae.group); 77 wpa_s->sme.sae_group_index++; 84 static struct wpabuf * sme_auth_build_sae_commit(struct wpa_supplicant *wpa_s, 828 struct wpa_supplicant *wpa_s = eloop_ctx; local 838 struct wpa_supplicant *wpa_s = eloop_ctx; local 1084 struct wpa_supplicant *wpa_s = eloop_ctx; local 1217 struct wpa_supplicant *wpa_s = eloop_ctx; local [all...] |
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/ |
driver_cmd_wext.c | 205 struct wpa_supplicant *wpa_s; local 219 wpa_s = (struct wpa_supplicant *)(drv->ctx); 220 if (wpa_s->conf == NULL) { 221 wpa_printf(MSG_ERROR, "%s: wpa_s->conf is NULL. Exiting", __func__); 224 ssid_conf = wpa_s->conf->ssid; 284 struct wpa_supplicant *wpa_s = (struct wpa_supplicant *)(drv->ctx); local 328 if (!wpa_s->scanning && ((wpa_s->wpa_state <= WPA_SCANNING) || 329 (wpa_s->wpa_state >= WPA_COMPLETED))) { 365 wpa_supplicant_notify_scanning(wpa_s, 1) [all...] |