/external/wpa_supplicant_8/wpa_supplicant/ |
D | bss.c | 38 static void wpa_bss_remove(struct wpa_supplicant *wpa_s, struct wpa_bss *bss) in wpa_bss_remove() argument 40 dl_list_del(&bss->list); in wpa_bss_remove() 41 dl_list_del(&bss->list_id); in wpa_bss_remove() 44 " SSID '%s'", bss->id, MAC2STR(bss->bssid), in wpa_bss_remove() 45 wpa_ssid_txt(bss->ssid, bss->ssid_len)); in wpa_bss_remove() 46 wpas_notify_bss_removed(wpa_s, bss->bssid, bss->id); in wpa_bss_remove() 48 wpabuf_free(bss->anqp_venue_name); in wpa_bss_remove() 49 wpabuf_free(bss->anqp_network_auth_type); in wpa_bss_remove() 50 wpabuf_free(bss->anqp_roaming_consortium); in wpa_bss_remove() 51 wpabuf_free(bss->anqp_ip_addr_type_availability); in wpa_bss_remove() [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() 136 bss->isolate = !wpa_s->conf->p2p_intra_bss; in wpa_supplicant_conf_ap() 143 os_memcpy(bss->ssid.ssid, ssid->ssid, ssid->ssid_len); in wpa_supplicant_conf_ap() 144 bss->ssid.ssid[ssid->ssid_len] = '\0'; in wpa_supplicant_conf_ap() 145 bss->ssid.ssid_len = ssid->ssid_len; in wpa_supplicant_conf_ap() 146 bss->ssid.ssid_set = 1; in wpa_supplicant_conf_ap() 149 bss->auth_algs = ssid->auth_alg; in wpa_supplicant_conf_ap() 152 bss->wpa = ssid->proto; in wpa_supplicant_conf_ap() 153 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(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 | 83 struct wpa_bss *bss) in interworking_anqp_send_req() argument 101 MAC2STR(bss->bssid)); in interworking_anqp_send_req() 109 res = gas_query_req(wpa_s->gas, bss->bssid, bss->freq, buf, in interworking_anqp_send_req() 561 struct wpa_bss *bss) in interworking_connect_3gpp() argument 567 ie = wpa_bss_get_ie(bss, WLAN_EID_SSID); in interworking_connect_3gpp() 571 MAC2STR(bss->bssid)); in interworking_connect_3gpp() 623 int interworking_connect(struct wpa_supplicant *wpa_s, struct wpa_bss *bss) in interworking_connect() argument 632 if (bss == NULL) in interworking_connect() 634 ie = wpa_bss_get_ie(bss, WLAN_EID_SSID); in interworking_connect() 637 MACSTR, MAC2STR(bss->bssid)); in interworking_connect() [all …]
|
D | events.c | 288 static int wpa_supplicant_match_privacy(struct wpa_scan_res *bss, in wpa_supplicant_match_privacy() argument 317 if (bss->caps & IEEE80211_CAP_PRIVACY) in wpa_supplicant_match_privacy() 325 struct wpa_scan_res *bss) in wpa_supplicant_ssid_bss_match() argument 333 ret = wpas_wps_ssid_bss_match(wpa_s, ssid, bss); in wpa_supplicant_ssid_bss_match() 343 rsn_ie = wpa_scan_get_ie(bss, WLAN_EID_RSN); in wpa_supplicant_ssid_bss_match() 398 wpa_ie = wpa_scan_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE); in wpa_supplicant_ssid_bss_match() 494 static int rate_match(struct wpa_supplicant *wpa_s, struct wpa_scan_res *bss) in rate_match() argument 501 if (bss->freq == 0) in rate_match() 517 if (freq == bss->freq) { in rate_match() 532 rate_ie = wpa_scan_get_ie(bss, scan_ie[i]); in rate_match() [all …]
|
D | bss.h | 112 const u8 * wpa_bss_get_ie(const struct wpa_bss *bss, u8 ie); 113 const u8 * wpa_bss_get_vendor_ie(const struct wpa_bss *bss, u32 vendor_type); 114 struct wpabuf * wpa_bss_get_vendor_ie_multi(const struct wpa_bss *bss, 116 int wpa_bss_get_max_rate(const struct wpa_bss *bss); 117 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates);
|
D | ctrl_iface.c | 358 struct wpa_bss *bss; in wpa_supplicant_ctrl_iface_ft_ds() local 369 bss = wpa_bss_get_bssid(wpa_s, target_ap); in wpa_supplicant_ctrl_iface_ft_ds() 370 if (bss) in wpa_supplicant_ctrl_iface_ft_ds() 371 mdie = wpa_bss_get_ie(bss, WLAN_EID_MOBILITY_DOMAIN); in wpa_supplicant_ctrl_iface_ft_ds() 1444 const struct wpa_bss *bss) in wpa_supplicant_wps_ie_txt() argument 1448 wps_ie = wpa_bss_get_vendor_ie_multi(bss, WPS_IE_VENDOR_TYPE); in wpa_supplicant_wps_ie_txt() 1459 const struct wpa_bss *bss, char *buf, size_t buflen) in wpa_supplicant_ctrl_iface_scan_result() argument 1465 p2p = wpa_bss_get_vendor_ie(bss, P2P_IE_VENDOR_TYPE); in wpa_supplicant_ctrl_iface_scan_result() 1466 if (p2p && bss->ssid_len == P2P_WILDCARD_SSID_LEN && in wpa_supplicant_ctrl_iface_scan_result() 1467 os_memcmp(bss->ssid, P2P_WILDCARD_SSID, P2P_WILDCARD_SSID_LEN) == in wpa_supplicant_ctrl_iface_scan_result() [all …]
|
D | wps_supplicant.c | 111 struct wpa_bss *bss; in wpas_wps_security_workaround() local 129 bss = wpa_bss_get(wpa_s, cred->mac_addr, ssid->ssid, ssid->ssid_len); in wpas_wps_security_workaround() 130 if (bss == NULL) { in wpas_wps_security_workaround() 138 ie = wpa_bss_get_ie(bss, WLAN_EID_RSN); in wpas_wps_security_workaround() 144 ie = wpa_bss_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE); in wpas_wps_security_workaround() 747 struct wpa_bss *bss; in wpas_wps_add_network() local 760 dl_list_for_each(bss, &wpa_s->bss, struct wpa_bss, list) { in wpas_wps_add_network() 761 if (os_memcmp(bssid, bss->bssid, ETH_ALEN) != 0) in wpas_wps_add_network() 765 ssid->ssid = os_malloc(bss->ssid_len); in wpas_wps_add_network() 768 os_memcpy(ssid->ssid, bss->ssid, bss->ssid_len); in wpas_wps_add_network() [all …]
|
/external/wpa_supplicant_8/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() 684 struct hostapd_bss_config *bss; in hostapd_config_bss() local 689 bss = os_realloc(conf->bss, (conf->num_bss + 1) * in hostapd_config_bss() 691 if (bss == NULL) { in hostapd_config_bss() 696 conf->bss = bss; in hostapd_config_bss() 698 bss = &(conf->bss[conf->num_bss]); in hostapd_config_bss() [all …]
|
D | main.c | 206 hapd_iface->bss = os_zalloc(conf->num_bss * in hostapd_init() 208 if (hapd_iface->bss == NULL) in hostapd_init() 212 hapd = hapd_iface->bss[i] = in hostapd_init() 214 &conf->bss[i]); in hostapd_init() 227 os_free(hapd_iface->bss); in hostapd_init() 238 struct hostapd_data *hapd = iface->bss[0]; in hostapd_driver_init() 283 struct hostapd_data *bss = hapd->iface->bss[i]; in hostapd_driver_init() local 284 if (bss->conf->bridge[0]) in hostapd_driver_init() 285 params.bridge[i] = bss->conf->bridge; in hostapd_driver_init() 315 driver = iface->bss[0]->driver; in hostapd_interface_deinit_free() [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/ |
D | mlme.c | 302 struct ieee80211_sta_bss *bss; in ieee80211_authenticate() local 304 bss = ieee80211_bss_get(wpa_s, wpa_s->bssid); in ieee80211_authenticate() 305 if (bss && bss->mdie_len >= 2 + sizeof(*mdie)) in ieee80211_authenticate() 306 mdie = (struct rsn_mdie *) (bss->mdie + 2); in ieee80211_authenticate() 331 struct ieee80211_sta_bss *bss; in ieee80211_send_assoc() local 359 bss = ieee80211_bss_get(wpa_s, wpa_s->bssid); in ieee80211_send_assoc() 360 if (bss) { in ieee80211_send_assoc() 361 if (bss->capability & WLAN_CAPABILITY_PRIVACY) in ieee80211_send_assoc() 363 if (bss->wmm_ie) { in ieee80211_send_assoc() 432 bss && bss->mdie && in ieee80211_send_assoc() [all …]
|
D | events.c | 247 static int wpa_supplicant_match_privacy(struct wpa_scan_res *bss, in wpa_supplicant_match_privacy() argument 273 if (bss->caps & IEEE80211_CAP_PRIVACY) in wpa_supplicant_match_privacy() 281 struct wpa_scan_res *bss) in wpa_supplicant_ssid_bss_match() argument 288 ret = wpas_wps_ssid_bss_match(wpa_s, ssid, bss); in wpa_supplicant_ssid_bss_match() 292 rsn_ie = wpa_scan_get_ie(bss, WLAN_EID_RSN); in wpa_supplicant_ssid_bss_match() 337 wpa_ie = wpa_scan_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE); in wpa_supplicant_ssid_bss_match() 386 struct wpa_scan_res *bss; in wpa_supplicant_select_bss_wpa() local 395 bss = wpa_s->scan_res->res[i]; in wpa_supplicant_select_bss_wpa() 397 ie = wpa_scan_get_ie(bss, WLAN_EID_SSID); in wpa_supplicant_select_bss_wpa() 401 ie = wpa_scan_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE); in wpa_supplicant_select_bss_wpa() [all …]
|
D | wpa_supplicant.c | 737 struct wpa_scan_res *bss, in wpa_supplicant_set_suites() argument 745 if (bss) { in wpa_supplicant_set_suites() 746 bss_wpa = wpa_scan_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE); in wpa_supplicant_set_suites() 747 bss_rsn = wpa_scan_get_ie(bss, WLAN_EID_RSN); in wpa_supplicant_set_suites() 765 } else if (bss) { in wpa_supplicant_set_suites() 803 if (bss || !wpa_s->ap_ies_from_associnfo) { in wpa_supplicant_set_suites() 926 struct wpa_scan_res *bss, struct wpa_ssid *ssid) in wpa_supplicant_associate() argument 939 if (bss) { in wpa_supplicant_associate() 943 const u8 *ie = wpa_scan_get_ie(bss, WLAN_EID_SSID); in wpa_supplicant_associate() 945 " (SSID='%s' freq=%d MHz)", MAC2STR(bss->bssid), in wpa_supplicant_associate() [all …]
|
D | wps_supplicant.h | 33 struct wpa_ssid *ssid, struct wpa_scan_res *bss); 35 struct wpa_ssid *ssid, struct wpa_scan_res *bss); 65 struct wpa_scan_res *bss) in wpas_wps_ssid_bss_match() argument 72 struct wpa_scan_res *bss) in wpas_wps_ssid_wildcard_ok() argument
|
/external/wpa_supplicant_8/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 | hw_features.c | 49 struct hostapd_data *hapd = iface->bss[0]; in hostapd_get_hw_features() 257 static void ieee80211n_get_pri_sec_chan(struct wpa_scan_res *bss, in ieee80211n_get_pri_sec_chan() argument 265 ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0); in ieee80211n_get_pri_sec_chan() 292 pri_freq = hostapd_hw_get_freq(iface->bss[0], pri_chan); in ieee80211n_check_40mhz_5g() 304 struct wpa_scan_res *bss = scan_res->res[i]; in ieee80211n_check_40mhz_5g() local 305 if (bss->freq == pri_freq) in ieee80211n_check_40mhz_5g() 307 else if (bss->freq == sec_freq) in ieee80211n_check_40mhz_5g() 324 struct wpa_scan_res *bss = scan_res->res[i]; in ieee80211n_check_40mhz_5g() local 325 ieee80211n_get_pri_sec_chan(bss, &bss_pri_chan, &bss_sec_chan); in ieee80211n_check_40mhz_5g() 334 struct wpa_scan_res *bss = scan_res->res[i]; in ieee80211n_check_40mhz_5g() local [all …]
|
D | hostapd.c | 93 struct hostapd_data *hapd = iface->bss[0]; in hostapd_reload_config() 108 hostapd_flush_old_stations(iface->bss[j]); in hostapd_reload_config() 109 hostapd_broadcast_wep_clear(iface->bss[j]); in hostapd_reload_config() 114 radius_client_flush(iface->bss[j]->radius, 0); in hostapd_reload_config() 122 hapd = iface->bss[j]; in hostapd_reload_config() 124 hapd->conf = &newconf->bss[j]; in hostapd_reload_config() 295 os_free(iface->bss); in hostapd_cleanup_iface() 369 struct hostapd_data *hapd = iface->bss[0]; in hostapd_validate_bssid_configuration() 385 if (hostapd_mac_comp_empty(iface->conf->bss[j].bssid) == 0) { in hostapd_validate_bssid_configuration() 393 iface->conf->bss[j].bssid[i] ^ in hostapd_validate_bssid_configuration() [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211.c | 288 static int wpa_driver_nl80211_set_mode(struct i802_bss *bss, 297 static int nl80211_send_frame_cmd(struct i802_bss *bss, 303 static int android_pno_start(struct i802_bss *bss, 305 static int android_pno_stop(struct i802_bss *bss); 560 static int nl80211_get_wiphy_index(struct i802_bss *bss) in nl80211_get_wiphy_index() argument 571 nl80211_cmd(bss->drv, msg, 0, NL80211_CMD_GET_INTERFACE); in nl80211_get_wiphy_index() 573 NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, bss->ifindex); in nl80211_get_wiphy_index() 575 if (send_and_recv_msgs(bss->drv, msg, netdev_info_handler, &data) == 0) in nl80211_get_wiphy_index() 656 nl80211_get_wiphy_data_ap(struct i802_bss *bss) in nl80211_get_wiphy_data_ap() argument 663 if (bss->wiphy_data != NULL) in nl80211_get_wiphy_data_ap() [all …]
|
D | driver_test.c | 41 struct test_driver_bss *bss; member 95 struct dl_list bss; member 131 static void test_driver_free_bss(struct test_driver_bss *bss) in test_driver_free_bss() argument 133 os_free(bss->ie); in test_driver_free_bss() 134 os_free(bss->wps_beacon_ie); in test_driver_free_bss() 135 os_free(bss->wps_probe_resp_ie); in test_driver_free_bss() 136 os_free(bss); in test_driver_free_bss() 142 struct test_driver_bss *bss, *tmp; in test_driver_free_bsses() local 144 dl_list_for_each_safe(bss, tmp, &drv->bss, struct test_driver_bss, in test_driver_free_bsses() 146 dl_list_del(&bss->list); in test_driver_free_bsses() [all …]
|
/external/wpa_supplicant_8/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)
|
D | wpas-dbus-new-signals.py | 47 def showBss(bss): argument 48 net_obj = bus.get_object(WPAS_DBUS_SERVICE, bss) 92 def bssAdded(bss, properties): argument 93 print "BSS added: %s" % (bss) 94 showBss(bss) 96 def bssRemoved(bss): argument 97 print "BSS removed: %s" % (bss)
|
/external/qemu/ |
D | x86_64.ld | 36 .rel.bss : { *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) } 37 .rela.bss : { *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) } 135 .bss : 138 *(.bss .bss.* .gnu.linkonce.b.*) 140 /* Align here to ensure that the .bss section occupies space up to 141 _end. Align after .bss to ensure correct alignment even if the 142 .bss section disappears because there are no input sections. */
|
D | m68k.ld | 30 *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) 44 *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) 129 .bss : 132 *(.bss .bss.* .gnu.linkonce.b.*) 134 /* Align here to ensure that the .bss section occupies space up to 135 _end. Align after .bss to ensure correct alignment even if the 136 .bss section disappears because there are no input sections. */
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
D | MobileApple80211.c | 104 static int (*__Apple80211Associate)(Apple80211Ref handle, CFDictionaryRef bss, 107 int Apple80211Associate(Apple80211Ref handle, CFDictionaryRef bss, in Apple80211Associate() argument 110 return __Apple80211Associate(handle, bss, password); in Apple80211Associate() 115 CFDictionaryRef bss, 120 int Apple80211AssociateAndCopyInfo(Apple80211Ref handle, CFDictionaryRef bss, in Apple80211AssociateAndCopyInfo() argument 123 return __Apple80211AssociateAndCopyInfo(handle, bss, password, info); in Apple80211AssociateAndCopyInfo()
|
/external/llvm/test/MC/ELF/ |
D | elf_directive_previous.s | 3 .bss 4 # CHECK: .bss 10 # CHECK: .bss
|