| /freebsd-10-stable/contrib/wpa/wpa_supplicant/ |
| D | bss.c | 38 static void wpa_bss_set_hessid(struct wpa_bss *bss) in wpa_bss_set_hessid() argument 41 const u8 *ie = wpa_bss_get_ie(bss, WLAN_EID_INTERWORKING); in wpa_bss_set_hessid() 43 os_memset(bss->hessid, 0, ETH_ALEN); in wpa_bss_set_hessid() 47 os_memcpy(bss->hessid, ie + 3, ETH_ALEN); in wpa_bss_set_hessid() 49 os_memcpy(bss->hessid, ie + 5, ETH_ALEN); in wpa_bss_set_hessid() 116 int wpa_bss_anqp_unshare_alloc(struct wpa_bss *bss) in wpa_bss_anqp_unshare_alloc() argument 120 if (bss->anqp && bss->anqp->users > 1) { in wpa_bss_anqp_unshare_alloc() 122 anqp = wpa_bss_anqp_clone(bss->anqp); in wpa_bss_anqp_unshare_alloc() 126 bss->anqp->users--; in wpa_bss_anqp_unshare_alloc() 127 bss->anqp = anqp; in wpa_bss_anqp_unshare_alloc() [all …]
|
| D | ap.c | 48 struct hostapd_bss_config *bss = &conf->bss[0]; in wpa_supplicant_conf_ap() local 53 os_strlcpy(bss->iface, wpa_s->ifname, sizeof(bss->iface)); in wpa_supplicant_conf_ap() 161 bss->isolate = !wpa_s->conf->p2p_intra_bss; in wpa_supplicant_conf_ap() 168 os_memcpy(bss->ssid.ssid, ssid->ssid, ssid->ssid_len); in wpa_supplicant_conf_ap() 169 bss->ssid.ssid_len = ssid->ssid_len; in wpa_supplicant_conf_ap() 170 bss->ssid.ssid_set = 1; in wpa_supplicant_conf_ap() 172 bss->ignore_broadcast_ssid = ssid->ignore_broadcast_ssid; in wpa_supplicant_conf_ap() 175 bss->auth_algs = ssid->auth_alg; in wpa_supplicant_conf_ap() 178 bss->wpa = ssid->proto; in wpa_supplicant_conf_ap() 179 bss->wpa_key_mgmt = ssid->key_mgmt; in wpa_supplicant_conf_ap() [all …]
|
| D | bgscan_learn.c | 39 struct dl_list bss; member 45 static void bss_free(struct bgscan_learn_bss *bss) in bss_free() argument 47 os_free(bss->neigh); in bss_free() 48 os_free(bss); in bss_free() 68 static void bgscan_learn_add_neighbor(struct bgscan_learn_bss *bss, in bgscan_learn_add_neighbor() argument 73 if (os_memcmp(bss->bssid, bssid, ETH_ALEN) == 0) in bgscan_learn_add_neighbor() 75 if (bssid_in_array(bss->neigh, bss->num_neigh, bssid)) in bgscan_learn_add_neighbor() 78 n = os_realloc_array(bss->neigh, bss->num_neigh + 1, ETH_ALEN); in bgscan_learn_add_neighbor() 82 os_memcpy(n + bss->num_neigh * ETH_ALEN, bssid, ETH_ALEN); in bgscan_learn_add_neighbor() 83 bss->neigh = n; in bgscan_learn_add_neighbor() [all …]
|
| D | interworking.c | 164 static int additional_roaming_consortiums(struct wpa_bss *bss) in additional_roaming_consortiums() argument 167 ie = wpa_bss_get_ie(bss, WLAN_EID_ROAMING_CONSORTIUM); in additional_roaming_consortiums() 182 struct wpa_bss *bss) in interworking_anqp_send_req() argument 193 MAC2STR(bss->bssid)); in interworking_anqp_send_req() 201 additional_roaming_consortiums(bss))) in interworking_anqp_send_req() 215 if (wpa_bss_get_vendor_ie(bss, HS20_IE_VENDOR_TYPE)) { in interworking_anqp_send_req() 244 res = gas_query_req(wpa_s->gas, bss->bssid, bss->freq, buf, in interworking_anqp_send_req() 751 struct wpa_bss *bss) in interworking_connect_3gpp() argument 761 if (bss->anqp == NULL || bss->anqp->anqp_3gpp == NULL) in interworking_connect_3gpp() 792 if (plmn_id_match(bss->anqp->anqp_3gpp, imsi, mnc_len)) in interworking_connect_3gpp() [all …]
|
| D | bss.h | 114 const u8 * wpa_bss_get_ie(const struct wpa_bss *bss, u8 ie); 115 const u8 * wpa_bss_get_vendor_ie(const struct wpa_bss *bss, u32 vendor_type); 116 struct wpabuf * wpa_bss_get_vendor_ie_multi(const struct wpa_bss *bss, 118 struct wpabuf * wpa_bss_get_vendor_ie_multi_beacon(const struct wpa_bss *bss, 120 int wpa_bss_get_max_rate(const struct wpa_bss *bss); 121 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates); 123 int wpa_bss_anqp_unshare_alloc(struct wpa_bss *bss);
|
| D | events.c | 331 static int wpa_supplicant_match_privacy(struct wpa_bss *bss, in wpa_supplicant_match_privacy() argument 360 if (bss->caps & IEEE80211_CAP_PRIVACY) in wpa_supplicant_match_privacy() 368 struct wpa_bss *bss) in wpa_supplicant_ssid_bss_match() argument 376 ret = wpas_wps_ssid_bss_match(wpa_s, ssid, bss); in wpa_supplicant_ssid_bss_match() 386 rsn_ie = wpa_bss_get_ie(bss, WLAN_EID_RSN); in wpa_supplicant_ssid_bss_match() 443 wpa_ie = wpa_bss_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE); in wpa_supplicant_ssid_bss_match() 545 static int rate_match(struct wpa_supplicant *wpa_s, struct wpa_bss *bss) in rate_match() argument 552 if (bss->freq == 0) in rate_match() 568 if (freq == bss->freq) { in rate_match() 583 rate_ie = wpa_bss_get_ie(bss, scan_ie[i]); in rate_match() [all …]
|
| D | hs20_supplicant.c | 77 struct wpa_bss *bss; in hs20_anqp_send_req() local 81 bss = wpa_bss_get_bssid(wpa_s, dst); in hs20_anqp_send_req() 82 if (bss) { in hs20_anqp_send_req() 83 wpa_bss_anqp_unshare_alloc(bss); in hs20_anqp_send_req() 84 freq = bss->freq; in hs20_anqp_send_req() 114 struct wpa_bss *bss = wpa_bss_get_bssid(wpa_s, sa); in hs20_parse_rx_hs20_anqp_resp() local 120 if (bss) in hs20_parse_rx_hs20_anqp_resp() 121 anqp = bss->anqp; in hs20_parse_rx_hs20_anqp_resp()
|
| D | sme.c | 84 struct wpa_bss *bss, struct wpa_ssid *ssid, in sme_send_authentication() argument 100 if (bss == NULL) { in sme_send_authentication() 106 wpa_s->current_bss = bss; in sme_send_authentication() 111 params.freq = bss->freq; in sme_send_authentication() 112 params.bssid = bss->bssid; in sme_send_authentication() 113 params.ssid = bss->ssid; in sme_send_authentication() 114 params.ssid_len = bss->ssid_len; in sme_send_authentication() 148 rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN); in sme_send_authentication() 168 os_memcpy(wpa_s->pending_bssid, bss->bssid, ETH_ALEN); in sme_send_authentication() 172 if ((wpa_bss_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE) || in sme_send_authentication() [all …]
|
| /freebsd-10-stable/contrib/wpa/hostapd/ |
| D | config_file.c | 29 static int hostapd_config_read_vlan_file(struct hostapd_bss_config *bss, in hostapd_config_read_vlan_file() argument 97 if (bss->vlan_tail) in hostapd_config_read_vlan_file() 98 bss->vlan_tail->next = vlan; in hostapd_config_read_vlan_file() 100 bss->vlan = vlan; in hostapd_config_read_vlan_file() 101 bss->vlan_tail = vlan; in hostapd_config_read_vlan_file() 572 static int hostapd_parse_das_client(struct hostapd_bss_config *bss, in hostapd_parse_das_client() argument 583 if (hostapd_parse_ip_addr(val, &bss->radius_das_client_addr)) in hostapd_parse_das_client() 586 os_free(bss->radius_das_shared_secret); in hostapd_parse_das_client() 587 bss->radius_das_shared_secret = (u8 *) os_strdup(secret); in hostapd_parse_das_client() 588 if (bss->radius_das_shared_secret == NULL) in hostapd_parse_das_client() [all …]
|
| D | main.c | 179 hapd_iface->bss = os_calloc(conf->num_bss, in hostapd_init() 181 if (hapd_iface->bss == NULL) in hostapd_init() 185 hapd = hapd_iface->bss[i] = in hostapd_init() 187 &conf->bss[i]); in hostapd_init() 200 os_free(hapd_iface->bss); in hostapd_init() 211 struct hostapd_data *hapd = iface->bss[0]; in hostapd_driver_init() 256 struct hostapd_data *bss = hapd->iface->bss[i]; in hostapd_driver_init() local 257 if (bss->conf->bridge[0]) in hostapd_driver_init() 258 params.bridge[i] = bss->conf->bridge; in hostapd_driver_init() 296 if (iface->bss[0]->conf->logger_stdout_level > 0) in hostapd_interface_init() [all …]
|
| /freebsd-10-stable/contrib/wpa/src/ap/ |
| D | ap_config.c | 23 static void hostapd_config_free_vlan(struct hostapd_bss_config *bss) in hostapd_config_free_vlan() argument 27 vlan = bss->vlan; in hostapd_config_free_vlan() 35 bss->vlan = NULL; in hostapd_config_free_vlan() 39 void hostapd_config_defaults_bss(struct hostapd_bss_config *bss) in hostapd_config_defaults_bss() argument 41 bss->logger_syslog_level = HOSTAPD_LEVEL_INFO; in hostapd_config_defaults_bss() 42 bss->logger_stdout_level = HOSTAPD_LEVEL_INFO; in hostapd_config_defaults_bss() 43 bss->logger_syslog = (unsigned int) -1; in hostapd_config_defaults_bss() 44 bss->logger_stdout = (unsigned int) -1; in hostapd_config_defaults_bss() 46 bss->auth_algs = WPA_AUTH_ALG_OPEN | WPA_AUTH_ALG_SHARED; in hostapd_config_defaults_bss() 48 bss->wep_rekeying_period = 300; in hostapd_config_defaults_bss() [all …]
|
| D | hostapd.c | 113 struct hostapd_data *hapd = iface->bss[0]; in hostapd_reload_config() 129 hostapd_flush_old_stations(iface->bss[j], in hostapd_reload_config() 131 hostapd_broadcast_wep_clear(iface->bss[j]); in hostapd_reload_config() 136 radius_client_flush(iface->bss[j]->radius, 0); in hostapd_reload_config() 144 hapd = iface->bss[j]; in hostapd_reload_config() 146 hapd->conf = &newconf->bss[j]; in hostapd_reload_config() 341 os_free(iface->bss); in hostapd_cleanup_iface() 424 struct hostapd_data *hapd = iface->bss[0]; in hostapd_validate_bssid_configuration() 440 if (hostapd_mac_comp_empty(iface->conf->bss[j].bssid) == 0) { in hostapd_validate_bssid_configuration() 448 iface->conf->bss[j].bssid[i] ^ in hostapd_validate_bssid_configuration() [all …]
|
| D | hw_features.c | 49 struct hostapd_data *hapd = iface->bss[0]; in hostapd_get_hw_features() 261 static void ieee80211n_get_pri_sec_chan(struct wpa_scan_res *bss, in ieee80211n_get_pri_sec_chan() argument 269 ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0); in ieee80211n_get_pri_sec_chan() 296 pri_freq = hostapd_hw_get_freq(iface->bss[0], pri_chan); in ieee80211n_check_40mhz_5g() 308 struct wpa_scan_res *bss = scan_res->res[i]; in ieee80211n_check_40mhz_5g() local 309 if (bss->freq == pri_freq) in ieee80211n_check_40mhz_5g() 311 else if (bss->freq == sec_freq) in ieee80211n_check_40mhz_5g() 328 struct wpa_scan_res *bss = scan_res->res[i]; in ieee80211n_check_40mhz_5g() local 329 ieee80211n_get_pri_sec_chan(bss, &bss_pri_chan, &bss_sec_chan); in ieee80211n_check_40mhz_5g() 338 struct wpa_scan_res *bss = scan_res->res[i]; in ieee80211n_check_40mhz_5g() local [all …]
|
| /freebsd-10-stable/sys/compat/svr4/ |
| D | svr4_signal.c | 145 svr4_to_bsd_sigset(sss, bss) in svr4_to_bsd_sigset() argument 147 sigset_t *bss; 151 SIGEMPTYSET(*bss); 156 SIGADDSET(*bss, newsig); 161 bsd_to_svr4_sigset(bss, sss) in bsd_to_svr4_sigset() argument 162 const sigset_t *bss; in bsd_to_svr4_sigset() 169 if (SIGISMEMBER(*bss, i)) { 229 svr4_to_bsd_sigaltstack(sss, bss) in svr4_to_bsd_sigaltstack() argument 231 struct sigaltstack *bss; 234 bss->ss_sp = sss->ss_sp; [all …]
|
| /freebsd-10-stable/sys/i386/ibcs2/ |
| D | ibcs2_signal.c | 133 ibcs2_to_bsd_sigset(iss, bss) in ibcs2_to_bsd_sigset() argument 135 sigset_t *bss; 139 sigemptyset(bss); 144 sigaddset(bss, newsig); 150 bsd_to_ibcs2_sigset(bss, iss) in bsd_to_ibcs2_sigset() argument 151 const sigset_t *bss; in bsd_to_ibcs2_sigset() 158 if (sigismember(bss, i)) { 387 sigset_t bss; local 391 bss = td->td_siglist; 392 SIGSETOR(bss, p->p_siglist); [all …]
|
| /freebsd-10-stable/sys/contrib/dev/iwi/ |
| D | Makefile | 4 ALL= ipw2200-bss.fw.uu ipw2200-ibss.fw.uu ipw2200-sniffer.fw.uu 8 ipw2200-bss.fw.uu: ipw2200-bss.fw LICENSE 11 uuencode ipw2200-bss.fw ipw2200-bss.fw) > ${.TARGET}
|
| /freebsd-10-stable/sys/conf/ |
| D | ldscript.i386 | 40 .rel.bss : { *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) } 41 .rela.bss : { *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) } 145 .bss : 148 *(.bss .bss.* .gnu.linkonce.b.*) 150 /* Align here to ensure that the .bss section occupies space up to 151 _end. Align after .bss to ensure correct alignment even if the 152 .bss section disappears because there are no input sections. 153 FIXME: Why do we need it? When there is no .bss section, we don't
|
| D | ldscript.sparc64 | 112 .rel.bss : 114 *(.rel.bss) 115 *(.rel.bss.*) 118 .rela.bss : 120 *(.rela.bss) 121 *(.rela.bss.*) 216 .bss : 219 *(.bss) 220 *(.bss.*) 223 /* Align here to ensure that the .bss section occupies space up to [all …]
|
| D | ldscript.ia64 | 46 .rela.bss : { *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) } 106 .bss : 109 *(.bss .bss.* .gnu.linkonce.b.*) 111 /* Align here to ensure that the .bss section occupies space up to 112 _end. Align after .bss to ensure correct alignment even if the 113 .bss section disappears because there are no input sections. */
|
| D | ldscript.amd64 | 41 .rel.bss : { *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) } 42 .rela.bss : { *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) } 152 .bss : 155 *(.bss .bss.* .gnu.linkonce.b.*) 157 /* Align here to ensure that the .bss section occupies space up to 158 _end. Align after .bss to ensure correct alignment even if the 159 .bss section disappears because there are no input sections. 160 FIXME: Why do we need it? When there is no .bss section, we don't
|
| /freebsd-10-stable/contrib/wpa/wpa_supplicant/examples/ |
| D | wpas-dbus-new.py | 40 def showBss(bss): argument 41 net_obj = bus.get_object(WPAS_DBUS_SERVICE, bss) 89 def bssAdded(bss, properties): argument 90 print "BSS added: %s" % (bss) 91 showBss(bss) 93 def bssRemoved(bss): argument 94 print "BSS removed: %s" % (bss)
|
| /freebsd-10-stable/sys/boot/arm/at91/boot0/ |
| D | linker.cfg | 68 .bss : 71 *(.bss) 72 *(.bss.*) 75 /* Align here to ensure that the .bss section occupies space up to 76 _end. Align after .bss to ensure correct alignment even if the 77 .bss section disappears because there are no input sections. */
|
| /freebsd-10-stable/sys/compat/linux/ |
| D | linux.c | 178 linux_to_bsd_sigset(l_sigset_t *lss, sigset_t *bss) in linux_to_bsd_sigset() argument 182 SIGEMPTYSET(*bss); in linux_to_bsd_sigset() 187 SIGADDSET(*bss, b); in linux_to_bsd_sigset() 193 bsd_to_linux_sigset(sigset_t *bss, l_sigset_t *lss) in bsd_to_linux_sigset() argument 199 if (SIGISMEMBER(*bss, b)) { in bsd_to_linux_sigset()
|
| /freebsd-10-stable/libexec/rtld-elf/i386/ |
| D | elf_rtld.x | 41 .rel.bss : { *(.rel.bss) } 42 .rela.bss : { *(.rela.bss) } 88 .bss : 91 *(.bss)
|
| /freebsd-10-stable/libexec/rtld-elf/amd64/ |
| D | elf_rtld.x | 41 .rel.bss : { *(.rel.bss) } 42 .rela.bss : { *(.rela.bss) } 88 .bss : 91 *(.bss)
|