/external/wpa_supplicant_8/wpa_supplicant/ |
wmm_ac.h | 163 void wmm_ac_notify_assoc(struct wpa_supplicant *wpa_s, const u8 *ies, 165 void wmm_ac_notify_disassoc(struct wpa_supplicant *wpa_s); 166 int wpas_wmm_ac_addts(struct wpa_supplicant *wpa_s, 168 int wpas_wmm_ac_delts(struct wpa_supplicant *wpa_s, u8 tsid); 169 void wmm_ac_rx_action(struct wpa_supplicant *wpa_s, const u8 *da, 171 int wpas_wmm_ac_status(struct wpa_supplicant *wpa_s, char *buf, size_t buflen); 172 void wmm_ac_save_tspecs(struct wpa_supplicant *wpa_s); 173 void wmm_ac_clear_saved_tspecs(struct wpa_supplicant *wpa_s); 174 int wmm_ac_restore_tspecs(struct wpa_supplicant *wpa_s);
|
bss.c | 191 static void wpa_bss_update_pending_connect(struct wpa_supplicant *wpa_s, 198 work = radio_work_pending(wpa_s, "sme-connect"); 200 work = radio_work_pending(wpa_s, "connect"); 216 static void wpa_bss_remove(struct wpa_supplicant *wpa_s, struct wpa_bss *bss, 219 if (wpa_s->last_scan_res) { 221 for (i = 0; i < wpa_s->last_scan_res_used; i++) { 222 if (wpa_s->last_scan_res[i] == bss) { 223 os_memmove(&wpa_s->last_scan_res[i], 224 &wpa_s->last_scan_res[i + 1], 225 (wpa_s->last_scan_res_used - i - 1 [all...] |
wmm_ac.c | 69 static int wmm_ac_add_ts(struct wpa_supplicant *wpa_s, const u8 *addr, 82 if (wpa_s->tspecs[ac][idx]) { 98 ret = wpa_drv_add_ts(wpa_s, tsid, addr, up, admitted_time); 109 wpa_s->tspecs[ac][idx] = _tspec; 113 wpa_msg(wpa_s, MSG_INFO, WMM_AC_EVENT_TSPEC_ADDED 121 static void wmm_ac_del_ts_idx(struct wpa_supplicant *wpa_s, u8 ac, 124 struct wmm_tspec_element *tspec = wpa_s->tspecs[ac][dir]; 135 wpa_drv_del_ts(wpa_s, tsid, wpa_s->bssid); 137 wpa_msg(wpa_s, MSG_INFO, WMM_AC_EVENT_TSPEC_REMOVE 164 struct wpa_supplicant *wpa_s = eloop_ctx; local [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); 116 void wpas_ctrl_radio_work_flush(struct wpa_supplicant *wpa_s); 121 wpa_supplicant_ctrl_iface_init(struct wpa_supplicant *wpa_s) 153 static inline void wpas_ctrl_radio_work_flush(struct wpa_supplicant *wpa_s)
|
ctrl_iface.c | 60 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) 92 os_free(wpa_s->bssid_filter); 93 wpa_s->bssid_filter = filter; 94 wpa_s->bssid_filter_count = count; 100 static int set_disallow_aps(struct wpa_supplicant *wpa_s, char *val) 189 os_free(wpa_s->disallow_aps_bssid); 190 wpa_s->disallow_aps_bssid = bssid; 191 wpa_s->disallow_aps_bssid_count = count; 194 os_free(wpa_s->disallow_aps_ssid) 7358 struct wpa_supplicant *wpa_s = eloop_ctx; local 7769 struct wpa_supplicant *wpa_s = ctx; local 8018 struct wpa_supplicant *wpa_s = eloop_ctx; local 8209 struct wpa_supplicant *wpa_s = ctx; local 9118 struct wpa_supplicant *wpa_s; local 9252 struct wpa_supplicant *wpa_s; local 9335 struct wpa_supplicant *wpa_s; local 9370 struct wpa_supplicant *wpa_s; local 9529 struct wpa_supplicant *wpa_s[2]; \/* src, dst *\/ local 9565 struct wpa_supplicant *wpa_s; local 9598 struct wpa_supplicant *wpa_s; local 9650 struct wpa_supplicant *wpa_s; local 9677 struct wpa_supplicant *wpa_s; local [all...] |
p2p_supplicant_sd.c | 149 wpas_p2p_service_get_bonjour(struct wpa_supplicant *wpa_s, 156 dl_list_for_each(bsrv, &wpa_s->global->p2p_srv_bonjour, 168 wpas_p2p_service_get_upnp(struct wpa_supplicant *wpa_s, u8 version, 173 dl_list_for_each(usrv, &wpa_s->global->p2p_srv_upnp, 225 static void wpas_sd_all_bonjour(struct wpa_supplicant *wpa_s, 233 if (dl_list_empty(&wpa_s->global->p2p_srv_bonjour)) { 238 dl_list_for_each(bsrv, &wpa_s->global->p2p_srv_bonjour, 288 static void wpas_sd_req_bonjour(struct wpa_supplicant *wpa_s, 298 if (dl_list_empty(&wpa_s->global->p2p_srv_bonjour)) { 306 wpas_sd_all_bonjour(wpa_s, resp, srv_trans_id) 692 struct wpa_supplicant *wpa_s = ctx; local 891 struct wpa_supplicant *wpa_s = ctx; local [all...] |
mbo.c | 57 static void wpas_mbo_non_pref_chan_attr_body(struct wpa_supplicant *wpa_s, 63 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[start].oper_class); 66 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[i].chan); 68 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[start].preference); 69 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[start].reason); 70 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[start].reason_detail); 74 static void wpas_mbo_non_pref_chan_attr(struct wpa_supplicant *wpa_s, 85 wpas_mbo_non_pref_chan_attr_body(wpa_s, mbo, start, end); 98 static void wpas_mbo_non_pref_chan_subelement(struct wpa_supplicant *wpa_s, 108 wpas_mbo_non_pref_chan_attr_body(wpa_s, mbo, start, end) [all...] |
wnm_sta.h | 52 int ieee802_11_send_wnmsleep_req(struct wpa_supplicant *wpa_s, 55 void ieee802_11_rx_wnm_action(struct wpa_supplicant *wpa_s, 58 int wnm_send_bss_transition_mgmt_query(struct wpa_supplicant *wpa_s, 60 void wnm_deallocate_memory(struct wpa_supplicant *wpa_s); 65 int wnm_scan_process(struct wpa_supplicant *wpa_s, int reply_on_fail); 69 static inline int wnm_scan_process(struct wpa_supplicant *wpa_s,
|
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...] |
wpa_supplicant_i.h | 332 struct wpa_supplicant *wpa_s; member in struct:wpa_radio_work 340 int radio_add_work(struct wpa_supplicant *wpa_s, unsigned int freq, 345 void radio_remove_works(struct wpa_supplicant *wpa_s, 347 void radio_work_check_next(struct wpa_supplicant *wpa_s); 349 radio_work_pending(struct wpa_supplicant *wpa_s, const char *type); 358 int wpas_valid_bss_ssid(struct wpa_supplicant *wpa_s, struct wpa_bss *test_bss, 361 void wpas_connect_work_done(struct wpa_supplicant *wpa_s); 370 unsigned int wpas_get_bands(struct wpa_supplicant *wpa_s, const int *freqs); 553 void (*scan_res_handler)(struct wpa_supplicant *wpa_s, 788 void (*pending_action_tx_status_cb)(struct wpa_supplicant *wpa_s, [all...] |
eapol_test.c | 45 struct wpa_supplicant *wpa_s; member in struct:eapol_test_data 236 MAC2STR(e->wpa_s->own_addr)); 302 if (radius_client_send(e->radius, msg, RADIUS_AUTH, e->wpa_s->own_addr) 329 wpa_config_set_blob(e->wpa_s->conf, blob); 337 return wpa_config_get_blob(e->wpa_s->conf, name); 346 wpa_supplicant_cancel_auth_timeout(e->wpa_s); 347 wpa_supplicant_set_state(e->wpa_s, WPA_COMPLETED); 356 send_eap_request_identity(e->wpa_s, NULL); 367 if (eapol_sm_get_key(e->wpa_s->eapol, pmk, PMK_LEN) == 0) { 376 eapol_sm_get_key(e->wpa_s->eapol, pmk, 16) == 0) 457 struct wpa_supplicant *wpa_s = e->wpa_s; local 545 struct wpa_supplicant *wpa_s = e->wpa_s; local 576 struct wpa_supplicant *wpa_s = e->wpa_s; local 702 struct wpa_supplicant *wpa_s = eloop_ctx; local 1241 struct wpa_supplicant *wpa_s = signal_ctx; local 1302 struct wpa_supplicant wpa_s; local [all...] |
bss.h | 112 void wpa_bss_update_start(struct wpa_supplicant *wpa_s); 113 void wpa_bss_update_scan_res(struct wpa_supplicant *wpa_s, 116 void wpa_bss_update_end(struct wpa_supplicant *wpa_s, struct scan_info *info, 118 int wpa_bss_init(struct wpa_supplicant *wpa_s); 119 void wpa_bss_deinit(struct wpa_supplicant *wpa_s); 120 void wpa_bss_flush(struct wpa_supplicant *wpa_s); 121 void wpa_bss_flush_by_age(struct wpa_supplicant *wpa_s, int age); 122 struct wpa_bss * wpa_bss_get(struct wpa_supplicant *wpa_s, const u8 *bssid, 124 struct wpa_bss * wpa_bss_get_bssid(struct wpa_supplicant *wpa_s, 126 struct wpa_bss * wpa_bss_get_bssid_latest(struct wpa_supplicant *wpa_s, [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...] |
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;
|
gas_query.h | 17 struct gas_query * gas_query_init(struct wpa_supplicant *wpa_s); 47 static inline struct gas_query * gas_query_init(struct wpa_supplicant *wpa_s)
|
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...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
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_new_handlers_p2p.c | 70 struct wpa_supplicant *wpa_s) 130 wpa_s = wpa_s->global->p2p_init_wpa_s; 132 wpas_p2p_find(wpa_s, timeout, type, num_req_dev_types, req_dev_types, 147 struct wpa_supplicant *wpa_s) 149 wpas_p2p_stop_find(wpa_s->global->p2p_init_wpa_s); 155 struct wpa_supplicant *wpa_s) 167 wpa_s = wpa_s->global->p2p_init_wpa_s; 169 if (wpas_p2p_reject(wpa_s, peer_addr) < 0 815 struct wpa_supplicant *wpa_s = user_data; local 924 struct wpa_supplicant *wpa_s = user_data; local 1096 struct wpa_supplicant *wpa_s = user_data; local 1211 struct wpa_supplicant *wpa_s = user_data; local 1235 struct wpa_supplicant *wpa_s = user_data; local 1255 struct wpa_supplicant *wpa_s = user_data; local 1743 struct wpa_supplicant *wpa_s; member in struct:peer_group_data 1793 struct wpa_supplicant *wpa_s, *wpa_s_go; local 1858 struct wpa_supplicant *wpa_s = user_data; local 2158 struct wpa_supplicant *wpa_s = user_data; local 2227 struct wpa_supplicant *wpa_s = user_data; local 2241 struct wpa_supplicant *wpa_s = user_data; local 2265 struct wpa_supplicant *wpa_s = user_data; local 2288 struct wpa_supplicant *wpa_s = user_data; local 2309 struct wpa_supplicant *wpa_s = user_data; local 2331 struct wpa_supplicant *wpa_s = user_data; local 2366 struct wpa_supplicant *wpa_s = user_data; local [all...] |
dbus_old_handlers_wps.c | 22 * @wpa_s: %wpa_supplicant data structure 29 struct wpa_supplicant *wpa_s) 40 ret = wpas_wps_start_pbc(wpa_s, NULL, 0); 42 ret = wpas_wps_start_pbc(wpa_s, bssid, 0); 61 * @wpa_s: %wpa_supplicant data structure 68 struct wpa_supplicant *wpa_s) 91 ret = wpas_wps_start_pin(wpa_s, _bssid, pin, 0, 94 ret = wpas_wps_start_pin(wpa_s, _bssid, NULL, 0, 120 * @wpa_s: %wpa_supplicant data structure 127 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...] |
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_new_handlers.c | 157 struct wpa_supplicant *wpa_s; local 159 for (wpa_s = global->ifaces; wpa_s; wpa_s = wpa_s->next) { 160 if (wpa_s->dbus_new_path && 161 os_strcmp(wpa_s->dbus_new_path, path) == 0) 162 return wpa_s; 170 * @wpa_s: wpa_supplicant structure for a network interface 179 dbus_bool_t set_network_properties(struct wpa_supplicant *wpa_s, 595 struct wpa_supplicant *wpa_s; local 648 struct wpa_supplicant *wpa_s; local 683 struct wpa_supplicant *wpa_s; local 877 struct wpa_supplicant *wpa_s; local 1597 struct wpa_supplicant *wpa_s = global->ifaces; local 1730 struct wpa_supplicant *wpa_s = arg; local 2398 struct wpa_supplicant *wpa_s = user_data; local 2691 struct wpa_supplicant *wpa_s = user_data; local 2732 struct wpa_supplicant *wpa_s = user_data; local 2753 struct wpa_supplicant *wpa_s = user_data; local 2774 struct wpa_supplicant *wpa_s = user_data; local 2804 struct wpa_supplicant *wpa_s = user_data; local 2826 struct wpa_supplicant *wpa_s = user_data; local 2852 struct wpa_supplicant *wpa_s = user_data; local 2873 struct wpa_supplicant *wpa_s = user_data; local 2894 struct wpa_supplicant *wpa_s = user_data; local 2915 struct wpa_supplicant *wpa_s = user_data; local 2944 struct wpa_supplicant *wpa_s = user_data; local 2965 struct wpa_supplicant *wpa_s = user_data; local 2994 struct wpa_supplicant *wpa_s = user_data; local 3020 struct wpa_supplicant *wpa_s = user_data; local 3059 struct wpa_supplicant *wpa_s = user_data; local 3080 struct wpa_supplicant *wpa_s = user_data; local 3109 struct wpa_supplicant *wpa_s = user_data; local 3130 struct wpa_supplicant *wpa_s = user_data; local 3160 struct wpa_supplicant *wpa_s = user_data; local 3188 struct wpa_supplicant *wpa_s = user_data; local 3216 struct wpa_supplicant *wpa_s = user_data; local 3253 struct wpa_supplicant *wpa_s = user_data; local 3274 struct wpa_supplicant *wpa_s = user_data; local 3332 struct wpa_supplicant *wpa_s = user_data; local 3396 struct wpa_supplicant *wpa_s = user_data; local 3421 struct wpa_supplicant *wpa_s = user_data; local 3446 struct wpa_supplicant *wpa_s = user_data; local 3500 struct wpa_supplicant *wpa_s = user_data; local 3526 struct wpa_supplicant *wpa_s = user_data; local 4157 struct wpa_supplicant *wpa_s; 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...] |
binder.cpp | 83 int wpas_binder_register_interface(struct wpa_supplicant *wpa_s) 85 if (!wpa_s->global->binder) 93 return binder_manager->registerInterface(wpa_s); 97 int wpas_binder_unregister_interface(struct wpa_supplicant *wpa_s) 99 if (!wpa_s->global->binder) 107 return binder_manager->unregisterInterface(wpa_s);
|
binder_manager.h | 37 int registerInterface(struct wpa_supplicant *wpa_s); 38 int unregisterInterface(struct wpa_supplicant *wpa_s);
|