/external/wpa_supplicant_6/wpa_supplicant/ |
ctrl_iface_dbus.c | 384 * @wpa_s: a network interface's data 391 struct wpa_supplicant *wpa_s, 398 ssid = wpa_config_get_network(wpa_s->conf, network_id); 403 reply = wpas_dbus_iface_set_network(message, wpa_s, ssid); 405 reply = wpas_dbus_iface_enable_network(message, wpa_s, ssid); 407 reply = wpas_dbus_iface_disable_network(message, wpa_s, ssid); 416 * @wpa_s: a network interface's data 423 struct wpa_supplicant *wpa_s, 432 if (wpa_s->scan_res == NULL && 433 wpa_supplicant_get_scan_results(wpa_s) < 0) 480 struct wpa_supplicant *wpa_s = user_data; local 1140 struct wpa_supplicant *wpa_s; local [all...] |
ctrl_iface.h | 24 * @wpa_s: Pointer to wpa_supplicant data 37 char * wpa_supplicant_ctrl_iface_process(struct wpa_supplicant *wpa_s, 62 * @wpa_s: Pointer to wpa_supplicant data 71 wpa_supplicant_ctrl_iface_init(struct wpa_supplicant *wpa_s); 125 wpa_supplicant_ctrl_iface_init(struct wpa_supplicant *wpa_s)
|
ctrl_iface_dbus_handlers.c | 166 struct wpa_supplicant *wpa_s; local 168 if ((wpa_s = wpa_supplicant_add_iface(global, &iface))) { 169 const char *path = wpa_supplicant_get_dbus_path(wpa_s); 204 struct wpa_supplicant *wpa_s; local 215 wpa_s = wpa_supplicant_get_iface_by_dbus_path(global, path); 216 if (wpa_s == NULL) { 221 if (!wpa_supplicant_remove_iface(global, wpa_s)) { 251 struct wpa_supplicant *wpa_s; local 260 wpa_s = wpa_supplicant_get_iface(global, ifname); 261 if (wpa_s == NULL) [all...] |
eapol_test.c | 49 struct wpa_supplicant *wpa_s; member in struct:eapol_test_data 223 MAC2STR(e->wpa_s->own_addr)); 281 radius_client_send(e->radius, msg, RADIUS_AUTH, e->wpa_s->own_addr); 293 /* struct wpa_supplicant *wpa_s = ctx; */ 307 struct wpa_supplicant *wpa_s = ctx; local 308 wpa_config_set_blob(wpa_s->conf, blob); 315 struct wpa_supplicant *wpa_s = ctx; local 316 return wpa_config_get_blob(wpa_s->conf, name); 331 send_eap_request_identity(e->wpa_s, NULL); 340 if (eapol_sm_get_key(e->wpa_s->eapol, pmk, PMK_LEN) == 0) 477 struct wpa_supplicant *wpa_s = eloop_ctx; local 962 struct wpa_supplicant *wpa_s = eloop_ctx; local 1017 struct wpa_supplicant wpa_s; local [all...] |
ctrl_iface_unix.c | 50 struct wpa_supplicant *wpa_s; member in struct:ctrl_iface_priv 144 struct wpa_supplicant *wpa_s = eloop_ctx; local 181 reply = wpa_supplicant_ctrl_iface_process(wpa_s, buf, 198 eapol_sm_notify_ctrl_attached(wpa_s->eapol); 202 static char * wpa_supplicant_ctrl_iface_path(struct wpa_supplicant *wpa_s) 209 if (wpa_s->conf->ctrl_interface == NULL) 212 pbuf = os_strdup(wpa_s->conf->ctrl_interface); 225 len = os_strlen(dir) + os_strlen(wpa_s->ifname) + 2; 232 res = os_snprintf(buf, len, "%s/%s", dir, wpa_s->ifname); 258 struct wpa_supplicant *wpa_s = ctx local [all...] |
ctrl_iface_udp.c | 47 struct wpa_supplicant *wpa_s; member in struct:ctrl_iface_priv 155 struct wpa_supplicant *wpa_s = eloop_ctx; local 238 reply = wpa_supplicant_ctrl_iface_process(wpa_s, pos, 256 eapol_sm_notify_ctrl_attached(wpa_s->eapol); 263 struct wpa_supplicant *wpa_s = ctx; local 264 if (wpa_s == NULL || wpa_s->ctrl_iface == NULL) 266 wpa_supplicant_ctrl_iface_send(wpa_s->ctrl_iface, level, txt, len); 271 wpa_supplicant_ctrl_iface_init(struct wpa_supplicant *wpa_s) 279 priv->wpa_s = wpa_s [all...] |
ctrl_iface_named_pipe.c | 82 struct wpa_supplicant *wpa_s; member in struct:ctrl_iface_priv 166 priv->wpa_s->ifname); 169 priv->wpa_s->ifname); 287 struct wpa_supplicant *wpa_s = dst->priv->wpa_s; local 312 reply = wpa_supplicant_ctrl_iface_process(wpa_s, buf, 348 eapol_sm_notify_ctrl_attached(wpa_s->eapol); 435 struct wpa_supplicant *wpa_s = ctx; local 436 if (wpa_s == NULL || wpa_s->ctrl_iface == NULL [all...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_new_handlers_p2p.c | 74 struct wpa_supplicant *wpa_s) 134 wpas_p2p_find(wpa_s, timeout, type, num_req_dev_types, req_dev_types, 149 struct wpa_supplicant *wpa_s) 151 wpas_p2p_stop_find(wpa_s); 157 struct wpa_supplicant *wpa_s) 169 if (wpas_p2p_reject(wpa_s, peer_addr) < 0) 178 struct wpa_supplicant *wpa_s) 187 if (wpas_p2p_listen(wpa_s, (unsigned int)timeout)) 196 DBusMessage *message, struct wpa_supplicant *wpa_s) 224 if (wpas_p2p_ext_listen(wpa_s, period, interval) 711 struct wpa_supplicant *wpa_s = user_data; local 846 struct wpa_supplicant *wpa_s = user_data; local 1008 struct wpa_supplicant *wpa_s = user_data; local 1120 struct wpa_supplicant *wpa_s = user_data; local 1142 struct wpa_supplicant *wpa_s = user_data; local 1156 struct wpa_supplicant *wpa_s = user_data; local 1438 struct wpa_supplicant *wpa_s = user_data; local 1740 struct wpa_supplicant *wpa_s = user_data; local 1803 struct wpa_supplicant *wpa_s = user_data; local 1907 struct wpa_supplicant *wpa_s = user_data; local [all...] |
dbus_old_handlers_wps.c | 28 * @wpa_s: %wpa_supplicant data structure 35 struct wpa_supplicant *wpa_s) 46 ret = wpas_wps_start_pbc(wpa_s, NULL, 0); 48 ret = wpas_wps_start_pbc(wpa_s, bssid, 0); 68 * @wpa_s: %wpa_supplicant data structure 75 struct wpa_supplicant *wpa_s) 97 ret = wpas_wps_start_pin(wpa_s, _bssid, pin, 0, 100 ret = wpas_wps_start_pin(wpa_s, _bssid, NULL, 0, 129 * @wpa_s: %wpa_supplicant data structure 136 struct wpa_supplicant *wpa_s) [all...] |
dbus_old_handlers.c | 165 struct wpa_supplicant *wpa_s; local 174 if ((wpa_s = wpa_supplicant_add_iface(global, &iface))) { 175 const char *path = wpa_s->dbus_path; 215 struct wpa_supplicant *wpa_s; local 226 wpa_s = wpa_supplicant_get_iface_by_dbus_path(global, path); 227 if (wpa_s == NULL) { 232 if (!wpa_supplicant_remove_iface(global, wpa_s, 0)) { 262 struct wpa_supplicant *wpa_s; local 271 wpa_s = wpa_supplicant_get_iface(global, ifname); 272 if (wpa_s == NULL) [all...] |
dbus_new_handlers_wps.c | 221 * @wpa_s: %wpa_supplicant data structure 230 struct wpa_supplicant *wpa_s) 274 ret = wpas_wps_start_reg(wpa_s, params.bssid, params.pin, 278 if (wpa_s->ap_iface) 279 ret = wpa_supplicant_ap_wps_pin(wpa_s, 286 ret = wpas_wps_start_pin(wpa_s, params.bssid, 294 if (wpa_s->ap_iface) 295 ret = wpa_supplicant_ap_wps_pbc(wpa_s, 300 ret = wpas_wps_start_pbc(wpa_s, params.bssid, 0); 348 * @wpa_s: %wpa_supplicant data structur 359 struct wpa_supplicant *wpa_s = user_data; local 380 struct wpa_supplicant *wpa_s = user_data; local [all...] |
dbus_new_handlers.c | 154 struct wpa_supplicant *wpa_s; local 156 for (wpa_s = global->ifaces; wpa_s; wpa_s = wpa_s->next) { 157 if (os_strcmp(wpa_s->dbus_new_path, path) == 0) 158 return wpa_s; 166 * @wpa_s: wpa_supplicant structure for a network interface 175 dbus_bool_t set_network_properties(struct wpa_supplicant *wpa_s, 259 wpa_config_update_prio_list(wpa_s->conf) 523 struct wpa_supplicant *wpa_s; local 569 struct wpa_supplicant *wpa_s; local 604 struct wpa_supplicant *wpa_s; local 799 struct wpa_supplicant *wpa_s; local 1402 struct wpa_supplicant *wpa_s = arg; local 1751 struct wpa_supplicant *wpa_s = user_data; local 2087 struct wpa_supplicant *wpa_s = user_data; local 2127 struct wpa_supplicant *wpa_s = user_data; local 2147 struct wpa_supplicant *wpa_s = user_data; local 2167 struct wpa_supplicant *wpa_s = user_data; local 2197 struct wpa_supplicant *wpa_s = user_data; local 2219 struct wpa_supplicant *wpa_s = user_data; local 2244 struct wpa_supplicant *wpa_s = user_data; local 2265 struct wpa_supplicant *wpa_s = user_data; local 2294 struct wpa_supplicant *wpa_s = user_data; local 2315 struct wpa_supplicant *wpa_s = user_data; local 2343 struct wpa_supplicant *wpa_s = user_data; local 2368 struct wpa_supplicant *wpa_s = user_data; local 2406 struct wpa_supplicant *wpa_s = user_data; local 2426 struct wpa_supplicant *wpa_s = user_data; local 2456 struct wpa_supplicant *wpa_s = user_data; local 2484 struct wpa_supplicant *wpa_s = user_data; local 2512 struct wpa_supplicant *wpa_s = user_data; local 2549 struct wpa_supplicant *wpa_s = user_data; local 2568 struct wpa_supplicant *wpa_s = user_data; local 2619 struct wpa_supplicant *wpa_s = user_data; local 2683 struct wpa_supplicant *wpa_s = user_data; local 3193 struct wpa_supplicant *wpa_s; local [all...] |
dbus_new_handlers.h | 20 struct wpa_supplicant *wpa_s; member in struct:network_handler_args 25 struct wpa_supplicant *wpa_s; member in struct:bss_handler_args 84 struct wpa_supplicant *wpa_s); 87 struct wpa_supplicant *wpa_s); 89 dbus_bool_t set_network_properties(struct wpa_supplicant *wpa_s, 95 struct wpa_supplicant *wpa_s); 98 struct wpa_supplicant *wpa_s); 101 DBusMessage *message, struct wpa_supplicant *wpa_s); 104 struct wpa_supplicant *wpa_s); 107 struct wpa_supplicant *wpa_s); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
wpa_supplicant_i.h | 307 void (*scan_res_handler)(struct wpa_supplicant *wpa_s, 424 void (*pending_action_tx_status_cb)(struct wpa_supplicant *wpa_s, 537 struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, 540 int wpa_set_wep_keys(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid); 542 int wpa_supplicant_reload_configuration(struct wpa_supplicant *wpa_s); 545 int wpa_supplicant_update_mac_addr(struct wpa_supplicant *wpa_s); 546 int wpa_supplicant_driver_init(struct wpa_supplicant *wpa_s); 547 int wpa_supplicant_set_suites(struct wpa_supplicant *wpa_s, 550 void wpa_supplicant_associate(struct wpa_supplicant *wpa_s, 553 void wpa_supplicant_set_non_wpa_policy(struct wpa_supplicant *wpa_s, [all...] |
ctrl_iface.h | 18 * @wpa_s: Pointer to wpa_supplicant data 31 char * wpa_supplicant_ctrl_iface_process(struct wpa_supplicant *wpa_s, 56 * @wpa_s: Pointer to wpa_supplicant data 65 wpa_supplicant_ctrl_iface_init(struct wpa_supplicant *wpa_s); 93 * @wpa_s: Pointer to wpa_supplicant data 101 int wpa_supplicant_ctrl_iface_ctrl_rsp_handle(struct wpa_supplicant *wpa_s, 134 wpa_supplicant_ctrl_iface_init(struct wpa_supplicant *wpa_s)
|
bss.h | 96 void wpa_bss_update_start(struct wpa_supplicant *wpa_s); 97 void wpa_bss_update_scan_res(struct wpa_supplicant *wpa_s, 99 void wpa_bss_update_end(struct wpa_supplicant *wpa_s, struct scan_info *info, 101 int wpa_bss_init(struct wpa_supplicant *wpa_s); 102 void wpa_bss_deinit(struct wpa_supplicant *wpa_s); 103 void wpa_bss_flush(struct wpa_supplicant *wpa_s); 104 void wpa_bss_flush_by_age(struct wpa_supplicant *wpa_s, int age); 105 struct wpa_bss * wpa_bss_get(struct wpa_supplicant *wpa_s, const u8 *bssid, 107 struct wpa_bss * wpa_bss_get_bssid(struct wpa_supplicant *wpa_s, 109 struct wpa_bss * wpa_bss_get_p2p_dev_addr(struct wpa_supplicant *wpa_s, [all...] |
eapol_test.c | 46 struct wpa_supplicant *wpa_s; member in struct:eapol_test_data 222 MAC2STR(e->wpa_s->own_addr)); 281 radius_client_send(e->radius, msg, RADIUS_AUTH, e->wpa_s->own_addr); 306 wpa_config_set_blob(e->wpa_s->conf, blob); 314 return wpa_config_get_blob(e->wpa_s->conf, name); 329 send_eap_request_identity(e->wpa_s, NULL); 338 if (eapol_sm_get_key(e->wpa_s->eapol, pmk, PMK_LEN) == 0) { 347 eapol_sm_get_key(e->wpa_s->eapol, pmk, 16) == 0) { 403 wpa_msg(e->wpa_s, MSG_INFO, WPA_EVENT_EAP_PEER_CERT 416 wpa_msg_ctrl(e->wpa_s, MSG_INFO 520 struct wpa_supplicant *wpa_s = eloop_ctx; local 1004 struct wpa_supplicant *wpa_s = signal_ctx; local 1061 struct wpa_supplicant wpa_s; local [all...] |
ctrl_iface_unix.c | 45 struct wpa_supplicant *wpa_s; member in struct:ctrl_iface_priv 130 struct wpa_supplicant *wpa_s = eloop_ctx; local 182 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { 183 if (os_strcmp(wpa_s->ifname, ifname) == 0) 186 if (wpa_s == NULL) { 188 wpa_s = eloop_ctx 273 struct wpa_supplicant *wpa_s = ctx; local [all...] |
gas_query.h | 17 struct gas_query * gas_query_init(struct wpa_supplicant *wpa_s); 43 static inline struct gas_query * gas_query_init(struct wpa_supplicant *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);
|
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.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...] |
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 232 reply = wpa_supplicant_ctrl_iface_process(wpa_s, pos, 250 eapol_sm_notify_ctrl_attached(wpa_s->eapol); 257 struct wpa_supplicant *wpa_s = ctx; local 258 if (wpa_s == NULL || wpa_s->ctrl_iface == NULL) 260 wpa_supplicant_ctrl_iface_send(wpa_s->ctrl_iface, level, txt, len); 265 wpa_supplicant_ctrl_iface_init(struct wpa_supplicant *wpa_s) 273 priv->wpa_s = wpa_s [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...] |
bgscan_learn.c | 31 struct wpa_supplicant *wpa_s; member in struct:bgscan_learn_data 271 struct wpa_supplicant *wpa_s = data->wpa_s; local 306 if (wpa_supplicant_trigger_scan(wpa_s, ¶ms)) { 349 static int * bgscan_learn_get_supp_freqs(struct wpa_supplicant *wpa_s) 355 modes = wpa_s->hw.modes; 359 for (i = 0; i < wpa_s->hw.num_modes; i++) { 378 static void * bgscan_learn_init(struct wpa_supplicant *wpa_s, 388 data->wpa_s = wpa_s; [all...] |