/external/wpa_supplicant_8/wpa_supplicant/ |
wpas_module_tests.c | 18 struct wpa_supplicant wpa_s; local 21 os_memset(&wpa_s, 0, sizeof(wpa_s)); 23 wpa_blacklist_clear(&wpa_s); 27 wpa_blacklist_get(&wpa_s, NULL) != NULL || 28 wpa_blacklist_get(&wpa_s, (u8 *) "123456") != NULL) 33 wpa_blacklist_add(&wpa_s, NULL) == 0) 38 wpa_blacklist_del(&wpa_s, NULL) == 0 || 39 wpa_blacklist_del(&wpa_s, (u8 *) "123456") == 0) 42 if (wpa_blacklist_add(&wpa_s, (u8 *) "111111") < 0 | [all...] |
mesh_rsn.h | 13 struct wpa_supplicant *wpa_s; member in struct:mesh_rsn 22 struct mesh_rsn * mesh_rsn_auth_init(struct wpa_supplicant *wpa_s, 24 int mesh_rsn_auth_sae_sta(struct wpa_supplicant *wpa_s, struct sta_info *sta); 25 int mesh_rsn_derive_mtk(struct wpa_supplicant *wpa_s, struct sta_info *sta); 27 void mesh_rsn_init_ampe_sta(struct wpa_supplicant *wpa_s, 31 int mesh_rsn_process_ampe(struct wpa_supplicant *wpa_s, struct sta_info *sta,
|
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;
|
main.c | 364 struct wpa_supplicant *wpa_s; local 379 wpa_s = wpa_supplicant_add_iface(global, &ifaces[i], NULL); 380 if (wpa_s == NULL) {
|
offchannel.c | 22 wpas_get_tx_interface(struct wpa_supplicant *wpa_s, const u8 *src) 26 if (os_memcmp(src, wpa_s->own_addr, ETH_ALEN) == 0) 27 return wpa_s; 32 iface = wpa_s->global->ifaces; 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; 60 without_roc, wpa_s->pending_action_tx [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...] |
ibss_rsn.h | 47 struct wpa_supplicant *wpa_s; member in struct:ibss_rsn 54 struct ibss_rsn * ibss_rsn_init(struct wpa_supplicant *wpa_s);
|
preauth_test.c | 38 static void _wpa_supplicant_deauthenticate(void *wpa_s, int reason_code) 40 wpa_supplicant_deauthenticate(wpa_s, reason_code); 44 static u8 * wpa_alloc_eapol(const struct wpa_supplicant *wpa_s, u8 type, 55 hdr->version = wpa_s->conf->eapol_version; 71 static u8 * _wpa_alloc_eapol(void *wpa_s, u8 type, 75 return wpa_alloc_eapol(wpa_s, type, data, data_len, msg_len, data_pos); 81 struct wpa_supplicant *wpa_s = ctx; local 82 wpa_s->wpa_state = state; 88 struct wpa_supplicant *wpa_s = ctx; local 89 return wpa_s->wpa_state 165 struct wpa_supplicant *wpa_s = ctx; local 173 struct wpa_supplicant *wpa_s = ctx; local 203 struct wpa_supplicant *wpa_s = eloop_ctx; local 266 struct wpa_supplicant *wpa_s = signal_ctx; local 274 struct wpa_supplicant wpa_s; local [all...] |
bgscan_learn.c | 31 struct wpa_supplicant *wpa_s; member in struct:bgscan_learn_data 273 struct wpa_supplicant *wpa_s = data->wpa_s; local 308 if (wpa_supplicant_trigger_scan(wpa_s, ¶ms)) { 351 static int * bgscan_learn_get_supp_freqs(struct wpa_supplicant *wpa_s) 357 modes = wpa_s->hw.modes; 361 for (i = 0; i < wpa_s->hw.num_modes; i++) { 383 static void * bgscan_learn_init(struct wpa_supplicant *wpa_s, 393 data->wpa_s = wpa_s; [all...] |
ctrl_iface_udp.c | 45 struct wpa_supplicant *wpa_s; member in struct:ctrl_iface_priv 58 static void wpa_supplicant_ctrl_iface_send(struct wpa_supplicant *wpa_s, 220 struct wpa_supplicant *wpa_s = eloop_ctx; local 325 reply = wpa_supplicant_ctrl_iface_process(wpa_s, pos, 343 eapol_sm_notify_ctrl_attached(wpa_s->eapol); 351 struct wpa_supplicant *wpa_s = ctx; local 353 if (!wpa_s) 356 if (type != WPA_MSG_NO_GLOBAL && wpa_s->global->ctrl_iface) { 357 struct ctrl_iface_global_priv *priv = wpa_s->global->ctrl_iface; 361 wpa_s, [all...] |
ibss_rsn.c | 66 struct wpa_supplicant *wpa_s = peer->ibss_rsn->wpa_s; local 72 if (wpa_s->l2) 73 return l2_packet_send(wpa_s->l2, dest, proto, buf, len); 125 struct wpa_supplicant *wpa_s = peer->ibss_rsn->wpa_s; local 134 wpa_msg(wpa_s, MSG_INFO, IBSS_RSN_COMPLETED MACSTR, 159 if (os_memcmp(peer->ibss_rsn->wpa_s->own_addr, peer->addr, 168 return wpa_drv_set_key(peer->ibss_rsn->wpa_s, alg, addr, key_idx, 176 return wpa_supplicant_get_ssid(peer->ibss_rsn->wpa_s); 276 struct wpa_supplicant *wpa_s = ibss_rsn->wpa_s; local 480 struct wpa_supplicant *wpa_s = ibss_rsn->wpa_s; local [all...] |
mesh_rsn.c | 33 struct wpa_supplicant *wpa_s = eloop_ctx; local 41 wpa_msg(wpa_s, MSG_INFO, MESH_SAE_AUTH_FAILURE "addr=" MACSTR, 44 mesh_rsn_auth_sae_sta(wpa_s, sta); 46 hapd = wpa_s->ifmsh->bss[0]; 54 wpa_mesh_set_plink_state(wpa_s, sta, PLINK_BLOCKED); 56 wpa_msg(wpa_s, MSG_INFO, MESH_SAE_AUTH_BLOCKED "addr=" 81 struct hostapd_data *hapd = mesh_rsn->wpa_s->ifmsh->bss[0]; 115 return wpa_drv_set_key(mesh_rsn->wpa_s, alg, addr, idx, 126 if (mesh_rsn->wpa_s->current_ssid->mode != WPAS_MODE_MESH) 129 hapd = mesh_rsn->wpa_s->ifmsh->bss[0] [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); 430 struct wpa_supplicant *wpa_s = ctx; local 431 if (wpa_s == NULL || wpa_s->ctrl_iface == NULL [all...] |
ctrl_iface_unix.c | 35 struct wpa_supplicant *wpa_s; member in struct:ctrl_iface_priv 55 struct wpa_supplicant *wpa_s; member in struct:ctrl_iface_msg 63 static void wpa_supplicant_ctrl_iface_send(struct wpa_supplicant *wpa_s, 70 static int wpas_ctrl_iface_reinit(struct wpa_supplicant *wpa_s, 132 struct wpa_supplicant *wpa_s = eloop_ctx; local 172 reply_buf = wpa_supplicant_ctrl_iface_process(wpa_s, buf, 198 wpa_dbg(wpa_s, MSG_DEBUG, 210 sock = wpas_ctrl_iface_reinit(wpa_s, priv); 212 wpa_dbg(wpa_s, MSG_DEBUG, "Failed to reinitialize ctrl_iface socket"); 216 wpa_dbg(wpa_s, MSG_DEBUG, "Failed to send response to ATTACH - detaching") 348 struct wpa_supplicant *wpa_s = eloop_ctx; local 419 struct wpa_supplicant *wpa_s = ctx; local [all...] |
gas_query.c | 61 struct wpa_supplicant *wpa_s; member in struct:gas_query 88 * @wpa_s: Pointer to wpa_supplicant data 91 struct gas_query * gas_query_init(struct wpa_supplicant *wpa_s) 99 gas->wpa_s = wpa_s; 152 wpa_msg(gas->wpa_s, MSG_INFO, GAS_QUERY_DONE "addr=" MACSTR 159 offchannel_send_action_done(gas->wpa_s); 214 static void gas_query_tx_status(struct wpa_supplicant *wpa_s, 221 struct gas_query *gas = wpa_s->gas; 262 static int pmf_in_use(struct wpa_supplicant *wpa_s, const u8 *addr 654 struct wpa_supplicant *wpa_s = gas->wpa_s; local [all...] |
mesh_mpm.c | 70 static int mesh_mpm_parse_peer_mgmt(struct wpa_supplicant *wpa_s, 86 wpa_msg(wpa_s, MSG_DEBUG, "MPM: Invalid peer mgmt ie"); 122 static u16 copy_supp_rates(struct wpa_supplicant *wpa_s, 127 wpa_msg(wpa_s, MSG_ERROR, "no supported rates from " MACSTR, 134 wpa_msg(wpa_s, MSG_ERROR, 151 static Boolean matches_local(struct wpa_supplicant *wpa_s, 154 struct mesh_conf *mconf = wpa_s->ifmsh->mconf; 171 static Boolean llid_in_use(struct wpa_supplicant *wpa_s, u16 llid) 174 struct hostapd_data *hapd = wpa_s->ifmsh->bss[0]; 186 static void mesh_mpm_init_link(struct wpa_supplicant *wpa_s, 419 struct wpa_supplicant *wpa_s = eloop_ctx; local 487 struct wpa_supplicant *wpa_s = ctx; local 526 struct wpa_supplicant *wpa_s = eloop_ctx; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/binder/ |
supplicant.cpp | 48 struct wpa_supplicant *wpa_s = NULL; local 58 wpa_s = wpa_supplicant_add_iface(wpa_global_, &iface, NULL); 61 if (!wpa_s || !wpa_s->binder_object_key) { 70 wpa_s->binder_object_key, aidl_return)) 87 struct wpa_supplicant *wpa_s; local 89 wpa_s = wpa_supplicant_get_iface(wpa_global_, ifname.c_str()); 90 if (!wpa_s || !wpa_s->binder_object_key) 94 if (wpa_supplicant_remove_iface(wpa_global_, wpa_s, 0) 106 struct wpa_supplicant *wpa_s; 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...] |
driver_cmd_nl80211.c | 83 struct wpa_supplicant *wpa_s = (struct wpa_supplicant *)(drv->ctx); local 86 if (wpa_s && wpa_s->parent) { 88 bss = wpa_s->parent->drv_priv;
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_new_handlers_p2p.h | 13 struct wpa_supplicant *wpa_s; member in struct:peer_handler_args 22 DBusMessage *message, struct wpa_supplicant *wpa_s); 25 DBusMessage *message, struct wpa_supplicant *wpa_s); 28 DBusMessage *message, struct wpa_supplicant *wpa_s); 31 DBusMessage *message, struct wpa_supplicant *wpa_s); 34 DBusMessage *message, struct wpa_supplicant *wpa_s); 37 DBusMessage *message, struct wpa_supplicant *wpa_s); 40 DBusMessage *message, struct wpa_supplicant *wpa_s); 43 DBusMessage *message, struct wpa_supplicant *wpa_s); 47 struct wpa_supplicant *wpa_s); [all...] |
dbus_new_handlers_wps.c | 213 * @wpa_s: %wpa_supplicant data structure 222 struct wpa_supplicant *wpa_s) 251 if (wpa_s->ap_iface && params.type == 1) { 258 ret = wpa_supplicant_ap_wps_pin(wpa_s, 262 } else if (wpa_s->ap_iface) { 263 ret = wpa_supplicant_ap_wps_pbc(wpa_s, 279 ret = wpas_wps_start_reg(wpa_s, params.bssid, params.pin, 286 ret = wpas_wps_start_pin(wpa_s, params.bssid, 292 ret = wpas_wps_start_pbc(wpa_s, params.bssid, 0); 325 * @wpa_s: %wpa_supplicant data structur 356 struct wpa_supplicant *wpa_s = user_data; local 378 struct wpa_supplicant *wpa_s = user_data; local 414 struct wpa_supplicant *wpa_s = user_data; local 438 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_new_handlers.h | 16 struct wpa_supplicant *wpa_s; member in struct:network_handler_args 21 struct wpa_supplicant *wpa_s; member in struct:bss_handler_args 71 struct wpa_supplicant *wpa_s); 74 struct wpa_supplicant *wpa_s); 77 struct wpa_supplicant *wpa_s); 79 dbus_bool_t set_network_properties(struct wpa_supplicant *wpa_s, 85 struct wpa_supplicant *wpa_s); 88 struct wpa_supplicant *wpa_s); 91 struct wpa_supplicant *wpa_s); 94 struct wpa_supplicant *wpa_s); [all...] |
dbus_old_handlers.c | 158 struct wpa_supplicant *wpa_s; local 168 wpa_s = wpa_supplicant_add_iface(global, &iface, NULL); 169 if (wpa_s && wpa_s->dbus_path) { 170 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)) { 255 struct wpa_supplicant *wpa_s; local [all...] |