Searched defs:hapd (Results 101 - 125 of 145) sorted by relevance

123456

/external/wpa_supplicant_8/src/ap/
H A Ddrv_callbacks.c37 int hostapd_notif_assoc(struct hostapd_data *hapd, const u8 *addr, argument
67 hostapd_logger(hapd, addr, HOSTAPD_MODULE_IEEE80211,
96 sta = ap_get_sta(hapd, addr);
98 ap_sta_no_session_timeout(hapd, sta);
99 accounting_sta_stop(hapd, sta);
107 sta = ap_sta_add(hapd, addr);
109 hostapd_drv_sta_disassoc(hapd, addr,
131 (hapd->iface->conf->ht_capab &
139 ht40_intolerant_add(hapd->iface, sta);
160 if (hapd
386 hostapd_notif_disassoc(struct hostapd_data *hapd, const u8 *addr) argument
422 hostapd_event_sta_low_ack(struct hostapd_data *hapd, const u8 *addr) argument
438 hostapd_event_ch_switch(struct hostapd_data *hapd, int freq, int ht, int offset, int width, int cf1, int cf2) argument
509 hostapd_event_connect_failed_reason(struct hostapd_data *hapd, const u8 *addr, int reason_code) argument
525 hostapd_probe_req_rx(struct hostapd_data *hapd, const u8 *sa, const u8 *da, const u8 *bssid, const u8 *ie, size_t ie_len, int ssi_signal) argument
556 struct hostapd_data *hapd = ctx; local
572 hostapd_notif_auth(struct hostapd_data *hapd, struct auth_info *rx_auth) argument
615 hostapd_action_rx(struct hostapd_data *hapd, struct rx_mgmt *drv_mgmt) argument
687 hostapd_rx_from_unknown_sta(struct hostapd_data *hapd, const u8 *bssid, const u8 *addr, int wds) argument
699 hostapd_mgmt_rx(struct hostapd_data *hapd, struct rx_mgmt *rx_mgmt) argument
770 hostapd_mgmt_tx_cb(struct hostapd_data *hapd, const u8 *buf, size_t len, u16 stype, int ok) argument
784 hostapd_event_new_sta(struct hostapd_data *hapd, const u8 *addr) argument
805 hostapd_event_eapol_rx(struct hostapd_data *hapd, const u8 *src, const u8 *data, size_t data_len) argument
861 hostapd_event_get_survey(struct hostapd_data *hapd, struct survey_results *survey_results) argument
893 hostapd_event_iface_unavailable(struct hostapd_data *hapd) argument
907 hostapd_event_dfs_radar_detected(struct hostapd_data *hapd, struct dfs_event *radar) argument
917 hostapd_event_dfs_cac_finished(struct hostapd_data *hapd, struct dfs_event *radar) argument
927 hostapd_event_dfs_cac_aborted(struct hostapd_data *hapd, struct dfs_event *radar) argument
937 hostapd_event_dfs_nop_finished(struct hostapd_data *hapd, struct dfs_event *radar) argument
952 struct hostapd_data *hapd = ctx; local
[all...]
H A Dgas_serv.c30 gas_dialog_create(struct hostapd_data *hapd, const u8 *addr, u8 dialog_token) argument
36 sta = ap_get_sta(hapd, addr);
44 sta = ap_sta_add(hapd, addr);
55 ap_sta_session_timeout(hapd, sta, 5);
57 ap_sta_replenish_timeout(hapd, sta, 5);
79 wpa_msg(hapd->msg_ctx, MSG_ERROR, "ANQP: Could not create dialog for "
88 gas_serv_dialog_find(struct hostapd_data *hapd, const u8 *addr, argument
94 sta = ap_get_sta(hapd, addr);
119 static void gas_serv_free_dialogs(struct hostapd_data *hapd, argument
125 sta = ap_get_sta(hapd, sta_add
140 anqp_add_hs_capab_list(struct hostapd_data *hapd, struct wpabuf *buf) argument
170 anqp_add_capab_list(struct hostapd_data *hapd, struct wpabuf *buf) argument
198 anqp_add_venue_name(struct hostapd_data *hapd, struct wpabuf *buf) argument
218 anqp_add_network_auth_type(struct hostapd_data *hapd, struct wpabuf *buf) argument
230 anqp_add_roaming_consortium(struct hostapd_data *hapd, struct wpabuf *buf) argument
247 anqp_add_ip_addr_type_availability(struct hostapd_data *hapd, struct wpabuf *buf) argument
296 hs20_add_nai_home_realm_matches(struct hostapd_data *hapd, struct wpabuf *buf, const u8 *home_realm, size_t home_realm_len) argument
390 anqp_add_nai_realm(struct hostapd_data *hapd, struct wpabuf *buf, const u8 *home_realm, size_t home_realm_len, int nai_realm, int nai_home_realm) argument
424 anqp_add_3gpp_cellular_network(struct hostapd_data *hapd, struct wpabuf *buf) argument
437 anqp_add_domain_name(struct hostapd_data *hapd, struct wpabuf *buf) argument
450 anqp_add_operator_friendly_name(struct hostapd_data *hapd, struct wpabuf *buf) argument
474 anqp_add_wan_metrics(struct hostapd_data *hapd, struct wpabuf *buf) argument
489 anqp_add_connection_capability(struct hostapd_data *hapd, struct wpabuf *buf) argument
505 anqp_add_operating_class(struct hostapd_data *hapd, struct wpabuf *buf) argument
598 anqp_add_osu_providers_list(struct hostapd_data *hapd, struct wpabuf *buf) argument
628 anqp_add_icon_binary_file(struct hostapd_data *hapd, struct wpabuf *buf, const u8 *name, size_t name_len) argument
687 gas_serv_build_gas_resp_payload(struct hostapd_data *hapd, unsigned int request, const u8 *home_realm, size_t home_realm_len, const u8 *icon_name, size_t icon_name_len) argument
766 rx_anqp_query_list_id(struct hostapd_data *hapd, u16 info_id, struct anqp_query_info *qi) argument
812 rx_anqp_query_list(struct hostapd_data *hapd, const u8 *pos, const u8 *end, struct anqp_query_info *qi) argument
828 rx_anqp_hs_query_list(struct hostapd_data *hapd, u8 subtype, struct anqp_query_info *qi) argument
867 rx_anqp_hs_nai_home_realm(struct hostapd_data *hapd, const u8 *pos, const u8 *end, struct anqp_query_info *qi) argument
884 rx_anqp_hs_icon_request(struct hostapd_data *hapd, const u8 *pos, const u8 *end, struct anqp_query_info *qi) argument
901 rx_anqp_vendor_specific(struct hostapd_data *hapd, const u8 *pos, const u8 *end, struct anqp_query_info *qi) argument
958 gas_serv_req_local_processing(struct hostapd_data *hapd, const u8 *sa, u8 dialog_token, struct anqp_query_info *qi, int prot) argument
1018 gas_serv_rx_gas_initial_req(struct hostapd_data *hapd, const u8 *sa, const u8 *data, size_t len, int prot) argument
1127 gas_serv_rx_gas_comeback_req(struct hostapd_data *hapd, const u8 *sa, const u8 *data, size_t len, int prot) argument
1214 struct hostapd_data *hapd = ctx; local
1245 gas_serv_init(struct hostapd_data *hapd) argument
1256 gas_serv_deinit(struct hostapd_data *hapd) argument
[all...]
H A Dhw_features.c76 struct hostapd_data *hapd = iface->bss[0]; local
81 if (hostapd_drv_none(hapd))
83 modes = hostapd_get_hw_feature_data(hapd, &num_modes, &flags);
85 hostapd_logger(hapd, NULL, HOSTAPD_MODULE_IEEE80211,
100 int dfs_enabled = hapd->iconf->ieee80211h &&
1132 int hostapd_hw_get_freq(struct hostapd_data *hapd, int chan) argument
1136 if (!hapd->iface->current_mode)
1139 for (i = 0; i < hapd->iface->current_mode->num_channels; i++) {
1141 &hapd->iface->current_mode->channels[i];
1150 int hostapd_hw_get_channel(struct hostapd_data *hapd, in argument
[all...]
H A Dap_drv_ops.c39 int hostapd_build_ap_extra_ies(struct hostapd_data *hapd, argument
50 pos = hostapd_eid_time_adv(hapd, pos);
56 pos = hostapd_eid_time_zone(hapd, pos);
64 pos = hostapd_eid_ext_capab(hapd, pos);
70 pos = hostapd_eid_interworking(hapd, pos);
71 pos = hostapd_eid_adv_proto(hapd, pos);
72 pos = hostapd_eid_roaming_consortium(hapd, pos);
83 if (hapd->wps_beacon_ie) {
84 if (wpabuf_resize(&beacon, wpabuf_len(hapd->wps_beacon_ie)) <
87 wpabuf_put_buf(beacon, hapd
208 hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon, struct wpabuf *proberesp, struct wpabuf *assocresp) argument
219 hostapd_set_ap_wps_ie(struct hostapd_data *hapd) argument
240 hostapd_set_authorized(struct hostapd_data *hapd, struct sta_info *sta, int authorized) argument
256 hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta) argument
272 hostapd_set_drv_ieee8021x(struct hostapd_data *hapd, const char *ifname, int enabled) argument
295 hostapd_vlan_if_add(struct hostapd_data *hapd, const char *ifname) argument
304 hostapd_vlan_if_remove(struct hostapd_data *hapd, const char *ifname) argument
310 hostapd_set_wds_sta(struct hostapd_data *hapd, char *ifname_wds, const u8 *addr, int aid, int val) argument
326 hostapd_add_sta_node(struct hostapd_data *hapd, const u8 *addr, u16 auth_alg) argument
335 hostapd_sta_auth(struct hostapd_data *hapd, const u8 *addr, u16 seq, u16 status, const u8 *ie, size_t len) argument
345 hostapd_sta_assoc(struct hostapd_data *hapd, const u8 *addr, int reassoc, u16 status, const u8 *ie, size_t len) argument
355 hostapd_sta_add(struct hostapd_data *hapd, const u8 *addr, u16 aid, u16 capability, const u8 *supp_rates, size_t supp_rates_len, u16 listen_interval, const struct ieee80211_ht_capabilities *ht_capab, const struct ieee80211_vht_capabilities *vht_capab, u32 flags, u8 qosinfo, u8 vht_opmode) argument
387 hostapd_add_tspec(struct hostapd_data *hapd, const u8 *addr, u8 *tspec_ie, size_t tspec_ielen) argument
397 hostapd_set_privacy(struct hostapd_data *hapd, int enabled) argument
405 hostapd_set_generic_elem(struct hostapd_data *hapd, const u8 *elem, size_t elem_len) argument
414 hostapd_get_ssid(struct hostapd_data *hapd, u8 *buf, size_t len) argument
422 hostapd_set_ssid(struct hostapd_data *hapd, const u8 *buf, size_t len) argument
430 hostapd_if_add(struct hostapd_data *hapd, enum wpa_driver_if_type type, const char *ifname, const u8 *addr, void *bss_ctx, void **drv_priv, char *force_ifname, u8 *if_addr, const char *bridge, int use_existing) argument
443 hostapd_if_remove(struct hostapd_data *hapd, enum wpa_driver_if_type type, const char *ifname) argument
453 hostapd_set_ieee8021x(struct hostapd_data *hapd, struct wpa_bss_params *params) argument
462 hostapd_get_seqnum(const char *ifname, struct hostapd_data *hapd, const u8 *addr, int idx, u8 *seq) argument
472 hostapd_flush(struct hostapd_data *hapd) argument
565 hostapd_set_freq(struct hostapd_data *hapd, int mode, int freq, int channel, int ht_enabled, int vht_enabled, int sec_channel_offset, int vht_oper_chwidth, int center_segment0, int center_segment1) argument
586 hostapd_set_rts(struct hostapd_data *hapd, int rts) argument
594 hostapd_set_frag(struct hostapd_data *hapd, int frag) argument
602 hostapd_sta_set_flags(struct hostapd_data *hapd, u8 *addr, int total_flags, int flags_or, int flags_and) argument
612 hostapd_set_country(struct hostapd_data *hapd, const char *country) argument
621 hostapd_set_tx_queue_params(struct hostapd_data *hapd, int queue, int aifs, int cw_min, int cw_max, int burst_time) argument
632 hostapd_get_hw_feature_data(struct hostapd_data *hapd, u16 *num_modes, u16 *flags) argument
643 hostapd_driver_commit(struct hostapd_data *hapd) argument
651 hostapd_drv_none(struct hostapd_data *hapd) argument
657 hostapd_driver_scan(struct hostapd_data *hapd, struct wpa_driver_scan_params *params) argument
666 hostapd_driver_get_scan_results( struct hostapd_data *hapd) argument
675 hostapd_driver_set_noa(struct hostapd_data *hapd, u8 count, int start, int duration) argument
685 hostapd_drv_set_key(const char *ifname, struct hostapd_data *hapd, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) argument
699 hostapd_drv_send_mlme(struct hostapd_data *hapd, const void *msg, size_t len, int noack) argument
708 hostapd_drv_sta_deauth(struct hostapd_data *hapd, const u8 *addr, int reason) argument
718 hostapd_drv_sta_disassoc(struct hostapd_data *hapd, const u8 *addr, int reason) argument
728 hostapd_drv_wnm_oper(struct hostapd_data *hapd, enum wnm_oper oper, const u8 *peer, u8 *buf, u16 *buf_len) argument
738 hostapd_drv_send_action(struct hostapd_data *hapd, unsigned int freq, unsigned int wait, const u8 *dst, const u8 *data, size_t len) argument
755 struct hostapd_data *hapd = iface->bss[0]; local
787 hostapd_drv_set_qos_map(struct hostapd_data *hapd, const u8 *qos_map_set, u8 qos_map_set_len) argument
[all...]
H A Dhostapd.c40 static int hostapd_flush_old_stations(struct hostapd_data *hapd, u16 reason);
41 static int hostapd_setup_encryption(char *iface, struct hostapd_data *hapd);
42 static int hostapd_broadcast_wep_clear(struct hostapd_data *hapd);
64 static void hostapd_reload_bss(struct hostapd_data *hapd) argument
69 radius_client_reconfig(hapd->radius, hapd->conf->radius);
72 ssid = &hapd->conf->ssid;
82 if (hostapd_setup_wpa_psk(hapd->conf)) {
87 if (hapd->conf->ieee802_1x || hapd
149 struct hostapd_data *hapd = iface->bss[0]; local
198 hostapd_broadcast_key_clear_iface(struct hostapd_data *hapd, char *ifname) argument
227 hostapd_broadcast_wep_clear(struct hostapd_data *hapd) argument
234 hostapd_broadcast_wep_set(struct hostapd_data *hapd) argument
253 hostapd_free_hapd_data(struct hostapd_data *hapd) argument
330 hostapd_cleanup(struct hostapd_data *hapd) argument
377 hostapd_clear_wep(struct hostapd_data *hapd) argument
386 hostapd_setup_encryption(char *iface, struct hostapd_data *hapd) argument
422 hostapd_flush_old_stations(struct hostapd_data *hapd, u16 reason) argument
449 hostapd_bss_deinit_no_free(struct hostapd_data *hapd) argument
467 struct hostapd_data *hapd = iface->bss[0]; local
567 hostapd_das_nas_mismatch(struct hostapd_data *hapd, struct radius_das_attrs *attr) argument
602 hostapd_das_find_sta(struct hostapd_data *hapd, struct radius_das_attrs *attr) argument
654 struct hostapd_data *hapd = ctx; local
687 hostapd_setup_bss(struct hostapd_data *hapd, int first) argument
898 struct hostapd_data *hapd = iface->bss[0]; local
915 hostapd_set_acl_list(struct hostapd_data *hapd, struct mac_acl_entry *mac_acl, int n_entries, u8 accept_acl) argument
942 hostapd_set_acl(struct hostapd_data *hapd) argument
973 start_ctrl_iface_bss(struct hostapd_data *hapd) argument
998 struct hostapd_data *hapd = iface->bss[i]; local
1042 struct hostapd_data *hapd = iface->bss[0]; local
1164 struct hostapd_data *hapd = iface->bss[0]; local
1346 struct hostapd_data *hapd; local
1363 hostapd_bss_deinit(struct hostapd_data *hapd) argument
1421 struct hostapd_data *hapd; local
1477 struct hostapd_data *hapd = iface->bss[j]; local
1503 struct hostapd_data *hapd; local
1730 struct hostapd_data *hapd = hapd_iface->bss[j]; local
1818 struct hostapd_data *hapd; local
1846 struct hostapd_data *hapd; local
2002 struct hostapd_data *hapd = iface->bss[idx]; local
2077 hostapd_new_assoc_sta(struct hostapd_data *hapd, struct sta_info *sta, int reassoc) argument
2182 hostapd_build_beacon_data(struct hostapd_data *hapd, struct beacon_data *beacon) argument
2278 hostapd_change_config_freq(struct hostapd_data *hapd, struct hostapd_config *conf, struct hostapd_freq_params *params, struct hostapd_freq_params *old_params) argument
2311 hostapd_fill_csa_settings(struct hostapd_data *hapd, struct csa_settings *settings) argument
2355 hostapd_cleanup_cs_params(struct hostapd_data *hapd) argument
2366 hostapd_switch_channel(struct hostapd_data *hapd, struct csa_settings *settings) argument
[all...]
H A Dieee802_11.c44 u8 * hostapd_eid_supp_rates(struct hostapd_data *hapd, u8 *eid) argument
49 if (hapd->iface->current_rates == NULL)
53 num = hapd->iface->num_rates;
54 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht)
56 if (hapd->iconf->ieee80211ac && hapd->iconf->require_vht)
65 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num;
68 *pos = hapd->iface->current_rates[i].rate / 5;
69 if (hapd
88 hostapd_eid_ext_supp_rates(struct hostapd_data *hapd, u8 *eid) argument
134 hostapd_own_capab_info(struct hostapd_data *hapd, struct sta_info *sta, int probe) argument
205 auth_shared_key(struct hostapd_data *hapd, struct sta_info *sta, u16 auth_transaction, const u8 *challenge, int iswep) argument
260 send_auth_reply(struct hostapd_data *hapd, const u8 *dst, const u8 *bssid, u16 auth_alg, u16 auth_transaction, u16 resp, const u8 *ies, size_t ies_len) argument
304 struct hostapd_data *hapd = ctx; local
327 auth_process_sae_commit(struct hostapd_data *hapd, struct sta_info *sta) argument
359 auth_build_sae_confirm(struct hostapd_data *hapd, struct sta_info *sta) argument
374 use_sae_anti_clogging(struct hostapd_data *hapd) argument
397 check_sae_token(struct hostapd_data *hapd, const u8 *addr, const u8 *token, size_t token_len) argument
413 auth_build_token_req(struct hostapd_data *hapd, const u8 *addr) argument
443 handle_auth_sae(struct hostapd_data *hapd, struct sta_info *sta, const struct ieee80211_mgmt *mgmt, size_t len, u8 auth_transaction) argument
543 handle_auth(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len) argument
755 hostapd_get_aid(struct hostapd_data *hapd, struct sta_info *sta) argument
788 check_ssid(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ssid_ie, size_t ssid_ie_len) argument
807 check_wmm(struct hostapd_data *hapd, struct sta_info *sta, const u8 *wmm_ie, size_t wmm_ie_len) argument
832 copy_supp_rates(struct hostapd_data *hapd, struct sta_info *sta, struct ieee802_11_elems *elems) argument
861 check_ext_capab(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ext_capab_ie, size_t ext_capab_ie_len) argument
876 check_assoc_ies(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ies, size_t ies_len, int reassoc) argument
1139 send_deauth(struct hostapd_data *hapd, const u8 *addr, u16 reason_code) argument
1161 send_assoc_resp(struct hostapd_data *hapd, struct sta_info *sta, u16 status_code, int reassoc, const u8 *ies, size_t ies_len) argument
1274 handle_assoc(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len, int reassoc) argument
1456 handle_disassoc(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len) argument
1504 handle_deauth(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len) argument
1541 handle_beacon(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len, struct hostapd_frame_info *fi) argument
1564 hostapd_sa_query_action(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len) argument
1593 handle_action(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len) argument
1731 ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len, struct hostapd_frame_info *fi) argument
1822 handle_auth_cb(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len, int ok) argument
1863 hostapd_set_wds_encryption(struct hostapd_data *hapd, struct sta_info *sta, char *ifname_wds) argument
1887 handle_assoc_cb(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len, int reassoc, int ok) argument
2026 handle_deauth_cb(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len, int ok) argument
2050 handle_disassoc_cb(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len, int ok) argument
2083 ieee802_11_mgmt_cb(struct hostapd_data *hapd, const u8 *buf, size_t len, u16 stype, int ok) argument
2131 ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen) argument
2138 ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
2146 hostapd_tx_status(struct hostapd_data *hapd, const u8 *addr, const u8 *buf, size_t len, int ack) argument
2176 hostapd_eapol_tx_status(struct hostapd_data *hapd, const u8 *dst, const u8 *data, size_t len, int ack) argument
2203 hostapd_client_poll_ok(struct hostapd_data *hapd, const u8 *addr) argument
2229 ieee802_11_rx_from_unknown(struct hostapd_data *hapd, const u8 *src, int wds) argument
[all...]
H A Dieee802_1x.c37 static void ieee802_1x_finished(struct hostapd_data *hapd,
42 static void ieee802_1x_send(struct hostapd_data *hapd, struct sta_info *sta, argument
60 xhdr->version = hapd->conf->eapol_version;
70 rsn_preauth_send(hapd, sta, buf, len);
73 hapd, sta->addr, buf, len,
81 void ieee802_1x_set_sta_authorized(struct hostapd_data *hapd, argument
90 ap_sta_set_authorized(hapd, sta, 1);
91 res = hostapd_set_authorized(hapd, sta, 1);
92 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE8021X,
95 ap_sta_set_authorized(hapd, st
114 ieee802_1x_tx_key_one(struct hostapd_data *hapd, struct sta_info *sta, int idx, int broadcast, u8 *key_data, size_t key_len) argument
193 ieee802_1x_tx_key(struct hostapd_data *hapd, struct sta_info *sta) argument
249 radius_mode_txt(struct hostapd_data *hapd) argument
265 radius_sta_rate(struct hostapd_data *hapd, struct sta_info *sta) argument
279 ieee802_1x_learn_identity(struct hostapd_data *hapd, struct eapol_state_machine *sm, const u8 *eap, size_t len) argument
309 add_common_radius_sta_attr_rsn(struct hostapd_data *hapd, struct hostapd_radius_attr *req_attr, struct sta_info *sta, struct radius_msg *msg) argument
370 add_common_radius_sta_attr(struct hostapd_data *hapd, struct hostapd_radius_attr *req_attr, struct sta_info *sta, struct radius_msg *msg) argument
444 add_common_radius_attr(struct hostapd_data *hapd, struct hostapd_radius_attr *req_attr, struct sta_info *sta, struct radius_msg *msg) argument
536 ieee802_1x_encapsulate_radius(struct hostapd_data *hapd, struct sta_info *sta, const u8 *eap, size_t len) argument
668 handle_eap_response(struct hostapd_data *hapd, struct sta_info *sta, struct eap_hdr *eap, size_t len) argument
701 handle_eap(struct hostapd_data *hapd, struct sta_info *sta, u8 *buf, size_t len) argument
751 ieee802_1x_alloc_eapol_sm(struct hostapd_data *hapd, struct sta_info *sta) argument
776 ieee802_1x_receive(struct hostapd_data *hapd, const u8 *sa, const u8 *buf, size_t len) argument
956 ieee802_1x_new_station(struct hostapd_data *hapd, struct sta_info *sta) argument
1105 ieee802_1x_decapsulate_radius(struct hostapd_data *hapd, struct sta_info *sta) argument
1186 ieee802_1x_get_keys(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg, struct radius_msg *req, const u8 *shared_secret, size_t shared_secret_len) argument
1227 ieee802_1x_store_radius_class(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg) argument
1283 ieee802_1x_update_sta_identity(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg) argument
1315 ieee802_1x_update_sta_cui(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg) argument
1366 ieee802_1x_hs20_deauth_req(struct hostapd_data *hapd, struct sta_info *sta, u8 *pos, size_t len) argument
1387 ieee802_1x_hs20_session_info(struct hostapd_data *hapd, struct sta_info *sta, u8 *pos, size_t len, int session_timeout) argument
1431 ieee802_1x_check_hs20(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg, int session_timeout) argument
1487 ieee802_1x_select_radius_identifier(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument
1504 ieee802_1x_search_radius_identifier(struct hostapd_data *hapd, u8 identifier) argument
1528 struct hostapd_data *hapd = data; local
1691 ieee802_1x_abort_auth(struct hostapd_data *hapd, struct sta_info *sta) argument
1721 ieee802_1x_rekey_broadcast(struct hostapd_data *hapd) argument
1747 ieee802_1x_sta_key_available(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument
1760 struct hostapd_data *hapd = eloop_ctx; local
1840 struct hostapd_data *hapd = ctx; local
1851 struct hostapd_data *hapd = ctx; local
1864 struct hostapd_data *hapd = ctx; local
1899 struct hostapd_data *hapd = ctx; local
1912 struct hostapd_data *hapd = ctx; local
1937 struct hostapd_data *hapd = ctx; local
1945 struct hostapd_data *hapd = ctx; local
1953 struct hostapd_data *hapd = ctx; local
1975 ieee802_1x_init(struct hostapd_data *hapd) argument
2055 ieee802_1x_deinit(struct hostapd_data *hapd) argument
2068 ieee802_1x_tx_status(struct hostapd_data *hapd, struct sta_info *sta, const u8 *buf, size_t len, int ack) argument
2095 ieee802_1x_eapol_tx_status(struct hostapd_data *hapd, struct sta_info *sta, const u8 *buf, int len, int ack) argument
2227 ieee802_1x_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen) argument
2234 ieee802_1x_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
2394 ieee802_1x_finished(struct hostapd_data *hapd, struct sta_info *sta, int success, int remediation) argument
[all...]
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_wired.c349 static void * wired_driver_hapd_init(struct hostapd_data *hapd, argument
360 drv->ctx = hapd;
H A Ddriver_hostap.c38 struct hostapd_data *hapd; member in struct:hostap_driver_data
82 wpa_supplicant_event(drv->hapd, EVENT_RX_FROM_UNKNOWN, &event);
109 drv_event_eapol_rx(drv->hapd, sa, pos, left);
136 wpa_supplicant_event(drv->hapd, EVENT_TX_STATUS, &event);
193 wpa_supplicant_event(drv->hapd, EVENT_RX_MGMT, &event);
807 wpa_supplicant_event(drv->hapd,
961 static void * hostap_init(struct hostapd_data *hapd, argument
972 drv->hapd = hapd;
H A Ddriver_madwifi.c74 struct hostapd_data *hapd; /* back pointer */ member in struct:madwifi_driver_data
730 wpa_supplicant_event(drv->hapd, EVENT_RX_PROBE_REQ, &event);
818 struct hostapd_data *hapd = drv->hapd; local
859 drv_event_assoc(hapd, addr, iebuf, ielen, 0);
890 wpa_supplicant_event(drv->hapd,
958 drv_event_disassoc(drv->hapd,
1121 drv_event_eapol_rx(drv->hapd, src_addr, buf + sizeof(struct l2_ethhdr),
1126 madwifi_init(struct hostapd_data *hapd, struct wpa_init_params *params) argument
1139 drv->hapd
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Ddrv_callbacks.c37 int hostapd_notif_assoc(struct hostapd_data *hapd, const u8 *addr, argument
67 hostapd_logger(hapd, addr, HOSTAPD_MODULE_IEEE80211,
96 sta = ap_get_sta(hapd, addr);
98 ap_sta_no_session_timeout(hapd, sta);
99 accounting_sta_stop(hapd, sta);
107 sta = ap_sta_add(hapd, addr);
109 hostapd_drv_sta_disassoc(hapd, addr,
131 (hapd->iface->conf->ht_capab &
139 ht40_intolerant_add(hapd->iface, sta);
160 if (hapd
386 hostapd_notif_disassoc(struct hostapd_data *hapd, const u8 *addr) argument
422 hostapd_event_sta_low_ack(struct hostapd_data *hapd, const u8 *addr) argument
438 hostapd_event_ch_switch(struct hostapd_data *hapd, int freq, int ht, int offset, int width, int cf1, int cf2) argument
509 hostapd_event_connect_failed_reason(struct hostapd_data *hapd, const u8 *addr, int reason_code) argument
525 hostapd_probe_req_rx(struct hostapd_data *hapd, const u8 *sa, const u8 *da, const u8 *bssid, const u8 *ie, size_t ie_len, int ssi_signal) argument
556 struct hostapd_data *hapd = ctx; local
572 hostapd_notif_auth(struct hostapd_data *hapd, struct auth_info *rx_auth) argument
615 hostapd_action_rx(struct hostapd_data *hapd, struct rx_mgmt *drv_mgmt) argument
687 hostapd_rx_from_unknown_sta(struct hostapd_data *hapd, const u8 *bssid, const u8 *addr, int wds) argument
699 hostapd_mgmt_rx(struct hostapd_data *hapd, struct rx_mgmt *rx_mgmt) argument
770 hostapd_mgmt_tx_cb(struct hostapd_data *hapd, const u8 *buf, size_t len, u16 stype, int ok) argument
784 hostapd_event_new_sta(struct hostapd_data *hapd, const u8 *addr) argument
805 hostapd_event_eapol_rx(struct hostapd_data *hapd, const u8 *src, const u8 *data, size_t data_len) argument
861 hostapd_event_get_survey(struct hostapd_data *hapd, struct survey_results *survey_results) argument
893 hostapd_event_iface_unavailable(struct hostapd_data *hapd) argument
907 hostapd_event_dfs_radar_detected(struct hostapd_data *hapd, struct dfs_event *radar) argument
917 hostapd_event_dfs_cac_finished(struct hostapd_data *hapd, struct dfs_event *radar) argument
927 hostapd_event_dfs_cac_aborted(struct hostapd_data *hapd, struct dfs_event *radar) argument
937 hostapd_event_dfs_nop_finished(struct hostapd_data *hapd, struct dfs_event *radar) argument
952 struct hostapd_data *hapd = ctx; local
[all...]
H A Dgas_serv.c30 gas_dialog_create(struct hostapd_data *hapd, const u8 *addr, u8 dialog_token) argument
36 sta = ap_get_sta(hapd, addr);
44 sta = ap_sta_add(hapd, addr);
55 ap_sta_session_timeout(hapd, sta, 5);
57 ap_sta_replenish_timeout(hapd, sta, 5);
79 wpa_msg(hapd->msg_ctx, MSG_ERROR, "ANQP: Could not create dialog for "
88 gas_serv_dialog_find(struct hostapd_data *hapd, const u8 *addr, argument
94 sta = ap_get_sta(hapd, addr);
119 static void gas_serv_free_dialogs(struct hostapd_data *hapd, argument
125 sta = ap_get_sta(hapd, sta_add
140 anqp_add_hs_capab_list(struct hostapd_data *hapd, struct wpabuf *buf) argument
170 anqp_add_capab_list(struct hostapd_data *hapd, struct wpabuf *buf) argument
198 anqp_add_venue_name(struct hostapd_data *hapd, struct wpabuf *buf) argument
218 anqp_add_network_auth_type(struct hostapd_data *hapd, struct wpabuf *buf) argument
230 anqp_add_roaming_consortium(struct hostapd_data *hapd, struct wpabuf *buf) argument
247 anqp_add_ip_addr_type_availability(struct hostapd_data *hapd, struct wpabuf *buf) argument
296 hs20_add_nai_home_realm_matches(struct hostapd_data *hapd, struct wpabuf *buf, const u8 *home_realm, size_t home_realm_len) argument
390 anqp_add_nai_realm(struct hostapd_data *hapd, struct wpabuf *buf, const u8 *home_realm, size_t home_realm_len, int nai_realm, int nai_home_realm) argument
424 anqp_add_3gpp_cellular_network(struct hostapd_data *hapd, struct wpabuf *buf) argument
437 anqp_add_domain_name(struct hostapd_data *hapd, struct wpabuf *buf) argument
450 anqp_add_operator_friendly_name(struct hostapd_data *hapd, struct wpabuf *buf) argument
474 anqp_add_wan_metrics(struct hostapd_data *hapd, struct wpabuf *buf) argument
489 anqp_add_connection_capability(struct hostapd_data *hapd, struct wpabuf *buf) argument
505 anqp_add_operating_class(struct hostapd_data *hapd, struct wpabuf *buf) argument
598 anqp_add_osu_providers_list(struct hostapd_data *hapd, struct wpabuf *buf) argument
628 anqp_add_icon_binary_file(struct hostapd_data *hapd, struct wpabuf *buf, const u8 *name, size_t name_len) argument
687 gas_serv_build_gas_resp_payload(struct hostapd_data *hapd, unsigned int request, const u8 *home_realm, size_t home_realm_len, const u8 *icon_name, size_t icon_name_len) argument
766 rx_anqp_query_list_id(struct hostapd_data *hapd, u16 info_id, struct anqp_query_info *qi) argument
812 rx_anqp_query_list(struct hostapd_data *hapd, const u8 *pos, const u8 *end, struct anqp_query_info *qi) argument
828 rx_anqp_hs_query_list(struct hostapd_data *hapd, u8 subtype, struct anqp_query_info *qi) argument
867 rx_anqp_hs_nai_home_realm(struct hostapd_data *hapd, const u8 *pos, const u8 *end, struct anqp_query_info *qi) argument
884 rx_anqp_hs_icon_request(struct hostapd_data *hapd, const u8 *pos, const u8 *end, struct anqp_query_info *qi) argument
901 rx_anqp_vendor_specific(struct hostapd_data *hapd, const u8 *pos, const u8 *end, struct anqp_query_info *qi) argument
958 gas_serv_req_local_processing(struct hostapd_data *hapd, const u8 *sa, u8 dialog_token, struct anqp_query_info *qi, int prot) argument
1018 gas_serv_rx_gas_initial_req(struct hostapd_data *hapd, const u8 *sa, const u8 *data, size_t len, int prot) argument
1127 gas_serv_rx_gas_comeback_req(struct hostapd_data *hapd, const u8 *sa, const u8 *data, size_t len, int prot) argument
1214 struct hostapd_data *hapd = ctx; local
1245 gas_serv_init(struct hostapd_data *hapd) argument
1256 gas_serv_deinit(struct hostapd_data *hapd) argument
[all...]
H A Dhw_features.c76 struct hostapd_data *hapd = iface->bss[0]; local
81 if (hostapd_drv_none(hapd))
83 modes = hostapd_get_hw_feature_data(hapd, &num_modes, &flags);
85 hostapd_logger(hapd, NULL, HOSTAPD_MODULE_IEEE80211,
100 int dfs_enabled = hapd->iconf->ieee80211h &&
1132 int hostapd_hw_get_freq(struct hostapd_data *hapd, int chan) argument
1136 if (!hapd->iface->current_mode)
1139 for (i = 0; i < hapd->iface->current_mode->num_channels; i++) {
1141 &hapd->iface->current_mode->channels[i];
1150 int hostapd_hw_get_channel(struct hostapd_data *hapd, in argument
[all...]
H A Dap_drv_ops.c39 int hostapd_build_ap_extra_ies(struct hostapd_data *hapd, argument
50 pos = hostapd_eid_time_adv(hapd, pos);
56 pos = hostapd_eid_time_zone(hapd, pos);
64 pos = hostapd_eid_ext_capab(hapd, pos);
70 pos = hostapd_eid_interworking(hapd, pos);
71 pos = hostapd_eid_adv_proto(hapd, pos);
72 pos = hostapd_eid_roaming_consortium(hapd, pos);
83 if (hapd->wps_beacon_ie) {
84 if (wpabuf_resize(&beacon, wpabuf_len(hapd->wps_beacon_ie)) <
87 wpabuf_put_buf(beacon, hapd
208 hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon, struct wpabuf *proberesp, struct wpabuf *assocresp) argument
219 hostapd_set_ap_wps_ie(struct hostapd_data *hapd) argument
240 hostapd_set_authorized(struct hostapd_data *hapd, struct sta_info *sta, int authorized) argument
256 hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta) argument
272 hostapd_set_drv_ieee8021x(struct hostapd_data *hapd, const char *ifname, int enabled) argument
295 hostapd_vlan_if_add(struct hostapd_data *hapd, const char *ifname) argument
304 hostapd_vlan_if_remove(struct hostapd_data *hapd, const char *ifname) argument
310 hostapd_set_wds_sta(struct hostapd_data *hapd, char *ifname_wds, const u8 *addr, int aid, int val) argument
326 hostapd_add_sta_node(struct hostapd_data *hapd, const u8 *addr, u16 auth_alg) argument
335 hostapd_sta_auth(struct hostapd_data *hapd, const u8 *addr, u16 seq, u16 status, const u8 *ie, size_t len) argument
345 hostapd_sta_assoc(struct hostapd_data *hapd, const u8 *addr, int reassoc, u16 status, const u8 *ie, size_t len) argument
355 hostapd_sta_add(struct hostapd_data *hapd, const u8 *addr, u16 aid, u16 capability, const u8 *supp_rates, size_t supp_rates_len, u16 listen_interval, const struct ieee80211_ht_capabilities *ht_capab, const struct ieee80211_vht_capabilities *vht_capab, u32 flags, u8 qosinfo, u8 vht_opmode) argument
387 hostapd_add_tspec(struct hostapd_data *hapd, const u8 *addr, u8 *tspec_ie, size_t tspec_ielen) argument
397 hostapd_set_privacy(struct hostapd_data *hapd, int enabled) argument
405 hostapd_set_generic_elem(struct hostapd_data *hapd, const u8 *elem, size_t elem_len) argument
414 hostapd_get_ssid(struct hostapd_data *hapd, u8 *buf, size_t len) argument
422 hostapd_set_ssid(struct hostapd_data *hapd, const u8 *buf, size_t len) argument
430 hostapd_if_add(struct hostapd_data *hapd, enum wpa_driver_if_type type, const char *ifname, const u8 *addr, void *bss_ctx, void **drv_priv, char *force_ifname, u8 *if_addr, const char *bridge, int use_existing) argument
443 hostapd_if_remove(struct hostapd_data *hapd, enum wpa_driver_if_type type, const char *ifname) argument
453 hostapd_set_ieee8021x(struct hostapd_data *hapd, struct wpa_bss_params *params) argument
462 hostapd_get_seqnum(const char *ifname, struct hostapd_data *hapd, const u8 *addr, int idx, u8 *seq) argument
472 hostapd_flush(struct hostapd_data *hapd) argument
565 hostapd_set_freq(struct hostapd_data *hapd, int mode, int freq, int channel, int ht_enabled, int vht_enabled, int sec_channel_offset, int vht_oper_chwidth, int center_segment0, int center_segment1) argument
586 hostapd_set_rts(struct hostapd_data *hapd, int rts) argument
594 hostapd_set_frag(struct hostapd_data *hapd, int frag) argument
602 hostapd_sta_set_flags(struct hostapd_data *hapd, u8 *addr, int total_flags, int flags_or, int flags_and) argument
612 hostapd_set_country(struct hostapd_data *hapd, const char *country) argument
621 hostapd_set_tx_queue_params(struct hostapd_data *hapd, int queue, int aifs, int cw_min, int cw_max, int burst_time) argument
632 hostapd_get_hw_feature_data(struct hostapd_data *hapd, u16 *num_modes, u16 *flags) argument
643 hostapd_driver_commit(struct hostapd_data *hapd) argument
651 hostapd_drv_none(struct hostapd_data *hapd) argument
657 hostapd_driver_scan(struct hostapd_data *hapd, struct wpa_driver_scan_params *params) argument
666 hostapd_driver_get_scan_results( struct hostapd_data *hapd) argument
675 hostapd_driver_set_noa(struct hostapd_data *hapd, u8 count, int start, int duration) argument
685 hostapd_drv_set_key(const char *ifname, struct hostapd_data *hapd, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) argument
699 hostapd_drv_send_mlme(struct hostapd_data *hapd, const void *msg, size_t len, int noack) argument
708 hostapd_drv_sta_deauth(struct hostapd_data *hapd, const u8 *addr, int reason) argument
718 hostapd_drv_sta_disassoc(struct hostapd_data *hapd, const u8 *addr, int reason) argument
728 hostapd_drv_wnm_oper(struct hostapd_data *hapd, enum wnm_oper oper, const u8 *peer, u8 *buf, u16 *buf_len) argument
738 hostapd_drv_send_action(struct hostapd_data *hapd, unsigned int freq, unsigned int wait, const u8 *dst, const u8 *data, size_t len) argument
755 struct hostapd_data *hapd = iface->bss[0]; local
787 hostapd_drv_set_qos_map(struct hostapd_data *hapd, const u8 *qos_map_set, u8 qos_map_set_len) argument
[all...]
H A Dhostapd.c40 static int hostapd_flush_old_stations(struct hostapd_data *hapd, u16 reason);
41 static int hostapd_setup_encryption(char *iface, struct hostapd_data *hapd);
42 static int hostapd_broadcast_wep_clear(struct hostapd_data *hapd);
64 static void hostapd_reload_bss(struct hostapd_data *hapd) argument
69 radius_client_reconfig(hapd->radius, hapd->conf->radius);
72 ssid = &hapd->conf->ssid;
82 if (hostapd_setup_wpa_psk(hapd->conf)) {
87 if (hapd->conf->ieee802_1x || hapd
149 struct hostapd_data *hapd = iface->bss[0]; local
198 hostapd_broadcast_key_clear_iface(struct hostapd_data *hapd, char *ifname) argument
227 hostapd_broadcast_wep_clear(struct hostapd_data *hapd) argument
234 hostapd_broadcast_wep_set(struct hostapd_data *hapd) argument
253 hostapd_free_hapd_data(struct hostapd_data *hapd) argument
330 hostapd_cleanup(struct hostapd_data *hapd) argument
377 hostapd_clear_wep(struct hostapd_data *hapd) argument
386 hostapd_setup_encryption(char *iface, struct hostapd_data *hapd) argument
422 hostapd_flush_old_stations(struct hostapd_data *hapd, u16 reason) argument
449 hostapd_bss_deinit_no_free(struct hostapd_data *hapd) argument
467 struct hostapd_data *hapd = iface->bss[0]; local
567 hostapd_das_nas_mismatch(struct hostapd_data *hapd, struct radius_das_attrs *attr) argument
602 hostapd_das_find_sta(struct hostapd_data *hapd, struct radius_das_attrs *attr) argument
654 struct hostapd_data *hapd = ctx; local
687 hostapd_setup_bss(struct hostapd_data *hapd, int first) argument
898 struct hostapd_data *hapd = iface->bss[0]; local
915 hostapd_set_acl_list(struct hostapd_data *hapd, struct mac_acl_entry *mac_acl, int n_entries, u8 accept_acl) argument
942 hostapd_set_acl(struct hostapd_data *hapd) argument
973 start_ctrl_iface_bss(struct hostapd_data *hapd) argument
998 struct hostapd_data *hapd = iface->bss[i]; local
1042 struct hostapd_data *hapd = iface->bss[0]; local
1164 struct hostapd_data *hapd = iface->bss[0]; local
1346 struct hostapd_data *hapd; local
1363 hostapd_bss_deinit(struct hostapd_data *hapd) argument
1421 struct hostapd_data *hapd; local
1477 struct hostapd_data *hapd = iface->bss[j]; local
1503 struct hostapd_data *hapd; local
1730 struct hostapd_data *hapd = hapd_iface->bss[j]; local
1818 struct hostapd_data *hapd; local
1846 struct hostapd_data *hapd; local
2002 struct hostapd_data *hapd = iface->bss[idx]; local
2077 hostapd_new_assoc_sta(struct hostapd_data *hapd, struct sta_info *sta, int reassoc) argument
2182 hostapd_build_beacon_data(struct hostapd_data *hapd, struct beacon_data *beacon) argument
2278 hostapd_change_config_freq(struct hostapd_data *hapd, struct hostapd_config *conf, struct hostapd_freq_params *params, struct hostapd_freq_params *old_params) argument
2311 hostapd_fill_csa_settings(struct hostapd_data *hapd, struct csa_settings *settings) argument
2355 hostapd_cleanup_cs_params(struct hostapd_data *hapd) argument
2366 hostapd_switch_channel(struct hostapd_data *hapd, struct csa_settings *settings) argument
[all...]
H A Dieee802_11.c44 u8 * hostapd_eid_supp_rates(struct hostapd_data *hapd, u8 *eid) argument
49 if (hapd->iface->current_rates == NULL)
53 num = hapd->iface->num_rates;
54 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht)
56 if (hapd->iconf->ieee80211ac && hapd->iconf->require_vht)
65 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num;
68 *pos = hapd->iface->current_rates[i].rate / 5;
69 if (hapd
88 hostapd_eid_ext_supp_rates(struct hostapd_data *hapd, u8 *eid) argument
134 hostapd_own_capab_info(struct hostapd_data *hapd, struct sta_info *sta, int probe) argument
205 auth_shared_key(struct hostapd_data *hapd, struct sta_info *sta, u16 auth_transaction, const u8 *challenge, int iswep) argument
260 send_auth_reply(struct hostapd_data *hapd, const u8 *dst, const u8 *bssid, u16 auth_alg, u16 auth_transaction, u16 resp, const u8 *ies, size_t ies_len) argument
304 struct hostapd_data *hapd = ctx; local
327 auth_process_sae_commit(struct hostapd_data *hapd, struct sta_info *sta) argument
359 auth_build_sae_confirm(struct hostapd_data *hapd, struct sta_info *sta) argument
374 use_sae_anti_clogging(struct hostapd_data *hapd) argument
397 check_sae_token(struct hostapd_data *hapd, const u8 *addr, const u8 *token, size_t token_len) argument
413 auth_build_token_req(struct hostapd_data *hapd, const u8 *addr) argument
443 handle_auth_sae(struct hostapd_data *hapd, struct sta_info *sta, const struct ieee80211_mgmt *mgmt, size_t len, u8 auth_transaction) argument
543 handle_auth(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len) argument
755 hostapd_get_aid(struct hostapd_data *hapd, struct sta_info *sta) argument
788 check_ssid(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ssid_ie, size_t ssid_ie_len) argument
807 check_wmm(struct hostapd_data *hapd, struct sta_info *sta, const u8 *wmm_ie, size_t wmm_ie_len) argument
832 copy_supp_rates(struct hostapd_data *hapd, struct sta_info *sta, struct ieee802_11_elems *elems) argument
861 check_ext_capab(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ext_capab_ie, size_t ext_capab_ie_len) argument
876 check_assoc_ies(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ies, size_t ies_len, int reassoc) argument
1139 send_deauth(struct hostapd_data *hapd, const u8 *addr, u16 reason_code) argument
1161 send_assoc_resp(struct hostapd_data *hapd, struct sta_info *sta, u16 status_code, int reassoc, const u8 *ies, size_t ies_len) argument
1274 handle_assoc(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len, int reassoc) argument
1456 handle_disassoc(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len) argument
1504 handle_deauth(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len) argument
1541 handle_beacon(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len, struct hostapd_frame_info *fi) argument
1564 hostapd_sa_query_action(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len) argument
1593 handle_action(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len) argument
1731 ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len, struct hostapd_frame_info *fi) argument
1822 handle_auth_cb(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len, int ok) argument
1863 hostapd_set_wds_encryption(struct hostapd_data *hapd, struct sta_info *sta, char *ifname_wds) argument
1887 handle_assoc_cb(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len, int reassoc, int ok) argument
2026 handle_deauth_cb(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len, int ok) argument
2050 handle_disassoc_cb(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len, int ok) argument
2083 ieee802_11_mgmt_cb(struct hostapd_data *hapd, const u8 *buf, size_t len, u16 stype, int ok) argument
2131 ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen) argument
2138 ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
2146 hostapd_tx_status(struct hostapd_data *hapd, const u8 *addr, const u8 *buf, size_t len, int ack) argument
2176 hostapd_eapol_tx_status(struct hostapd_data *hapd, const u8 *dst, const u8 *data, size_t len, int ack) argument
2203 hostapd_client_poll_ok(struct hostapd_data *hapd, const u8 *addr) argument
2229 ieee802_11_rx_from_unknown(struct hostapd_data *hapd, const u8 *src, int wds) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_wired.c349 static void * wired_driver_hapd_init(struct hostapd_data *hapd, argument
360 drv->ctx = hapd;
/external/wpa_supplicant_8/hostapd/
H A Dctrl_iface.c51 static void hostapd_ctrl_iface_send(struct hostapd_data *hapd, int level,
55 static int hostapd_ctrl_iface_attach(struct hostapd_data *hapd, argument
67 dst->next = hapd->ctrl_dst;
68 hapd->ctrl_dst = dst;
76 static int hostapd_ctrl_iface_detach(struct hostapd_data *hapd, argument
82 dst = hapd->ctrl_dst;
93 hapd->ctrl_dst = dst->next;
106 static int hostapd_ctrl_iface_level(struct hostapd_data *hapd, argument
115 dst = hapd->ctrl_dst;
134 static int hostapd_ctrl_iface_new_sta(struct hostapd_data *hapd, argument
162 hostapd_ctrl_iface_sa_query(struct hostapd_data *hapd, const char *txtaddr) argument
183 hostapd_ctrl_iface_wps_pin(struct hostapd_data *hapd, char *txt) argument
212 hostapd_ctrl_iface_wps_check_pin( struct hostapd_data *hapd, char *cmd, char *buf, size_t buflen) argument
258 hostapd_ctrl_iface_wps_nfc_tag_read(struct hostapd_data *hapd, char *pos) argument
285 hostapd_ctrl_iface_wps_nfc_config_token(struct hostapd_data *hapd, char *cmd, char *reply, size_t max_len) argument
315 hostapd_ctrl_iface_wps_nfc_token_gen(struct hostapd_data *hapd, char *reply, size_t max_len, int ndef) argument
337 hostapd_ctrl_iface_wps_nfc_token(struct hostapd_data *hapd, char *cmd, char *reply, size_t max_len) argument
361 hostapd_ctrl_iface_nfc_get_handover_sel(struct hostapd_data *hapd, char *cmd, char *reply, size_t max_len) argument
400 hostapd_ctrl_iface_nfc_report_handover(struct hostapd_data *hapd, char *cmd) argument
472 hostapd_ctrl_iface_wps_ap_pin(struct hostapd_data *hapd, char *txt, char *buf, size_t buflen) argument
525 hostapd_ctrl_iface_wps_config(struct hostapd_data *hapd, char *txt) argument
569 hostapd_ctrl_iface_wps_get_status(struct hostapd_data *hapd, char *buf, size_t buflen) argument
623 hostapd_ctrl_iface_hs20_wnm_notif(struct hostapd_data *hapd, const char *cmd) argument
646 hostapd_ctrl_iface_hs20_deauth_req(struct hostapd_data *hapd, const char *cmd) argument
700 hostapd_ctrl_iface_set_qos_map_set(struct hostapd_data *hapd, const char *cmd) argument
744 hostapd_ctrl_iface_send_qos_map_conf(struct hostapd_data *hapd, const char *cmd) argument
800 hostapd_ctrl_iface_disassoc_imminent(struct hostapd_data *hapd, const char *cmd) argument
825 hostapd_ctrl_iface_ess_disassoc(struct hostapd_data *hapd, const char *cmd) argument
863 hostapd_ctrl_iface_get_config(struct hostapd_data *hapd, char *buf, size_t buflen) argument
1029 hostapd_ctrl_iface_set(struct hostapd_data *hapd, char *cmd) argument
1116 hostapd_ctrl_iface_get(struct hostapd_data *hapd, char *cmd, char *buf, size_t buflen) argument
1166 hostapd_ctrl_iface_radar(struct hostapd_data *hapd, char *cmd) argument
1225 hostapd_ctrl_iface_mgmt_tx(struct hostapd_data *hapd, char *cmd) argument
1283 hostapd_ctrl_iface_mib(struct hostapd_data *hapd, char *reply, int reply_size, const char *param) argument
1296 hostapd_ctrl_iface_vendor(struct hostapd_data *hapd, char *cmd, char *buf, size_t buflen) argument
1356 struct hostapd_data *hapd = eloop_ctx; local
1576 hostapd_ctrl_iface_path(struct hostapd_data *hapd) argument
1600 struct hostapd_data *hapd = ctx; local
1607 hostapd_ctrl_iface_init(struct hostapd_data *hapd) argument
1750 hostapd_ctrl_iface_deinit(struct hostapd_data *hapd) argument
2038 hostapd_ctrl_iface_send(struct hostapd_data *hapd, int level, const char *buf, size_t len) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dap_drv_ops.c39 int hostapd_build_ap_extra_ies(struct hostapd_data *hapd, argument
50 pos = hostapd_eid_time_adv(hapd, pos);
56 pos = hostapd_eid_time_zone(hapd, pos);
64 pos = hostapd_eid_ext_capab(hapd, pos);
70 pos = hostapd_eid_interworking(hapd, pos);
71 pos = hostapd_eid_adv_proto(hapd, pos);
72 pos = hostapd_eid_roaming_consortium(hapd, pos);
83 if (hapd->wps_beacon_ie) {
84 if (wpabuf_resize(&beacon, wpabuf_len(hapd->wps_beacon_ie)) <
87 wpabuf_put_buf(beacon, hapd
208 hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon, struct wpabuf *proberesp, struct wpabuf *assocresp) argument
219 hostapd_set_ap_wps_ie(struct hostapd_data *hapd) argument
240 hostapd_set_authorized(struct hostapd_data *hapd, struct sta_info *sta, int authorized) argument
256 hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta) argument
272 hostapd_set_drv_ieee8021x(struct hostapd_data *hapd, const char *ifname, int enabled) argument
295 hostapd_vlan_if_add(struct hostapd_data *hapd, const char *ifname) argument
304 hostapd_vlan_if_remove(struct hostapd_data *hapd, const char *ifname) argument
310 hostapd_set_wds_sta(struct hostapd_data *hapd, char *ifname_wds, const u8 *addr, int aid, int val) argument
326 hostapd_add_sta_node(struct hostapd_data *hapd, const u8 *addr, u16 auth_alg) argument
335 hostapd_sta_auth(struct hostapd_data *hapd, const u8 *addr, u16 seq, u16 status, const u8 *ie, size_t len) argument
345 hostapd_sta_assoc(struct hostapd_data *hapd, const u8 *addr, int reassoc, u16 status, const u8 *ie, size_t len) argument
355 hostapd_sta_add(struct hostapd_data *hapd, const u8 *addr, u16 aid, u16 capability, const u8 *supp_rates, size_t supp_rates_len, u16 listen_interval, const struct ieee80211_ht_capabilities *ht_capab, const struct ieee80211_vht_capabilities *vht_capab, u32 flags, u8 qosinfo, u8 vht_opmode) argument
387 hostapd_add_tspec(struct hostapd_data *hapd, const u8 *addr, u8 *tspec_ie, size_t tspec_ielen) argument
397 hostapd_set_privacy(struct hostapd_data *hapd, int enabled) argument
405 hostapd_set_generic_elem(struct hostapd_data *hapd, const u8 *elem, size_t elem_len) argument
414 hostapd_get_ssid(struct hostapd_data *hapd, u8 *buf, size_t len) argument
422 hostapd_set_ssid(struct hostapd_data *hapd, const u8 *buf, size_t len) argument
430 hostapd_if_add(struct hostapd_data *hapd, enum wpa_driver_if_type type, const char *ifname, const u8 *addr, void *bss_ctx, void **drv_priv, char *force_ifname, u8 *if_addr, const char *bridge, int use_existing) argument
443 hostapd_if_remove(struct hostapd_data *hapd, enum wpa_driver_if_type type, const char *ifname) argument
453 hostapd_set_ieee8021x(struct hostapd_data *hapd, struct wpa_bss_params *params) argument
462 hostapd_get_seqnum(const char *ifname, struct hostapd_data *hapd, const u8 *addr, int idx, u8 *seq) argument
472 hostapd_flush(struct hostapd_data *hapd) argument
565 hostapd_set_freq(struct hostapd_data *hapd, int mode, int freq, int channel, int ht_enabled, int vht_enabled, int sec_channel_offset, int vht_oper_chwidth, int center_segment0, int center_segment1) argument
586 hostapd_set_rts(struct hostapd_data *hapd, int rts) argument
594 hostapd_set_frag(struct hostapd_data *hapd, int frag) argument
602 hostapd_sta_set_flags(struct hostapd_data *hapd, u8 *addr, int total_flags, int flags_or, int flags_and) argument
612 hostapd_set_country(struct hostapd_data *hapd, const char *country) argument
621 hostapd_set_tx_queue_params(struct hostapd_data *hapd, int queue, int aifs, int cw_min, int cw_max, int burst_time) argument
632 hostapd_get_hw_feature_data(struct hostapd_data *hapd, u16 *num_modes, u16 *flags) argument
643 hostapd_driver_commit(struct hostapd_data *hapd) argument
651 hostapd_drv_none(struct hostapd_data *hapd) argument
657 hostapd_driver_scan(struct hostapd_data *hapd, struct wpa_driver_scan_params *params) argument
666 hostapd_driver_get_scan_results( struct hostapd_data *hapd) argument
675 hostapd_driver_set_noa(struct hostapd_data *hapd, u8 count, int start, int duration) argument
685 hostapd_drv_set_key(const char *ifname, struct hostapd_data *hapd, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) argument
699 hostapd_drv_send_mlme(struct hostapd_data *hapd, const void *msg, size_t len, int noack) argument
708 hostapd_drv_sta_deauth(struct hostapd_data *hapd, const u8 *addr, int reason) argument
718 hostapd_drv_sta_disassoc(struct hostapd_data *hapd, const u8 *addr, int reason) argument
728 hostapd_drv_wnm_oper(struct hostapd_data *hapd, enum wnm_oper oper, const u8 *peer, u8 *buf, u16 *buf_len) argument
738 hostapd_drv_send_action(struct hostapd_data *hapd, unsigned int freq, unsigned int wait, const u8 *dst, const u8 *data, size_t len) argument
755 struct hostapd_data *hapd = iface->bss[0]; local
787 hostapd_drv_set_qos_map(struct hostapd_data *hapd, const u8 *qos_map_set, u8 qos_map_set_len) argument
[all...]
H A Dhostapd.c40 static int hostapd_flush_old_stations(struct hostapd_data *hapd, u16 reason);
41 static int hostapd_setup_encryption(char *iface, struct hostapd_data *hapd);
42 static int hostapd_broadcast_wep_clear(struct hostapd_data *hapd);
64 static void hostapd_reload_bss(struct hostapd_data *hapd) argument
69 radius_client_reconfig(hapd->radius, hapd->conf->radius);
72 ssid = &hapd->conf->ssid;
82 if (hostapd_setup_wpa_psk(hapd->conf)) {
87 if (hapd->conf->ieee802_1x || hapd
149 struct hostapd_data *hapd = iface->bss[0]; local
198 hostapd_broadcast_key_clear_iface(struct hostapd_data *hapd, char *ifname) argument
227 hostapd_broadcast_wep_clear(struct hostapd_data *hapd) argument
234 hostapd_broadcast_wep_set(struct hostapd_data *hapd) argument
253 hostapd_free_hapd_data(struct hostapd_data *hapd) argument
330 hostapd_cleanup(struct hostapd_data *hapd) argument
377 hostapd_clear_wep(struct hostapd_data *hapd) argument
386 hostapd_setup_encryption(char *iface, struct hostapd_data *hapd) argument
422 hostapd_flush_old_stations(struct hostapd_data *hapd, u16 reason) argument
449 hostapd_bss_deinit_no_free(struct hostapd_data *hapd) argument
467 struct hostapd_data *hapd = iface->bss[0]; local
567 hostapd_das_nas_mismatch(struct hostapd_data *hapd, struct radius_das_attrs *attr) argument
602 hostapd_das_find_sta(struct hostapd_data *hapd, struct radius_das_attrs *attr) argument
654 struct hostapd_data *hapd = ctx; local
687 hostapd_setup_bss(struct hostapd_data *hapd, int first) argument
898 struct hostapd_data *hapd = iface->bss[0]; local
915 hostapd_set_acl_list(struct hostapd_data *hapd, struct mac_acl_entry *mac_acl, int n_entries, u8 accept_acl) argument
942 hostapd_set_acl(struct hostapd_data *hapd) argument
973 start_ctrl_iface_bss(struct hostapd_data *hapd) argument
998 struct hostapd_data *hapd = iface->bss[i]; local
1042 struct hostapd_data *hapd = iface->bss[0]; local
1164 struct hostapd_data *hapd = iface->bss[0]; local
1346 struct hostapd_data *hapd; local
1363 hostapd_bss_deinit(struct hostapd_data *hapd) argument
1421 struct hostapd_data *hapd; local
1477 struct hostapd_data *hapd = iface->bss[j]; local
1503 struct hostapd_data *hapd; local
1730 struct hostapd_data *hapd = hapd_iface->bss[j]; local
1818 struct hostapd_data *hapd; local
1846 struct hostapd_data *hapd; local
2002 struct hostapd_data *hapd = iface->bss[idx]; local
2077 hostapd_new_assoc_sta(struct hostapd_data *hapd, struct sta_info *sta, int reassoc) argument
2182 hostapd_build_beacon_data(struct hostapd_data *hapd, struct beacon_data *beacon) argument
2278 hostapd_change_config_freq(struct hostapd_data *hapd, struct hostapd_config *conf, struct hostapd_freq_params *params, struct hostapd_freq_params *old_params) argument
2311 hostapd_fill_csa_settings(struct hostapd_data *hapd, struct csa_settings *settings) argument
2355 hostapd_cleanup_cs_params(struct hostapd_data *hapd) argument
2366 hostapd_switch_channel(struct hostapd_data *hapd, struct csa_settings *settings) argument
[all...]
H A Dieee802_11.c44 u8 * hostapd_eid_supp_rates(struct hostapd_data *hapd, u8 *eid) argument
49 if (hapd->iface->current_rates == NULL)
53 num = hapd->iface->num_rates;
54 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht)
56 if (hapd->iconf->ieee80211ac && hapd->iconf->require_vht)
65 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num;
68 *pos = hapd->iface->current_rates[i].rate / 5;
69 if (hapd
88 hostapd_eid_ext_supp_rates(struct hostapd_data *hapd, u8 *eid) argument
134 hostapd_own_capab_info(struct hostapd_data *hapd, struct sta_info *sta, int probe) argument
205 auth_shared_key(struct hostapd_data *hapd, struct sta_info *sta, u16 auth_transaction, const u8 *challenge, int iswep) argument
260 send_auth_reply(struct hostapd_data *hapd, const u8 *dst, const u8 *bssid, u16 auth_alg, u16 auth_transaction, u16 resp, const u8 *ies, size_t ies_len) argument
304 struct hostapd_data *hapd = ctx; local
327 auth_process_sae_commit(struct hostapd_data *hapd, struct sta_info *sta) argument
359 auth_build_sae_confirm(struct hostapd_data *hapd, struct sta_info *sta) argument
374 use_sae_anti_clogging(struct hostapd_data *hapd) argument
397 check_sae_token(struct hostapd_data *hapd, const u8 *addr, const u8 *token, size_t token_len) argument
413 auth_build_token_req(struct hostapd_data *hapd, const u8 *addr) argument
443 handle_auth_sae(struct hostapd_data *hapd, struct sta_info *sta, const struct ieee80211_mgmt *mgmt, size_t len, u8 auth_transaction) argument
543 handle_auth(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len) argument
755 hostapd_get_aid(struct hostapd_data *hapd, struct sta_info *sta) argument
788 check_ssid(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ssid_ie, size_t ssid_ie_len) argument
807 check_wmm(struct hostapd_data *hapd, struct sta_info *sta, const u8 *wmm_ie, size_t wmm_ie_len) argument
832 copy_supp_rates(struct hostapd_data *hapd, struct sta_info *sta, struct ieee802_11_elems *elems) argument
861 check_ext_capab(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ext_capab_ie, size_t ext_capab_ie_len) argument
876 check_assoc_ies(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ies, size_t ies_len, int reassoc) argument
1139 send_deauth(struct hostapd_data *hapd, const u8 *addr, u16 reason_code) argument
1161 send_assoc_resp(struct hostapd_data *hapd, struct sta_info *sta, u16 status_code, int reassoc, const u8 *ies, size_t ies_len) argument
1274 handle_assoc(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len, int reassoc) argument
1456 handle_disassoc(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len) argument
1504 handle_deauth(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len) argument
1541 handle_beacon(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len, struct hostapd_frame_info *fi) argument
1564 hostapd_sa_query_action(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len) argument
1593 handle_action(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len) argument
1731 ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len, struct hostapd_frame_info *fi) argument
1822 handle_auth_cb(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len, int ok) argument
1863 hostapd_set_wds_encryption(struct hostapd_data *hapd, struct sta_info *sta, char *ifname_wds) argument
1887 handle_assoc_cb(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len, int reassoc, int ok) argument
2026 handle_deauth_cb(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len, int ok) argument
2050 handle_disassoc_cb(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len, int ok) argument
2083 ieee802_11_mgmt_cb(struct hostapd_data *hapd, const u8 *buf, size_t len, u16 stype, int ok) argument
2131 ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen) argument
2138 ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
2146 hostapd_tx_status(struct hostapd_data *hapd, const u8 *addr, const u8 *buf, size_t len, int ack) argument
2176 hostapd_eapol_tx_status(struct hostapd_data *hapd, const u8 *dst, const u8 *data, size_t len, int ack) argument
2203 hostapd_client_poll_ok(struct hostapd_data *hapd, const u8 *addr) argument
2229 ieee802_11_rx_from_unknown(struct hostapd_data *hapd, const u8 *src, int wds) argument
[all...]
H A Dieee802_1x.c37 static void ieee802_1x_finished(struct hostapd_data *hapd,
42 static void ieee802_1x_send(struct hostapd_data *hapd, struct sta_info *sta, argument
60 xhdr->version = hapd->conf->eapol_version;
70 rsn_preauth_send(hapd, sta, buf, len);
73 hapd, sta->addr, buf, len,
81 void ieee802_1x_set_sta_authorized(struct hostapd_data *hapd, argument
90 ap_sta_set_authorized(hapd, sta, 1);
91 res = hostapd_set_authorized(hapd, sta, 1);
92 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE8021X,
95 ap_sta_set_authorized(hapd, st
114 ieee802_1x_tx_key_one(struct hostapd_data *hapd, struct sta_info *sta, int idx, int broadcast, u8 *key_data, size_t key_len) argument
193 ieee802_1x_tx_key(struct hostapd_data *hapd, struct sta_info *sta) argument
249 radius_mode_txt(struct hostapd_data *hapd) argument
265 radius_sta_rate(struct hostapd_data *hapd, struct sta_info *sta) argument
279 ieee802_1x_learn_identity(struct hostapd_data *hapd, struct eapol_state_machine *sm, const u8 *eap, size_t len) argument
309 add_common_radius_sta_attr_rsn(struct hostapd_data *hapd, struct hostapd_radius_attr *req_attr, struct sta_info *sta, struct radius_msg *msg) argument
370 add_common_radius_sta_attr(struct hostapd_data *hapd, struct hostapd_radius_attr *req_attr, struct sta_info *sta, struct radius_msg *msg) argument
444 add_common_radius_attr(struct hostapd_data *hapd, struct hostapd_radius_attr *req_attr, struct sta_info *sta, struct radius_msg *msg) argument
536 ieee802_1x_encapsulate_radius(struct hostapd_data *hapd, struct sta_info *sta, const u8 *eap, size_t len) argument
668 handle_eap_response(struct hostapd_data *hapd, struct sta_info *sta, struct eap_hdr *eap, size_t len) argument
701 handle_eap(struct hostapd_data *hapd, struct sta_info *sta, u8 *buf, size_t len) argument
751 ieee802_1x_alloc_eapol_sm(struct hostapd_data *hapd, struct sta_info *sta) argument
776 ieee802_1x_receive(struct hostapd_data *hapd, const u8 *sa, const u8 *buf, size_t len) argument
956 ieee802_1x_new_station(struct hostapd_data *hapd, struct sta_info *sta) argument
1105 ieee802_1x_decapsulate_radius(struct hostapd_data *hapd, struct sta_info *sta) argument
1186 ieee802_1x_get_keys(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg, struct radius_msg *req, const u8 *shared_secret, size_t shared_secret_len) argument
1227 ieee802_1x_store_radius_class(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg) argument
1283 ieee802_1x_update_sta_identity(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg) argument
1315 ieee802_1x_update_sta_cui(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg) argument
1366 ieee802_1x_hs20_deauth_req(struct hostapd_data *hapd, struct sta_info *sta, u8 *pos, size_t len) argument
1387 ieee802_1x_hs20_session_info(struct hostapd_data *hapd, struct sta_info *sta, u8 *pos, size_t len, int session_timeout) argument
1431 ieee802_1x_check_hs20(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg, int session_timeout) argument
1487 ieee802_1x_select_radius_identifier(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument
1504 ieee802_1x_search_radius_identifier(struct hostapd_data *hapd, u8 identifier) argument
1528 struct hostapd_data *hapd = data; local
1691 ieee802_1x_abort_auth(struct hostapd_data *hapd, struct sta_info *sta) argument
1721 ieee802_1x_rekey_broadcast(struct hostapd_data *hapd) argument
1747 ieee802_1x_sta_key_available(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument
1760 struct hostapd_data *hapd = eloop_ctx; local
1840 struct hostapd_data *hapd = ctx; local
1851 struct hostapd_data *hapd = ctx; local
1864 struct hostapd_data *hapd = ctx; local
1899 struct hostapd_data *hapd = ctx; local
1912 struct hostapd_data *hapd = ctx; local
1937 struct hostapd_data *hapd = ctx; local
1945 struct hostapd_data *hapd = ctx; local
1953 struct hostapd_data *hapd = ctx; local
1975 ieee802_1x_init(struct hostapd_data *hapd) argument
2055 ieee802_1x_deinit(struct hostapd_data *hapd) argument
2068 ieee802_1x_tx_status(struct hostapd_data *hapd, struct sta_info *sta, const u8 *buf, size_t len, int ack) argument
2095 ieee802_1x_eapol_tx_status(struct hostapd_data *hapd, struct sta_info *sta, const u8 *buf, int len, int ack) argument
2227 ieee802_1x_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen) argument
2234 ieee802_1x_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
2394 ieee802_1x_finished(struct hostapd_data *hapd, struct sta_info *sta, int success, int remediation) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_hostap.c38 struct hostapd_data *hapd; member in struct:hostap_driver_data
82 wpa_supplicant_event(drv->hapd, EVENT_RX_FROM_UNKNOWN, &event);
109 drv_event_eapol_rx(drv->hapd, sa, pos, left);
136 wpa_supplicant_event(drv->hapd, EVENT_TX_STATUS, &event);
193 wpa_supplicant_event(drv->hapd, EVENT_RX_MGMT, &event);
807 wpa_supplicant_event(drv->hapd,
961 static void * hostap_init(struct hostapd_data *hapd, argument
972 drv->hapd = hapd;
H A Ddriver_madwifi.c74 struct hostapd_data *hapd; /* back pointer */ member in struct:madwifi_driver_data
730 wpa_supplicant_event(drv->hapd, EVENT_RX_PROBE_REQ, &event);
818 struct hostapd_data *hapd = drv->hapd; local
859 drv_event_assoc(hapd, addr, iebuf, ielen, 0);
890 wpa_supplicant_event(drv->hapd,
958 drv_event_disassoc(drv->hapd,
1121 drv_event_eapol_rx(drv->hapd, src_addr, buf + sizeof(struct l2_ethhdr),
1126 madwifi_init(struct hostapd_data *hapd, struct wpa_init_params *params) argument
1139 drv->hapd
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dap.c823 struct hostapd_data *hapd; local
827 hapd = wpa_s->ap_iface->bss[0];
829 hapd->ap_pin_failures = 0;
839 struct hostapd_data *hapd; local
844 hapd = wpa_s->ap_iface->bss[0];
845 os_free(hapd->conf->ap_pin);
846 hapd->conf->ap_pin = NULL;
853 struct hostapd_data *hapd; local
859 hapd = wpa_s->ap_iface->bss[0];
862 os_free(hapd
874 struct hostapd_data *hapd; local
885 struct hostapd_data *hapd; local
907 struct hostapd_data *hapd; local
935 struct hostapd_data *hapd; local
947 struct hostapd_data *hapd; local
960 struct hostapd_data *hapd; local
1060 struct hostapd_data *hapd; local
1125 struct hostapd_data *hapd; local
1167 struct hostapd_data *hapd; local
[all...]

Completed in 1011 milliseconds

123456