/external/elfutils/tests/ |
test-nlist.c | 33 int bss; variable 48 [1] = { .n_name = "bss" },
|
/external/wpa_supplicant_8/wpa_supplicant/ |
hs20_supplicant.c | 20 #include "bss.h" 77 struct wpa_bss *bss; local 81 bss = wpa_bss_get_bssid(wpa_s, dst); 82 if (bss) { 83 wpa_bss_anqp_unshare_alloc(bss); 84 freq = bss->freq; 114 struct wpa_bss *bss = wpa_bss_get_bssid(wpa_s, sa); local 120 if (bss) 121 anqp = bss->anqp;
|
bgscan_learn.c | 39 struct dl_list bss; member in struct:bgscan_learn_data 45 static void bss_free(struct bgscan_learn_bss *bss) 47 os_free(bss->neigh); 48 os_free(bss); 68 static void bgscan_learn_add_neighbor(struct bgscan_learn_bss *bss, 73 if (os_memcmp(bss->bssid, bssid, ETH_ALEN) == 0) 75 if (bssid_in_array(bss->neigh, bss->num_neigh, bssid)) 78 n = os_realloc_array(bss->neigh, bss->num_neigh + 1, ETH_ALEN) 91 struct bgscan_learn_bss *bss; local 105 struct bgscan_learn_bss *bss; local 164 struct bgscan_learn_bss *bss; local 214 struct bgscan_learn_bss *bss; local 440 struct bgscan_learn_bss *bss, *n; local 505 struct bgscan_learn_bss *bss; local [all...] |
ap.c | 48 struct hostapd_bss_config *bss = &conf->bss[0]; local 52 os_strlcpy(bss->iface, wpa_s->ifname, sizeof(bss->iface)); 160 bss->isolate = !wpa_s->conf->p2p_intra_bss; 167 os_memcpy(bss->ssid.ssid, ssid->ssid, ssid->ssid_len); 168 bss->ssid.ssid_len = ssid->ssid_len; 169 bss->ssid.ssid_set = 1; 171 bss->ignore_broadcast_ssid = ssid->ignore_broadcast_ssid; 174 bss->auth_algs = ssid->auth_alg [all...] |
wpas_glue.c | 26 #include "bss.h" 317 struct wpa_bss *curr = NULL, *bss; local 321 dl_list_for_each(bss, &wpa_s->bss, struct wpa_bss, list) { 322 if (os_memcmp(bss->bssid, wpa_s->bssid, ETH_ALEN) != 0) 325 ((bss->ssid_len == ssid->ssid_len && 326 os_memcmp(bss->ssid, ssid->ssid, ssid->ssid_len) == 0) || 328 curr = bss; 492 struct wpa_bss *bss; local 494 bss = wpa_bss_get_bssid(wpa_s, target_ap) [all...] |
bss.c | 2 * BSS table 19 #include "bss.h" 38 static void wpa_bss_set_hessid(struct wpa_bss *bss) 41 const u8 *ie = wpa_bss_get_ie(bss, WLAN_EID_INTERWORKING); 43 os_memset(bss->hessid, 0, ETH_ALEN); 47 os_memcpy(bss->hessid, ie + 3, ETH_ALEN); 49 os_memcpy(bss->hessid, ie + 5, ETH_ALEN); 55 * wpa_bss_anqp_alloc - Allocate ANQP data structure for a BSS entry 59 * shared by multiple BSS entries and each shared entry is freed with 109 * wpa_bss_anqp_unshare_alloc - Unshare ANQP data (if shared) in a BSS entr 214 struct wpa_bss *bss; local 288 struct wpa_bss *bss; local 303 struct wpa_bss *bss; local 331 struct wpa_bss *bss; local 576 struct wpa_bss *bss; local 705 struct wpa_bss *bss, *n; local 756 struct wpa_bss *bss, *n; local 811 struct wpa_bss *bss, *n; local 844 struct wpa_bss *bss; local 869 struct wpa_bss *bss, *found = NULL; local 893 struct wpa_bss *bss; local 914 struct wpa_bss *bss; local 937 struct wpa_bss *bss; local [all...] |
sme.c | 27 #include "bss.h" 141 struct wpa_bss *bss, struct wpa_ssid *ssid, 157 if (bss == NULL) { 163 wpa_s->current_bss = bss; 168 params.freq = bss->freq; 169 params.bssid = bss->bssid; 170 params.ssid = bss->ssid; 171 params.ssid_len = bss->ssid_len; 205 rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN); 225 os_memcpy(wpa_s->pending_bssid, bss->bssid, ETH_ALEN) 980 struct wpa_bss *bss; local 1110 struct wpa_bss *bss = wpa_s->current_bss; local [all...] |
events.c | 41 #include "bss.h" 92 wpa_dbg(wpa_s, MSG_DEBUG, "Selected BSS is disallowed"); 337 static int wpa_supplicant_match_privacy(struct wpa_bss *bss, 366 if (bss->caps & IEEE80211_CAP_PRIVACY) 374 struct wpa_bss *bss) 382 ret = wpas_wps_ssid_bss_match(wpa_s, ssid, bss); 392 rsn_ie = wpa_bss_get_ie(bss, WLAN_EID_RSN); 449 wpa_ie = wpa_bss_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE); 551 static int rate_match(struct wpa_supplicant *wpa_s, struct wpa_bss *bss) 558 if (bss->freq == 0 842 struct wpa_bss *bss = wpa_s->last_scan_res[i]; local 987 struct wpa_bss *bss; local 1636 struct wpa_bss *bss = NULL; local 1719 struct wpa_bss *bss = NULL; local 2330 struct wpa_bss *bss; local [all...] |
interworking.c | 24 #include "bss.h" 46 struct wpa_supplicant *wpa_s, struct wpa_bss *bss); 48 struct wpa_supplicant *wpa_s, struct wpa_bss *bss); 160 static int additional_roaming_consortiums(struct wpa_bss *bss) 163 ie = wpa_bss_get_ie(bss, WLAN_EID_ROAMING_CONSORTIUM); 178 struct wpa_bss *bss) 189 MAC2STR(bss->bssid)); 190 wpa_s->interworking_gas_bss = bss; 198 additional_roaming_consortiums(bss))) 212 if (wpa_bss_get_vendor_ie(bss, HS20_IE_VENDOR_TYPE)) 1542 struct wpa_bss *bss; local 1568 struct wpa_bss *bss, *selected = NULL, *selected_home = NULL; local 1695 struct wpa_bss *bss; local 1741 struct wpa_bss *bss; local 1780 struct wpa_bss *bss; local 1953 struct wpa_bss *bss = NULL, *tmp; local 2061 struct wpa_bss *bss; local [all...] |
wps_supplicant.c | 30 #include "bss.h" 87 struct wpa_bss *bss; local 108 bss = wpa_supplicant_pick_network(wpa_s, &ssid); 109 if (bss) { 113 wps = wpa_bss_get_vendor_ie_multi(bss, 146 struct wpa_bss *bss; local 164 bss = wpa_bss_get(wpa_s, cred->mac_addr, ssid->ssid, ssid->ssid_len); 165 if (bss == NULL) { 166 wpa_printf(MSG_DEBUG, "WPS: The AP was not found from BSS " 171 wpa_printf(MSG_DEBUG, "WPS: AP found from BSS table") 848 struct wpa_bss *bss; local 895 struct wpa_bss *bss; local 1453 struct wpa_bss *bss; local 1514 struct wpa_bss *bss; local [all...] |
/frameworks/compile/mclinker/unittests/ |
LinkerTest.cpp | 393 /// [ 4] .bss NOBITS 00000000 000044 000000 00 WA 0 0 4 394 LDSection* bss = builder.CreateELFHeader(*input, local 395 ".bss", 399 builder.CreateBSS(*bss); 436 ".bss", ResolveInfo::Section, 437 ResolveInfo::Define, ResolveInfo::Local, 0, 0x0, bss);
|
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/ |
driver_cmd_nl80211.c | 42 struct i802_bss *bss = priv; local 43 struct wpa_driver_nl80211_data *drv = bss->drv; 49 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 0); 52 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 1); 57 ret = linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname, macaddr); 65 os_strncpy(ifr.ifr_name, bss->ifname, IFNAMSIZ);
|
/hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/ |
driver_cmd_nl80211.c | 42 struct i802_bss *bss = priv; local 43 struct wpa_driver_nl80211_data *drv = bss->drv; 49 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 0); 52 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 1); 57 ret = linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname, macaddr); 65 os_strncpy(ifr.ifr_name, bss->ifname, IFNAMSIZ);
|
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/ |
driver_mac80211_nl.c | 104 struct i802_bss *bss = priv; local 105 struct wpa_driver_nl80211_data *drv = bss->drv; 148 struct i802_bss *bss = priv; local 149 struct wpa_driver_nl80211_data *drv = bss->drv; 181 struct i802_bss *bss = priv; local 182 struct wpa_driver_nl80211_data *drv = bss->drv; 187 linux_set_iface_flags(drv->ioctl_sock, bss->ifname, 0); 190 linux_set_iface_flags(drv->ioctl_sock, bss->ifname, 1); 249 ret = linux_get_ifhwaddr(drv->ioctl_sock, bss->ifname, macaddr);
|
/external/wpa_supplicant_8/hostapd/ |
main.c | 180 hapd_iface->bss = os_calloc(conf->num_bss, 182 if (hapd_iface->bss == NULL) 186 hapd = hapd_iface->bss[i] = 188 &conf->bss[i]); 201 os_free(hapd_iface->bss); 212 struct hostapd_data *hapd = iface->bss[0]; 257 struct hostapd_data *bss = hapd->iface->bss[i]; local 258 if (bss->conf->bridge[0]) 259 params.bridge[i] = bss->conf->bridge [all...] |
config_file.c | 29 static int hostapd_config_read_vlan_file(struct hostapd_bss_config *bss, 97 if (bss->vlan_tail) 98 bss->vlan_tail->next = vlan; 100 bss->vlan = vlan; 101 bss->vlan_tail = vlan; 572 static int hostapd_parse_das_client(struct hostapd_bss_config *bss, 583 if (hostapd_parse_ip_addr(val, &bss->radius_das_client_addr)) 586 os_free(bss->radius_das_shared_secret); 587 bss->radius_das_shared_secret = (u8 *) os_strdup(secret); 588 if (bss->radius_das_shared_secret == NULL 755 struct hostapd_bss_config *bss; local 2981 struct hostapd_bss_config *bss; local [all...] |
/external/wpa_supplicant_8/src/ap/ |
ap_config.c | 23 static void hostapd_config_free_vlan(struct hostapd_bss_config *bss) 27 vlan = bss->vlan; 35 bss->vlan = NULL; 39 void hostapd_config_defaults_bss(struct hostapd_bss_config *bss) 41 bss->logger_syslog_level = HOSTAPD_LEVEL_INFO; 42 bss->logger_stdout_level = HOSTAPD_LEVEL_INFO; 43 bss->logger_syslog = (unsigned int) -1; 44 bss->logger_stdout = (unsigned int) -1; 46 bss->auth_algs = WPA_AUTH_ALG_OPEN | WPA_AUTH_ALG_SHARED; 48 bss->wep_rekeying_period = 300 102 struct hostapd_bss_config *bss; local [all...] |
hw_features.c | 49 struct hostapd_data *hapd = iface->bss[0]; 261 static void ieee80211n_get_pri_sec_chan(struct wpa_scan_res *bss, 269 ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0); 296 pri_freq = hostapd_hw_get_freq(iface->bss[0], pri_chan); 308 struct wpa_scan_res *bss = scan_res->res[i]; local 309 if (bss->freq == pri_freq) 311 else if (bss->freq == sec_freq) 322 * Match PRI/SEC channel with any existing HT40 BSS on the same 328 struct wpa_scan_res *bss = scan_res->res[i] local 338 struct wpa_scan_res *bss = scan_res->res[i]; local 374 struct wpa_scan_res *bss = scan_res->res[i]; local [all...] |
sta_info.c | 546 struct hostapd_data *bss = iface->bss[i]; local 548 /* bss should always be set during operation, but it may be 550 * associated to another BSS in that case to avoid NULL pointer 552 if (bss == hapd || bss == NULL) 554 sta2 = ap_get_sta(bss, sta->addr); 558 ap_sta_disconnect(bss, sta2, sta2->addr,
|
hostapd.c | 117 * allow them to use the BSS anymore. 120 hostapd_flush_old_stations(iface->bss[j], 122 hostapd_broadcast_wep_clear(iface->bss[j]); 127 radius_client_flush(iface->bss[j]->radius, 0); 135 struct hostapd_data *hapd = iface->bss[0]; 143 hostapd_reload_bss(iface->bss[j]); 160 hapd = iface->bss[j]; 162 hapd->conf = &newconf->bss[j]; 273 wpa_printf(MSG_WARNING, "Failed to remove BSS interface %s", 301 * hostapd_cleanup - Per-BSS cleanup (deinitialization 1141 struct hostapd_bss_config *bss; local 1206 struct hostapd_bss_config *bss; local [all...] |
hostapd.h | 69 * struct hostapd_data - hostapd per-BSS data structure 75 int interface_added; /* virtual interface added for this BSS */ 218 struct hostapd_data **bss; member in struct:hostapd_iface 249 * in 802.11g BSS) */ 258 int olbc; /* Overlapping Legacy BSS Condition */ 269 /* Overlapping BSS information */ 284 struct hostapd_bss_config *bss);
|
wps_hostapd.c | 60 struct hostapd_data *hapd = iface->bss[j]; 292 struct hostapd_bss_config *bss = hapd->conf; local 296 bss->wps_state = 2; 298 os_memcpy(bss->ssid.ssid, cred->ssid, cred->ssid_len); 299 bss->ssid.ssid_len = cred->ssid_len; 300 bss->ssid.ssid_set = 1; 305 bss->wpa = 3; 307 bss->wpa = 2; 309 bss->wpa = 1; 311 bss->wpa = 0 [all...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_old.c | 17 #include "../bss.h" 175 struct wpa_bss *bss; local 180 bss = wpa_bss_get_bssid(wpa_s, bssid); 181 if (bss == NULL) 186 return wpas_dbus_bssid_properties(message, wpa_s, bss);
|
dbus_old_handlers.c | 22 #include "../bss.h" 356 struct wpa_bss *bss; local 366 dl_list_for_each(bss, &wpa_s->bss_id, struct wpa_bss, list_id) { 376 wpa_s->dbus_path, MAC2STR(bss->bssid)); 399 struct wpa_bss *bss) 413 (const char *) bss->bssid, 417 ie = wpa_bss_get_ie(bss, WLAN_EID_SSID); 425 ie = wpa_bss_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE); 433 ie = wpa_bss_get_ie(bss, WLAN_EID_RSN); 441 ie = wpa_bss_get_vendor_ie(bss, WPS_IE_VENDOR_TYPE) [all...] |
/system/core/toolbox/ |
newfs_msdos.c | 271 u_int fat, bss, rds, cls, dir, lsn, x, x1, x2; local 495 bss = 1; 510 bss = sb.st_size / bpb.bps; 515 if (bpb.bsec < (bpb.res ? bpb.res : bss) + 525 (bpb.res ? bpb.res : bss) + 534 x = bss; 627 bss <= bpb.bkbs && x >= bpb.bkbs) { 632 if (opt_B && x < bss) {
|