Home
last modified time | relevance | path

Searched refs:sta (Results 1 - 25 of 163) sorted by relevance

1234567

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dsta_info.c44 struct sta_info *sta);
52 static int ap_sta_remove(struct hostapd_data *hapd, struct sta_info *sta);
56 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, in ap_for_each_sta()
60 struct sta_info *sta; in ap_for_each_sta() local
62 for (sta = hapd->sta_list; sta; sta = sta->next) { in ap_for_each_sta()
63 if (cb(hapd, sta, ctx)) in ap_for_each_sta()
71 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) in ap_get_sta() argument
55 ap_for_each_sta(struct hostapd_data *hapd, int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, void *ctx), void *ctx) ap_for_each_sta() argument
85 struct sta_info *sta; ap_get_sta_p2p() local
106 ap_sta_list_del(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_list_del() argument
126 ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_hash_add() argument
133 ap_sta_hash_del(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_hash_del() argument
155 ap_sta_ip6addr_del(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_ip6addr_del() argument
161 ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta) ap_free_sta() argument
386 struct sta_info *sta, *prev; hostapd_free_stas() local
415 struct sta_info *sta = timeout_ctx; ap_handle_timer() local
589 struct sta_info *sta = timeout_ctx; ap_handle_session_timer() local
615 ap_sta_replenish_timeout(struct hostapd_data *hapd, struct sta_info *sta, u32 session_timeout) ap_sta_replenish_timeout() argument
627 ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta, u32 session_timeout) ap_sta_session_timeout() argument
639 ap_sta_no_session_timeout(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_no_session_timeout() argument
649 struct sta_info *sta = timeout_ctx; ap_handle_session_warning_timer() local
662 ap_sta_session_warning_timeout(struct hostapd_data *hapd, struct sta_info *sta, int warning_time) ap_sta_session_warning_timeout() argument
673 struct sta_info *sta; ap_sta_add() local
736 ap_sta_remove(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_remove() argument
758 ap_sta_remove_in_other_bss(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_remove_in_other_bss() argument
790 struct sta_info *sta = timeout_ctx; ap_sta_disassoc_cb_timeout() local
799 ap_sta_disassociate(struct hostapd_data *hapd, struct sta_info *sta, u16 reason) ap_sta_disassociate() argument
841 struct sta_info *sta = timeout_ctx; ap_sta_deauth_cb_timeout() local
850 ap_sta_deauthenticate(struct hostapd_data *hapd, struct sta_info *sta, u16 reason) ap_sta_deauthenticate() argument
888 ap_sta_wps_cancel(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) ap_sta_wps_cancel() argument
920 ap_sta_set_vlan(struct hostapd_data *hapd, struct sta_info *sta, struct vlan_description *vlan_desc) ap_sta_set_vlan() argument
1023 ap_sta_bind_vlan(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_bind_vlan() argument
1100 ap_check_sa_query_timeout(struct hostapd_data *hapd, struct sta_info *sta) ap_check_sa_query_timeout() argument
1127 struct sta_info *sta = timeout_ctx; ap_sa_query_timer() local
1175 ap_sta_start_sa_query(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_start_sa_query() argument
1181 ap_sta_stop_sa_query(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_stop_sa_query() argument
1192 ap_sta_wpa_get_keyid(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_wpa_get_keyid() argument
1218 ap_sta_set_authorized(struct hostapd_data *hapd, struct sta_info *sta, int authorized) ap_sta_set_authorized() argument
1306 ap_sta_disconnect(struct hostapd_data *hapd, struct sta_info *sta, const u8 *addr, u16 reason) ap_sta_disconnect() argument
1363 ap_sta_deauth_cb(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_deauth_cb() argument
1375 ap_sta_disassoc_cb(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_disassoc_cb() argument
1387 ap_sta_clear_disconnect_timeouts(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_clear_disconnect_timeouts() argument
1449 struct sta_info *sta = timeout_ctx; ap_sta_delayed_1x_auth_fail_cb() local
1465 ap_sta_delayed_1x_auth_fail_disconnect(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_delayed_1x_auth_fail_disconnect() argument
1483 ap_sta_pending_delayed_1x_auth_fail_disconnect(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_pending_delayed_1x_auth_fail_disconnect() argument
[all...]
H A Dieee802_11.c61 struct sta_info *sta, u16 *resp,
242 static u16 auth_shared_key(struct hostapd_data *hapd, struct sta_info *sta, in auth_shared_key() argument
246 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE80211, in auth_shared_key()
252 if (!sta->challenge) { in auth_shared_key()
256 sta->challenge = os_zalloc(WLAN_AUTH_CHALLENGE_LEN); in auth_shared_key()
257 if (sta->challenge == NULL) in auth_shared_key()
261 os_free(sta->challenge); in auth_shared_key()
262 sta->challenge = NULL; in auth_shared_key()
267 sta->challenge, WLAN_AUTH_CHALLENGE_LEN); in auth_shared_key()
276 if (!iswep || !sta in auth_shared_key()
349 struct sta_info *sta; handle_auth_ft_finish() local
380 sae_set_state(struct sta_info *sta, enum sae_state state, const char *reason) sae_set_state() argument
390 auth_build_sae_commit(struct hostapd_data *hapd, struct sta_info *sta, int update) auth_build_sae_commit() argument
448 auth_build_sae_confirm(struct hostapd_data *hapd, struct sta_info *sta) auth_build_sae_confirm() argument
463 auth_sae_send_commit(struct hostapd_data *hapd, struct sta_info *sta, const u8 *bssid, int update) auth_sae_send_commit() argument
486 auth_sae_send_confirm(struct hostapd_data *hapd, struct sta_info *sta, const u8 *bssid) auth_sae_send_confirm() argument
509 struct sta_info *sta; use_sae_anti_clogging() local
639 sae_check_big_sync(struct hostapd_data *hapd, struct sta_info *sta) sae_check_big_sync() argument
653 struct sta_info *sta = eloop_data; auth_sae_retransmit_timer() local
687 sae_clear_retransmit_timer(struct hostapd_data *hapd, struct sta_info *sta) sae_clear_retransmit_timer() argument
693 sae_set_retransmit_timer(struct hostapd_data *hapd, struct sta_info *sta) sae_set_retransmit_timer() argument
705 sae_sme_send_external_auth_status(struct hostapd_data *hapd, struct sta_info *sta, u16 status) sae_sme_send_external_auth_status() argument
721 sae_accept_sta(struct hostapd_data *hapd, struct sta_info *sta) sae_accept_sta() argument
763 sae_sm_step(struct hostapd_data *hapd, struct sta_info *sta, const u8 *bssid, u8 auth_transaction, int allow_reuse, int *sta_removed) sae_sm_step() argument
938 sae_pick_next_group(struct hostapd_data *hapd, struct sta_info *sta) sae_pick_next_group() argument
979 handle_auth_sae(struct hostapd_data *hapd, struct sta_info *sta, const struct ieee80211_mgmt *mgmt, size_t len, u16 auth_transaction, u16 status_code) handle_auth_sae() argument
1276 auth_sae_init_committed(struct hostapd_data *hapd, struct sta_info *sta) auth_sae_init_committed() argument
1431 handle_auth_fils(struct hostapd_data *hapd, struct sta_info *sta, const u8 *pos, size_t len, u16 auth_alg, u16 auth_transaction, u16 status_code, void (*cb)(struct hostapd_data *hapd, struct sta_info *sta, u16 resp, struct wpabuf *data, int pub)) handle_auth_fils() argument
1670 prepare_auth_resp_fils(struct hostapd_data *hapd, struct sta_info *sta, u16 *resp, struct rsn_pmksa_cache_entry *pmksa, struct wpabuf *erp_resp, const u8 *msk, size_t msk_len, int *is_pub) prepare_auth_resp_fils() argument
1881 handle_auth_fils_finish(struct hostapd_data *hapd, struct sta_info *sta, u16 resp, struct wpabuf *data, int pub) handle_auth_fils_finish() argument
1907 ieee802_11_finish_fils_auth(struct hostapd_data *hapd, struct sta_info *sta, int success, struct wpabuf *erp_resp, const u8 *msk, size_t msk_len) ieee802_11_finish_fils_auth() argument
1974 ieee802_11_set_radius_info(struct hostapd_data *hapd, struct sta_info *sta, int res, u32 session_timeout, u32 acct_interim_interval, struct vlan_description *vlan_id, struct hostapd_sta_wpa_psk_short **psk, char **identity, char **radius_cui) ieee802_11_set_radius_info() argument
2034 struct sta_info *sta = NULL; handle_auth() local
2442 hostapd_get_aid(struct hostapd_data *hapd, struct sta_info *sta) hostapd_get_aid() argument
2478 check_ssid(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ssid_ie, size_t ssid_ie_len) check_ssid() argument
2497 check_wmm(struct hostapd_data *hapd, struct sta_info *sta, const u8 *wmm_ie, size_t wmm_ie_len) check_wmm() argument
2521 check_multi_ap(struct hostapd_data *hapd, struct sta_info *sta, const u8 *multi_ap_ie, size_t multi_ap_len) check_multi_ap() argument
2575 copy_supp_rates(struct hostapd_data *hapd, struct sta_info *sta, struct ieee802_11_elems *elems) copy_supp_rates() argument
2609 check_ext_capab(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ext_capab_ie, size_t ext_capab_ie_len) check_ext_capab() argument
2657 owe_process_assoc_req(struct hostapd_data *hapd, struct sta_info *sta, const u8 *owe_dh, u8 owe_dh_len) owe_process_assoc_req() argument
2839 owe_process_rsn_ie(struct hostapd_data *hapd, struct sta_info *sta, const u8 *rsn_ie, size_t rsn_ie_len, const u8 *owe_dh, size_t owe_dh_len) owe_process_rsn_ie() argument
2919 check_assoc_ies(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ies, size_t ies_len, int reassoc) check_assoc_ies() argument
3357 add_associated_sta(struct hostapd_data *hapd, struct sta_info *sta, int reassoc) add_associated_sta() argument
3456 send_assoc_resp(struct hostapd_data *hapd, struct sta_info *sta, const u8 *addr, u16 status_code, int reassoc, const u8 *ies, size_t ies_len, int rssi) send_assoc_resp() argument
3749 owe_assoc_req_process(struct hostapd_data *hapd, struct sta_info *sta, const u8 *owe_dh, u8 owe_dh_len, u8 *owe_buf, size_t owe_buf_len, u16 *reason) owe_assoc_req_process() argument
3811 fils_hlp_finish_assoc(struct hostapd_data *hapd, struct sta_info *sta) fils_hlp_finish_assoc() argument
3844 struct sta_info *sta = eloop_data; fils_hlp_timeout() local
3866 struct sta_info *sta; handle_assoc() local
4269 struct sta_info *sta; handle_disassoc() local
4333 struct sta_info *sta; handle_deauth() local
4402 struct sta_info *sta; handle_action() local
4726 struct sta_info *sta; handle_auth_cb() local
4772 hostapd_set_wds_encryption(struct hostapd_data *hapd, struct sta_info *sta, char *ifname_wds) hostapd_set_wds_encryption() argument
4801 struct sta_info *sta; handle_assoc_cb() local
4956 struct sta_info *sta; handle_deauth_cb() local
4980 struct sta_info *sta; handle_disassoc_cb() local
5004 struct sta_info *sta; handle_action_cb() local
5132 ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) ieee802_11_get_mib_sta() argument
5143 struct sta_info *sta; hostapd_tx_status() local
5173 struct sta_info *sta; hostapd_eapol_tx_status() local
5199 struct sta_info *sta; hostapd_client_poll_ok() local
5228 struct sta_info *sta; ieee802_11_rx_from_unknown() local
[all...]
H A Dap_mlme.c43 * @sta: peer STA data
50 * PeerSTAAddress = sta->addr
51 * AuthenticationType = sta->auth_alg (WLAN_AUTH_OPEN / WLAN_AUTH_SHARED_KEY)
54 struct sta_info *sta) in mlme_authenticate_indication()
56 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME, in mlme_authenticate_indication()
59 MAC2STR(sta->addr), mlme_auth_alg_str(sta->auth_alg)); in mlme_authenticate_indication()
60 if (sta->auth_alg != WLAN_AUTH_FT && in mlme_authenticate_indication()
61 sta->auth_alg != WLAN_AUTH_FILS_SK && in mlme_authenticate_indication()
62 sta in mlme_authenticate_indication()
53 mlme_authenticate_indication(struct hostapd_data *hapd, struct sta_info *sta) mlme_authenticate_indication() argument
82 mlme_deauthenticate_indication(struct hostapd_data *hapd, struct sta_info *sta, u16 reason_code) mlme_deauthenticate_indication() argument
106 mlme_associate_indication(struct hostapd_data *hapd, struct sta_info *sta) mlme_associate_indication() argument
133 mlme_reassociate_indication(struct hostapd_data *hapd, struct sta_info *sta) mlme_reassociate_indication() argument
161 mlme_disassociate_indication(struct hostapd_data *hapd, struct sta_info *sta, u16 reason_code) mlme_disassociate_indication() argument
182 mlme_deletekeys_request(struct hostapd_data *hapd, struct sta_info *sta) mlme_deletekeys_request() argument
[all...]
H A Dieee802_1x.c47 struct sta_info *sta, int success,
51 static void ieee802_1x_send(struct hostapd_data *hapd, struct sta_info *sta, in ieee802_1x_send() argument
80 if (wpa_auth_pairwise_set(sta->wpa_sm)) in ieee802_1x_send()
91 MAC2STR(sta->addr), hex); in ieee802_1x_send()
96 if (sta->flags & WLAN_STA_PREAUTH) { in ieee802_1x_send()
97 rsn_preauth_send(hapd, sta, buf, len); in ieee802_1x_send()
100 hapd, sta->addr, buf, len, in ieee802_1x_send()
101 encrypt, hostapd_sta_flags_to_drv(sta->flags)); in ieee802_1x_send()
109 struct sta_info *sta, int authorized) in ieee802_1x_set_sta_authorized()
113 if (sta in ieee802_1x_set_sta_authorized()
108 ieee802_1x_set_sta_authorized(struct hostapd_data *hapd, struct sta_info *sta, int authorized) ieee802_1x_set_sta_authorized() argument
144 ieee802_1x_tx_key_one(struct hostapd_data *hapd, struct sta_info *sta, int idx, int broadcast, u8 *key_data, size_t key_len) ieee802_1x_tx_key_one() argument
242 ieee802_1x_tx_key(struct hostapd_data *hapd, struct sta_info *sta) ieee802_1x_tx_key() argument
317 radius_sta_rate(struct hostapd_data *hapd, struct sta_info *sta) radius_sta_rate() argument
368 add_common_radius_sta_attr_rsn(struct hostapd_data *hapd, struct hostapd_radius_attr *req_attr, struct sta_info *sta, struct radius_msg *msg) add_common_radius_sta_attr_rsn() argument
430 add_common_radius_sta_attr(struct hostapd_data *hapd, struct hostapd_radius_attr *req_attr, struct sta_info *sta, struct radius_msg *msg) add_common_radius_sta_attr() argument
528 add_common_radius_attr(struct hostapd_data *hapd, struct hostapd_radius_attr *req_attr, struct sta_info *sta, struct radius_msg *msg) add_common_radius_attr() argument
621 add_sqlite_radius_attr(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg, int acct) add_sqlite_radius_attr() argument
678 ieee802_1x_encapsulate_radius(struct hostapd_data *hapd, struct sta_info *sta, const u8 *eap, size_t len) ieee802_1x_encapsulate_radius() argument
852 handle_eap_response(struct hostapd_data *hapd, struct sta_info *sta, struct eap_hdr *eap, size_t len) handle_eap_response() argument
884 handle_eap_initiate(struct hostapd_data *hapd, struct sta_info *sta, struct eap_hdr *eap, size_t len) handle_eap_initiate() argument
918 handle_eap(struct hostapd_data *hapd, struct sta_info *sta, u8 *buf, size_t len) handle_eap() argument
975 ieee802_1x_alloc_eapol_sm(struct hostapd_data *hapd, struct sta_info *sta) ieee802_1x_alloc_eapol_sm() argument
991 ieee802_1x_save_eapol(struct sta_info *sta, const u8 *buf, size_t len) ieee802_1x_save_eapol() argument
1026 struct sta_info *sta; ieee802_1x_receive() local
1219 ieee802_1x_new_station(struct hostapd_data *hapd, struct sta_info *sta) ieee802_1x_new_station() argument
1369 ieee802_1x_free_station(struct hostapd_data *hapd, struct sta_info *sta) ieee802_1x_free_station() argument
1398 ieee802_1x_decapsulate_radius(struct hostapd_data *hapd, struct sta_info *sta) ieee802_1x_decapsulate_radius() argument
1475 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) ieee802_1x_get_keys() argument
1537 ieee802_1x_store_radius_class(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg) ieee802_1x_store_radius_class() argument
1592 ieee802_1x_update_sta_identity(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg) ieee802_1x_update_sta_identity() argument
1624 ieee802_1x_update_sta_cui(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg) ieee802_1x_update_sta_cui() argument
1651 ieee802_1x_hs20_sub_rem(struct sta_info *sta, u8 *pos, size_t len) ieee802_1x_hs20_sub_rem() argument
1675 ieee802_1x_hs20_deauth_req(struct hostapd_data *hapd, struct sta_info *sta, u8 *pos, size_t len) ieee802_1x_hs20_deauth_req() argument
1696 ieee802_1x_hs20_session_info(struct hostapd_data *hapd, struct sta_info *sta, u8 *pos, size_t len, int session_timeout) ieee802_1x_hs20_session_info() argument
1738 ieee802_1x_hs20_t_c_filtering(struct hostapd_data *hapd, struct sta_info *sta, u8 *pos, size_t len) ieee802_1x_hs20_t_c_filtering() argument
1751 ieee802_1x_hs20_t_c_url(struct hostapd_data *hapd, struct sta_info *sta, u8 *pos, size_t len) ieee802_1x_hs20_t_c_url() argument
1767 ieee802_1x_check_hs20(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg, int session_timeout) ieee802_1x_check_hs20() argument
1829 ieee802_1x_select_radius_identifier(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) ieee802_1x_select_radius_identifier() argument
1857 ieee802_1x_update_vlan(struct radius_msg *msg, struct hostapd_data *hapd, struct sta_info *sta) ieee802_1x_update_vlan() argument
1910 struct sta_info *sta; ieee802_1x_receive_auth() local
2077 ieee802_1x_abort_auth(struct hostapd_data *hapd, struct sta_info *sta) ieee802_1x_abort_auth() argument
2133 ieee802_1x_sta_key_available(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) ieee802_1x_sta_key_available() argument
2195 struct sta_info *sta = sta_ctx; ieee802_1x_eapol_send() local
2227 struct sta_info *sta = sta_ctx; ieee802_1x_aaa_send() local
2238 struct sta_info *sta = sta_ctx; _ieee802_1x_finished() local
2298 struct sta_info *sta; ieee802_1x_sta_entry_alive() local
2336 struct sta_info *sta = sta_ctx; ieee802_1x_set_port_authorized() local
2344 struct sta_info *sta = sta_ctx; _ieee802_1x_abort_auth() local
2354 struct sta_info *sta = sta_ctx; _ieee802_1x_tx_key() local
2365 struct sta_info *sta = sta_ctx; ieee802_1x_eapol_event() local
2527 ieee802_1x_tx_status(struct hostapd_data *hapd, struct sta_info *sta, const u8 *buf, size_t len, int ack) ieee802_1x_tx_status() argument
2554 ieee802_1x_eapol_tx_status(struct hostapd_data *hapd, struct sta_info *sta, const u8 *buf, int len, int ack) ieee802_1x_eapol_tx_status() argument
2717 ieee802_1x_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) ieee802_1x_get_mib_sta() argument
2900 struct sta_info *sta = timeout_ctx; ieee802_1x_wnm_notif_send() local
2933 ieee802_1x_finished(struct hostapd_data *hapd, struct sta_info *sta, int success, int remediation) ieee802_1x_finished() argument
[all...]
H A Daccounting.c31 struct sta_info *sta);
35 struct sta_info *sta, in accounting_msg()
59 if (sta) { in accounting_msg()
72 val = ieee802_1x_get_identity(sta->eapol_sm, &len); in accounting_msg()
75 if (!val && sta->identity) { in accounting_msg()
76 val = (u8 *) sta->identity; in accounting_msg()
77 len = os_strlen(sta->identity); in accounting_msg()
84 MAC2STR(sta->addr)); in accounting_msg()
96 if (add_common_radius_attr(hapd, hapd->conf->radius_acct_req_attr, sta, in accounting_msg()
100 if (sta in accounting_msg()
34 accounting_msg(struct hostapd_data *hapd, struct sta_info *sta, int status_type) accounting_msg() argument
170 accounting_sta_update_stats(struct hostapd_data *hapd, struct sta_info *sta, struct hostap_sta_driver_data *data) accounting_sta_update_stats() argument
204 struct sta_info *sta = timeout_ctx; accounting_interim_update() local
226 accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta) accounting_sta_start() argument
265 accounting_sta_report(struct hostapd_data *hapd, struct sta_info *sta, int stop) accounting_sta_report() argument
368 accounting_sta_interim(struct hostapd_data *hapd, struct sta_info *sta) accounting_sta_interim() argument
381 accounting_sta_stop(struct hostapd_data *hapd, struct sta_info *sta) accounting_sta_stop() argument
395 accounting_sta_get_id(struct hostapd_data *hapd, struct sta_info *sta) accounting_sta_get_id() argument
463 struct sta_info *sta; accounting_interim_error_cb() local
[all...]
H A Dwpa_auth_glue.c195 struct sta_info *sta = ap_get_sta(hapd, addr); in hostapd_wpa_auth_set_eapol() local
196 if (sta == NULL) in hostapd_wpa_auth_set_eapol()
200 ieee802_1x_notify_port_enabled(sta->eapol_sm, value); in hostapd_wpa_auth_set_eapol()
203 ieee802_1x_notify_port_valid(sta->eapol_sm, value); in hostapd_wpa_auth_set_eapol()
206 ieee802_1x_set_sta_authorized(hapd, sta, value); in hostapd_wpa_auth_set_eapol()
209 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol()
210 sta->eapol_sm->portControl = Auto; in hostapd_wpa_auth_set_eapol()
213 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol()
214 sta->eapol_sm->keyRun = value ? TRUE : FALSE; in hostapd_wpa_auth_set_eapol()
217 if (sta in hostapd_wpa_auth_set_eapol()
237 struct sta_info *sta = ap_get_sta(hapd, addr); hostapd_wpa_auth_get_eapol() local
257 struct sta_info *sta = ap_get_sta(hapd, addr); hostapd_wpa_auth_get_psk() local
334 struct sta_info *sta; hostapd_wpa_auth_get_msk() local
373 struct sta_info *sta; hostapd_wpa_auth_set_key() local
420 struct sta_info *sta; hostapd_wpa_auth_send_eapol() local
452 struct sta_info *sta; hostapd_wpa_auth_for_each_sta() local
806 struct sta_info *sta; hostapd_wpa_auth_update_vlan() local
847 struct sta_info *sta; hostapd_get_sta_tx_params() local
871 struct sta_info *sta; hostapd_wpa_auth_send_ft_action() local
898 struct sta_info *sta; hostapd_wpa_auth_add_sta() local
932 struct sta_info *sta; hostapd_wpa_auth_set_vlan() local
965 struct sta_info *sta; hostapd_wpa_auth_get_vlan() local
985 struct sta_info *sta; hostapd_wpa_auth_set_identity() local
1025 struct sta_info *sta; hostapd_wpa_auth_get_identity() local
1055 struct sta_info *sta; hostapd_wpa_auth_set_radius_cui() local
1093 struct sta_info *sta; hostapd_wpa_auth_get_radius_cui() local
1126 struct sta_info *sta; hostapd_wpa_auth_set_session_timeout() local
1147 struct sta_info *sta; hostapd_wpa_auth_get_session_timeout() local
[all...]
H A Ddrv_callbacks.c47 struct sta_info *sta) in hostapd_notify_assoc_fils_finish()
55 __func__, MAC2STR(sta->addr)); in hostapd_notify_assoc_fils_finish()
56 eloop_cancel_timeout(fils_hlp_timeout, hapd, sta); in hostapd_notify_assoc_fils_finish()
57 if (!sta->fils_pending_assoc_req) in hostapd_notify_assoc_fils_finish()
60 ieee802_11_parse_elems(sta->fils_pending_assoc_req, in hostapd_notify_assoc_fils_finish()
61 sta->fils_pending_assoc_req_len, &elems, 0); in hostapd_notify_assoc_fils_finish()
68 p = hostapd_eid_assoc_fils_session(sta->wpa_sm, p, in hostapd_notify_assoc_fils_finish()
70 sta->fils_hlp_resp); in hostapd_notify_assoc_fils_finish()
72 reply_res = hostapd_sta_assoc(hapd, sta->addr, in hostapd_notify_assoc_fils_finish()
73 sta in hostapd_notify_assoc_fils_finish()
46 hostapd_notify_assoc_fils_finish(struct hostapd_data *hapd, struct sta_info *sta) hostapd_notify_assoc_fils_finish() argument
109 struct sta_info *sta; hostapd_notif_assoc() local
670 struct sta_info *sta; hostapd_notif_disassoc() local
707 struct sta_info *sta = ap_get_sta(hapd, addr); hostapd_event_sta_low_ack() local
724 struct sta_info *sta = ap_get_sta(hapd, addr); hostapd_event_sta_opmode_changed() local
1047 struct sta_info *sta; hostapd_notify_auth_ft_finish() local
1063 hostapd_notify_auth_fils_finish(struct hostapd_data *hapd, struct sta_info *sta, u16 resp, struct wpabuf *data, int pub) hostapd_notify_auth_fils_finish() argument
1091 struct sta_info *sta; hostapd_notif_auth() local
1148 struct sta_info *sta; hostapd_action_rx() local
1358 struct sta_info *sta = ap_get_sta(hapd, addr); hostapd_event_new_sta() local
1382 struct sta_info *sta; hostapd_event_eapol_rx() local
1588 struct sta_info *sta = ap_get_sta(hapd, addr); hostapd_event_wds_sta_interface_status() local
1611 struct sta_info *sta; hostapd_notif_update_dh_ie() local
[all...]
H A Dpreauth_auth.c47 struct sta_info *sta; in rsn_preauth_receive() local
67 sta = ap_get_sta(hapd, ethhdr->h_source); in rsn_preauth_receive()
68 if (sta && (sta->flags & WLAN_STA_ASSOC)) { in rsn_preauth_receive()
70 "STA " MACSTR, MAC2STR(sta->addr)); in rsn_preauth_receive()
73 if (!sta && hdr->type == IEEE802_1X_TYPE_EAPOL_START) { in rsn_preauth_receive()
74 sta = ap_sta_add(hapd, ethhdr->h_source); in rsn_preauth_receive()
75 if (sta == NULL) in rsn_preauth_receive()
77 sta->flags = WLAN_STA_PREAUTH; in rsn_preauth_receive()
79 ieee802_1x_new_station(hapd, sta); in rsn_preauth_receive()
188 struct sta_info *sta = timeout_ctx; rsn_preauth_finished_cb() local
195 rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta, int success) rsn_preauth_finished() argument
231 rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta, u8 *buf, size_t len) rsn_preauth_send() argument
268 rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta) rsn_preauth_free_station() argument
[all...]
H A Dairtime_policy.c57 struct sta_info *sta, in set_new_backlog_time()
60 sta->backlogged_until = *now; in set_new_backlog_time()
61 sta->backlogged_until.usec += hapd->iconf->airtime_update_interval * in set_new_backlog_time()
63 while (sta->backlogged_until.usec >= 1000000) { in set_new_backlog_time()
64 sta->backlogged_until.sec++; in set_new_backlog_time()
65 sta->backlogged_until.usec -= 1000000; in set_new_backlog_time()
72 struct sta_info *sta; in count_backlogged_sta() local
79 for (sta = hapd->sta_list; sta; sta in count_backlogged_sta()
56 set_new_backlog_time(struct hostapd_data *hapd, struct sta_info *sta, struct os_reltime *now) set_new_backlog_time() argument
92 sta_set_airtime_weight(struct hostapd_data *hapd, struct sta_info *sta, unsigned int weight) sta_set_airtime_weight() argument
109 struct sta_info *sta; set_sta_weights() local
226 get_weight_for_sta(struct hostapd_data *hapd, const u8 *sta) get_weight_for_sta() argument
238 airtime_policy_new_sta(struct hostapd_data *hapd, struct sta_info *sta) airtime_policy_new_sta() argument
[all...]
H A Dmbo_ap.c19 void mbo_ap_sta_free(struct sta_info *sta) in mbo_ap_sta_free() argument
23 info = sta->non_pref_chan; in mbo_ap_sta_free()
24 sta->non_pref_chan = NULL; in mbo_ap_sta_free()
33 static void mbo_ap_parse_non_pref_chan(struct sta_info *sta, in mbo_ap_parse_non_pref_chan() argument
54 if (!sta->non_pref_chan) { in mbo_ap_parse_non_pref_chan()
55 sta->non_pref_chan = info; in mbo_ap_parse_non_pref_chan()
57 tmp = sta->non_pref_chan; in mbo_ap_parse_non_pref_chan()
78 MAC2STR(sta->addr), info->op_class, info->pref, in mbo_ap_parse_non_pref_chan()
83 void mbo_ap_check_sta_assoc(struct hostapd_data *hapd, struct sta_info *sta, in mbo_ap_check_sta_assoc() argument
98 sta in mbo_ap_check_sta_assoc()
115 mbo_ap_get_info(struct sta_info *sta, char *buf, size_t buflen) mbo_ap_get_info() argument
168 mbo_ap_wnm_notif_req_cell_capa(struct sta_info *sta, const u8 *buf, size_t len) mbo_ap_wnm_notif_req_cell_capa() argument
180 mbo_ap_wnm_notif_req_elem(struct sta_info *sta, u8 type, const u8 *buf, size_t len, int *first_non_pref_chan) mbo_ap_wnm_notif_req_elem() argument
213 struct sta_info *sta; mbo_ap_wnm_notification_req() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dsta_info.c56 struct sta_info *sta);
62 static int ap_sta_remove(struct hostapd_data *hapd, struct sta_info *sta);
66 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, in ap_for_each_sta()
70 struct sta_info *sta; in ap_for_each_sta() local
72 for (sta = hapd->sta_list; sta; sta = sta->next) { in ap_for_each_sta()
73 if (cb(hapd, sta, ctx)) in ap_for_each_sta()
81 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) in ap_get_sta() argument
65 ap_for_each_sta(struct hostapd_data *hapd, int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, void *ctx), void *ctx) ap_for_each_sta() argument
95 struct sta_info *sta; ap_get_sta_p2p() local
116 ap_sta_list_del(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_list_del() argument
136 ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_hash_add() argument
143 ap_sta_hash_del(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_hash_del() argument
165 ap_sta_ip6addr_del(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_ip6addr_del() argument
173 ap_free_sta_pasn(struct hostapd_data *hapd, struct sta_info *sta) ap_free_sta_pasn() argument
202 ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta) ap_free_sta() argument
433 struct sta_info *sta, *prev; hostapd_free_stas() local
462 struct sta_info *sta = timeout_ctx; ap_handle_timer() local
640 struct sta_info *sta = timeout_ctx; ap_handle_session_timer() local
667 ap_sta_replenish_timeout(struct hostapd_data *hapd, struct sta_info *sta, u32 session_timeout) ap_sta_replenish_timeout() argument
679 ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta, u32 session_timeout) ap_sta_session_timeout() argument
691 ap_sta_no_session_timeout(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_no_session_timeout() argument
701 struct sta_info *sta = timeout_ctx; ap_handle_session_warning_timer() local
714 ap_sta_session_warning_timeout(struct hostapd_data *hapd, struct sta_info *sta, int warning_time) ap_sta_session_warning_timeout() argument
725 struct sta_info *sta; ap_sta_add() local
788 ap_sta_remove(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_remove() argument
810 ap_sta_remove_in_other_bss(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_remove_in_other_bss() argument
842 struct sta_info *sta = timeout_ctx; ap_sta_disassoc_cb_timeout() local
851 ap_sta_disassociate(struct hostapd_data *hapd, struct sta_info *sta, u16 reason) ap_sta_disassociate() argument
894 struct sta_info *sta = timeout_ctx; ap_sta_deauth_cb_timeout() local
903 ap_sta_deauthenticate(struct hostapd_data *hapd, struct sta_info *sta, u16 reason) ap_sta_deauthenticate() argument
942 ap_sta_wps_cancel(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) ap_sta_wps_cancel() argument
974 ap_sta_set_vlan(struct hostapd_data *hapd, struct sta_info *sta, struct vlan_description *vlan_desc) ap_sta_set_vlan() argument
1077 ap_sta_bind_vlan(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_bind_vlan() argument
1160 ap_check_sa_query_timeout(struct hostapd_data *hapd, struct sta_info *sta) ap_check_sa_query_timeout() argument
1187 struct sta_info *sta = timeout_ctx; ap_sa_query_timer() local
1237 ap_sta_start_sa_query(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_start_sa_query() argument
1243 ap_sta_stop_sa_query(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_stop_sa_query() argument
1252 ap_sta_wpa_get_keyid(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_wpa_get_keyid() argument
1278 ap_sta_set_authorized(struct hostapd_data *hapd, struct sta_info *sta, int authorized) ap_sta_set_authorized() argument
1514 ap_sta_disconnect(struct hostapd_data *hapd, struct sta_info *sta, const u8 *addr, u16 reason) ap_sta_disconnect() argument
1572 ap_sta_deauth_cb(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_deauth_cb() argument
1584 ap_sta_disassoc_cb(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_disassoc_cb() argument
1596 ap_sta_clear_disconnect_timeouts(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_clear_disconnect_timeouts() argument
1661 struct sta_info *sta = timeout_ctx; ap_sta_delayed_1x_auth_fail_cb() local
1679 ap_sta_delayed_1x_auth_fail_disconnect(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_delayed_1x_auth_fail_disconnect() argument
1699 ap_sta_pending_delayed_1x_auth_fail_disconnect(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_pending_delayed_1x_auth_fail_disconnect() argument
1707 ap_sta_re_add(struct hostapd_data *hapd, struct sta_info *sta) ap_sta_re_add() argument
[all...]
H A Dap_mlme.c43 * @sta: peer STA data
50 * PeerSTAAddress = sta->addr
51 * AuthenticationType = sta->auth_alg (WLAN_AUTH_OPEN / WLAN_AUTH_SHARED_KEY)
54 struct sta_info *sta) in mlme_authenticate_indication()
56 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME, in mlme_authenticate_indication()
59 MAC2STR(sta->addr), mlme_auth_alg_str(sta->auth_alg)); in mlme_authenticate_indication()
60 if (sta->auth_alg != WLAN_AUTH_FT && in mlme_authenticate_indication()
61 sta->auth_alg != WLAN_AUTH_FILS_SK && in mlme_authenticate_indication()
62 sta in mlme_authenticate_indication()
53 mlme_authenticate_indication(struct hostapd_data *hapd, struct sta_info *sta) mlme_authenticate_indication() argument
82 mlme_deauthenticate_indication(struct hostapd_data *hapd, struct sta_info *sta, u16 reason_code) mlme_deauthenticate_indication() argument
106 mlme_associate_indication(struct hostapd_data *hapd, struct sta_info *sta) mlme_associate_indication() argument
133 mlme_reassociate_indication(struct hostapd_data *hapd, struct sta_info *sta) mlme_reassociate_indication() argument
161 mlme_disassociate_indication(struct hostapd_data *hapd, struct sta_info *sta, u16 reason_code) mlme_disassociate_indication() argument
182 mlme_deletekeys_request(struct hostapd_data *hapd, struct sta_info *sta) mlme_deletekeys_request() argument
[all...]
H A Dieee802_11.c63 struct sta_info *sta, u16 *resp,
73 struct sta_info *sta,
79 struct sta_info *sta, u16 status,
310 static u16 auth_shared_key(struct hostapd_data *hapd, struct sta_info *sta, in auth_shared_key() argument
314 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE80211, in auth_shared_key()
320 if (!sta->challenge) { in auth_shared_key()
324 sta->challenge = os_zalloc(WLAN_AUTH_CHALLENGE_LEN); in auth_shared_key()
325 if (sta->challenge == NULL) in auth_shared_key()
329 os_free(sta->challenge); in auth_shared_key()
330 sta in auth_shared_key()
368 send_auth_reply(struct hostapd_data *hapd, struct sta_info *sta, const u8 *dst, const u8 *bssid, u16 auth_alg, u16 auth_transaction, u16 resp, const u8 *ies, size_t ies_len, const char *dbg) send_auth_reply() argument
449 struct sta_info *sta; handle_auth_ft_finish() local
480 sae_set_state(struct sta_info *sta, enum sae_state state, const char *reason) sae_set_state() argument
490 sae_get_password(struct hostapd_data *hapd, struct sta_info *sta, const char *rx_id, struct sae_password_entry **pw_entry, struct sae_pt **s_pt, const struct sae_pk **s_pk) sae_get_password() argument
533 auth_build_sae_commit(struct hostapd_data *hapd, struct sta_info *sta, int update, int status_code) auth_build_sae_commit() argument
604 auth_build_sae_confirm(struct hostapd_data *hapd, struct sta_info *sta) auth_build_sae_confirm() argument
629 auth_sae_send_commit(struct hostapd_data *hapd, struct sta_info *sta, const u8 *bssid, int update, int status_code) auth_sae_send_commit() argument
669 auth_sae_send_confirm(struct hostapd_data *hapd, struct sta_info *sta, const u8 *bssid) auth_sae_send_confirm() argument
697 struct sta_info *sta; use_anti_clogging() local
853 sae_check_big_sync(struct hostapd_data *hapd, struct sta_info *sta) sae_check_big_sync() argument
867 struct sta_info *sta = eloop_data; auth_sae_retransmit_timer() local
901 sae_clear_retransmit_timer(struct hostapd_data *hapd, struct sta_info *sta) sae_clear_retransmit_timer() argument
907 sae_set_retransmit_timer(struct hostapd_data *hapd, struct sta_info *sta) sae_set_retransmit_timer() argument
919 sae_sme_send_external_auth_status(struct hostapd_data *hapd, struct sta_info *sta, u16 status) sae_sme_send_external_auth_status() argument
935 sae_accept_sta(struct hostapd_data *hapd, struct sta_info *sta) sae_accept_sta() argument
981 sae_sm_step(struct hostapd_data *hapd, struct sta_info *sta, const u8 *bssid, u16 auth_transaction, u16 status_code, int allow_reuse, int *sta_removed) sae_sm_step() argument
1170 sae_pick_next_group(struct hostapd_data *hapd, struct sta_info *sta) sae_pick_next_group() argument
1293 handle_auth_sae(struct hostapd_data *hapd, struct sta_info *sta, const struct ieee80211_mgmt *mgmt, size_t len, u16 auth_transaction, u16 status_code) handle_auth_sae() argument
1622 auth_sae_init_committed(struct hostapd_data *hapd, struct sta_info *sta) auth_sae_init_committed() argument
1785 handle_auth_fils(struct hostapd_data *hapd, struct sta_info *sta, const u8 *pos, size_t len, u16 auth_alg, u16 auth_transaction, u16 status_code, void (*cb)(struct hostapd_data *hapd, struct sta_info *sta, u16 resp, struct wpabuf *data, int pub)) handle_auth_fils() argument
2026 prepare_auth_resp_fils(struct hostapd_data *hapd, struct sta_info *sta, u16 *resp, struct rsn_pmksa_cache_entry *pmksa, struct wpabuf *erp_resp, const u8 *msk, size_t msk_len, int *is_pub) prepare_auth_resp_fils() argument
2237 handle_auth_fils_finish(struct hostapd_data *hapd, struct sta_info *sta, u16 resp, struct wpabuf *data, int pub) handle_auth_fils_finish() argument
2263 ieee802_11_finish_fils_auth(struct hostapd_data *hapd, struct sta_info *sta, int success, struct wpabuf *erp_resp, const u8 *msk, size_t msk_len) ieee802_11_finish_fils_auth() argument
2332 ieee802_11_set_radius_info(struct hostapd_data *hapd, struct sta_info *sta, int res, struct radius_sta *info) ieee802_11_set_radius_info() argument
2394 pasn_wd_handle_sae_commit(struct hostapd_data *hapd, struct sta_info *sta, struct wpabuf *wd) pasn_wd_handle_sae_commit() argument
2478 pasn_wd_handle_sae_confirm(struct hostapd_data *hapd, struct sta_info *sta, struct wpabuf *wd) pasn_wd_handle_sae_confirm() argument
2535 pasn_get_sae_wd(struct hostapd_data *hapd, struct sta_info *sta) pasn_get_sae_wd() argument
2580 pasn_get_fils_wd(struct hostapd_data *hapd, struct sta_info *sta) pasn_get_fils_wd() argument
2630 pasn_fils_auth_resp(struct hostapd_data *hapd, struct sta_info *sta, u16 status, struct wpabuf *erp_resp, const u8 *msk, size_t msk_len) pasn_fils_auth_resp() argument
2698 pasn_wd_handle_fils(struct hostapd_data *hapd, struct sta_info *sta, struct wpabuf *wd) pasn_wd_handle_fils() argument
2825 pasn_get_wrapped_data(struct hostapd_data *hapd, struct sta_info *sta) pasn_get_wrapped_data() argument
2859 pasn_derive_keys(struct hostapd_data *hapd, struct sta_info *sta, const u8 *cached_pmk, size_t cached_pmk_len, struct wpa_pasn_params_data *pasn_data, struct wpabuf *wrapped_data, struct wpabuf *secret) pasn_derive_keys() argument
2919 handle_auth_pasn_comeback(struct hostapd_data *hapd, struct sta_info *sta, u16 group) handle_auth_pasn_comeback() argument
2967 handle_auth_pasn_resp(struct hostapd_data *hapd, struct sta_info *sta, struct rsn_pmksa_cache_entry *pmksa, u16 status) handle_auth_pasn_resp() argument
3117 handle_auth_pasn_1(struct hostapd_data *hapd, struct sta_info *sta, const struct ieee80211_mgmt *mgmt, size_t len) handle_auth_pasn_1() argument
3403 handle_auth_pasn_3(struct hostapd_data *hapd, struct sta_info *sta, const struct ieee80211_mgmt *mgmt, size_t len) handle_auth_pasn_3() argument
3514 handle_auth_pasn(struct hostapd_data *hapd, struct sta_info *sta, const struct ieee80211_mgmt *mgmt, size_t len, u16 trans_seq, u16 status) handle_auth_pasn() argument
3577 struct sta_info *sta = NULL; handle_auth() local
3981 hostapd_get_aid(struct hostapd_data *hapd, struct sta_info *sta) hostapd_get_aid() argument
4017 check_ssid(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ssid_ie, size_t ssid_ie_len) check_ssid() argument
4038 check_wmm(struct hostapd_data *hapd, struct sta_info *sta, const u8 *wmm_ie, size_t wmm_ie_len) check_wmm() argument
4062 check_multi_ap(struct hostapd_data *hapd, struct sta_info *sta, const u8 *multi_ap_ie, size_t multi_ap_len) check_multi_ap() argument
4116 copy_supp_rates(struct hostapd_data *hapd, struct sta_info *sta, struct ieee802_11_elems *elems) copy_supp_rates() argument
4150 check_ext_capab(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ext_capab_ie, size_t ext_capab_ie_len) check_ext_capab() argument
4198 owe_process_assoc_req(struct hostapd_data *hapd, struct sta_info *sta, const u8 *owe_dh, u8 owe_dh_len) owe_process_assoc_req() argument
4380 owe_process_rsn_ie(struct hostapd_data *hapd, struct sta_info *sta, const u8 *rsn_ie, size_t rsn_ie_len, const u8 *owe_dh, size_t owe_dh_len) owe_process_rsn_ie() argument
4460 check_sa_query(struct hostapd_data *hapd, struct sta_info *sta, int reassoc) check_sa_query() argument
4488 check_assoc_ies(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ies, size_t ies_len, int reassoc) check_assoc_ies() argument
4945 add_associated_sta(struct hostapd_data *hapd, struct sta_info *sta, int reassoc) add_associated_sta() argument
5043 send_assoc_resp(struct hostapd_data *hapd, struct sta_info *sta, const u8 *addr, u16 status_code, int reassoc, const u8 *ies, size_t ies_len, int rssi, int omit_rsnxe) send_assoc_resp() argument
5358 owe_assoc_req_process(struct hostapd_data *hapd, struct sta_info *sta, const u8 *owe_dh, u8 owe_dh_len, u8 *owe_buf, size_t owe_buf_len, u16 *status) owe_assoc_req_process() argument
5420 fils_hlp_finish_assoc(struct hostapd_data *hapd, struct sta_info *sta) fils_hlp_finish_assoc() argument
5453 struct sta_info *sta = eloop_data; fils_hlp_timeout() local
5476 struct sta_info *sta; handle_assoc() local
5868 struct sta_info *sta; handle_disassoc() local
5933 struct sta_info *sta; handle_deauth() local
6007 struct sta_info *sta; handle_action() local
6360 struct sta_info *sta; handle_auth_cb() local
6415 hostapd_set_wds_encryption(struct hostapd_data *hapd, struct sta_info *sta, char *ifname_wds) hostapd_set_wds_encryption() argument
6449 struct sta_info *sta; handle_assoc_cb() local
6602 struct sta_info *sta; handle_deauth_cb() local
6626 struct sta_info *sta; handle_disassoc_cb() local
6650 struct sta_info *sta; handle_action_cb() local
6778 ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) ieee802_11_get_mib_sta() argument
6789 struct sta_info *sta; hostapd_tx_status() local
6819 struct sta_info *sta; hostapd_eapol_tx_status() local
6845 struct sta_info *sta; hostapd_client_poll_ok() local
6874 struct sta_info *sta; ieee802_11_rx_from_unknown() local
[all...]
H A Dieee802_1x.c47 struct sta_info *sta, int success,
51 static void ieee802_1x_send(struct hostapd_data *hapd, struct sta_info *sta, in ieee802_1x_send() argument
79 if (wpa_auth_pairwise_set(sta->wpa_sm)) in ieee802_1x_send()
90 MAC2STR(sta->addr), hex); in ieee802_1x_send()
95 if (sta->flags & WLAN_STA_PREAUTH) { in ieee802_1x_send()
96 rsn_preauth_send(hapd, sta, buf, len); in ieee802_1x_send()
99 hapd, sta->addr, buf, len, in ieee802_1x_send()
100 encrypt, hostapd_sta_flags_to_drv(sta->flags)); in ieee802_1x_send()
108 struct sta_info *sta, int authorized) in ieee802_1x_set_sta_authorized()
112 if (sta in ieee802_1x_set_sta_authorized()
107 ieee802_1x_set_sta_authorized(struct hostapd_data *hapd, struct sta_info *sta, int authorized) ieee802_1x_set_sta_authorized() argument
144 ieee802_1x_tx_key_one(struct hostapd_data *hapd, struct sta_info *sta, int idx, int broadcast, u8 *key_data, size_t key_len) ieee802_1x_tx_key_one() argument
242 ieee802_1x_tx_key(struct hostapd_data *hapd, struct sta_info *sta) ieee802_1x_tx_key() argument
320 radius_sta_rate(struct hostapd_data *hapd, struct sta_info *sta) radius_sta_rate() argument
371 add_common_radius_sta_attr_rsn(struct hostapd_data *hapd, struct hostapd_radius_attr *req_attr, struct sta_info *sta, struct radius_msg *msg) add_common_radius_sta_attr_rsn() argument
431 add_common_radius_sta_attr(struct hostapd_data *hapd, struct hostapd_radius_attr *req_attr, struct sta_info *sta, struct radius_msg *msg) add_common_radius_sta_attr() argument
529 add_common_radius_attr(struct hostapd_data *hapd, struct hostapd_radius_attr *req_attr, struct sta_info *sta, struct radius_msg *msg) add_common_radius_attr() argument
621 add_sqlite_radius_attr(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg, int acct) add_sqlite_radius_attr() argument
678 ieee802_1x_encapsulate_radius(struct hostapd_data *hapd, struct sta_info *sta, const u8 *eap, size_t len) ieee802_1x_encapsulate_radius() argument
852 handle_eap_response(struct hostapd_data *hapd, struct sta_info *sta, struct eap_hdr *eap, size_t len) handle_eap_response() argument
885 handle_eap_initiate(struct hostapd_data *hapd, struct sta_info *sta, struct eap_hdr *eap, size_t len) handle_eap_initiate() argument
941 handle_eap(struct hostapd_data *hapd, struct sta_info *sta, u8 *buf, size_t len) handle_eap() argument
983 ieee802_1x_alloc_eapol_sm(struct hostapd_data *hapd, struct sta_info *sta) ieee802_1x_alloc_eapol_sm() argument
1000 ieee802_1x_save_eapol(struct sta_info *sta, const u8 *buf, size_t len) ieee802_1x_save_eapol() argument
1035 struct sta_info *sta; ieee802_1x_receive() local
1227 ieee802_1x_new_station(struct hostapd_data *hapd, struct sta_info *sta) ieee802_1x_new_station() argument
1377 ieee802_1x_free_station(struct hostapd_data *hapd, struct sta_info *sta) ieee802_1x_free_station() argument
1406 ieee802_1x_decapsulate_radius(struct hostapd_data *hapd, struct sta_info *sta) ieee802_1x_decapsulate_radius() argument
1483 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) ieee802_1x_get_keys() argument
1546 ieee802_1x_store_radius_class(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg) ieee802_1x_store_radius_class() argument
1601 ieee802_1x_update_sta_identity(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg) ieee802_1x_update_sta_identity() argument
1633 ieee802_1x_update_sta_cui(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg) ieee802_1x_update_sta_cui() argument
1660 ieee802_1x_hs20_sub_rem(struct sta_info *sta, u8 *pos, size_t len) ieee802_1x_hs20_sub_rem() argument
1686 ieee802_1x_hs20_deauth_req(struct hostapd_data *hapd, struct sta_info *sta, u8 *pos, size_t len) ieee802_1x_hs20_deauth_req() argument
1707 ieee802_1x_hs20_session_info(struct hostapd_data *hapd, struct sta_info *sta, u8 *pos, size_t len, int session_timeout) ieee802_1x_hs20_session_info() argument
1750 ieee802_1x_hs20_t_c_filtering(struct hostapd_data *hapd, struct sta_info *sta, u8 *pos, size_t len) ieee802_1x_hs20_t_c_filtering() argument
1763 ieee802_1x_hs20_t_c_url(struct hostapd_data *hapd, struct sta_info *sta, u8 *pos, size_t len) ieee802_1x_hs20_t_c_url() argument
1779 ieee802_1x_check_hs20(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg, int session_timeout) ieee802_1x_check_hs20() argument
1841 ieee802_1x_select_radius_identifier(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) ieee802_1x_select_radius_identifier() argument
1870 ieee802_1x_update_vlan(struct radius_msg *msg, struct hostapd_data *hapd, struct sta_info *sta) ieee802_1x_update_vlan() argument
1923 struct sta_info *sta; ieee802_1x_receive_auth() local
2089 ieee802_1x_abort_auth(struct hostapd_data *hapd, struct sta_info *sta) ieee802_1x_abort_auth() argument
2148 ieee802_1x_sta_key_available(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) ieee802_1x_sta_key_available() argument
2213 struct sta_info *sta = sta_ctx; ieee802_1x_eapol_send() local
2245 struct sta_info *sta = sta_ctx; ieee802_1x_aaa_send() local
2256 struct sta_info *sta = sta_ctx; _ieee802_1x_finished() local
2317 struct sta_info *sta; ieee802_1x_sta_entry_alive() local
2356 struct sta_info *sta = sta_ctx; ieee802_1x_set_port_authorized() local
2365 struct sta_info *sta = sta_ctx; _ieee802_1x_abort_auth() local
2377 struct sta_info *sta = sta_ctx; _ieee802_1x_tx_key() local
2390 struct sta_info *sta = sta_ctx; ieee802_1x_eapol_event() local
2533 ieee802_1x_tx_status(struct hostapd_data *hapd, struct sta_info *sta, const u8 *buf, size_t len, int ack) ieee802_1x_tx_status() argument
2560 ieee802_1x_eapol_tx_status(struct hostapd_data *hapd, struct sta_info *sta, const u8 *buf, int len, int ack) ieee802_1x_eapol_tx_status() argument
2723 ieee802_1x_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) ieee802_1x_get_mib_sta() argument
2906 struct sta_info *sta = timeout_ctx; ieee802_1x_wnm_notif_send() local
2939 ieee802_1x_finished(struct hostapd_data *hapd, struct sta_info *sta, int success, int remediation) ieee802_1x_finished() argument
[all...]
H A Daccounting.c31 struct sta_info *sta);
35 struct sta_info *sta, in accounting_msg()
59 if (sta) { in accounting_msg()
72 val = ieee802_1x_get_identity(sta->eapol_sm, &len); in accounting_msg()
75 if (!val && sta->identity) { in accounting_msg()
76 val = (u8 *) sta->identity; in accounting_msg()
77 len = os_strlen(sta->identity); in accounting_msg()
84 MAC2STR(sta->addr)); in accounting_msg()
96 if (add_common_radius_attr(hapd, hapd->conf->radius_acct_req_attr, sta, in accounting_msg()
100 if (sta in accounting_msg()
34 accounting_msg(struct hostapd_data *hapd, struct sta_info *sta, int status_type) accounting_msg() argument
170 accounting_sta_update_stats(struct hostapd_data *hapd, struct sta_info *sta, struct hostap_sta_driver_data *data) accounting_sta_update_stats() argument
204 struct sta_info *sta = timeout_ctx; accounting_interim_update() local
226 accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta) accounting_sta_start() argument
265 accounting_sta_report(struct hostapd_data *hapd, struct sta_info *sta, int stop) accounting_sta_report() argument
368 accounting_sta_interim(struct hostapd_data *hapd, struct sta_info *sta) accounting_sta_interim() argument
381 accounting_sta_stop(struct hostapd_data *hapd, struct sta_info *sta) accounting_sta_stop() argument
395 accounting_sta_get_id(struct hostapd_data *hapd, struct sta_info *sta) accounting_sta_get_id() argument
463 struct sta_info *sta; accounting_interim_error_cb() local
[all...]
H A Ddrv_callbacks.c60 struct sta_info *sta) in hostapd_notify_assoc_fils_finish()
68 __func__, MAC2STR_SEC(sta->addr)); in hostapd_notify_assoc_fils_finish()
69 eloop_cancel_timeout(fils_hlp_timeout, hapd, sta); in hostapd_notify_assoc_fils_finish()
70 if (!sta->fils_pending_assoc_req) in hostapd_notify_assoc_fils_finish()
73 ieee802_11_parse_elems(sta->fils_pending_assoc_req, in hostapd_notify_assoc_fils_finish()
74 sta->fils_pending_assoc_req_len, &elems, 0); in hostapd_notify_assoc_fils_finish()
81 p = hostapd_eid_assoc_fils_session(sta->wpa_sm, p, in hostapd_notify_assoc_fils_finish()
83 sta->fils_hlp_resp); in hostapd_notify_assoc_fils_finish()
85 reply_res = hostapd_sta_assoc(hapd, sta->addr, in hostapd_notify_assoc_fils_finish()
86 sta in hostapd_notify_assoc_fils_finish()
59 hostapd_notify_assoc_fils_finish(struct hostapd_data *hapd, struct sta_info *sta) hostapd_notify_assoc_fils_finish() argument
119 check_sa_query_need(struct hostapd_data *hapd, struct sta_info *sta) check_sa_query_need() argument
148 struct sta_info *sta; hostapd_notif_assoc() local
766 struct sta_info *sta; hostapd_notif_disassoc() local
804 struct sta_info *sta = ap_get_sta(hapd, addr); hostapd_event_sta_low_ack() local
821 struct sta_info *sta = ap_get_sta(hapd, addr); hostapd_event_sta_opmode_changed() local
1074 struct sta_info *sta; hostapd_event_ch_switch() local
1263 struct sta_info *sta; hostapd_notify_auth_ft_finish() local
1279 hostapd_notify_auth_fils_finish(struct hostapd_data *hapd, struct sta_info *sta, u16 resp, struct wpabuf *data, int pub) hostapd_notify_auth_fils_finish() argument
1307 struct sta_info *sta; hostapd_notif_auth() local
1364 struct sta_info *sta; hostapd_action_rx() local
1572 struct sta_info *sta = ap_get_sta(hapd, addr); hostapd_event_new_sta() local
1596 struct sta_info *sta; hostapd_event_eapol_rx() local
1820 struct sta_info *sta = ap_get_sta(hapd, addr); hostapd_event_wds_sta_interface_status() local
1843 struct sta_info *sta; hostapd_notif_update_dh_ie() local
[all...]
H A Dpreauth_auth.c47 struct sta_info *sta; in rsn_preauth_receive() local
67 sta = ap_get_sta(hapd, ethhdr->h_source); in rsn_preauth_receive()
68 if (sta && (sta->flags & WLAN_STA_ASSOC)) { in rsn_preauth_receive()
70 "STA " MACSTR_SEC, MAC2STR_SEC(sta->addr)); in rsn_preauth_receive()
73 if (!sta && hdr->type == IEEE802_1X_TYPE_EAPOL_START) { in rsn_preauth_receive()
74 sta = ap_sta_add(hapd, ethhdr->h_source); in rsn_preauth_receive()
75 if (sta == NULL) in rsn_preauth_receive()
77 sta->flags = WLAN_STA_PREAUTH; in rsn_preauth_receive()
79 ieee802_1x_new_station(hapd, sta); in rsn_preauth_receive()
188 struct sta_info *sta = timeout_ctx; rsn_preauth_finished_cb() local
195 rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta, int success) rsn_preauth_finished() argument
231 rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta, u8 *buf, size_t len) rsn_preauth_send() argument
268 rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta) rsn_preauth_free_station() argument
[all...]
H A Dwpa_auth_glue.c290 struct sta_info *sta = ap_get_sta(hapd, addr); in hostapd_wpa_auth_set_eapol() local
291 if (sta == NULL) in hostapd_wpa_auth_set_eapol()
295 ieee802_1x_notify_port_enabled(sta->eapol_sm, value); in hostapd_wpa_auth_set_eapol()
298 ieee802_1x_notify_port_valid(sta->eapol_sm, value); in hostapd_wpa_auth_set_eapol()
301 ieee802_1x_set_sta_authorized(hapd, sta, value); in hostapd_wpa_auth_set_eapol()
304 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol()
305 sta->eapol_sm->portControl = Auto; in hostapd_wpa_auth_set_eapol()
308 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol()
309 sta->eapol_sm->keyRun = value; in hostapd_wpa_auth_set_eapol()
312 if (sta in hostapd_wpa_auth_set_eapol()
331 struct sta_info *sta = ap_get_sta(hapd, addr); hostapd_wpa_auth_get_eapol() local
351 struct sta_info *sta = ap_get_sta(hapd, addr); hostapd_wpa_auth_get_psk() local
430 struct sta_info *sta; hostapd_wpa_auth_get_msk() local
477 struct sta_info *sta; hostapd_wpa_auth_set_key() local
530 struct sta_info *sta; hostapd_wpa_auth_send_eapol() local
562 struct sta_info *sta; hostapd_wpa_auth_for_each_sta() local
963 struct sta_info *sta; hostapd_wpa_auth_update_vlan() local
1010 struct sta_info *sta; hostapd_get_sta_tx_params() local
1034 struct sta_info *sta; hostapd_wpa_auth_send_ft_action() local
1061 struct sta_info *sta; hostapd_wpa_auth_add_sta() local
1104 struct sta_info *sta; hostapd_wpa_auth_add_sta_ft() local
1133 struct sta_info *sta; hostapd_wpa_auth_set_vlan() local
1166 struct sta_info *sta; hostapd_wpa_auth_get_vlan() local
1186 struct sta_info *sta; hostapd_wpa_auth_set_identity() local
1226 struct sta_info *sta; hostapd_wpa_auth_get_identity() local
1256 struct sta_info *sta; hostapd_wpa_auth_set_radius_cui() local
1294 struct sta_info *sta; hostapd_wpa_auth_get_radius_cui() local
1327 struct sta_info *sta; hostapd_wpa_auth_set_session_timeout() local
1348 struct sta_info *sta; hostapd_wpa_auth_get_session_timeout() local
[all...]
H A Dairtime_policy.c57 struct sta_info *sta, in set_new_backlog_time()
60 sta->backlogged_until = *now; in set_new_backlog_time()
61 sta->backlogged_until.usec += hapd->iconf->airtime_update_interval * in set_new_backlog_time()
63 while (sta->backlogged_until.usec >= 1000000) { in set_new_backlog_time()
64 sta->backlogged_until.sec++; in set_new_backlog_time()
65 sta->backlogged_until.usec -= 1000000; in set_new_backlog_time()
72 struct sta_info *sta; in count_backlogged_sta() local
79 for (sta = hapd->sta_list; sta; sta in count_backlogged_sta()
56 set_new_backlog_time(struct hostapd_data *hapd, struct sta_info *sta, struct os_reltime *now) set_new_backlog_time() argument
96 sta_set_airtime_weight(struct hostapd_data *hapd, struct sta_info *sta, unsigned int weight) sta_set_airtime_weight() argument
113 struct sta_info *sta; set_sta_weights() local
230 get_weight_for_sta(struct hostapd_data *hapd, const u8 *sta) get_weight_for_sta() argument
242 airtime_policy_new_sta(struct hostapd_data *hapd, struct sta_info *sta) airtime_policy_new_sta() argument
[all...]
H A Dmbo_ap.c19 void mbo_ap_sta_free(struct sta_info *sta) in mbo_ap_sta_free() argument
23 info = sta->non_pref_chan; in mbo_ap_sta_free()
24 sta->non_pref_chan = NULL; in mbo_ap_sta_free()
33 static void mbo_ap_parse_non_pref_chan(struct sta_info *sta, in mbo_ap_parse_non_pref_chan() argument
54 if (!sta->non_pref_chan) { in mbo_ap_parse_non_pref_chan()
55 sta->non_pref_chan = info; in mbo_ap_parse_non_pref_chan()
57 tmp = sta->non_pref_chan; in mbo_ap_parse_non_pref_chan()
78 MAC2STR_SEC(sta->addr), info->op_class, info->pref, in mbo_ap_parse_non_pref_chan()
83 void mbo_ap_check_sta_assoc(struct hostapd_data *hapd, struct sta_info *sta, in mbo_ap_check_sta_assoc() argument
98 sta in mbo_ap_check_sta_assoc()
115 mbo_ap_get_info(struct sta_info *sta, char *buf, size_t buflen) mbo_ap_get_info() argument
168 mbo_ap_wnm_notif_req_cell_capa(struct sta_info *sta, const u8 *buf, size_t len) mbo_ap_wnm_notif_req_cell_capa() argument
180 mbo_ap_wnm_notif_req_elem(struct sta_info *sta, u8 type, const u8 *buf, size_t len, int *first_non_pref_chan) mbo_ap_wnm_notif_req_elem() argument
213 struct sta_info *sta; mbo_ap_wnm_notification_req() local
[all...]
H A Dfils_hlp.c36 static int fils_dhcp_request(struct hostapd_data *hapd, struct sta_info *sta, in fils_dhcp_request() argument
45 if (!sta->hlp_dhcp_discover) { in fils_dhcp_request()
53 pos = wpabuf_mhead(sta->hlp_dhcp_discover); in fils_dhcp_request()
54 end = pos + wpabuf_len(sta->hlp_dhcp_discover); in fils_dhcp_request()
91 sta->hlp_dhcp_discover->used = pos - (u8 *) dhcp; in fils_dhcp_request()
117 if (wpabuf_resize(&sta->hlp_dhcp_discover, in fils_dhcp_request()
121 wpabuf_put_data(sta->hlp_dhcp_discover, server_id, in fils_dhcp_request()
123 wpabuf_put_u8(sta->hlp_dhcp_discover, DHCP_OPT_REQUESTED_IP_ADDRESS); in fils_dhcp_request()
124 wpabuf_put_u8(sta->hlp_dhcp_discover, 4); in fils_dhcp_request()
125 wpabuf_put_data(sta in fils_dhcp_request()
153 struct sta_info *sta; fils_dhcp_handler() local
325 fils_process_hlp_dhcp(struct hostapd_data *hapd, struct sta_info *sta, const u8 *msg, size_t len) fils_process_hlp_dhcp() argument
478 fils_process_hlp_udp(struct hostapd_data *hapd, struct sta_info *sta, const u8 *dst, const u8 *pos, size_t len) fils_process_hlp_udp() argument
509 fils_process_hlp_ip(struct hostapd_data *hapd, struct sta_info *sta, const u8 *dst, const u8 *pos, size_t len) fils_process_hlp_ip() argument
539 fils_process_hlp_req(struct hostapd_data *hapd, struct sta_info *sta, const u8 *pos, size_t len) fils_process_hlp_req() argument
576 fils_process_hlp(struct hostapd_data *hapd, struct sta_info *sta, const u8 *pos, int left) fils_process_hlp() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dmesh_mpm.c122 struct sta_info *sta, in copy_supp_rates()
127 MAC2STR(sta->addr)); in copy_supp_rates()
132 sizeof(sta->supported_rates)) { in copy_supp_rates()
135 " %d+%d", MAC2STR(sta->addr), elems->supp_rates_len, in copy_supp_rates()
140 sta->supported_rates_len = merge_byte_arrays( in copy_supp_rates()
141 sta->supported_rates, sizeof(sta->supported_rates), in copy_supp_rates()
172 struct sta_info *sta; in llid_in_use() local
175 for (sta = hapd->sta_list; sta; st in llid_in_use()
121 copy_supp_rates(struct wpa_supplicant *wpa_s, struct sta_info *sta, struct ieee802_11_elems *elems) copy_supp_rates() argument
185 mesh_mpm_init_link(struct wpa_supplicant *wpa_s, struct sta_info *sta) mesh_mpm_init_link() argument
207 mesh_mpm_send_plink_action(struct wpa_supplicant *wpa_s, struct sta_info *sta, enum plink_action_field type, u16 close_reason) mesh_mpm_send_plink_action() argument
432 wpa_mesh_set_plink_state(struct wpa_supplicant *wpa_s, struct sta_info *sta, enum mesh_plink_state state) wpa_mesh_set_plink_state() argument
463 mesh_mpm_fsm_restart(struct wpa_supplicant *wpa_s, struct sta_info *sta) mesh_mpm_fsm_restart() argument
477 struct sta_info *sta = user_data; plink_timer() local
527 mesh_mpm_plink_open(struct wpa_supplicant *wpa_s, struct sta_info *sta, enum mesh_plink_state next_state) mesh_mpm_plink_open() argument
541 mesh_mpm_plink_close(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) mesh_mpm_plink_close() argument
566 struct sta_info *sta; mesh_mpm_close_peer() local
598 struct sta_info *sta; mesh_mpm_connect_peer() local
661 struct sta_info *sta; mesh_mpm_auth_peer() local
711 struct sta_info *sta; mesh_mpm_add_peer() local
821 struct sta_info *sta; wpa_mesh_new_mesh_peer() local
881 mesh_mpm_plink_estab(struct wpa_supplicant *wpa_s, struct sta_info *sta) mesh_mpm_plink_estab() argument
953 mesh_mpm_fsm(struct wpa_supplicant *wpa_s, struct sta_info *sta, enum plink_event event, u16 reason) mesh_mpm_fsm() argument
1151 struct sta_info *sta; mesh_mpm_action_rx() local
1419 mesh_mpm_free_sta(struct hostapd_data *hapd, struct sta_info *sta) mesh_mpm_free_sta() argument
[all...]
H A Dmesh_rsn.c34 struct sta_info *sta = user_data; in mesh_auth_timer() local
37 if (sta->sae->state != SAE_ACCEPTED) { in mesh_auth_timer()
40 MAC2STR_SEC(sta->addr), sta->sae_auth_retry); in mesh_auth_timer()
42 MAC2STR(sta->addr)); in mesh_auth_timer()
43 if (sta->sae_auth_retry < MESH_AUTH_RETRY) { in mesh_auth_timer()
44 mesh_rsn_auth_sae_sta(wpa_s, sta); in mesh_auth_timer()
48 if (sta->sae_auth_retry > MESH_AUTH_RETRY) { in mesh_auth_timer()
49 ap_free_sta(hapd, sta); in mesh_auth_timer()
54 wpa_mesh_set_plink_state(wpa_s, sta, PLINK_BLOCKE in mesh_auth_timer()
83 struct sta_info *sta = ap_get_sta(hapd, addr); auth_get_psk() local
134 struct sta_info *sta; auth_start_ampe() local
332 mesh_rsn_build_sae_commit(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, struct sta_info *sta) mesh_rsn_build_sae_commit() argument
363 mesh_rsn_auth_sae_sta(struct wpa_supplicant *wpa_s, struct sta_info *sta) mesh_rsn_auth_sae_sta() argument
428 mesh_rsn_get_pmkid(struct mesh_rsn *rsn, struct sta_info *sta, u8 *pmkid) mesh_rsn_get_pmkid() argument
435 mesh_rsn_derive_aek(struct mesh_rsn *rsn, struct sta_info *sta) mesh_rsn_derive_aek() argument
467 mesh_rsn_derive_mtk(struct wpa_supplicant *wpa_s, struct sta_info *sta) mesh_rsn_derive_mtk() argument
529 mesh_rsn_init_ampe_sta(struct wpa_supplicant *wpa_s, struct sta_info *sta) mesh_rsn_init_ampe_sta() argument
546 mesh_rsn_protect_frame(struct mesh_rsn *rsn, struct sta_info *sta, const u8 *cat, struct wpabuf *buf) mesh_rsn_protect_frame() argument
640 mesh_rsn_process_ampe(struct wpa_supplicant *wpa_s, struct sta_info *sta, struct ieee802_11_elems *elems, const u8 *cat, const u8 *chosen_pmk, const u8 *start, size_t elems_len) mesh_rsn_process_ampe() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dmesh_mpm.c122 struct sta_info *sta, in copy_supp_rates()
127 MAC2STR(sta->addr)); in copy_supp_rates()
132 sizeof(sta->supported_rates)) { in copy_supp_rates()
135 " %d+%d", MAC2STR(sta->addr), elems->supp_rates_len, in copy_supp_rates()
140 sta->supported_rates_len = merge_byte_arrays( in copy_supp_rates()
141 sta->supported_rates, sizeof(sta->supported_rates), in copy_supp_rates()
172 struct sta_info *sta; in llid_in_use() local
175 for (sta = hapd->sta_list; sta; st in llid_in_use()
121 copy_supp_rates(struct wpa_supplicant *wpa_s, struct sta_info *sta, struct ieee802_11_elems *elems) copy_supp_rates() argument
185 mesh_mpm_init_link(struct wpa_supplicant *wpa_s, struct sta_info *sta) mesh_mpm_init_link() argument
207 mesh_mpm_send_plink_action(struct wpa_supplicant *wpa_s, struct sta_info *sta, enum plink_action_field type, u16 close_reason) mesh_mpm_send_plink_action() argument
429 wpa_mesh_set_plink_state(struct wpa_supplicant *wpa_s, struct sta_info *sta, enum mesh_plink_state state) wpa_mesh_set_plink_state() argument
455 mesh_mpm_fsm_restart(struct wpa_supplicant *wpa_s, struct sta_info *sta) mesh_mpm_fsm_restart() argument
469 struct sta_info *sta = user_data; plink_timer() local
519 mesh_mpm_plink_open(struct wpa_supplicant *wpa_s, struct sta_info *sta, enum mesh_plink_state next_state) mesh_mpm_plink_open() argument
533 mesh_mpm_plink_close(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) mesh_mpm_plink_close() argument
555 struct sta_info *sta; mesh_mpm_close_peer() local
587 struct sta_info *sta; mesh_mpm_connect_peer() local
650 struct sta_info *sta; mesh_mpm_auth_peer() local
698 struct sta_info *sta; mesh_mpm_add_peer() local
805 struct sta_info *sta; wpa_mesh_new_mesh_peer() local
865 mesh_mpm_plink_estab(struct wpa_supplicant *wpa_s, struct sta_info *sta) mesh_mpm_plink_estab() argument
923 mesh_mpm_fsm(struct wpa_supplicant *wpa_s, struct sta_info *sta, enum plink_event event, u16 reason) mesh_mpm_fsm() argument
1121 struct sta_info *sta; mesh_mpm_action_rx() local
1389 mesh_mpm_free_sta(struct hostapd_data *hapd, struct sta_info *sta) mesh_mpm_free_sta() argument
[all...]
H A Dmesh_rsn.c34 struct sta_info *sta = user_data; in mesh_auth_timer() local
37 if (sta->sae->state != SAE_ACCEPTED) { in mesh_auth_timer()
40 MAC2STR(sta->addr), sta->sae_auth_retry); in mesh_auth_timer()
42 MAC2STR(sta->addr)); in mesh_auth_timer()
43 if (sta->sae_auth_retry < MESH_AUTH_RETRY) { in mesh_auth_timer()
44 mesh_rsn_auth_sae_sta(wpa_s, sta); in mesh_auth_timer()
48 if (sta->sae_auth_retry > MESH_AUTH_RETRY) { in mesh_auth_timer()
49 ap_free_sta(hapd, sta); in mesh_auth_timer()
54 wpa_mesh_set_plink_state(wpa_s, sta, PLINK_BLOCKE in mesh_auth_timer()
83 struct sta_info *sta = ap_get_sta(hapd, addr); auth_get_psk() local
129 struct sta_info *sta; auth_start_ampe() local
321 mesh_rsn_build_sae_commit(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, struct sta_info *sta) mesh_rsn_build_sae_commit() argument
353 mesh_rsn_auth_sae_sta(struct wpa_supplicant *wpa_s, struct sta_info *sta) mesh_rsn_auth_sae_sta() argument
416 mesh_rsn_get_pmkid(struct mesh_rsn *rsn, struct sta_info *sta, u8 *pmkid) mesh_rsn_get_pmkid() argument
423 mesh_rsn_derive_aek(struct mesh_rsn *rsn, struct sta_info *sta) mesh_rsn_derive_aek() argument
455 mesh_rsn_derive_mtk(struct wpa_supplicant *wpa_s, struct sta_info *sta) mesh_rsn_derive_mtk() argument
517 mesh_rsn_init_ampe_sta(struct wpa_supplicant *wpa_s, struct sta_info *sta) mesh_rsn_init_ampe_sta() argument
534 mesh_rsn_protect_frame(struct mesh_rsn *rsn, struct sta_info *sta, const u8 *cat, struct wpabuf *buf) mesh_rsn_protect_frame() argument
632 mesh_rsn_process_ampe(struct wpa_supplicant *wpa_s, struct sta_info *sta, struct ieee802_11_elems *elems, const u8 *cat, const u8 *chosen_pmk, const u8 *start, size_t elems_len) mesh_rsn_process_ampe() argument
[all...]

Completed in 23 milliseconds

1234567