/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...] |
dhcp_snoop.c | 37 struct sta_info *sta; local 96 sta = ap_get_sta(hapd, b->hw_addr); 97 if (!sta) 102 MAC2STR(sta->addr), 106 if (sta->ipaddr == b->your_ip) 109 if (sta->ipaddr != 0) { 112 ipaddr_str(be_to_host32(sta->ipaddr))); 114 (u8 *) &sta->ipaddr); 118 prefixlen, sta->addr); 125 sta->ipaddr = b->your_ip [all...] |
mbo_ap.c | 19 void mbo_ap_sta_free(struct sta_info *sta) 23 info = sta->non_pref_chan; 24 sta->non_pref_chan = NULL; 33 static void mbo_ap_parse_non_pref_chan(struct sta_info *sta, 54 if (!sta->non_pref_chan) { 55 sta->non_pref_chan = info; 57 tmp = sta->non_pref_chan; 76 wpa_printf(MSG_DEBUG, "MBO: STA " MACSTR 78 MAC2STR(sta->addr), info->op_class, info->pref, 83 void mbo_ap_check_sta_assoc(struct hostapd_data *hapd, struct sta_info *sta, 213 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...] |
accounting.c | 26 * STA is not using interim accounting. This detects wrap arounds for 31 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); 80 /* Use STA MAC if neither 802.1X nor RADIUS ACL provided 84 MAC2STR(sta->addr)) 201 struct sta_info *sta = timeout_ctx; local 460 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...] |
ndisc_snoop.c | 41 static int sta_ip6addr_add(struct sta_info *sta, struct in6_addr *addr) 51 dl_list_add_tail(&sta->ip6addr, &ip6addr->list); 57 void sta_ip6addr_del(struct hostapd_data *hapd, struct sta_info *sta) 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) 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 = sta->next) 103 struct sta_info *sta; local [all...] |
wmm.c | 260 struct sta_info *sta = ap_get_sta(hapd, mgmt->sa); local 263 if (!sta || 264 (sta->flags & (WLAN_STA_ASSOC | WLAN_STA_WMM)) !=
|
ctrl_iface_ap.c | 30 struct sta_info *sta, 37 if (hostapd_drv_read_sta_data(hapd, &data, sta->addr) < 0) 118 static int hostapd_get_sta_conn_time(struct sta_info *sta, 124 if (!sta->connected_time.sec) 127 os_reltime_age(&sta->connected_time, &age); 157 struct sta_info *sta, 162 if (!sta) 167 MAC2STR(sta->addr)); 172 ret = ap_sta_flags_txt(sta->flags, buf + len, buflen - len); 179 sta->aid, sta->capability, sta->listen_interval) 265 struct sta_info *sta; local 305 struct sta_info *sta; local 380 struct sta_info *sta; local 443 struct sta_info *sta; local 508 struct sta_info *sta; local 528 struct sta_info *sta; local [all...] |
fils_hlp.c | 36 static int fils_dhcp_request(struct hostapd_data *hapd, struct sta_info *sta, 45 if (!sta->hlp_dhcp_discover) { 53 pos = wpabuf_mhead(sta->hlp_dhcp_discover); 54 end = pos + wpabuf_len(sta->hlp_dhcp_discover); 91 sta->hlp_dhcp_discover->used = pos - (u8 *) dhcp; 117 if (wpabuf_resize(&sta->hlp_dhcp_discover, 121 wpabuf_put_data(sta->hlp_dhcp_discover, server_id, 123 wpabuf_put_u8(sta->hlp_dhcp_discover, DHCP_OPT_REQUESTED_IP_ADDRESS); 124 wpabuf_put_u8(sta->hlp_dhcp_discover, 4); 125 wpabuf_put_data(sta->hlp_dhcp_discover, &dhcpoffer->your_ip, 4) 153 struct sta_info *sta; local [all...] |
rrm.c | 370 struct sta_info *sta = ap_get_sta(hapd, addr); local 373 if (!sta || !(sta->flags & WLAN_STA_AUTHORIZED)) { 379 if (!(sta->rrm_enabled_capa[1] & WLAN_RRM_CAPS_LCI_MEASUREMENT)) { 445 struct sta_info *sta; local 459 sta = ap_get_sta(hapd, addr); 460 if (!sta || !(sta->flags & WLAN_STA_AUTHORIZED)) { 466 if (!(sta->rrm_enabled_capa[4] & WLAN_RRM_CAPS_FTM_RANGE_REPORT)) { 573 struct sta_info *sta = ap_get_sta(hapd, addr) local [all...] |
wnm_ap.c | 61 struct sta_info *sta; local 65 sta = ap_get_sta(hapd, addr); 66 if (sta == NULL) { 111 if (!wpa_auth_uses_mfp(sta->wpa_sm) || 115 gtk_elem_len = wpa_wnmsleep_gtk_subelem(sta->wpa_sm, pos); 120 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...] |
ap_drv_ops.c | 248 struct sta_info *sta, int authorized) 251 return hostapd_sta_set_flags(hapd, sta->addr, 253 sta->flags), 257 return hostapd_sta_set_flags(hapd, sta->addr, 258 hostapd_sta_flags_to_drv(sta->flags), 263 int hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta) 266 total_flags = hostapd_sta_flags_to_drv(sta->flags); 269 sta->auth_alg == WLAN_AUTH_FT) && 270 sta->flags & WLAN_STA_AUTHORIZED) 274 return hostapd_sta_set_flags(hapd, sta->addr, total_flags 353 struct sta_info *sta; local 730 struct sta_info *sta; local [all...] |
drv_callbacks.c | 45 struct sta_info *sta) 53 __func__, MAC2STR(sta->addr)); 54 eloop_cancel_timeout(fils_hlp_timeout, hapd, sta); 55 if (!sta->fils_pending_assoc_req) 58 ieee802_11_parse_elems(sta->fils_pending_assoc_req, 59 sta->fils_pending_assoc_req_len, &elems, 0); 66 p = hostapd_eid_assoc_fils_session(sta->wpa_sm, p, 68 sta->fils_hlp_resp); 70 reply_res = hostapd_sta_assoc(hapd, sta->addr, 71 sta->fils_pending_assoc_is_reassoc 107 struct sta_info *sta; local 579 struct sta_info *sta; local 616 struct sta_info *sta = ap_get_sta(hapd, addr); local 850 struct sta_info *sta; local 894 struct sta_info *sta; local 950 struct sta_info *sta; local 1156 struct sta_info *sta = ap_get_sta(hapd, addr); local 1180 struct sta_info *sta; local [all...] |
gas_query_ap.c | 251 struct sta_info *sta; local 253 sta = ap_get_sta(hapd, addr); 254 return sta && (sta->flags & WLAN_STA_MFP);
|
iapp.c | 86 u8 sa[ETH_ALEN]; /* STA addr */ 235 * iapp_new_station - IAPP processing for a new STA 237 * @sta: The associated station 239 void iapp_new_station(struct iapp_data *iapp, struct sta_info *sta) 247 hostapd_logger(iapp->hapd, sta->addr, HOSTAPD_MODULE_IAPP, 249 iapp_send_layer2_update(iapp, sta->addr); 250 iapp_send_add(iapp, sta->addr, seq); 265 struct sta_info *sta; local 273 sta = ap_get_sta(iapp->hapd, add->mac_addr); 281 sta ? "" : " (STA not found)") [all...] |
sta_info.c | 43 struct sta_info *sta); 51 static int ap_sta_remove(struct hostapd_data *hapd, struct sta_info *sta); 55 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, 59 struct sta_info *sta; local 61 for (sta = hapd->sta_list; sta; sta = sta->next) { 62 if (cb(hapd, sta, ctx)) 70 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) 84 struct sta_info *sta; local 366 struct sta_info *sta, *prev; local 395 struct sta_info *sta = timeout_ctx; local 562 struct sta_info *sta = timeout_ctx; local 622 struct sta_info *sta = timeout_ctx; local 646 struct sta_info *sta; local 753 struct sta_info *sta = timeout_ctx; local 802 struct sta_info *sta = timeout_ctx; local 1091 struct sta_info *sta = timeout_ctx; local 1376 struct sta_info *sta = timeout_ctx; local [all...] |
wpa_auth_glue.c | 160 "STA " MACSTR " reason %d", 185 struct sta_info *sta = ap_get_sta(hapd, addr); local 186 if (sta == NULL) 190 ieee802_1x_notify_port_enabled(sta->eapol_sm, value); 193 ieee802_1x_notify_port_valid(sta->eapol_sm, value); 196 ieee802_1x_set_sta_authorized(hapd, sta, value); 199 if (sta->eapol_sm) 200 sta->eapol_sm->portControl = Auto; 203 if (sta->eapol_sm) 204 sta->eapol_sm->keyRun = value ? TRUE : FALSE 227 struct sta_info *sta = ap_get_sta(hapd, addr); local 246 struct sta_info *sta = ap_get_sta(hapd, addr); local 317 struct sta_info *sta; local 356 struct sta_info *sta; local 403 struct sta_info *sta; local 435 struct sta_info *sta; local 786 struct sta_info *sta; local 813 struct sta_info *sta; local [all...] |
/external/aac/libFDK/include/ |
qmf_pcm.h | 143 FIXP_QSS *RESTRICT sta = FilterStates; local 171 FIXP_DBL Are = fMultAddDiv2(FX_QSS2FX_DBL(sta[0]), p_fltm[0], real); 198 sta[0] = FX_DBL2FX_QSS(fMultAddDiv2(FX_QSS2FX_DBL(sta[1]), p_flt[4], imag)); 199 sta[1] = 200 FX_DBL2FX_QSS(fMultAddDiv2(FX_QSS2FX_DBL(sta[2]), p_fltm[1], real)); 201 sta[2] = FX_DBL2FX_QSS(fMultAddDiv2(FX_QSS2FX_DBL(sta[3]), p_flt[3], imag)); 202 sta[3] = 203 FX_DBL2FX_QSS(fMultAddDiv2(FX_QSS2FX_DBL(sta[4]), p_fltm[2], real)) 235 FIXP_QSS *RESTRICT sta = FilterStates; local [all...] |
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
APIData.java | 130 int sta = info.getVal(APIInfo.STA); local 132 stats[cat * stanames.length + sta] += 1; 140 for (int sta = 0; sta < stanames.length; ++sta) { 141 int v = stats[cat * stanames.length + sta]; 143 pw.println(" " + stanames[sta] + ": " + v);
|
/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
|
/external/wpa_supplicant_8/wpa_supplicant/ |
mesh_rsn.c | 34 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); 53 /* block the STA if exceeded the number of attempts * 83 struct sta_info *sta = ap_get_sta(hapd, addr); local 127 struct sta_info *sta; local [all...] |
mesh_mpm.c | 121 struct sta_info *sta, 126 MAC2STR(sta->addr)); 131 sizeof(sta->supported_rates)) { 134 " %d+%d", MAC2STR(sta->addr), elems->supp_rates_len, 139 sta->supported_rates_len = merge_byte_arrays( 140 sta->supported_rates, sizeof(sta->supported_rates), 171 struct sta_info *sta; local 174 for (sta = hapd->sta_list; sta; sta = sta->next) 421 struct sta_info *sta = user_data; local 507 struct sta_info *sta; local 539 struct sta_info *sta; local 602 struct sta_info *sta; local 650 struct sta_info *sta; local 749 struct sta_info *sta; local 1065 struct sta_info *sta; local [all...] |
/system/libhwbinder/vts/performance/ |
Latency.cpp | 115 Tick sta, end; local 120 TICK_NOW(sta); 123 presults->fifo.addTime(tickDiffNS(sta, end)); 203 Tick sta, end; local 214 TICK_NOW(sta); 217 presults.other.addTime(tickDiffNS(sta, end));
|
/external/clang/test/OpenMP/ |
target_map_codegen.cpp | 2769 STT<int> sta ; variable [all...] |