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

1234567891011

/freebsd-current/contrib/wpa/src/ap/
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)
56 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME,
59 MAC2STR(sta->addr), mlme_auth_alg_str(sta->auth_alg));
60 if (sta->auth_alg != WLAN_AUTH_FT &&
61 sta->auth_alg != WLAN_AUTH_FILS_SK &&
62 sta
53 mlme_authenticate_indication(struct hostapd_data *hapd, struct sta_info *sta) argument
82 mlme_deauthenticate_indication(struct hostapd_data *hapd, struct sta_info *sta, u16 reason_code) argument
106 mlme_associate_indication(struct hostapd_data *hapd, struct sta_info *sta) argument
133 mlme_reassociate_indication(struct hostapd_data *hapd, struct sta_info *sta) argument
161 mlme_disassociate_indication(struct hostapd_data *hapd, struct sta_info *sta, u16 reason_code) argument
182 mlme_deletekeys_request(struct hostapd_data *hapd, struct sta_info *sta) argument
[all...]
H A Dap_mlme.h15 struct sta_info *sta);
18 struct sta_info *sta, u16 reason_code);
21 struct sta_info *sta);
24 struct sta_info *sta);
27 struct sta_info *sta, u16 reason_code);
32 void mlme_deletekeys_request(struct hostapd_data *hapd, struct sta_info *sta);
H A Dwpa_auth_kay.h15 struct sta_info *sta);
17 struct sta_info *sta);
21 struct sta_info *sta);
26 struct sta_info *sta)
33 struct sta_info *sta)
44 struct sta_info *sta)
25 ieee802_1x_alloc_kay_sm_hapd(struct hostapd_data *hapd, struct sta_info *sta) argument
32 ieee802_1x_notify_create_actor_hapd(struct hostapd_data *hapd, struct sta_info *sta) argument
43 ieee802_1x_create_preshared_mka_hapd(struct hostapd_data *hapd, struct sta_info *sta) argument
H A Dsta_info.c44 struct sta_info *sta);
50 static int ap_sta_remove(struct hostapd_data *hapd, struct sta_info *sta);
54 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta,
58 struct sta_info *sta; local
60 for (sta = hapd->sta_list; sta; sta = sta->next) {
61 if (cb(hapd, sta, ctx))
69 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) argument
53 ap_for_each_sta(struct hostapd_data *hapd, int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, void *ctx), void *ctx) argument
83 struct sta_info *sta; local
104 ap_sta_list_del(struct hostapd_data *hapd, struct sta_info *sta) argument
124 ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta) argument
131 ap_sta_hash_del(struct hostapd_data *hapd, struct sta_info *sta) argument
153 ap_sta_ip6addr_del(struct hostapd_data *hapd, struct sta_info *sta) argument
161 ap_free_sta_pasn(struct hostapd_data *hapd, struct sta_info *sta) argument
190 ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta) argument
421 struct sta_info *sta, *prev; local
450 struct sta_info *sta = timeout_ctx; local
625 struct sta_info *sta = timeout_ctx; local
652 ap_sta_replenish_timeout(struct hostapd_data *hapd, struct sta_info *sta, u32 session_timeout) argument
664 ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta, u32 session_timeout) argument
676 ap_sta_no_session_timeout(struct hostapd_data *hapd, struct sta_info *sta) argument
686 struct sta_info *sta = timeout_ctx; local
699 ap_sta_session_warning_timeout(struct hostapd_data *hapd, struct sta_info *sta, int warning_time) argument
710 struct sta_info *sta; local
773 ap_sta_remove(struct hostapd_data *hapd, struct sta_info *sta) argument
795 ap_sta_remove_in_other_bss(struct hostapd_data *hapd, struct sta_info *sta) argument
827 struct sta_info *sta = timeout_ctx; local
836 ap_sta_disassociate(struct hostapd_data *hapd, struct sta_info *sta, u16 reason) argument
879 struct sta_info *sta = timeout_ctx; local
888 ap_sta_deauthenticate(struct hostapd_data *hapd, struct sta_info *sta, u16 reason) argument
927 ap_sta_wps_cancel(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument
959 ap_sta_set_vlan(struct hostapd_data *hapd, struct sta_info *sta, struct vlan_description *vlan_desc) argument
1062 ap_sta_bind_vlan(struct hostapd_data *hapd, struct sta_info *sta) argument
1145 ap_check_sa_query_timeout(struct hostapd_data *hapd, struct sta_info *sta) argument
1172 struct sta_info *sta = timeout_ctx; local
1222 ap_sta_start_sa_query(struct hostapd_data *hapd, struct sta_info *sta) argument
1228 ap_sta_stop_sa_query(struct hostapd_data *hapd, struct sta_info *sta) argument
1237 ap_sta_wpa_get_keyid(struct hostapd_data *hapd, struct sta_info *sta) argument
1263 ap_sta_set_authorized(struct hostapd_data *hapd, struct sta_info *sta, int authorized) argument
1351 ap_sta_disconnect(struct hostapd_data *hapd, struct sta_info *sta, const u8 *addr, u16 reason) argument
1409 ap_sta_deauth_cb(struct hostapd_data *hapd, struct sta_info *sta) argument
1421 ap_sta_disassoc_cb(struct hostapd_data *hapd, struct sta_info *sta) argument
1433 ap_sta_clear_disconnect_timeouts(struct hostapd_data *hapd, struct sta_info *sta) argument
1498 struct sta_info *sta = timeout_ctx; local
1514 ap_sta_delayed_1x_auth_fail_disconnect(struct hostapd_data *hapd, struct sta_info *sta) argument
1532 ap_sta_pending_delayed_1x_auth_fail_disconnect(struct hostapd_data *hapd, struct sta_info *sta) argument
1540 ap_sta_re_add(struct hostapd_data *hapd, struct sta_info *sta) argument
[all...]
H A Daccounting.h14 struct sta_info *sta)
20 struct sta_info *sta)
25 struct sta_info *sta)
38 int accounting_sta_get_id(struct hostapd_data *hapd, struct sta_info *sta);
39 void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta);
40 void accounting_sta_stop(struct hostapd_data *hapd, struct sta_info *sta);
13 accounting_sta_get_id(struct hostapd_data *hapd, struct sta_info *sta) argument
19 accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta) argument
24 accounting_sta_stop(struct hostapd_data *hapd, struct sta_info *sta) argument
H A Dmbo_ap.h18 void mbo_ap_check_sta_assoc(struct hostapd_data *hapd, struct sta_info *sta,
20 int mbo_ap_get_info(struct sta_info *sta, char *buf, size_t buflen);
23 void mbo_ap_sta_free(struct sta_info *sta);
28 struct sta_info *sta,
33 static inline int mbo_ap_get_info(struct sta_info *sta, char *buf, argument
45 static inline void mbo_ap_sta_free(struct sta_info *sta) argument
27 mbo_ap_check_sta_assoc(struct hostapd_data *hapd, struct sta_info *sta, struct ieee802_11_elems *elems) argument
H A Dpreauth_auth.h16 void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta,
18 void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta,
20 void rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta);
34 struct sta_info *sta,
40 struct sta_info *sta,
46 struct sta_info *sta)
33 rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta, int success) argument
39 rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta, u8 *buf, size_t len) argument
45 rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta) argument
H A Daccounting.c31 struct sta_info *sta);
35 struct sta_info *sta,
59 if (sta) {
72 val = ieee802_1x_get_identity(sta->eapol_sm, &len);
75 if (!val && sta->identity) {
76 val = (u8 *) sta->identity;
77 len = os_strlen(sta->identity);
84 MAC2STR(sta->addr));
96 if (add_common_radius_attr(hapd, hapd->conf->radius_acct_req_attr, sta,
100 if (sta
34 accounting_msg(struct hostapd_data *hapd, struct sta_info *sta, int status_type) argument
170 accounting_sta_update_stats(struct hostapd_data *hapd, struct sta_info *sta, struct hostap_sta_driver_data *data) argument
204 struct sta_info *sta = timeout_ctx; local
226 accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta) argument
265 accounting_sta_report(struct hostapd_data *hapd, struct sta_info *sta, int stop) argument
368 accounting_sta_interim(struct hostapd_data *hapd, struct sta_info *sta) argument
381 accounting_sta_stop(struct hostapd_data *hapd, struct sta_info *sta) argument
395 accounting_sta_get_id(struct hostapd_data *hapd, struct sta_info *sta) argument
463 struct sta_info *sta; local
[all...]
H A Dtaxonomy.h13 struct sta_info *sta,
16 struct hostapd_sta_info *sta,
19 struct sta_info *sta,
22 struct sta_info *sta, char *buf, size_t buflen);
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, argument
314 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE80211,
320 if (!sta->challenge) {
324 sta->challenge = os_zalloc(WLAN_AUTH_CHALLENGE_LEN);
325 if (sta->challenge == NULL)
329 os_free(sta->challenge);
330 sta
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) argument
449 struct sta_info *sta; local
480 sae_set_state(struct sta_info *sta, enum sae_state state, const char *reason) 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) argument
533 auth_build_sae_commit(struct hostapd_data *hapd, struct sta_info *sta, int update, int status_code) argument
604 auth_build_sae_confirm(struct hostapd_data *hapd, struct sta_info *sta) argument
629 auth_sae_send_commit(struct hostapd_data *hapd, struct sta_info *sta, const u8 *bssid, int update, int status_code) argument
669 auth_sae_send_confirm(struct hostapd_data *hapd, struct sta_info *sta, const u8 *bssid) argument
697 struct sta_info *sta; local
853 sae_check_big_sync(struct hostapd_data *hapd, struct sta_info *sta) argument
867 struct sta_info *sta = eloop_data; local
901 sae_clear_retransmit_timer(struct hostapd_data *hapd, struct sta_info *sta) argument
907 sae_set_retransmit_timer(struct hostapd_data *hapd, struct sta_info *sta) argument
919 sae_sme_send_external_auth_status(struct hostapd_data *hapd, struct sta_info *sta, u16 status) argument
935 sae_accept_sta(struct hostapd_data *hapd, struct sta_info *sta) argument
980 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) argument
1169 sae_pick_next_group(struct hostapd_data *hapd, struct sta_info *sta) argument
1289 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) argument
1609 auth_sae_init_committed(struct hostapd_data *hapd, struct sta_info *sta) argument
1772 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)) argument
2013 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) argument
2224 handle_auth_fils_finish(struct hostapd_data *hapd, struct sta_info *sta, u16 resp, struct wpabuf *data, int pub) argument
2250 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) argument
2319 ieee802_11_set_radius_info(struct hostapd_data *hapd, struct sta_info *sta, int res, struct radius_sta *info) argument
2381 pasn_wd_handle_sae_commit(struct hostapd_data *hapd, struct sta_info *sta, struct wpabuf *wd) argument
2461 pasn_wd_handle_sae_confirm(struct hostapd_data *hapd, struct sta_info *sta, struct wpabuf *wd) argument
2513 pasn_get_sae_wd(struct hostapd_data *hapd, struct sta_info *sta) argument
2558 pasn_get_fils_wd(struct hostapd_data *hapd, struct sta_info *sta) argument
2608 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) argument
2676 pasn_wd_handle_fils(struct hostapd_data *hapd, struct sta_info *sta, struct wpabuf *wd) argument
2803 pasn_get_wrapped_data(struct hostapd_data *hapd, struct sta_info *sta) argument
2837 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) argument
2897 handle_auth_pasn_comeback(struct hostapd_data *hapd, struct sta_info *sta, u16 group) argument
2945 handle_auth_pasn_resp(struct hostapd_data *hapd, struct sta_info *sta, struct rsn_pmksa_cache_entry *pmksa, u16 status) argument
3095 handle_auth_pasn_1(struct hostapd_data *hapd, struct sta_info *sta, const struct ieee80211_mgmt *mgmt, size_t len) argument
3381 handle_auth_pasn_3(struct hostapd_data *hapd, struct sta_info *sta, const struct ieee80211_mgmt *mgmt, size_t len) argument
3492 handle_auth_pasn(struct hostapd_data *hapd, struct sta_info *sta, const struct ieee80211_mgmt *mgmt, size_t len, u16 trans_seq, u16 status) argument
3555 struct sta_info *sta = NULL; local
3959 hostapd_get_aid(struct hostapd_data *hapd, struct sta_info *sta) argument
3995 check_ssid(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ssid_ie, size_t ssid_ie_len) argument
4014 check_wmm(struct hostapd_data *hapd, struct sta_info *sta, const u8 *wmm_ie, size_t wmm_ie_len) argument
4038 check_multi_ap(struct hostapd_data *hapd, struct sta_info *sta, const u8 *multi_ap_ie, size_t multi_ap_len) argument
4092 copy_supp_rates(struct hostapd_data *hapd, struct sta_info *sta, struct ieee802_11_elems *elems) argument
4126 check_ext_capab(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ext_capab_ie, size_t ext_capab_ie_len) argument
4174 owe_process_assoc_req(struct hostapd_data *hapd, struct sta_info *sta, const u8 *owe_dh, u8 owe_dh_len) argument
4356 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) argument
4436 check_sa_query(struct hostapd_data *hapd, struct sta_info *sta, int reassoc) argument
4464 check_assoc_ies(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ies, size_t ies_len, int reassoc) argument
4921 add_associated_sta(struct hostapd_data *hapd, struct sta_info *sta, int reassoc) argument
5019 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) argument
5334 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) argument
5396 fils_hlp_finish_assoc(struct hostapd_data *hapd, struct sta_info *sta) argument
5429 struct sta_info *sta = eloop_data; local
5452 struct sta_info *sta; local
5844 struct sta_info *sta; local
5909 struct sta_info *sta; local
5980 struct sta_info *sta; local
6331 struct sta_info *sta; local
6386 hostapd_set_wds_encryption(struct hostapd_data *hapd, struct sta_info *sta, char *ifname_wds) argument
6420 struct sta_info *sta; local
6573 struct sta_info *sta; local
6597 struct sta_info *sta; local
6621 struct sta_info *sta; local
6749 ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
6760 struct sta_info *sta; local
6790 struct sta_info *sta; local
6816 struct sta_info *sta; local
6845 struct sta_info *sta; 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, argument
79 if (wpa_auth_pairwise_set(sta->wpa_sm))
90 MAC2STR(sta->addr), hex);
95 if (sta->flags & WLAN_STA_PREAUTH) {
96 rsn_preauth_send(hapd, sta, buf, len);
99 hapd, sta->addr, buf, len,
100 encrypt, hostapd_sta_flags_to_drv(sta->flags));
108 struct sta_info *sta, int authorized)
112 if (sta
107 ieee802_1x_set_sta_authorized(struct hostapd_data *hapd, struct sta_info *sta, int 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) argument
242 ieee802_1x_tx_key(struct hostapd_data *hapd, struct sta_info *sta) argument
320 radius_sta_rate(struct hostapd_data *hapd, struct sta_info *sta) 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) 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) argument
529 add_common_radius_attr(struct hostapd_data *hapd, struct hostapd_radius_attr *req_attr, struct sta_info *sta, struct radius_msg *msg) argument
621 add_sqlite_radius_attr(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg, int acct) argument
678 ieee802_1x_encapsulate_radius(struct hostapd_data *hapd, struct sta_info *sta, const u8 *eap, size_t len) argument
852 handle_eap_response(struct hostapd_data *hapd, struct sta_info *sta, struct eap_hdr *eap, size_t len) argument
885 handle_eap_initiate(struct hostapd_data *hapd, struct sta_info *sta, struct eap_hdr *eap, size_t len) argument
941 handle_eap(struct hostapd_data *hapd, struct sta_info *sta, u8 *buf, size_t len) argument
983 ieee802_1x_alloc_eapol_sm(struct hostapd_data *hapd, struct sta_info *sta) argument
1000 ieee802_1x_save_eapol(struct sta_info *sta, const u8 *buf, size_t len) argument
1035 struct sta_info *sta; local
1227 ieee802_1x_new_station(struct hostapd_data *hapd, struct sta_info *sta) argument
1377 ieee802_1x_free_station(struct hostapd_data *hapd, struct sta_info *sta) argument
1406 ieee802_1x_decapsulate_radius(struct hostapd_data *hapd, struct sta_info *sta) 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) argument
1546 ieee802_1x_store_radius_class(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg) argument
1601 ieee802_1x_update_sta_identity(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg) argument
1633 ieee802_1x_update_sta_cui(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg) argument
1660 ieee802_1x_hs20_sub_rem(struct sta_info *sta, u8 *pos, size_t len) argument
1686 ieee802_1x_hs20_deauth_req(struct hostapd_data *hapd, struct sta_info *sta, u8 *pos, size_t len) argument
1707 ieee802_1x_hs20_session_info(struct hostapd_data *hapd, struct sta_info *sta, u8 *pos, size_t len, int session_timeout) argument
1750 ieee802_1x_hs20_t_c_filtering(struct hostapd_data *hapd, struct sta_info *sta, u8 *pos, size_t len) argument
1763 ieee802_1x_hs20_t_c_url(struct hostapd_data *hapd, struct sta_info *sta, u8 *pos, size_t len) argument
1779 ieee802_1x_check_hs20(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg, int session_timeout) argument
1841 ieee802_1x_select_radius_identifier(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument
1870 ieee802_1x_update_vlan(struct radius_msg *msg, struct hostapd_data *hapd, struct sta_info *sta) argument
1923 struct sta_info *sta; local
2089 ieee802_1x_abort_auth(struct hostapd_data *hapd, struct sta_info *sta) argument
2148 ieee802_1x_sta_key_available(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument
2213 struct sta_info *sta = sta_ctx; local
2245 struct sta_info *sta = sta_ctx; local
2256 struct sta_info *sta = sta_ctx; local
2317 struct sta_info *sta; local
2356 struct sta_info *sta = sta_ctx; local
2365 struct sta_info *sta = sta_ctx; local
2377 struct sta_info *sta = sta_ctx; local
2390 struct sta_info *sta = sta_ctx; local
2533 ieee802_1x_tx_status(struct hostapd_data *hapd, struct sta_info *sta, const u8 *buf, size_t len, int ack) argument
2560 ieee802_1x_eapol_tx_status(struct hostapd_data *hapd, struct sta_info *sta, const u8 *buf, int len, int ack) argument
2723 ieee802_1x_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
2906 struct sta_info *sta = timeout_ctx; local
2939 ieee802_1x_finished(struct hostapd_data *hapd, struct sta_info *sta, int success, int remediation) argument
[all...]
H A Dpreauth_auth.c47 struct sta_info *sta; local
67 sta = ap_get_sta(hapd, ethhdr->h_source);
68 if (sta && (sta->flags & WLAN_STA_ASSOC)) {
70 "STA " MACSTR, MAC2STR(sta->addr));
73 if (!sta && hdr->type == IEEE802_1X_TYPE_EAPOL_START) {
74 sta = ap_sta_add(hapd, ethhdr->h_source);
75 if (sta == NULL)
77 sta->flags = WLAN_STA_PREAUTH;
79 ieee802_1x_new_station(hapd, sta);
188 struct sta_info *sta = timeout_ctx; local
195 rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta, int success) argument
231 rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta, u8 *buf, size_t len) argument
268 rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta) argument
[all...]
H A Ddhcp_snoop.c37 struct sta_info *sta; local
93 for (sta = hapd->sta_list; sta; sta = sta->next) {
94 if (!(sta->flags & WLAN_STA_AUTHORIZED))
96 x_snoop_mcast_to_ucast_convert_send(hapd, sta,
107 sta = ap_get_sta(hapd, b->hw_addr);
108 if (!sta)
113 MAC2STR(sta
[all...]
H A Dwnm_ap.h17 struct sta_info *sta, int disassoc_timer);
19 struct sta_info *sta, const char *url,
21 int wnm_send_bss_tm_req(struct hostapd_data *hapd, struct sta_info *sta,
27 int wnm_send_coloc_intf_req(struct hostapd_data *hapd, struct sta_info *sta,
H A Ddrv_callbacks.c49 struct sta_info *sta)
57 __func__, MAC2STR(sta->addr));
58 eloop_cancel_timeout(fils_hlp_timeout, hapd, sta);
59 if (!sta->fils_pending_assoc_req)
62 ieee802_11_parse_elems(sta->fils_pending_assoc_req,
63 sta->fils_pending_assoc_req_len, &elems, 0);
70 p = hostapd_eid_assoc_fils_session(sta->wpa_sm, p,
72 sta->fils_hlp_resp);
74 reply_res = hostapd_sta_assoc(hapd, sta->addr,
75 sta
48 hostapd_notify_assoc_fils_finish(struct hostapd_data *hapd, struct sta_info *sta) argument
108 check_sa_query_need(struct hostapd_data *hapd, struct sta_info *sta) argument
137 struct sta_info *sta; local
744 struct sta_info *sta; local
782 struct sta_info *sta = ap_get_sta(hapd, addr); local
799 struct sta_info *sta = ap_get_sta(hapd, addr); local
1015 struct sta_info *sta; local
1204 struct sta_info *sta; local
1220 hostapd_notify_auth_fils_finish(struct hostapd_data *hapd, struct sta_info *sta, u16 resp, struct wpabuf *data, int pub) argument
1248 struct sta_info *sta; local
1305 struct sta_info *sta; local
1513 struct sta_info *sta = ap_get_sta(hapd, addr); local
1537 struct sta_info *sta; local
1761 struct sta_info *sta = ap_get_sta(hapd, addr); local
1784 struct sta_info *sta; local
[all...]
H A Dairtime_policy.h25 int airtime_policy_new_sta(struct hostapd_data *hapd, struct sta_info *sta);
32 struct sta_info *sta)
31 airtime_policy_new_sta(struct hostapd_data *hapd, struct sta_info *sta) argument
H A Dndisc_snoop.h16 void sta_ip6addr_del(struct hostapd_data *hapd, struct sta_info *sta);
30 struct sta_info *sta)
29 sta_ip6addr_del(struct hostapd_data *hapd, struct sta_info *sta) argument
H A Diapp.h16 void iapp_new_station(struct iapp_data *iapp, struct sta_info *sta);
23 struct sta_info *sta)
22 iapp_new_station(struct iapp_data *iapp, struct sta_info *sta) argument
H A Dndisc_snoop.c41 static int sta_ip6addr_add(struct sta_info *sta, struct in6_addr *addr) argument
51 dl_list_add_tail(&sta->ip6addr, &ip6addr->list);
57 void sta_ip6addr_del(struct hostapd_data *hapd, struct sta_info *sta) argument
61 dl_list_for_each_safe(ip6addr, prev, &sta->ip6addr, struct ip6addr,
69 static int sta_has_ip6addr(struct sta_info *sta, struct in6_addr *addr) argument
73 dl_list_for_each(ip6addr, &sta->ip6addr, struct ip6addr, list) {
87 struct sta_info *sta; local
89 for (sta = hapd->sta_list; sta; sta
103 struct sta_info *sta; local
[all...]
H A Dtkip_countermeasures.c36 struct sta_info *sta; local
48 while ((sta = hapd->sta_list)) {
49 sta->acct_terminate_cause =
51 if (sta->flags & WLAN_STA_AUTH) {
53 hapd, sta,
56 hostapd_drv_sta_deauth(hapd, sta->addr,
58 ap_free_sta(hapd, sta);
80 struct sta_info *sta = ap_get_sta(hapd, addr); local
81 if (sta != NULL) {
82 wpa_auth_sta_local_mic_failure_report(sta
[all...]
H A Dieee802_1x.h23 void ieee802_1x_new_station(struct hostapd_data *hapd, struct sta_info *sta);
24 void ieee802_1x_free_station(struct hostapd_data *hapd, struct sta_info *sta);
26 void ieee802_1x_abort_auth(struct hostapd_data *hapd, struct sta_info *sta);
28 struct sta_info *sta, int authorized);
29 void ieee802_1x_dump_state(FILE *f, const char *prefix, struct sta_info *sta);
33 int ieee802_1x_tx_status(struct hostapd_data *hapd, struct sta_info *sta,
35 int ieee802_1x_eapol_tx_status(struct hostapd_data *hapd, struct sta_info *sta,
49 int ieee802_1x_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
55 int radius_sta_rate(struct hostapd_data *hapd, struct sta_info *sta);
59 struct sta_info *sta,
[all...]
H A Dairtime_policy.c57 struct sta_info *sta,
60 sta->backlogged_until = *now;
61 sta->backlogged_until.usec += hapd->iconf->airtime_update_interval *
63 while (sta->backlogged_until.usec >= 1000000) {
64 sta->backlogged_until.sec++;
65 sta->backlogged_until.usec -= 1000000;
72 struct sta_info *sta; local
79 for (sta = hapd->sta_list; sta; sta
56 set_new_backlog_time(struct hostapd_data *hapd, struct sta_info *sta, struct os_reltime *now) argument
96 sta_set_airtime_weight(struct hostapd_data *hapd, struct sta_info *sta, unsigned int weight) argument
113 struct sta_info *sta; local
230 get_weight_for_sta(struct hostapd_data *hapd, const u8 *sta) argument
242 airtime_policy_new_sta(struct hostapd_data *hapd, struct sta_info *sta) argument
[all...]
/freebsd-current/contrib/wpa/wpa_supplicant/
H A Dmesh_mpm.c122 struct sta_info *sta,
127 MAC2STR(sta->addr));
132 sizeof(sta->supported_rates)) {
135 " %d+%d", MAC2STR(sta->addr), elems->supp_rates_len,
140 sta->supported_rates_len = merge_byte_arrays(
141 sta->supported_rates, sizeof(sta->supported_rates),
172 struct sta_info *sta; local
175 for (sta = hapd->sta_list; sta; st
121 copy_supp_rates(struct wpa_supplicant *wpa_s, struct sta_info *sta, struct ieee802_11_elems *elems) argument
185 mesh_mpm_init_link(struct wpa_supplicant *wpa_s, struct sta_info *sta) argument
207 mesh_mpm_send_plink_action(struct wpa_supplicant *wpa_s, struct sta_info *sta, enum plink_action_field type, u16 close_reason) argument
432 wpa_mesh_set_plink_state(struct wpa_supplicant *wpa_s, struct sta_info *sta, enum mesh_plink_state state) argument
458 mesh_mpm_fsm_restart(struct wpa_supplicant *wpa_s, struct sta_info *sta) argument
472 struct sta_info *sta = user_data; local
522 mesh_mpm_plink_open(struct wpa_supplicant *wpa_s, struct sta_info *sta, enum mesh_plink_state next_state) argument
536 mesh_mpm_plink_close(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument
561 struct sta_info *sta; local
593 struct sta_info *sta; local
656 struct sta_info *sta; local
704 struct sta_info *sta; local
810 struct sta_info *sta; local
870 mesh_mpm_plink_estab(struct wpa_supplicant *wpa_s, struct sta_info *sta) argument
931 mesh_mpm_fsm(struct wpa_supplicant *wpa_s, struct sta_info *sta, enum plink_event event, u16 reason) argument
1129 struct sta_info *sta; local
1397 mesh_mpm_free_sta(struct hostapd_data *hapd, struct sta_info *sta) argument
[all...]
H A Dmesh_rsn.c34 struct sta_info *sta = user_data; local
37 if (sta->sae->state != SAE_ACCEPTED) {
40 MAC2STR(sta->addr), sta->sae_auth_retry);
42 MAC2STR(sta->addr));
43 if (sta->sae_auth_retry < MESH_AUTH_RETRY) {
44 mesh_rsn_auth_sae_sta(wpa_s, sta);
48 if (sta->sae_auth_retry > MESH_AUTH_RETRY) {
49 ap_free_sta(hapd, sta);
54 wpa_mesh_set_plink_state(wpa_s, sta, PLINK_BLOCKE
83 struct sta_info *sta = ap_get_sta(hapd, addr); local
130 struct sta_info *sta; local
321 mesh_rsn_build_sae_commit(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, struct sta_info *sta) argument
352 mesh_rsn_auth_sae_sta(struct wpa_supplicant *wpa_s, struct sta_info *sta) argument
415 mesh_rsn_get_pmkid(struct mesh_rsn *rsn, struct sta_info *sta, u8 *pmkid) argument
422 mesh_rsn_derive_aek(struct mesh_rsn *rsn, struct sta_info *sta) argument
454 mesh_rsn_derive_mtk(struct wpa_supplicant *wpa_s, struct sta_info *sta) argument
516 mesh_rsn_init_ampe_sta(struct wpa_supplicant *wpa_s, struct sta_info *sta) argument
533 mesh_rsn_protect_frame(struct mesh_rsn *rsn, struct sta_info *sta, const u8 *cat, struct wpabuf *buf) argument
627 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) argument
[all...]
/freebsd-current/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_exit.c60 int sta; local
75 (void)wait(&sta);
77 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
93 int sta; local
103 (void)wait(&sta);
105 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
118 int i, sta; local
131 (void)wait(&sta);
146 int sta, fd = -1; local
[all...]

Completed in 1511 milliseconds

1234567891011