/freebsd-10.0-release/contrib/wpa/src/ap/ |
H A D | ap_mlme.c | 42 * @sta: peer STA data 49 * PeerSTAAddress = sta->addr 50 * AuthenticationType = sta->auth_alg (WLAN_AUTH_OPEN / WLAN_AUTH_SHARED_KEY) 53 struct sta_info *sta) 55 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME, 58 MAC2STR(sta->addr), mlme_auth_alg_str(sta->auth_alg)); 59 if (sta->auth_alg != WLAN_AUTH_FT && !(sta->flags & WLAN_STA_MFP)) 60 mlme_deletekeys_request(hapd, sta); 52 mlme_authenticate_indication(struct hostapd_data *hapd, struct sta_info *sta) argument 76 mlme_deauthenticate_indication(struct hostapd_data *hapd, struct sta_info *sta, u16 reason_code) argument 99 mlme_associate_indication(struct hostapd_data *hapd, struct sta_info *sta) argument 124 mlme_reassociate_indication(struct hostapd_data *hapd, struct sta_info *sta) argument 148 mlme_disassociate_indication(struct hostapd_data *hapd, struct sta_info *sta, u16 reason_code) argument 169 mlme_deletekeys_request(struct hostapd_data *hapd, struct sta_info *sta) argument [all...] |
H A D | sta_info.c | 36 struct sta_info *sta); 43 static int ap_sta_remove(struct hostapd_data *hapd, struct sta_info *sta); 46 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, 50 struct sta_info *sta; local 52 for (sta = hapd->sta_list; sta; sta = sta->next) { 53 if (cb(hapd, sta, ctx)) 61 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) argument 45 ap_for_each_sta(struct hostapd_data *hapd, int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, void *ctx), void *ctx) argument 72 ap_sta_list_del(struct hostapd_data *hapd, struct sta_info *sta) argument 92 ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta) argument 99 ap_sta_hash_del(struct hostapd_data *hapd, struct sta_info *sta) argument 121 ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta) argument 249 struct sta_info *sta, *prev; local 278 struct sta_info *sta = timeout_ctx; local 431 struct sta_info *sta = timeout_ctx; local 456 ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta, u32 session_timeout) argument 468 ap_sta_no_session_timeout(struct hostapd_data *hapd, struct sta_info *sta) argument 476 struct sta_info *sta; local 517 ap_sta_remove(struct hostapd_data *hapd, struct sta_info *sta) argument 533 ap_sta_remove_in_other_bss(struct hostapd_data *hapd, struct sta_info *sta) argument 561 struct sta_info *sta = timeout_ctx; local 568 ap_sta_disassociate(struct hostapd_data *hapd, struct sta_info *sta, u16 reason) argument 599 struct sta_info *sta = timeout_ctx; local 606 ap_sta_deauthenticate(struct hostapd_data *hapd, struct sta_info *sta, u16 reason) argument 635 ap_sta_wps_cancel(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument 651 ap_sta_bind_vlan(struct hostapd_data *hapd, struct sta_info *sta, int old_vlanid) argument 768 ap_check_sa_query_timeout(struct hostapd_data *hapd, struct sta_info *sta) argument 795 struct sta_info *sta = timeout_ctx; local 831 ap_sta_start_sa_query(struct hostapd_data *hapd, struct sta_info *sta) argument 837 ap_sta_stop_sa_query(struct hostapd_data *hapd, struct sta_info *sta) argument 848 ap_sta_set_authorized(struct hostapd_data *hapd, struct sta_info *sta, int authorized) argument 915 ap_sta_disconnect(struct hostapd_data *hapd, struct sta_info *sta, const u8 *addr, u16 reason) argument 950 ap_sta_deauth_cb(struct hostapd_data *hapd, struct sta_info *sta) argument 962 ap_sta_disassoc_cb(struct hostapd_data *hapd, struct sta_info *sta) argument [all...] |
H A D | ap_mlme.h | 15 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 D | accounting.c | 30 struct sta_info *sta); 34 struct sta_info *sta, 51 if (sta) { 52 radius_msg_make_authenticator(msg, (u8 *) sta, sizeof(*sta)); 55 sta->acct_session_id_hi, sta->acct_session_id_lo); 81 if (sta) { 83 val = ieee802_1x_get_identity(sta->eapol_sm, &len); 86 if (!val && sta 33 accounting_msg(struct hostapd_data *hapd, struct sta_info *sta, int status_type) argument 152 accounting_sta_update_stats(struct hostapd_data *hapd, struct sta_info *sta, struct hostap_sta_driver_data *data) argument 180 struct sta_info *sta = timeout_ctx; local 202 accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta) argument 241 accounting_sta_report(struct hostapd_data *hapd, struct sta_info *sta, int stop) argument 349 accounting_sta_interim(struct hostapd_data *hapd, struct sta_info *sta) argument 362 accounting_sta_stop(struct hostapd_data *hapd, struct sta_info *sta) argument 377 accounting_sta_get_id(struct hostapd_data *hapd, struct sta_info *sta) argument [all...] |
H A D | accounting.h | 14 struct sta_info *sta) 19 struct sta_info *sta) 24 struct sta_info *sta) 37 void accounting_sta_get_id(struct hostapd_data *hapd, struct sta_info *sta); 38 void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta); 39 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 18 accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta) argument 23 accounting_sta_stop(struct hostapd_data *hapd, struct sta_info *sta) argument
|
H A D | preauth_auth.h | 16 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 D | tkip_countermeasures.c | 36 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); 75 struct sta_info *sta = ap_get_sta(hapd, addr); local 76 if (sta != NULL) { 77 wpa_auth_sta_local_mic_failure_report(sta [all...] |
H A D | preauth_auth.c | 47 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 D | ieee802_11.c | 133 u16 hostapd_own_capab_info(struct hostapd_data *hapd, struct sta_info *sta, argument 153 if (sta) { 155 if (probe && sta->ssid_probe) { 156 policy = sta->ssid_probe->security_policy; 157 def_klen = sta->ssid_probe->wep.default_len; 159 policy = sta->ssid->security_policy; 160 def_klen = sta->ssid->wep.default_len; 194 static u16 auth_shared_key(struct hostapd_data *hapd, struct sta_info *sta, argument 198 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE80211, 204 if (!sta 298 struct sta_info *sta; local 320 auth_build_sae_commit(struct hostapd_data *hapd, struct sta_info *sta) argument 338 auth_build_sae_confirm(struct hostapd_data *hapd, struct sta_info *sta) argument 355 handle_sae_commit(struct hostapd_data *hapd, struct sta_info *sta, const u8 *data, size_t len) argument 373 handle_sae_confirm(struct hostapd_data *hapd, struct sta_info *sta, const u8 *data, size_t len) argument 389 handle_auth_sae(struct hostapd_data *hapd, struct sta_info *sta, const struct ieee80211_mgmt *mgmt, size_t len, u8 auth_transaction) argument 459 struct sta_info *sta = NULL; local 662 hostapd_get_aid(struct hostapd_data *hapd, struct sta_info *sta) argument 695 check_ssid(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ssid_ie, size_t ssid_ie_len) argument 716 check_wmm(struct hostapd_data *hapd, struct sta_info *sta, const u8 *wmm_ie, size_t wmm_ie_len) argument 741 copy_supp_rates(struct hostapd_data *hapd, struct sta_info *sta, struct ieee802_11_elems *elems) argument 770 check_assoc_ies(struct hostapd_data *hapd, struct sta_info *sta, const u8 *ies, size_t ies_len, int reassoc) argument 1017 send_assoc_resp(struct hostapd_data *hapd, struct sta_info *sta, u16 status_code, int reassoc, const u8 *ies, size_t ies_len) argument 1137 struct sta_info *sta; local 1305 struct sta_info *sta; local 1353 struct sta_info *sta; local 1439 hostapd_wnm_action(struct hostapd_data *hapd, struct sta_info *sta, const struct ieee80211_mgmt *mgmt, size_t len) argument 1462 struct sta_info *sta; local 1667 struct sta_info *sta; local 1708 struct sta_info *sta; local 1839 struct sta_info *sta; local 1863 struct sta_info *sta; local 1939 ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument 1950 struct sta_info *sta; local 1980 struct sta_info *sta; local 2006 struct sta_info *sta; local 2033 struct sta_info *sta; local [all...] |
H A D | ieee802_1x.c | 36 struct sta_info *sta, int success); 39 static void ieee802_1x_send(struct hostapd_data *hapd, struct sta_info *sta, argument 64 if (wpa_auth_pairwise_set(sta->wpa_sm)) 66 if (sta->flags & WLAN_STA_PREAUTH) { 67 rsn_preauth_send(hapd, sta, buf, len); 70 hapd, sta->addr, buf, len, 71 encrypt, hostapd_sta_flags_to_drv(sta->flags)); 79 struct sta_info *sta, int authorized) 83 if (sta->flags & WLAN_STA_PREAUTH) 87 ap_sta_set_authorized(hapd, sta, 78 ieee802_1x_set_sta_authorized(struct hostapd_data *hapd, struct sta_info *sta, int authorized) argument 110 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 289 ieee802_1x_tx_key(struct hostapd_data *hapd, struct sta_info *sta) argument 371 radius_sta_rate(struct hostapd_data *hapd, struct sta_info *sta) argument 417 add_common_radius_sta_attr(struct hostapd_data *hapd, struct hostapd_radius_attr *req_attr, struct sta_info *sta, struct radius_msg *msg) argument 472 add_common_radius_attr(struct hostapd_data *hapd, struct hostapd_radius_attr *req_attr, struct sta_info *sta, struct radius_msg *msg) argument 548 ieee802_1x_encapsulate_radius(struct hostapd_data *hapd, struct sta_info *sta, const u8 *eap, size_t len) argument 646 handle_eap_response(struct hostapd_data *hapd, struct sta_info *sta, struct eap_hdr *eap, size_t len) argument 679 handle_eap(struct hostapd_data *hapd, struct sta_info *sta, u8 *buf, size_t len) argument 729 ieee802_1x_alloc_eapol_sm(struct hostapd_data *hapd, struct sta_info *sta) argument 757 struct sta_info *sta; local 934 ieee802_1x_new_station(struct hostapd_data *hapd, struct sta_info *sta) argument 1061 ieee802_1x_free_station(struct sta_info *sta) argument 1082 ieee802_1x_decapsulate_radius(struct hostapd_data *hapd, struct sta_info *sta) argument 1163 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 1204 ieee802_1x_store_radius_class(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg) argument 1260 ieee802_1x_update_sta_identity(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg) argument 1295 ieee802_1x_update_sta_cui(struct hostapd_data *hapd, struct sta_info *sta, struct radius_msg *msg) argument 1326 ieee802_1x_select_radius_identifier(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument 1368 struct sta_info *sta; local 1525 ieee802_1x_abort_auth(struct hostapd_data *hapd, struct sta_info *sta) argument 1581 ieee802_1x_sta_key_available(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument 1643 struct sta_info *sta = sta_ctx; local 1675 struct sta_info *sta = sta_ctx; local 1686 struct sta_info *sta = sta_ctx; local 1732 struct sta_info *sta; local 1770 struct sta_info *sta = sta_ctx; local 1778 struct sta_info *sta = sta_ctx; local 1786 struct sta_info *sta = sta_ctx; local 1795 struct sta_info *sta = sta_ctx; local 1893 ieee802_1x_tx_status(struct hostapd_data *hapd, struct sta_info *sta, const u8 *buf, size_t len, int ack) argument 1920 ieee802_1x_eapol_tx_status(struct hostapd_data *hapd, struct sta_info *sta, const u8 *buf, int len, int ack) argument 2059 ieee802_1x_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument 2204 ieee802_1x_finished(struct hostapd_data *hapd, struct sta_info *sta, int success) argument [all...] |
H A D | ieee802_1x.h | 23 void ieee802_1x_new_station(struct hostapd_data *hapd, struct sta_info *sta); 24 void ieee802_1x_free_station(struct sta_info *sta); 26 void ieee802_1x_tx_key(struct hostapd_data *hapd, struct sta_info *sta); 27 void ieee802_1x_abort_auth(struct hostapd_data *hapd, struct sta_info *sta); 29 struct sta_info *sta, int authorized); 30 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, 48 int ieee802_1x_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, 54 int radius_sta_rate(struct hostapd_data *hapd, struct sta_info *sta); [all...] |
H A D | iapp.h | 16 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 D | sta_info.h | 42 struct sta_info *next; /* next entry in sta list */ 155 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, 158 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta); 159 void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta); 160 void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta); 163 void ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta, 166 struct sta_info *sta); 168 void ap_sta_disassociate(struct hostapd_data *hapd, struct sta_info *sta, 170 void ap_sta_deauthenticate(struct hostapd_data *hapd, struct sta_info *sta, 174 struct sta_info *sta, voi 186 ap_sta_is_authorized(struct sta_info *sta) argument [all...] |
H A D | ieee802_11_vht.c | 85 u16 copy_sta_vht_capab(struct hostapd_data *hapd, struct sta_info *sta, argument 92 sta->flags &= ~WLAN_STA_VHT; 93 os_free(sta->vht_capabilities); 94 sta->vht_capabilities = NULL; 98 if (sta->vht_capabilities == NULL) { 99 sta->vht_capabilities = 101 if (sta->vht_capabilities == NULL) 105 sta->flags |= WLAN_STA_VHT; 106 os_memcpy(sta->vht_capabilities, vht_capab,
|
H A D | ieee802_11_ht.c | 158 u16 copy_sta_ht_capab(struct hostapd_data *hapd, struct sta_info *sta, argument 165 sta->flags &= ~WLAN_STA_HT; 166 os_free(sta->ht_capabilities); 167 sta->ht_capabilities = NULL; 171 if (sta->ht_capabilities == NULL) { 172 sta->ht_capabilities = 174 if (sta->ht_capabilities == NULL) 178 sta->flags |= WLAN_STA_HT; 179 os_memcpy(sta->ht_capabilities, ht_capab, 186 static void update_sta_ht(struct hostapd_data *hapd, struct sta_info *sta) argument 216 update_sta_no_ht(struct hostapd_data *hapd, struct sta_info *sta) argument 231 update_ht_state(struct hostapd_data *hapd, struct sta_info *sta) argument [all...] |
H A D | p2p_hostapd.h | 14 int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, 25 struct sta_info *sta, 24 hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
|
H A D | drv_callbacks.c | 36 struct sta_info *sta; local 85 sta = ap_get_sta(hapd, addr); 86 if (sta) { 87 accounting_sta_stop(hapd, sta); 93 sta->timeout_next = STA_NULLFUNC; 95 sta = ap_sta_add(hapd, addr); 96 if (sta == NULL) { 102 sta->flags &= ~(WLAN_STA_WPS | WLAN_STA_MAYBE_WPS | WLAN_STA_WPS2); 106 wpabuf_free(sta->p2p_ie); 107 sta 319 struct sta_info *sta; local 355 struct sta_info *sta = ap_get_sta(hapd, addr); local 428 struct sta_info *sta; local 446 struct sta_info *sta; local 489 struct sta_info *sta; local 661 struct sta_info *sta = ap_get_sta(hapd, addr); local 684 struct sta_info *sta; local [all...] |
H A D | wpa_auth_glue.c | 126 struct sta_info *sta = ap_get_sta(hapd, addr); local 127 if (sta == NULL) 131 ieee802_1x_notify_port_enabled(sta->eapol_sm, value); 134 ieee802_1x_notify_port_valid(sta->eapol_sm, value); 137 ieee802_1x_set_sta_authorized(hapd, sta, value); 140 if (sta->eapol_sm) 141 sta->eapol_sm->portControl = Auto; 144 if (sta->eapol_sm) 145 sta->eapol_sm->keyRun = value ? TRUE : FALSE; 148 if (sta 168 struct sta_info *sta = ap_get_sta(hapd, addr); local 186 struct sta_info *sta = ap_get_sta(hapd, addr); local 213 struct sta_info *sta; local 263 struct sta_info *sta; local 280 struct sta_info *sta; local 418 struct sta_info *sta; local 445 struct sta_info *sta; local [all...] |
H A D | ctrl_iface_ap.c | 24 static int hostapd_get_sta_conn_time(struct sta_info *sta, argument 30 if (!sta->connected_time.sec) 34 os_time_sub(&now, &sta->connected_time, &age); 47 struct sta_info *sta, 52 if (sta == NULL) { 61 MAC2STR(sta->addr)); 66 res = ieee802_11_get_mib_sta(hapd, sta, buf + len, buflen - len); 69 res = wpa_get_mib_sta(sta->wpa_sm, buf + len, buflen - len); 72 res = ieee802_1x_get_mib_sta(hapd, sta, buf + len, buflen - len); 75 res = hostapd_wps_get_mib_sta(hapd, sta 46 hostapd_ctrl_iface_sta_mib(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument 119 struct sta_info *sta; local 190 struct sta_info *sta; local 247 struct sta_info *sta; local [all...] |
H A D | p2p_hostapd.c | 23 int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, argument 26 if (sta->p2p_ie == NULL) 29 return p2p_ie_text(sta->p2p_ie, buf, buf + buflen);
|
H A D | ieee802_11.h | 25 int ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, 35 struct sta_info *sta, 41 u16 hostapd_own_capab_info(struct hostapd_data *hapd, struct sta_info *sta, 56 u16 copy_sta_ht_capab(struct hostapd_data *hapd, struct sta_info *sta, 58 void update_ht_state(struct hostapd_data *hapd, struct sta_info *sta); 59 u16 copy_sta_vht_capab(struct hostapd_data *hapd, struct sta_info *sta, 68 struct sta_info *sta, u8 *eid); 34 ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
|
/freebsd-10.0-release/contrib/wpa/hostapd/ |
H A D | dump_state.c | 34 struct sta_info *sta) 36 struct eapol_state_machine *sm = sta->eapol_sm; 70 struct sta_info *sta; local 100 for (sta = hapd->sta_list; sta != NULL; sta = sta->next) { 101 fprintf(f, "\nSTA=" MACSTR "\n", MAC2STR(sta->addr)); 107 sta->aid, 108 sta 33 ieee802_1x_dump_state(FILE *f, const char *prefix, struct sta_info *sta) argument [all...] |
/freebsd-10.0-release/contrib/wpa/wpa_supplicant/tests/ |
H A D | link_test.c | 21 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) argument 28 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, 36 void ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta, argument 42 int ap_sta_bind_vlan(struct hostapd_data *hapd, struct sta_info *sta, argument 49 void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta, argument 55 void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta, argument 61 void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta) argument 27 ap_for_each_sta(struct hostapd_data *hapd, int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, void *ctx), void *ctx) argument
|
/freebsd-10.0-release/contrib/wpa/src/wps/ |
H A D | wps_er.c | 34 static void wps_er_sta_event(struct wps_context *wps, struct wps_er_sta *sta, argument 44 ev->uuid = sta->uuid; 45 ev->mac_addr = sta->addr; 46 ev->m1_received = sta->m1_received; 47 ev->config_methods = sta->config_methods; 48 ev->dev_passwd_id = sta->dev_passwd_id; 49 ev->pri_dev_type = sta->pri_dev_type; 50 ev->dev_name = sta->dev_name; 51 ev->manufacturer = sta->manufacturer; 52 ev->model_name = sta 62 struct wps_er_sta *sta; local 74 wps_er_sta_free(struct wps_er_sta *sta) argument 93 struct wps_er_sta *prev, *sta; local 746 struct wps_er_sta *sta = eloop_data; local 758 struct wps_er_sta *sta = wps_er_sta_get(ap, addr, NULL); local 885 struct wps_er_sta *sta = ctx; local 980 wps_er_sta_send_msg(struct wps_er_sta *sta, struct wpabuf *msg) argument 1027 wps_er_sta_process(struct wps_er_sta *sta, struct wpabuf *msg, enum wsc_op_code op_code) argument 1053 wps_er_sta_start(struct wps_er_sta *sta, struct wpabuf *msg) argument 1090 struct wps_er_sta *sta; local 1335 struct wps_er_sta *sta; local 1574 struct wps_er_sta *sta = NULL; local [all...] |
/freebsd-10.0-release/usr.sbin/pciconf/ |
H A D | err.c | 143 uint16_t sta, aer; local 147 sta = read_config(fd, &p->pc_sel, PCIR_STATUS, 2); 148 print_bits("PCI errors", pci_status, sta & PCI_ERRORS); 156 sta = read_config(fd, &p->pc_sel, pcie + PCIER_DEVICE_STA, 2); 157 print_bits("PCI-e errors", pcie_device_status, sta & PCIE_ERRORS);
|