| /freebsd-9-stable/contrib/wpa/wpa_supplicant/ |
| D | bss.c | 63 static void wpa_bss_remove(struct wpa_supplicant *wpa_s, struct wpa_bss *bss) in wpa_bss_remove() argument 65 dl_list_del(&bss->list); in wpa_bss_remove() 66 dl_list_del(&bss->list_id); in wpa_bss_remove() 69 bss->id, MAC2STR(bss->bssid), in wpa_bss_remove() 70 wpa_ssid_txt(bss->ssid, bss->ssid_len)); in wpa_bss_remove() 71 wpas_notify_bss_removed(wpa_s, bss->bssid, bss->id); in wpa_bss_remove() 72 os_free(bss); in wpa_bss_remove() 79 struct wpa_bss *bss; in wpa_bss_get() local 80 dl_list_for_each(bss, &wpa_s->bss, struct wpa_bss, list) { in wpa_bss_get() 81 if (os_memcmp(bss->bssid, bssid, ETH_ALEN) == 0 && in wpa_bss_get() [all …]
|
| D | ap.c | 43 struct hostapd_bss_config *bss = &conf->bss[0]; in wpa_supplicant_conf_ap() local 48 os_strlcpy(bss->iface, wpa_s->ifname, sizeof(bss->iface)); in wpa_supplicant_conf_ap() 74 os_memcpy(bss->ssid.ssid, ssid->ssid, ssid->ssid_len); in wpa_supplicant_conf_ap() 75 bss->ssid.ssid[ssid->ssid_len] = '\0'; in wpa_supplicant_conf_ap() 76 bss->ssid.ssid_len = ssid->ssid_len; in wpa_supplicant_conf_ap() 77 bss->ssid.ssid_set = 1; in wpa_supplicant_conf_ap() 80 bss->wpa = ssid->proto; in wpa_supplicant_conf_ap() 81 bss->wpa_key_mgmt = ssid->key_mgmt; in wpa_supplicant_conf_ap() 82 bss->wpa_pairwise = ssid->pairwise_cipher; in wpa_supplicant_conf_ap() 84 bss->ssid.wpa_passphrase = os_strdup(ssid->passphrase); in wpa_supplicant_conf_ap() [all …]
|
| D | mlme.c | 293 struct ieee80211_sta_bss *bss; in ieee80211_authenticate() local 295 bss = ieee80211_bss_get(wpa_s, wpa_s->bssid); in ieee80211_authenticate() 296 if (bss && bss->mdie_len >= 2 + sizeof(*mdie)) in ieee80211_authenticate() 297 mdie = (struct rsn_mdie *) (bss->mdie + 2); in ieee80211_authenticate() 322 struct ieee80211_sta_bss *bss; in ieee80211_send_assoc() local 350 bss = ieee80211_bss_get(wpa_s, wpa_s->bssid); in ieee80211_send_assoc() 351 if (bss) { in ieee80211_send_assoc() 352 if (bss->capability & WLAN_CAPABILITY_PRIVACY) in ieee80211_send_assoc() 354 if (bss->wmm_ie) { in ieee80211_send_assoc() 419 bss && bss->mdie && in ieee80211_send_assoc() [all …]
|
| D | events.c | 264 static int wpa_supplicant_match_privacy(struct wpa_scan_res *bss, in wpa_supplicant_match_privacy() argument 290 if (bss->caps & IEEE80211_CAP_PRIVACY) in wpa_supplicant_match_privacy() 298 struct wpa_scan_res *bss) in wpa_supplicant_ssid_bss_match() argument 305 ret = wpas_wps_ssid_bss_match(wpa_s, ssid, bss); in wpa_supplicant_ssid_bss_match() 309 rsn_ie = wpa_scan_get_ie(bss, WLAN_EID_RSN); in wpa_supplicant_ssid_bss_match() 354 wpa_ie = wpa_scan_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE); in wpa_supplicant_ssid_bss_match() 418 struct wpa_scan_res *bss; in wpa_supplicant_select_bss_wpa() local 427 bss = scan_res->res[i]; in wpa_supplicant_select_bss_wpa() 429 ie = wpa_scan_get_ie(bss, WLAN_EID_SSID); in wpa_supplicant_select_bss_wpa() 433 ie = wpa_scan_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE); in wpa_supplicant_select_bss_wpa() [all …]
|
| D | ctrl_iface.c | 139 struct wpa_bss *bss; in wpa_supplicant_ctrl_iface_ft_ds() local 150 bss = wpa_bss_get_bssid(wpa_s, target_ap); in wpa_supplicant_ctrl_iface_ft_ds() 151 if (bss) in wpa_supplicant_ctrl_iface_ft_ds() 152 mdie = wpa_bss_get_ie(bss, WLAN_EID_MOBILITY_DOMAIN); in wpa_supplicant_ctrl_iface_ft_ds() 802 const struct wpa_bss *bss) in wpa_supplicant_wps_ie_txt() argument 806 wps_ie = wpa_bss_get_vendor_ie_multi(bss, WPS_IE_VENDOR_TYPE); in wpa_supplicant_wps_ie_txt() 816 const struct wpa_bss *bss, char *buf, size_t buflen) in wpa_supplicant_ctrl_iface_scan_result() argument 826 MAC2STR(bss->bssid), bss->freq, bss->level); in wpa_supplicant_ctrl_iface_scan_result() 830 ie = wpa_bss_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE); in wpa_supplicant_ctrl_iface_scan_result() 833 ie2 = wpa_bss_get_ie(bss, WLAN_EID_RSN); in wpa_supplicant_ctrl_iface_scan_result() [all …]
|
| D | wps_supplicant.c | 100 struct wpa_bss *bss; in wpas_wps_security_workaround() local 116 bss = wpa_bss_get(wpa_s, cred->mac_addr, ssid->ssid, ssid->ssid_len); in wpas_wps_security_workaround() 117 if (bss == NULL) { in wpas_wps_security_workaround() 125 ie = wpa_bss_get_ie(bss, WLAN_EID_RSN); in wpas_wps_security_workaround() 131 ie = wpa_bss_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE); in wpas_wps_security_workaround() 578 struct wpa_bss *bss; in wpas_wps_add_network() local 584 dl_list_for_each(bss, &wpa_s->bss, struct wpa_bss, list) { in wpas_wps_add_network() 585 if (os_memcmp(bssid, bss->bssid, ETH_ALEN) != 0) in wpas_wps_add_network() 589 ssid->ssid = os_malloc(bss->ssid_len); in wpas_wps_add_network() 592 os_memcpy(ssid->ssid, bss->ssid, bss->ssid_len); in wpas_wps_add_network() [all …]
|
| D | sme.c | 36 struct wpa_bss *bss, struct wpa_ssid *ssid) in sme_authenticate() argument 48 if (bss == NULL) { in sme_authenticate() 54 wpa_s->current_bss = bss; in sme_authenticate() 59 params.freq = bss->freq; in sme_authenticate() 60 params.bssid = bss->bssid; in sme_authenticate() 61 params.ssid = bss->ssid; in sme_authenticate() 62 params.ssid_len = bss->ssid_len; in sme_authenticate() 100 os_memcpy(wpa_s->pending_bssid, bss->bssid, ETH_ALEN); in sme_authenticate() 104 if ((wpa_bss_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE) || in sme_authenticate() 105 wpa_bss_get_ie(bss, WLAN_EID_RSN)) && in sme_authenticate() [all …]
|
| D | bss.h | 86 const u8 * wpa_bss_get_ie(const struct wpa_bss *bss, u8 ie); 87 const u8 * wpa_bss_get_vendor_ie(const struct wpa_bss *bss, u32 vendor_type); 88 struct wpabuf * wpa_bss_get_vendor_ie_multi(const struct wpa_bss *bss, 90 int wpa_bss_get_max_rate(const struct wpa_bss *bss); 91 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates);
|
| /freebsd-9-stable/contrib/wpa/hostapd/ |
| D | config_file.c | 35 static int hostapd_config_read_vlan_file(struct hostapd_bss_config *bss, in hostapd_config_read_vlan_file() argument 103 if (bss->vlan_tail) in hostapd_config_read_vlan_file() 104 bss->vlan_tail->next = vlan; in hostapd_config_read_vlan_file() 106 bss->vlan = vlan; in hostapd_config_read_vlan_file() 107 bss->vlan_tail = vlan; in hostapd_config_read_vlan_file() 690 struct hostapd_bss_config *bss; in hostapd_config_bss() local 695 bss = os_realloc(conf->bss, (conf->num_bss + 1) * in hostapd_config_bss() 697 if (bss == NULL) { in hostapd_config_bss() 702 conf->bss = bss; in hostapd_config_bss() 704 bss = &(conf->bss[conf->num_bss]); in hostapd_config_bss() [all …]
|
| D | main.c | 201 hapd_iface->bss = os_zalloc(conf->num_bss * in hostapd_init() 203 if (hapd_iface->bss == NULL) in hostapd_init() 207 hapd = hapd_iface->bss[i] = in hostapd_init() 209 &conf->bss[i]); in hostapd_init() 222 os_free(hapd_iface->bss); in hostapd_init() 233 struct hostapd_data *hapd = iface->bss[0]; in hostapd_driver_init() 259 struct hostapd_data *bss = hapd->iface->bss[i]; in hostapd_driver_init() local 260 if (bss->conf->bridge[0]) in hostapd_driver_init() 261 params.bridge[i] = bss->conf->bridge; in hostapd_driver_init() 285 driver = iface->bss[0]->driver; in hostapd_interface_deinit_free() [all …]
|
| /freebsd-9-stable/contrib/wpa/src/ap/ |
| D | ap_config.c | 29 static void hostapd_config_free_vlan(struct hostapd_bss_config *bss) in hostapd_config_free_vlan() argument 33 vlan = bss->vlan; in hostapd_config_free_vlan() 41 bss->vlan = NULL; in hostapd_config_free_vlan() 45 void hostapd_config_defaults_bss(struct hostapd_bss_config *bss) in hostapd_config_defaults_bss() argument 47 bss->logger_syslog_level = HOSTAPD_LEVEL_INFO; in hostapd_config_defaults_bss() 48 bss->logger_stdout_level = HOSTAPD_LEVEL_INFO; in hostapd_config_defaults_bss() 49 bss->logger_syslog = (unsigned int) -1; in hostapd_config_defaults_bss() 50 bss->logger_stdout = (unsigned int) -1; in hostapd_config_defaults_bss() 52 bss->auth_algs = WPA_AUTH_ALG_OPEN | WPA_AUTH_ALG_SHARED; in hostapd_config_defaults_bss() 54 bss->wep_rekeying_period = 300; in hostapd_config_defaults_bss() [all …]
|
| D | hw_features.c | 49 struct hostapd_data *hapd = iface->bss[0]; in hostapd_get_hw_features() 254 static void ieee80211n_get_pri_sec_chan(struct wpa_scan_res *bss, in ieee80211n_get_pri_sec_chan() argument 262 ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0); in ieee80211n_get_pri_sec_chan() 289 pri_freq = hostapd_hw_get_freq(iface->bss[0], pri_chan); in ieee80211n_check_40mhz_5g() 301 struct wpa_scan_res *bss = scan_res->res[i]; in ieee80211n_check_40mhz_5g() local 302 if (bss->freq == pri_freq) in ieee80211n_check_40mhz_5g() 304 else if (bss->freq == sec_freq) in ieee80211n_check_40mhz_5g() 321 struct wpa_scan_res *bss = scan_res->res[i]; in ieee80211n_check_40mhz_5g() local 322 ieee80211n_get_pri_sec_chan(bss, &bss_pri_chan, &bss_sec_chan); in ieee80211n_check_40mhz_5g() 331 struct wpa_scan_res *bss = scan_res->res[i]; in ieee80211n_check_40mhz_5g() local [all …]
|
| D | hostapd.c | 48 struct hostapd_data *hapd = iface->bss[0]; in hostapd_reload_config() 63 hostapd_flush_old_stations(iface->bss[j]); in hostapd_reload_config() 73 hapd->conf = &newconf->bss[0]; in hostapd_reload_config() 271 os_free(iface->bss); in hostapd_cleanup_iface() 345 struct hostapd_data *hapd = iface->bss[0]; in hostapd_validate_bssid_configuration() 362 if (hostapd_mac_comp_empty(iface->conf->bss[j].bssid) == 0) { in hostapd_validate_bssid_configuration() 370 iface->conf->bss[j].bssid[i] ^ in hostapd_validate_bssid_configuration() 446 if (hostapd_mac_comp(conf->bss[i].bssid, a) == 0) { in mac_in_conf() 486 hapd->iface->bss[0]->own_addr) == in hostapd_setup_bss() 496 if (hostapd_if_add(hapd->iface->bss[0], WPA_IF_AP_BSS, in hostapd_setup_bss() [all …]
|
| /freebsd-9-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-9-stable/contrib/wpa/wpa_supplicant/dbus/ |
| D | dbus_new_handlers.h | 135 struct wpa_supplicant *bss); 138 struct bss_handler_args *bss); 141 struct bss_handler_args *bss); 144 struct bss_handler_args *bss); 147 struct bss_handler_args *bss); 150 struct bss_handler_args *bss); 153 struct bss_handler_args *bss); 156 struct bss_handler_args *bss); 159 struct bss_handler_args *bss); 162 struct bss_handler_args *bss); [all …]
|
| D | dbus_new_handlers.c | 2215 struct wpa_bss *bss; in wpas_dbus_getter_bsss() local 2226 dl_list_for_each(bss, &wpa_s->bss_id, struct wpa_bss, list_id) { in wpas_dbus_getter_bsss() 2237 wpa_s->dbus_new_path, bss->id); in wpas_dbus_getter_bsss() 2395 struct bss_handler_args *bss) in wpas_dbus_getter_bss_bssid() argument 2397 struct wpa_bss *res = wpa_bss_get_id(bss->wpa_s, bss->id); in wpas_dbus_getter_bss_bssid() 2401 "bss with id %d found", bss->id); in wpas_dbus_getter_bss_bssid() 2419 struct bss_handler_args *bss) in wpas_dbus_getter_bss_ssid() argument 2421 struct wpa_bss *res = wpa_bss_get_id(bss->wpa_s, bss->id); in wpas_dbus_getter_bss_ssid() 2425 "bss with id %d found", bss->id); in wpas_dbus_getter_bss_ssid() 2444 struct bss_handler_args *bss) in wpas_dbus_getter_bss_privacy() argument [all …]
|
| /freebsd-9-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-9-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-9-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-9-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-9-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-9-stable/sys/boot/arm/at91/ |
| D | linker.cfg | 142 .rel.bss : 144 *(.rel.bss) 145 *(.rel.bss.*) 148 .rela.bss : 150 *(.rela.bss) 151 *(.rela.bss.*) 238 .bss : 241 *(.bss) 242 *(.bss.*) 245 /* Align here to ensure that the .bss section occupies space up to [all …]
|