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

123456

/freebsd-11-stable/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 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,
60 struct sta_info *sta; local
62 for (sta = hapd->sta_list; sta; sta = sta->next) {
63 if (cb(hapd, sta, ctx))
71 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *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) argument
85 struct sta_info *sta; local
106 ap_sta_list_del(struct hostapd_data *hapd, struct sta_info *sta) argument
126 ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta) argument
133 ap_sta_hash_del(struct hostapd_data *hapd, struct sta_info *sta) argument
155 ap_sta_ip6addr_del(struct hostapd_data *hapd, struct sta_info *sta) argument
161 ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta) argument
386 struct sta_info *sta, *prev; local
415 struct sta_info *sta = timeout_ctx; local
589 struct sta_info *sta = timeout_ctx; local
615 ap_sta_replenish_timeout(struct hostapd_data *hapd, struct sta_info *sta, u32 session_timeout) argument
627 ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta, u32 session_timeout) argument
639 ap_sta_no_session_timeout(struct hostapd_data *hapd, struct sta_info *sta) argument
649 struct sta_info *sta = timeout_ctx; local
662 ap_sta_session_warning_timeout(struct hostapd_data *hapd, struct sta_info *sta, int warning_time) argument
673 struct sta_info *sta; local
736 ap_sta_remove(struct hostapd_data *hapd, struct sta_info *sta) argument
758 ap_sta_remove_in_other_bss(struct hostapd_data *hapd, struct sta_info *sta) argument
790 struct sta_info *sta = timeout_ctx; local
799 ap_sta_disassociate(struct hostapd_data *hapd, struct sta_info *sta, u16 reason) argument
841 struct sta_info *sta = timeout_ctx; local
850 ap_sta_deauthenticate(struct hostapd_data *hapd, struct sta_info *sta, u16 reason) argument
888 ap_sta_wps_cancel(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument
920 ap_sta_set_vlan(struct hostapd_data *hapd, struct sta_info *sta, struct vlan_description *vlan_desc) argument
1023 ap_sta_bind_vlan(struct hostapd_data *hapd, struct sta_info *sta) argument
1100 ap_check_sa_query_timeout(struct hostapd_data *hapd, struct sta_info *sta) argument
1127 struct sta_info *sta = timeout_ctx; local
1175 ap_sta_start_sa_query(struct hostapd_data *hapd, struct sta_info *sta) argument
1181 ap_sta_stop_sa_query(struct hostapd_data *hapd, struct sta_info *sta) argument
1192 ap_sta_wpa_get_keyid(struct hostapd_data *hapd, struct sta_info *sta) argument
1218 ap_sta_set_authorized(struct hostapd_data *hapd, struct sta_info *sta, int authorized) argument
1306 ap_sta_disconnect(struct hostapd_data *hapd, struct sta_info *sta, const u8 *addr, u16 reason) argument
1363 ap_sta_deauth_cb(struct hostapd_data *hapd, struct sta_info *sta) argument
1375 ap_sta_disassoc_cb(struct hostapd_data *hapd, struct sta_info *sta) argument
1387 ap_sta_clear_disconnect_timeouts(struct hostapd_data *hapd, struct sta_info *sta) argument
1449 struct sta_info *sta = timeout_ctx; local
1465 ap_sta_delayed_1x_auth_fail_disconnect(struct hostapd_data *hapd, struct sta_info *sta) argument
1483 ap_sta_pending_delayed_1x_auth_fail_disconnect(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 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 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 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 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.c61 struct sta_info *sta, u16 *resp,
242 static u16 auth_shared_key(struct hostapd_data *hapd, struct sta_info *sta, argument
246 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE80211,
252 if (!sta->challenge) {
256 sta->challenge = os_zalloc(WLAN_AUTH_CHALLENGE_LEN);
257 if (sta->challenge == NULL)
261 os_free(sta->challenge);
262 sta->challenge = NULL;
267 sta->challenge, WLAN_AUTH_CHALLENGE_LEN);
276 if (!iswep || !sta
349 struct sta_info *sta; local
380 sae_set_state(struct sta_info *sta, enum sae_state state, const char *reason) argument
390 auth_build_sae_commit(struct hostapd_data *hapd, struct sta_info *sta, int update) argument
448 auth_build_sae_confirm(struct hostapd_data *hapd, struct sta_info *sta) argument
463 auth_sae_send_commit(struct hostapd_data *hapd, struct sta_info *sta, const u8 *bssid, int update) argument
486 auth_sae_send_confirm(struct hostapd_data *hapd, struct sta_info *sta, const u8 *bssid) argument
509 struct sta_info *sta; local
639 sae_check_big_sync(struct hostapd_data *hapd, struct sta_info *sta) argument
653 struct sta_info *sta = eloop_data; local
687 sae_clear_retransmit_timer(struct hostapd_data *hapd, struct sta_info *sta) argument
693 sae_set_retransmit_timer(struct hostapd_data *hapd, struct sta_info *sta) argument
705 sae_sme_send_external_auth_status(struct hostapd_data *hapd, struct sta_info *sta, u16 status) argument
721 sae_accept_sta(struct hostapd_data *hapd, struct sta_info *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) argument
938 sae_pick_next_group(struct hostapd_data *hapd, struct sta_info *sta) 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) argument
1276 auth_sae_init_committed(struct hostapd_data *hapd, struct sta_info *sta) 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)) 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) argument
1881 handle_auth_fils_finish(struct hostapd_data *hapd, struct sta_info *sta, u16 resp, struct wpabuf *data, int pub) 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) 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) argument
2034 struct sta_info *sta = NULL; local
2442 hostapd_get_aid(struct hostapd_data *hapd, struct sta_info *sta) argument
2478 check_ssid(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ssid_ie, size_t ssid_ie_len) argument
2497 check_wmm(struct hostapd_data *hapd, struct sta_info *sta, const u8 *wmm_ie, size_t wmm_ie_len) argument
2521 check_multi_ap(struct hostapd_data *hapd, struct sta_info *sta, const u8 *multi_ap_ie, size_t multi_ap_len) argument
2575 copy_supp_rates(struct hostapd_data *hapd, struct sta_info *sta, struct ieee802_11_elems *elems) argument
2609 check_ext_capab(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ext_capab_ie, size_t ext_capab_ie_len) argument
2657 owe_process_assoc_req(struct hostapd_data *hapd, struct sta_info *sta, const u8 *owe_dh, u8 owe_dh_len) 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) argument
2919 check_assoc_ies(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ies, size_t ies_len, int reassoc) argument
3357 add_associated_sta(struct hostapd_data *hapd, struct sta_info *sta, int reassoc) 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) 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) argument
3811 fils_hlp_finish_assoc(struct hostapd_data *hapd, struct sta_info *sta) argument
3844 struct sta_info *sta = eloop_data; local
3866 struct sta_info *sta; local
4269 struct sta_info *sta; local
4333 struct sta_info *sta; local
4402 struct sta_info *sta; local
4714 struct sta_info *sta; local
4760 hostapd_set_wds_encryption(struct hostapd_data *hapd, struct sta_info *sta, char *ifname_wds) argument
4789 struct sta_info *sta; local
4944 struct sta_info *sta; local
4968 struct sta_info *sta; local
4992 struct sta_info *sta; local
5120 ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
5131 struct sta_info *sta; local
5161 struct sta_info *sta; local
5187 struct sta_info *sta; local
5216 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
80 if (wpa_auth_pairwise_set(sta->wpa_sm))
91 MAC2STR(sta->addr), hex);
96 if (sta->flags & WLAN_STA_PREAUTH) {
97 rsn_preauth_send(hapd, sta, buf, len);
100 hapd, sta->addr, buf, len,
101 encrypt, hostapd_sta_flags_to_drv(sta->flags));
109 struct sta_info *sta, int authorized)
113 if (sta
108 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
317 radius_sta_rate(struct hostapd_data *hapd, struct sta_info *sta) 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) 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) argument
528 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
884 handle_eap_initiate(struct hostapd_data *hapd, struct sta_info *sta, struct eap_hdr *eap, size_t len) argument
918 handle_eap(struct hostapd_data *hapd, struct sta_info *sta, u8 *buf, size_t len) argument
975 ieee802_1x_alloc_eapol_sm(struct hostapd_data *hapd, struct sta_info *sta) argument
991 ieee802_1x_save_eapol(struct sta_info *sta, const u8 *buf, size_t len) argument
1026 struct sta_info *sta; local
1219 ieee802_1x_new_station(struct hostapd_data *hapd, struct sta_info *sta) argument
1369 ieee802_1x_free_station(struct hostapd_data *hapd, struct sta_info *sta) argument
1398 ieee802_1x_decapsulate_radius(struct hostapd_data *hapd, struct sta_info *sta) 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) argument
1537 ieee802_1x_store_radius_class(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg) argument
1592 ieee802_1x_update_sta_identity(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg) argument
1624 ieee802_1x_update_sta_cui(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg) argument
1651 ieee802_1x_hs20_sub_rem(struct sta_info *sta, u8 *pos, size_t len) argument
1675 ieee802_1x_hs20_deauth_req(struct hostapd_data *hapd, struct sta_info *sta, u8 *pos, size_t len) argument
1696 ieee802_1x_hs20_session_info(struct hostapd_data *hapd, struct sta_info *sta, u8 *pos, size_t len, int session_timeout) argument
1738 ieee802_1x_hs20_t_c_filtering(struct hostapd_data *hapd, struct sta_info *sta, u8 *pos, size_t len) argument
1751 ieee802_1x_hs20_t_c_url(struct hostapd_data *hapd, struct sta_info *sta, u8 *pos, size_t len) argument
1767 ieee802_1x_check_hs20(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg, int session_timeout) argument
1829 ieee802_1x_select_radius_identifier(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument
1857 ieee802_1x_update_vlan(struct radius_msg *msg, struct hostapd_data *hapd, struct sta_info *sta) argument
1910 struct sta_info *sta; local
2077 ieee802_1x_abort_auth(struct hostapd_data *hapd, struct sta_info *sta) argument
2133 ieee802_1x_sta_key_available(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument
2195 struct sta_info *sta = sta_ctx; local
2227 struct sta_info *sta = sta_ctx; local
2238 struct sta_info *sta = sta_ctx; local
2298 struct sta_info *sta; local
2336 struct sta_info *sta = sta_ctx; local
2344 struct sta_info *sta = sta_ctx; local
2354 struct sta_info *sta = sta_ctx; local
2365 struct sta_info *sta = sta_ctx; local
2527 ieee802_1x_tx_status(struct hostapd_data *hapd, struct sta_info *sta, const u8 *buf, size_t len, int ack) argument
2554 ieee802_1x_eapol_tx_status(struct hostapd_data *hapd, struct sta_info *sta, const u8 *buf, int len, int ack) argument
2717 ieee802_1x_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
2900 struct sta_info *sta = timeout_ctx; local
2933 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
92 for (sta = hapd->sta_list; sta; sta = sta->next) {
93 if (!(sta->flags & WLAN_STA_AUTHORIZED))
95 x_snoop_mcast_to_ucast_convert_send(hapd, sta,
105 sta = ap_get_sta(hapd, b->hw_addr);
106 if (!sta)
111 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 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.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 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.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 Dwpa_auth_glue.c195 struct sta_info *sta = ap_get_sta(hapd, addr); local
196 if (sta == NULL)
200 ieee802_1x_notify_port_enabled(sta->eapol_sm, value);
203 ieee802_1x_notify_port_valid(sta->eapol_sm, value);
206 ieee802_1x_set_sta_authorized(hapd, sta, value);
209 if (sta->eapol_sm)
210 sta->eapol_sm->portControl = Auto;
213 if (sta->eapol_sm)
214 sta->eapol_sm->keyRun = value ? TRUE : FALSE;
217 if (sta
237 struct sta_info *sta = ap_get_sta(hapd, addr); local
257 struct sta_info *sta = ap_get_sta(hapd, addr); local
334 struct sta_info *sta; local
373 struct sta_info *sta; local
420 struct sta_info *sta; local
452 struct sta_info *sta; local
806 struct sta_info *sta; local
847 struct sta_info *sta; local
871 struct sta_info *sta; local
898 struct sta_info *sta; local
932 struct sta_info *sta; local
965 struct sta_info *sta; local
985 struct sta_info *sta; local
1025 struct sta_info *sta; local
1055 struct sta_info *sta; local
1093 struct sta_info *sta; local
1126 struct sta_info *sta; local
1147 struct sta_info *sta; local
[all...]
H A Ddrv_callbacks.c47 struct sta_info *sta)
55 __func__, MAC2STR(sta->addr));
56 eloop_cancel_timeout(fils_hlp_timeout, hapd, sta);
57 if (!sta->fils_pending_assoc_req)
60 ieee802_11_parse_elems(sta->fils_pending_assoc_req,
61 sta->fils_pending_assoc_req_len, &elems, 0);
68 p = hostapd_eid_assoc_fils_session(sta->wpa_sm, p,
70 sta->fils_hlp_resp);
72 reply_res = hostapd_sta_assoc(hapd, sta->addr,
73 sta
46 hostapd_notify_assoc_fils_finish(struct hostapd_data *hapd, struct sta_info *sta) argument
109 struct sta_info *sta; local
657 struct sta_info *sta; local
694 struct sta_info *sta = ap_get_sta(hapd, addr); local
711 struct sta_info *sta = ap_get_sta(hapd, addr); local
1034 struct sta_info *sta; local
1050 hostapd_notify_auth_fils_finish(struct hostapd_data *hapd, struct sta_info *sta, u16 resp, struct wpabuf *data, int pub) argument
1078 struct sta_info *sta; local
1135 struct sta_info *sta; local
1345 struct sta_info *sta = ap_get_sta(hapd, addr); local
1369 struct sta_info *sta; local
1575 struct sta_info *sta = ap_get_sta(hapd, addr); local
1598 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,
50 int ieee802_1x_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
56 int radius_sta_rate(struct hostapd_data *hapd, struct sta_info *sta);
60 struct sta_info *sta,
[all...]
/freebsd-11-stable/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
429 wpa_mesh_set_plink_state(struct wpa_supplicant *wpa_s, struct sta_info *sta, enum mesh_plink_state state) argument
455 mesh_mpm_fsm_restart(struct wpa_supplicant *wpa_s, struct sta_info *sta) argument
469 struct sta_info *sta = user_data; local
519 mesh_mpm_plink_open(struct wpa_supplicant *wpa_s, struct sta_info *sta, enum mesh_plink_state next_state) argument
533 mesh_mpm_plink_close(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument
555 struct sta_info *sta; local
587 struct sta_info *sta; local
650 struct sta_info *sta; local
698 struct sta_info *sta; local
805 struct sta_info *sta; local
865 mesh_mpm_plink_estab(struct wpa_supplicant *wpa_s, struct sta_info *sta) argument
923 mesh_mpm_fsm(struct wpa_supplicant *wpa_s, struct sta_info *sta, enum plink_event event, u16 reason) argument
1121 struct sta_info *sta; local
1389 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
129 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
353 mesh_rsn_auth_sae_sta(struct wpa_supplicant *wpa_s, struct sta_info *sta) argument
416 mesh_rsn_get_pmkid(struct mesh_rsn *rsn, struct sta_info *sta, u8 *pmkid) argument
423 mesh_rsn_derive_aek(struct mesh_rsn *rsn, struct sta_info *sta) argument
455 mesh_rsn_derive_mtk(struct wpa_supplicant *wpa_s, struct sta_info *sta) argument
517 mesh_rsn_init_ampe_sta(struct wpa_supplicant *wpa_s, struct sta_info *sta) argument
534 mesh_rsn_protect_frame(struct mesh_rsn *rsn, struct sta_info *sta, const u8 *cat, struct wpabuf *buf) 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) argument
[all...]
/freebsd-11-stable/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 131 milliseconds

123456