/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | 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, 23 int wpa_supplicant_ap_wps_cancel(struct wpa_supplicant *wpa_s); 24 void wpas_wps_ap_pin_disable(struct wpa_supplicant *wpa_s); 25 const char * wpas_wps_ap_pin_random(struct wpa_supplicant *wpa_s, int timeout); 26 const char * wpas_wps_ap_pin_get(struct wpa_supplicant *wpa_s); 27 int wpas_wps_ap_pin_set(struct wpa_supplicant *wpa_s, cons 62 wpas_ap_wps_nfc_handover_sel(struct wpa_supplicant *wpa_s, int ndef) argument [all...] |
H A D | blacklist.c | 17 * @wpa_s: Pointer to wpa_supplicant data 21 struct wpa_blacklist * wpa_blacklist_get(struct wpa_supplicant *wpa_s, argument 26 if (wpa_s == NULL || bssid == NULL) 29 e = wpa_s->blacklist; 42 * @wpa_s: Pointer to wpa_supplicant data 56 int wpa_blacklist_add(struct wpa_supplicant *wpa_s, const u8 *bssid) argument 60 if (wpa_s == NULL || bssid == NULL) 63 e = wpa_blacklist_get(wpa_s, bssid); 77 e->next = wpa_s->blacklist; 78 wpa_s 92 wpa_blacklist_del(struct wpa_supplicant *wpa_s, const u8 *bssid) argument 123 wpa_blacklist_clear(struct wpa_supplicant *wpa_s) argument [all...] |
H A D | p2p_supplicant.h | 19 int wpas_p2p_init(struct wpa_global *global, struct wpa_supplicant *wpa_s); 20 void wpas_p2p_deinit(struct wpa_supplicant *wpa_s); 22 int wpas_p2p_add_p2pdev_interface(struct wpa_supplicant *wpa_s); 23 int wpas_p2p_connect(struct wpa_supplicant *wpa_s, const u8 *peer_addr, 28 void wpas_p2p_remain_on_channel_cb(struct wpa_supplicant *wpa_s, 30 void wpas_p2p_cancel_remain_on_channel_cb(struct wpa_supplicant *wpa_s, 33 int wpas_p2p_handle_frequency_conflicts(struct wpa_supplicant *wpa_s, 36 int wpas_p2p_group_remove(struct wpa_supplicant *wpa_s, const char *ifname); 37 int wpas_p2p_group_add(struct wpa_supplicant *wpa_s, int persistent_group, 39 int wpas_p2p_group_add_persistent(struct wpa_supplicant *wpa_s, 170 wpas_p2p_continue_after_scan(struct wpa_supplicant *wpa_s) argument 174 wpas_p2p_4way_hs_failed(struct wpa_supplicant *wpa_s) argument 179 wpas_p2p_ap_setup_failed(struct wpa_supplicant *wpa_s) argument [all...] |
H A D | autoscan.c | 37 static void request_scan(struct wpa_supplicant *wpa_s) argument 39 wpa_s->scan_req = MANUAL_SCAN_REQ; 41 if (wpa_supplicant_req_sched_scan(wpa_s)) 42 wpa_supplicant_req_scan(wpa_s, wpa_s->scan_interval, 0); 46 int autoscan_init(struct wpa_supplicant *wpa_s, int req_scan) argument 48 const char *name = wpa_s->conf->autoscan; 54 if (wpa_s->autoscan && wpa_s->autoscan_priv) 82 wpa_s 109 autoscan_deinit(struct wpa_supplicant *wpa_s) argument 124 autoscan_notify_scan(struct wpa_supplicant *wpa_s, struct wpa_scan_results *scan_res) argument [all...] |
H A D | autoscan.h | 17 void * (*init)(struct wpa_supplicant *wpa_s, const char *params); 25 int autoscan_init(struct wpa_supplicant *wpa_s, int req_scan); 26 void autoscan_deinit(struct wpa_supplicant *wpa_s); 27 int autoscan_notify_scan(struct wpa_supplicant *wpa_s, 32 static inline int autoscan_init(struct wpa_supplicant *wpa_s, int req_scan) argument 37 static inline void autoscan_deinit(struct wpa_supplicant *wpa_s) argument 41 static inline int autoscan_notify_scan(struct wpa_supplicant *wpa_s, argument
|
H A D | 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, argument 62 data->wpa_s = wpa_s;
|
H A D | autoscan_periodic.c | 40 static void * autoscan_periodic_init(struct wpa_supplicant *wpa_s, argument
|
H A D | 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); 119 wpa_supplicant_ctrl_iface_init(struct wpa_supplicant *wpa_s) argument
|
H A D | gas_query.h | 17 struct gas_query * gas_query_init(struct wpa_supplicant *wpa_s); 46 static inline struct gas_query * gas_query_init(struct wpa_supplicant *wpa_s) argument
|
H A D | 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 [all...] |
H A D | bgscan.c | 34 int bgscan_init(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) argument 42 bgscan_deinit(wpa_s); 68 wpa_s->bgscan_priv = ops->init(wpa_s, params, ssid); 69 if (wpa_s->bgscan_priv == NULL) 71 wpa_s->bgscan = ops; 79 void bgscan_deinit(struct wpa_supplicant *wpa_s) argument 81 if (wpa_s->bgscan && wpa_s->bgscan_priv) { 83 wpa_s 91 bgscan_notify_scan(struct wpa_supplicant *wpa_s, struct wpa_scan_results *scan_res) argument 101 bgscan_notify_beacon_loss(struct wpa_supplicant *wpa_s) argument 108 bgscan_notify_signal_change(struct wpa_supplicant *wpa_s, int above, int current_signal, int current_noise, int current_txrate) argument [all...] |
H A D | bgscan.h | 18 void * (*init)(struct wpa_supplicant *wpa_s, const char *params, 32 int bgscan_init(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid); 33 void bgscan_deinit(struct wpa_supplicant *wpa_s); 34 int bgscan_notify_scan(struct wpa_supplicant *wpa_s, 36 void bgscan_notify_beacon_loss(struct wpa_supplicant *wpa_s); 37 void bgscan_notify_signal_change(struct wpa_supplicant *wpa_s, int above, 43 static inline int bgscan_init(struct wpa_supplicant *wpa_s, argument 49 static inline void bgscan_deinit(struct wpa_supplicant *wpa_s) argument 53 static inline int bgscan_notify_scan(struct wpa_supplicant *wpa_s, argument 59 static inline void bgscan_notify_beacon_loss(struct wpa_supplicant *wpa_s) argument 63 bgscan_notify_signal_change(struct wpa_supplicant *wpa_s, int above, int current_signal, int current_noise, int current_txrate) argument [all...] |
H A D | main.c | 293 struct wpa_supplicant *wpa_s; local 305 wpa_s = wpa_supplicant_add_iface(global, &ifaces[i]); 306 if (wpa_s == NULL) { 311 if (wpa_s->global->p2p == NULL && 312 (wpa_s->drv_flags & 314 wpas_p2p_add_p2pdev_interface(wpa_s) < 0)
|
H A D | hs20_supplicant.c | 36 int is_hs20_network(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, argument 39 if (!wpa_s->conf->hs20 || !ssid) 100 int hs20_anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst, u32 stypes, argument 109 freq = wpa_s->assoc_freq; 110 bss = wpa_bss_get_bssid(wpa_s, dst); 125 res = gas_query_req(wpa_s->gas, dst, freq, buf, anqp_resp_cb, wpa_s); 138 void hs20_parse_rx_hs20_anqp_resp(struct wpa_supplicant *wpa_s, argument 143 struct wpa_bss *bss = wpa_bss_get_bssid(wpa_s, sa); 160 wpa_msg(wpa_s, MSG_INF [all...] |
H A D | 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);
|
H A D | sme.h | 14 void sme_authenticate(struct wpa_supplicant *wpa_s, 16 void sme_associate(struct wpa_supplicant *wpa_s, enum wpas_mode mode, 18 void sme_event_auth(struct wpa_supplicant *wpa_s, union wpa_event_data *data); 19 int sme_update_ft_ies(struct wpa_supplicant *wpa_s, const u8 *md, 21 void sme_event_assoc_reject(struct wpa_supplicant *wpa_s, 23 void sme_event_auth_timed_out(struct wpa_supplicant *wpa_s, 25 void sme_event_assoc_timed_out(struct wpa_supplicant *wpa_s, 27 void sme_event_disassoc(struct wpa_supplicant *wpa_s, 29 void sme_event_unprot_disconnect(struct wpa_supplicant *wpa_s, const u8 *sa, 31 void sme_sa_query_rx(struct wpa_supplicant *wpa_s, cons 43 sme_authenticate(struct wpa_supplicant *wpa_s, struct wpa_bss *bss, struct wpa_ssid *ssid) argument 49 sme_event_auth(struct wpa_supplicant *wpa_s, union wpa_event_data *data) argument 54 sme_update_ft_ies(struct wpa_supplicant *wpa_s, const u8 *md, const u8 *ies, size_t ies_len) argument 61 sme_event_assoc_reject(struct wpa_supplicant *wpa_s, union wpa_event_data *data) argument 66 sme_event_auth_timed_out(struct wpa_supplicant *wpa_s, union wpa_event_data *data) argument 71 sme_event_assoc_timed_out(struct wpa_supplicant *wpa_s, union wpa_event_data *data) argument 76 sme_event_disassoc(struct wpa_supplicant *wpa_s, struct disassoc_info *info) argument 81 sme_event_unprot_disconnect(struct wpa_supplicant *wpa_s, const u8 *sa, const u8 *da, u16 reason_code) argument 87 sme_state_changed(struct wpa_supplicant *wpa_s) argument 92 sme_disassoc_while_authenticating(struct wpa_supplicant *wpa_s, const u8 *prev_pending_bssid) argument 97 sme_deinit(struct wpa_supplicant *wpa_s) argument 101 sme_proc_obss_scan(struct wpa_supplicant *wpa_s) argument 106 sme_sched_obss_scan(struct wpa_supplicant *wpa_s, int enable) argument [all...] |
H A D | wps_supplicant.h | 28 int wpas_wps_init(struct wpa_supplicant *wpa_s); 29 void wpas_wps_deinit(struct wpa_supplicant *wpa_s); 30 int wpas_wps_eapol_cb(struct wpa_supplicant *wpa_s); 32 int wpas_wps_start_pbc(struct wpa_supplicant *wpa_s, const u8 *bssid, 34 int wpas_wps_start_pin(struct wpa_supplicant *wpa_s, const u8 *bssid, 36 int wpas_wps_cancel(struct wpa_supplicant *wpa_s); 37 int wpas_wps_start_reg(struct wpa_supplicant *wpa_s, const u8 *bssid, 39 int wpas_wps_ssid_bss_match(struct wpa_supplicant *wpa_s, 41 int wpas_wps_ssid_wildcard_ok(struct wpa_supplicant *wpa_s, 43 int wpas_wps_scan_pbc_overlap(struct wpa_supplicant *wpa_s, 87 wpas_wps_init(struct wpa_supplicant *wpa_s) argument 92 wpas_wps_deinit(struct wpa_supplicant *wpa_s) argument 96 wpas_wps_eapol_cb(struct wpa_supplicant *wpa_s) argument 106 wpas_wps_ssid_bss_match(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, struct wpa_bss *bss) argument 113 wpas_wps_ssid_wildcard_ok(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, struct wpa_bss *bss) argument 120 wpas_wps_scan_pbc_overlap(struct wpa_supplicant *wpa_s, struct wpa_bss *selected, struct wpa_ssid *ssid) argument 127 wpas_wps_notify_scan_results(struct wpa_supplicant *wpa_s) argument 131 wpas_wps_searching(struct wpa_supplicant *wpa_s) argument 136 wpas_wps_update_ap_info(struct wpa_supplicant *wpa_s, struct wpa_scan_results *scan_res) argument 141 wpas_wps_notify_assoc(struct wpa_supplicant *wpa_s, const u8 *bssid) argument [all...] |
H A D | 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, argument 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, [all...] |
H A D | offchannel.c | 21 wpas_get_tx_interface(struct wpa_supplicant *wpa_s, const u8 *src) argument 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 146 offchannel_send_action_tx_status( struct wpa_supplicant *wpa_s, const u8 *dst, const u8 *data, size_t data_len, enum offchannel_send_action_result result) argument 199 offchannel_send_action(struct wpa_supplicant *wpa_s, unsigned int freq, const u8 *dst, const u8 *src, const u8 *bssid, const u8 *buf, size_t len, unsigned int wait_time, void (*tx_cb)(struct wpa_supplicant *wpa_s, unsigned int freq, const u8 *dst, const u8 *src, const u8 *bssid, const u8 *data, size_t data_len, enum offchannel_send_action_result result), int no_cck) argument 310 offchannel_send_action_done(struct wpa_supplicant *wpa_s) argument 337 offchannel_remain_on_channel_cb(struct wpa_supplicant *wpa_s, unsigned int freq, unsigned int duration) argument 354 offchannel_cancel_remain_on_channel_cb(struct wpa_supplicant *wpa_s, unsigned int freq) argument 371 offchannel_pending_action_tx(struct wpa_supplicant *wpa_s) argument 381 offchannel_clear_pending_action_tx(struct wpa_supplicant *wpa_s) argument 395 offchannel_deinit(struct wpa_supplicant *wpa_s) argument [all...] |
H A D | 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) argument 278 priv->wpa_s [all...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
H A D | 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...] |
H A D | 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...] |
H A D | 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); 62 * @wpa_s: %wpa_supplicant data structure 69 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, 123 * @wpa_s: %wpa_supplicant data structure 130 struct wpa_supplicant *wpa_s) 28 wpas_dbus_iface_wps_pbc(DBusMessage *message, struct wpa_supplicant *wpa_s) argument 68 wpas_dbus_iface_wps_pin(DBusMessage *message, struct wpa_supplicant *wpa_s) argument 129 wpas_dbus_iface_wps_reg(DBusMessage *message, struct wpa_supplicant *wpa_s) argument [all...] |
H A D | 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 223 wpas_dbus_handler_wps_start(DBusMessage *message, struct wpa_supplicant *wpa_s) argument 353 struct wpa_supplicant *wpa_s = user_data; local 374 struct wpa_supplicant *wpa_s = user_data; local [all...] |
H A D | dbus_old.h | 72 void wpa_supplicant_dbus_notify_scan_results(struct wpa_supplicant *wpa_s); 73 void wpa_supplicant_dbus_notify_scanning(struct wpa_supplicant *wpa_s); 74 void wpa_supplicant_dbus_notify_state_change(struct wpa_supplicant *wpa_s, 77 void wpa_supplicant_dbus_notify_wps_cred(struct wpa_supplicant *wpa_s, 79 void wpa_supplicant_dbus_notify_certification(struct wpa_supplicant *wpa_s, 87 int wpas_dbus_register_iface(struct wpa_supplicant *wpa_s); 88 int wpas_dbus_unregister_iface(struct wpa_supplicant *wpa_s); 98 wpa_supplicant_dbus_notify_scan_results(struct wpa_supplicant *wpa_s) argument 103 wpa_supplicant_dbus_notify_scanning(struct wpa_supplicant *wpa_s) argument 110 wpa_supplicant_dbus_notify_wps_cred(struct wpa_supplicant *wpa_s, argument 116 wpa_supplicant_dbus_notify_certification(struct wpa_supplicant *wpa_s, int depth, const char *subject, const char *cert_hash, const struct wpabuf *cert) argument 124 wpas_dbus_register_iface(struct wpa_supplicant *wpa_s) argument 130 wpas_dbus_unregister_iface(struct wpa_supplicant *wpa_s) argument [all...] |