/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...] |
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...] |
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...] |
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...] |
wnm_ap.c | 58 struct sta_info *sta; local 62 sta = ap_get_sta(hapd, addr); 63 if (sta == NULL) { 107 if (!wpa_auth_uses_mfp(sta->wpa_sm) || 111 gtk_elem_len = wpa_wnmsleep_gtk_subelem(sta->wpa_sm, pos); 116 res = wpa_wnmsleep_igtk_subelem(sta->wpa_sm, pos); 141 /* In driver, response frame should be forced to sent when STA is in 159 wpa_set_wnmsleep(sta->wpa_sm, 1); 170 wpa_set_wnmsleep(sta->wpa_sm, 0); 173 if (!wpa_auth_uses_mfp(sta->wpa_sm) [all...] |
ieee802_11_shared.c | 23 struct sta_info *sta, u8 *eid) 33 os_time_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 | 269 struct sta_info *sta = ap_get_sta(hapd, mgmt->sa); local 272 if (!sta || 273 (sta->flags & (WLAN_STA_ASSOC | WLAN_STA_WMM)) !=
|
beacon.c | 191 struct sta_info *sta, 229 host_to_le16(hostapd_own_capab_info(hapd, sta, 1)); 361 struct sta_info *sta = NULL; local 387 wpa_printf(MSG_DEBUG, "STA " MACSTR " sent probe request " 427 sta = ap_get_sta(hapd, mgmt->sa); 442 if (sta) 443 sta->ssid_probe = &hapd->conf->ssid; 512 resp = hostapd_gen_probe_resp(hapd, sta, mgmt, elems.p2p != NULL, 529 wpa_printf(MSG_EXCESSIVE, "STA " MACSTR " sent probe request for %s "
|
drv_callbacks.c | 37 struct sta_info *sta; local 71 wpa_printf(MSG_DEBUG, "STA included WPS IE in (Re)AssocReq"); 75 wpa_printf(MSG_DEBUG, "STA included RSN IE in (Re)AssocReq"); 79 wpa_printf(MSG_DEBUG, "STA included WPA IE in (Re)AssocReq"); 83 wpa_printf(MSG_DEBUG, "STA did not include WPS/RSN/WPA IE in " 87 sta = ap_get_sta(hapd, addr); 88 if (sta) { 89 ap_sta_no_session_timeout(hapd, sta); 90 accounting_sta_stop(hapd, sta); 94 * will not remove the STA immediately 325 struct sta_info *sta; local 361 struct sta_info *sta = ap_get_sta(hapd, addr); local 450 struct sta_info *sta; local 468 struct sta_info *sta; local 511 struct sta_info *sta; local 683 struct sta_info *sta = ap_get_sta(hapd, addr); local 706 struct sta_info *sta; local [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) 76 struct sta_info *sta; local 279 struct sta_info *sta, *prev; local 308 struct sta_info *sta = timeout_ctx; local 467 struct sta_info *sta = timeout_ctx; local 512 struct sta_info *sta; local 597 struct sta_info *sta = timeout_ctx; local 635 struct sta_info *sta = timeout_ctx; local 835 struct sta_info *sta = timeout_ctx; local [all...] |
wpa_auth_glue.c | 115 "STA " MACSTR " reason %d", 132 struct sta_info *sta = ap_get_sta(hapd, addr); local 133 if (sta == NULL) 137 ieee802_1x_notify_port_enabled(sta->eapol_sm, value); 140 ieee802_1x_notify_port_valid(sta->eapol_sm, value); 143 ieee802_1x_set_sta_authorized(hapd, sta, value); 146 if (sta->eapol_sm) 147 sta->eapol_sm->portControl = Auto; 150 if (sta->eapol_sm) 151 sta->eapol_sm->keyRun = value ? TRUE : FALSE 174 struct sta_info *sta = ap_get_sta(hapd, addr); local 193 struct sta_info *sta = ap_get_sta(hapd, addr); local 230 struct sta_info *sta; local 280 struct sta_info *sta; local 297 struct sta_info *sta; local 435 struct sta_info *sta; local 462 struct sta_info *sta; local [all...] |
hostapd.c | 527 struct sta_info *sta = NULL; local 531 sta = ap_get_sta(hapd, attr->sta_addr); 533 if (sta == NULL && attr->acct_session_id && 535 for (sta = hapd->sta_list; sta; sta = sta->next) { 537 sta->acct_session_id_hi, 538 sta->acct_session_id_lo); 544 if (sta == NULL && attr->cui) 577 struct sta_info *sta; local [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 assoc = sta->last_assoc_req; 255 hostapd_logger(iapp->hapd, sta->addr, HOSTAPD_MODULE_IAPP, 257 iapp_send_layer2_update(iapp, sta->addr); 258 iapp_send_add(iapp, sta->addr, seq); 276 struct sta_info *sta; local 284 sta = ap_get_sta(iapp->hapd, add->mac_addr) [all...] |
gas_serv.c | 25 struct sta_info *sta; local 29 sta = ap_get_sta(hapd, addr); 30 if (!sta) { 32 * We need a STA entry to be able to maintain state for 35 wpa_printf(MSG_DEBUG, "ANQP: Add a temporary STA entry for " 37 sta = ap_sta_add(hapd, addr); 38 if (!sta) { 39 wpa_printf(MSG_DEBUG, "Failed to add STA " MACSTR 43 sta->flags |= WLAN_STA_GAS; 48 ap_sta_session_timeout(hapd, sta, 5) 83 struct sta_info *sta; local 114 struct sta_info *sta; local [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 1234 struct sta_info *sta; local 1422 struct sta_info *sta; local 1470 struct sta_info *sta; local 1579 struct sta_info *sta; local 1790 struct sta_info *sta; local 1855 struct sta_info *sta; local 1999 struct sta_info *sta; local 2023 struct sta_info *sta; local 2110 struct sta_info *sta; local 2140 struct sta_info *sta; local 2166 struct sta_info *sta; local 2193 struct sta_info *sta; 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) 645 struct sta_info *sta; local 1253 struct sta_info *sta; local 1527 struct sta_info *sta = sta_ctx; local 1559 struct sta_info *sta = sta_ctx; local 1570 struct sta_info *sta = sta_ctx; local 1616 struct sta_info *sta; local 1654 struct sta_info *sta = sta_ctx; local 1662 struct sta_info *sta = sta_ctx; local 1670 struct sta_info *sta = sta_ctx; local 1679 struct sta_info *sta = sta_ctx; local [all...] |
wps_hostapd.c | 104 "Received new WPA/WPA2-PSK from WPS for STA " MACSTR, 108 "Received new WPA/WPA2-PSK from WPS for STA " MACSTR 1422 struct sta_info *sta; local [all...] |
/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...] |
ctrl_iface.c | 135 struct sta_info *sta; local 142 sta = ap_get_sta(hapd, addr); 143 if (sta) 146 wpa_printf(MSG_DEBUG, "Add new STA " MACSTR " based on ctrl_iface " 148 sta = ap_sta_add(hapd, addr); 149 if (sta == NULL) 152 hostapd_new_assoc_sta(hapd, sta, 0); 666 struct sta_info *sta; local 670 * Prevent STA from reconnecting using cached PMKSA to force 676 sta = ap_get_sta(hapd, addr) [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 749 struct wps_er_sta *sta = eloop_data; local 761 struct wps_er_sta *sta = wps_er_sta_get(ap, addr, NULL); local 867 struct wps_er_sta *sta = ctx; local 1072 struct wps_er_sta *sta; local 1333 struct wps_er_sta *sta; local 1575 struct wps_er_sta *sta = NULL; local 1627 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/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 | 5147 struct hostap_sta_driver_data sta; local [all...] |