/external/wpa_supplicant_8/src/ap/ |
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) [all...] |
sta_info.c | 37 struct sta_info *sta); 44 static int ap_sta_remove(struct hostapd_data *hapd, struct sta_info *sta); 47 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, 51 struct sta_info *sta; local 53 for (sta = hapd->sta_list; sta; sta = sta->next) { 54 if (cb(hapd, sta, ctx)) 62 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) 255 struct sta_info *sta, *prev; local 284 struct sta_info *sta = timeout_ctx; local 437 struct sta_info *sta = timeout_ctx; local 482 struct sta_info *sta; local 567 struct sta_info *sta = timeout_ctx; local 605 struct sta_info *sta = timeout_ctx; local 801 struct sta_info *sta = timeout_ctx; local [all...] |
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);
|
accounting.c | 25 * STA is not using interim accounting. This detects wrap arounds for 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) 180 struct sta_info *sta = timeout_ctx; local [all...] |
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);
|
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)
|
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->wpa_sm) [all...] |
ieee802_11.c | 136 u16 hostapd_own_capab_info(struct hostapd_data *hapd, struct sta_info *sta, 156 if (sta) { 158 if (probe && sta->ssid_probe) { 159 policy = sta->ssid_probe->security_policy; 160 def_klen = sta->ssid_probe->wep.default_len; 162 policy = sta->ssid->security_policy; 163 def_klen = sta->ssid->wep.default_len; 197 static u16 auth_shared_key(struct hostapd_data *hapd, struct sta_info *sta, 201 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE80211, 207 if (!sta->challenge) 301 struct sta_info *sta; local 372 struct sta_info *sta; local 542 struct sta_info *sta = NULL; local 1220 struct sta_info *sta; local 1388 struct sta_info *sta; local 1436 struct sta_info *sta; local 1545 struct sta_info *sta; local 1756 struct sta_info *sta; local 1797 struct sta_info *sta; local 1934 struct sta_info *sta; local 1958 struct sta_info *sta; local 2045 struct sta_info *sta; local 2075 struct sta_info *sta; local 2101 struct sta_info *sta; local 2128 struct sta_info *sta; local [all...] |
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 188 struct sta_info *sta = timeout_ctx; local [all...] |
ieee802_1x.c | 36 struct sta_info *sta, int success); 39 static void ieee802_1x_send(struct hostapd_data *hapd, struct sta_info *sta, 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, 1) 757 struct sta_info *sta; local 1368 struct sta_info *sta; local 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 [all...] |
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...] |
iapp.h | 16 void iapp_new_station(struct iapp_data *iapp, struct sta_info *sta); 23 struct sta_info *sta)
|
sta_info.h | 12 /* STA flags */ 42 struct sta_info *next; /* next entry in sta list */ 45 u16 aid; /* STA's unique AID (1 .. 2007) or 0 if not yet assigned */ 144 /* Number of seconds to keep STA entry with Authenticated flag after it has 147 /* Number of seconds to keep STA entry after it has been deauthenticated. */ 154 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, 157 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta); 158 void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta); 159 void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta); 162 void ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta, [all...] |
ieee802_11_vht.c | 85 u16 copy_sta_vht_capab(struct hostapd_data *hapd, struct sta_info *sta, 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,
|
ieee802_11_ht.c | 94 however and at least one 20 MHz HT STA is associated 157 u16 copy_sta_ht_capab(struct hostapd_data *hapd, struct sta_info *sta, 164 sta->flags &= ~WLAN_STA_HT; 165 os_free(sta->ht_capabilities); 166 sta->ht_capabilities = NULL; 170 if (sta->ht_capabilities == NULL) { 171 sta->ht_capabilities = 173 if (sta->ht_capabilities == NULL) 177 sta->flags |= WLAN_STA_HT; 178 os_memcpy(sta->ht_capabilities, ht_capab [all...] |
p2p_hostapd.h | 14 int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, 25 struct sta_info *sta,
|
wpa_auth_glue.c | 110 "STA " MACSTR " reason %d", 127 struct sta_info *sta = ap_get_sta(hapd, addr); local 128 if (sta == NULL) 132 ieee802_1x_notify_port_enabled(sta->eapol_sm, value); 135 ieee802_1x_notify_port_valid(sta->eapol_sm, value); 138 ieee802_1x_set_sta_authorized(hapd, sta, value); 141 if (sta->eapol_sm) 142 sta->eapol_sm->portControl = Auto; 145 if (sta->eapol_sm) 146 sta->eapol_sm->keyRun = value ? TRUE : FALSE 169 struct sta_info *sta = ap_get_sta(hapd, addr); local 187 struct sta_info *sta = ap_get_sta(hapd, addr); local 224 struct sta_info *sta; local 274 struct sta_info *sta; local 291 struct sta_info *sta; local 429 struct sta_info *sta; local 456 struct sta_info *sta; local [all...] |
drv_callbacks.c | 37 struct sta_info *sta; local 70 wpa_printf(MSG_DEBUG, "STA included WPS IE in (Re)AssocReq"); 74 wpa_printf(MSG_DEBUG, "STA included RSN IE in (Re)AssocReq"); 78 wpa_printf(MSG_DEBUG, "STA included WPA IE in (Re)AssocReq"); 82 wpa_printf(MSG_DEBUG, "STA did not include WPS/RSN/WPA IE in " 86 sta = ap_get_sta(hapd, addr); 87 if (sta) { 88 accounting_sta_stop(hapd, sta); 92 * will not remove the STA immediately. 94 sta->timeout_next = STA_NULLFUNC 320 struct sta_info *sta; local 356 struct sta_info *sta = ap_get_sta(hapd, addr); local 445 struct sta_info *sta; local 463 struct sta_info *sta; local 506 struct sta_info *sta; local 678 struct sta_info *sta = ap_get_sta(hapd, addr); local 701 struct sta_info *sta; local [all...] |
ctrl_iface_ap.c | 24 static int hostapd_get_sta_conn_time(struct sta_info *sta, 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->addr, buf + len 119 struct sta_info *sta; local 190 struct sta_info *sta; local 251 struct sta_info *sta; local [all...] |
p2p_hostapd.c | 23 int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, 26 if (sta->p2p_ie == NULL) 29 return p2p_ie_text(sta->p2p_ie, buf, buf + buflen); 61 wpa_printf(MSG_DEBUG, "P2P: Legacy STA(s) connected - do not enable "
|
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, 59 u16 copy_sta_ht_capab(struct hostapd_data *hapd, struct sta_info *sta, 61 void update_ht_state(struct hostapd_data *hapd, struct sta_info *sta); 62 u16 copy_sta_vht_capab(struct hostapd_data *hapd, struct sta_info *sta, 71 struct sta_info *sta, u8 *eid);
|
/external/wpa_supplicant_8/hostapd/ |
dump_state.c | 35 struct sta_info *sta) 37 struct eapol_state_machine *sm = sta->eapol_sm; 71 struct sta_info *sta; local 102 for (sta = hapd->sta_list; sta != NULL; sta = sta->next) { 103 fprintf(f, "\nSTA=" MACSTR "\n", MAC2STR(sta->addr)); 109 sta->aid, 110 sta->flags [all...] |
/external/wpa_supplicant_8/wpa_supplicant/tests/ |
link_test.c | 21 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) 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, 42 int ap_sta_bind_vlan(struct hostapd_data *hapd, struct sta_info *sta, 49 void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta, 55 void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta, 61 void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta)
|
/external/wpa_supplicant_8/src/wps/ |
wps_er.c | 34 static void wps_er_sta_event(struct wps_context *wps, struct wps_er_sta *sta, 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->model_name 62 struct wps_er_sta *sta; local 93 struct wps_er_sta *prev, *sta; local 749 struct wps_er_sta *sta = eloop_data; local 761 struct wps_er_sta *sta = wps_er_sta_get(ap, addr, NULL); local 888 struct wps_er_sta *sta = ctx; local 1093 struct wps_er_sta *sta; local 1338 struct wps_er_sta *sta; local 1580 struct wps_er_sta *sta = NULL; local 1632 struct wps_er_sta *sta; local [all...] |
/external/aac/libFDK/src/arm/ |
qmf_arm.cpp | 467 FIXP_QSS *RESTRICT sta, 484 sta0 = sta[0]; /* save state[0] */ 485 *sta++ = SMLAWT( sta[1], imag, B ); /* index=9...........319 */ 486 *sta++ = SMLAWB( sta[1], real, A ); /* index=316...........6 */ 487 *sta++ = SMLAWB( sta[1], imag, B ); /* index=8,18, ...318 */ 489 *sta++ = SMLAWT( sta[1], real, A ); /* index=317...........7 * 540 FIXP_QSS *RESTRICT sta = (FIXP_QSS*)qmf->FilterStates; local [all...] |