/external/wpa_supplicant_8/src/ap/ |
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...] |
accounting.c | 24 * STA is not using interim accounting. This detects wrap arounds for 29 struct sta_info *sta); 33 struct sta_info *sta, 50 if (sta) { 51 radius_msg_make_authenticator(msg, (u8 *) sta, sizeof(*sta)); 54 sta->acct_session_id_hi, sta->acct_session_id_lo); 80 if (sta) { 82 val = ieee802_1x_get_identity(sta->eapol_sm, &len) 179 struct sta_info *sta = timeout_ctx; 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...] |
ctrl_iface_ap.c | 26 struct sta_info *sta, 32 if (hostapd_drv_read_sta_data(hapd, &data, sta->addr) < 0) 45 static int hostapd_get_sta_conn_time(struct sta_info *sta, 51 if (!sta->connected_time.sec) 54 os_reltime_age(&sta->connected_time, &age); 84 struct sta_info *sta, 89 if (!sta) 94 MAC2STR(sta->addr)); 99 ret = ap_sta_flags_txt(sta->flags, buf + len, buflen - len); 106 sta->aid, sta->capability, sta->listen_interval) 163 struct sta_info *sta; local 200 struct sta_info *sta; local 275 struct sta_info *sta; local 335 struct sta_info *sta; local [all...] |
ieee802_11_shared.c | 23 struct sta_info *sta, u8 *eid) 33 os_reltime_sub(&now, &sta->sa_query_start, &passed); 79 struct sta_info *sta; local 88 sta = ap_get_sta(hapd, sa); 89 if (sta == NULL || !(sta->flags & WLAN_STA_ASSOC)) { 91 "from unassociated STA " MACSTR, MAC2STR(sa)); 117 struct sta_info *sta; local 138 sta = ap_get_sta(hapd, sa); 139 if (sta == NULL || sta->sa_query_trans_id == NULL) [all...] |
wmm.c | 263 struct sta_info *sta = ap_get_sta(hapd, mgmt->sa); local 266 if (!sta || 267 (sta->flags & (WLAN_STA_ASSOC | WLAN_STA_WMM)) !=
|
drv_callbacks.c | 40 struct sta_info *sta; local 74 wpa_printf(MSG_DEBUG, "STA included WPS IE in (Re)AssocReq"); 78 wpa_printf(MSG_DEBUG, "STA included RSN IE in (Re)AssocReq"); 82 wpa_printf(MSG_DEBUG, "STA included WPA IE in (Re)AssocReq"); 87 wpa_printf(MSG_DEBUG, "STA included OSEN IE in (Re)AssocReq"); 92 wpa_printf(MSG_DEBUG, "STA did not include WPS/RSN/WPA IE in " 96 sta = ap_get_sta(hapd, addr); 97 if (sta) { 98 ap_sta_no_session_timeout(hapd, sta); 99 accounting_sta_stop(hapd, sta); 383 struct sta_info *sta; local 419 struct sta_info *sta = ap_get_sta(hapd, addr); local 552 struct sta_info *sta; local 570 struct sta_info *sta; local 614 struct sta_info *sta; local 781 struct sta_info *sta = ap_get_sta(hapd, addr); local 804 struct sta_info *sta; local [all...] |
wnm_ap.c | 59 struct sta_info *sta; local 63 sta = ap_get_sta(hapd, addr); 64 if (sta == NULL) { 108 if (!wpa_auth_uses_mfp(sta->wpa_sm) || 112 gtk_elem_len = wpa_wnmsleep_gtk_subelem(sta->wpa_sm, pos); 117 res = wpa_wnmsleep_igtk_subelem(sta->wpa_sm, pos); 142 /* In driver, response frame should be forced to sent when STA is in 158 sta->flags |= WLAN_STA_WNM_SLEEP_MODE; 161 wpa_set_wnmsleep(sta->wpa_sm, 1); 172 sta->flags &= ~WLAN_STA_WNM_SLEEP_MODE [all...] |
wpa_auth_glue.c | 134 "STA " MACSTR " reason %d", 151 struct sta_info *sta = ap_get_sta(hapd, addr); local 152 if (sta == NULL) 156 ieee802_1x_notify_port_enabled(sta->eapol_sm, value); 159 ieee802_1x_notify_port_valid(sta->eapol_sm, value); 162 ieee802_1x_set_sta_authorized(hapd, sta, value); 165 if (sta->eapol_sm) 166 sta->eapol_sm->portControl = Auto; 169 if (sta->eapol_sm) 170 sta->eapol_sm->keyRun = value ? TRUE : FALSE 193 struct sta_info *sta = ap_get_sta(hapd, addr); local 212 struct sta_info *sta = ap_get_sta(hapd, addr); local 249 struct sta_info *sta; local 299 struct sta_info *sta; local 316 struct sta_info *sta; local 454 struct sta_info *sta; local 481 struct sta_info *sta; local [all...] |
beacon.c | 147 * A STA that is not an AP shall use a transmit power less than or 329 struct sta_info *sta, 367 host_to_le16(hostapd_own_capab_info(hapd, sta, 1)); 507 struct sta_info *sta = NULL; local 533 wpa_printf(MSG_DEBUG, "STA " MACSTR " sent probe request " 573 sta = ap_get_sta(hapd, mgmt->sa); 588 if (sta) 589 sta->ssid_probe = &hapd->conf->ssid; 657 resp = hostapd_gen_probe_resp(hapd, sta, mgmt, elems.p2p != NULL, 674 wpa_printf(MSG_EXCESSIVE, "STA " MACSTR " sent probe request for %s [all...] |
iapp.c | 90 u8 sa[ETH_ALEN]; /* STA addr */ 239 * iapp_new_station - IAPP processing for a new STA 241 * @sta: The associated station 243 void iapp_new_station(struct iapp_data *iapp, struct sta_info *sta) 251 hostapd_logger(iapp->hapd, sta->addr, HOSTAPD_MODULE_IAPP, 253 iapp_send_layer2_update(iapp, sta->addr); 254 iapp_send_add(iapp, sta->addr, seq); 269 struct sta_info *sta; local 277 sta = ap_get_sta(iapp->hapd, add->mac_addr); 285 sta ? "" : " (STA not found)") [all...] |
sta_info.c | 37 struct sta_info *sta); 45 static int ap_sta_remove(struct hostapd_data *hapd, struct sta_info *sta); 48 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, 52 struct sta_info *sta; local 54 for (sta = hapd->sta_list; sta; sta = sta->next) { 55 if (cb(hapd, sta, ctx)) 63 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) 77 struct sta_info *sta; local 290 struct sta_info *sta, *prev; local 319 struct sta_info *sta = timeout_ctx; local 478 struct sta_info *sta = timeout_ctx; local 536 struct sta_info *sta = timeout_ctx; local 560 struct sta_info *sta; local 648 struct sta_info *sta = timeout_ctx; local 686 struct sta_info *sta = timeout_ctx; local 886 struct sta_info *sta = timeout_ctx; local [all...] |
gas_serv.c | 32 struct sta_info *sta; local 36 sta = ap_get_sta(hapd, addr); 37 if (!sta) { 39 * We need a STA entry to be able to maintain state for 42 wpa_printf(MSG_DEBUG, "ANQP: Add a temporary STA entry for " 44 sta = ap_sta_add(hapd, addr); 45 if (!sta) { 46 wpa_printf(MSG_DEBUG, "Failed to add STA " MACSTR 50 sta->flags |= WLAN_STA_GAS; 55 ap_sta_session_timeout(hapd, sta, 5) 91 struct sta_info *sta; local 122 struct sta_info *sta; local [all...] |
ieee802_11.c | 134 u16 hostapd_own_capab_info(struct hostapd_data *hapd, struct sta_info *sta, 168 if (sta) { 170 if (probe && sta->ssid_probe) { 171 policy = sta->ssid_probe->security_policy; 172 def_klen = sta->ssid_probe->wep.default_len; 174 policy = sta->ssid->security_policy; 175 def_klen = sta->ssid->wep.default_len; 205 static u16 auth_shared_key(struct hostapd_data *hapd, struct sta_info *sta, 209 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE80211, 215 if (!sta->challenge) 305 struct sta_info *sta; local 376 struct sta_info *sta; local 548 struct sta_info *sta = NULL; local 1282 struct sta_info *sta; local 1459 struct sta_info *sta; local 1507 struct sta_info *sta; local 1596 struct sta_info *sta; local 1827 struct sta_info *sta; local 1892 struct sta_info *sta; local 2030 struct sta_info *sta; local 2054 struct sta_info *sta; local 2149 struct sta_info *sta; local 2179 struct sta_info *sta; local 2205 struct sta_info *sta; local 2232 struct sta_info *sta; local [all...] |
hostapd.c | 605 struct sta_info *sta = NULL; local 609 sta = ap_get_sta(hapd, attr->sta_addr); 611 if (sta == NULL && attr->acct_session_id && 613 for (sta = hapd->sta_list; sta; sta = sta->next) { 615 sta->acct_session_id_hi, 616 sta->acct_session_id_lo); 622 if (sta == NULL && attr->cui) 655 struct sta_info *sta; local [all...] |
ieee802_1x.c | 38 struct sta_info *sta, int success, 42 static void ieee802_1x_send(struct hostapd_data *hapd, struct sta_info *sta, 67 if (wpa_auth_pairwise_set(sta->wpa_sm)) 69 if (sta->flags & WLAN_STA_PREAUTH) { 70 rsn_preauth_send(hapd, sta, buf, len); 73 hapd, sta->addr, buf, len, 74 encrypt, hostapd_sta_flags_to_drv(sta->flags)); 82 struct sta_info *sta, int authorized) 86 if (sta->flags & WLAN_STA_PREAUTH) 90 ap_sta_set_authorized(hapd, sta, 1) 779 struct sta_info *sta; local 1529 struct sta_info *sta; local 1806 struct sta_info *sta = sta_ctx; local 1838 struct sta_info *sta = sta_ctx; local 1849 struct sta_info *sta = sta_ctx; local 1897 struct sta_info *sta; local 1935 struct sta_info *sta = sta_ctx; local 1943 struct sta_info *sta = sta_ctx; local 1951 struct sta_info *sta = sta_ctx; local 1960 struct sta_info *sta = sta_ctx; local [all...] |
wps_hostapd.c | 105 "Received new WPA/WPA2-PSK from WPS for STA " MACSTR, 109 "Received new WPA/WPA2-PSK from WPS for STA " MACSTR 1390 struct sta_info *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...] |
/external/wpa_supplicant_8/src/wps/ |
wps_er.h | 36 struct dl_list sta; /* list of STAs/Enrollees using this AP */ member in struct:wps_er_ap
|
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 750 struct wps_er_sta *sta = eloop_data; local 762 struct wps_er_sta *sta = wps_er_sta_get(ap, addr, NULL); local 868 struct wps_er_sta *sta = ctx; local 1073 struct wps_er_sta *sta; local 1334 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/ |
qmf.cpp | 189 FIXP_QSS *RESTRICT sta = FilterStates; local 203 FIXP_DBL Are = FX_QSS2FX_DBL(sta[0]) + fMultDiv2( p_fltm[0] , real); 220 sta[0] = sta[1] + FX_DBL2FX_QSS(fMultDiv2( p_flt [4] , imag )); 221 sta[1] = sta[2] + FX_DBL2FX_QSS(fMultDiv2( p_fltm[1] , real )); 222 sta[2] = sta[3] + FX_DBL2FX_QSS(fMultDiv2( p_flt [3] , imag )); 223 sta[3] = sta[4] + FX_DBL2FX_QSS(fMultDiv2( p_fltm[2] , real )) 257 FIXP_QSS *RESTRICT sta = FilterStates; local [all...] |
/external/wpa_supplicant_8/hostapd/ |
ctrl_iface.c | 138 struct sta_info *sta; local 145 sta = ap_get_sta(hapd, addr); 146 if (sta) 149 wpa_printf(MSG_DEBUG, "Add new STA " MACSTR " based on ctrl_iface " 151 sta = ap_sta_add(hapd, addr); 152 if (sta == NULL) 155 hostapd_new_assoc_sta(hapd, sta, 0); 655 /* <STA MAC Addr> <Code(0/1)> <Re-auth-Delay(sec)> [URL] */ 748 struct sta_info *sta; local 762 sta = ap_get_sta(hapd, addr) 805 struct sta_info *sta; local 831 struct sta_info *sta; local 1079 struct sta_info *sta; local [all...] |
/external/wpa_supplicant_8/src/eapol_auth/ |
eapol_auth_sm_i.h | 175 void *sta; /* station context pointer to use in callbacks */ member in struct:eapol_state_machine
|
/external/wpa_supplicant_8/wpa_supplicant/ |
ctrl_iface.c | 5624 struct hostap_sta_driver_data sta; local [all...] |
p2p_supplicant.c | 7062 struct sta_info *sta; local [all...] |