/external/wpa_supplicant_8/wpa_supplicant/ |
D | bss.c | 33 static void wpa_bss_set_hessid(struct wpa_bss *bss) in wpa_bss_set_hessid() argument 36 const u8 *ie = wpa_bss_get_ie(bss, WLAN_EID_INTERWORKING); in wpa_bss_set_hessid() 38 os_memset(bss->hessid, 0, ETH_ALEN); in wpa_bss_set_hessid() 42 os_memcpy(bss->hessid, ie + 3, ETH_ALEN); in wpa_bss_set_hessid() 44 os_memcpy(bss->hessid, ie + 5, ETH_ALEN); in wpa_bss_set_hessid() 118 int wpa_bss_anqp_unshare_alloc(struct wpa_bss *bss) in wpa_bss_anqp_unshare_alloc() argument 122 if (bss->anqp && bss->anqp->users > 1) { in wpa_bss_anqp_unshare_alloc() 124 anqp = wpa_bss_anqp_clone(bss->anqp); in wpa_bss_anqp_unshare_alloc() 128 bss->anqp->users--; in wpa_bss_anqp_unshare_alloc() 129 bss->anqp = anqp; in wpa_bss_anqp_unshare_alloc() [all …]
|
D | ap.c | 208 struct hostapd_bss_config *bss = conf->bss[0]; in wpa_supplicant_conf_ap() local 212 os_strlcpy(bss->iface, wpa_s->ifname, sizeof(bss->iface)); in wpa_supplicant_conf_ap() 261 bss->isolate = !wpa_s->conf->p2p_intra_bss; in wpa_supplicant_conf_ap() 262 bss->force_per_enrollee_psk = wpa_s->global->p2p_per_sta_psk; in wpa_supplicant_conf_ap() 265 os_memcpy(bss->ip_addr_go, wpa_s->p2pdev->conf->ip_addr_go, 4); in wpa_supplicant_conf_ap() 266 os_memcpy(bss->ip_addr_mask, wpa_s->p2pdev->conf->ip_addr_mask, in wpa_supplicant_conf_ap() 268 os_memcpy(bss->ip_addr_start, in wpa_supplicant_conf_ap() 270 os_memcpy(bss->ip_addr_end, wpa_s->p2pdev->conf->ip_addr_end, in wpa_supplicant_conf_ap() 279 os_memcpy(bss->ssid.ssid, ssid->ssid, ssid->ssid_len); in wpa_supplicant_conf_ap() 280 bss->ssid.ssid_len = ssid->ssid_len; 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 | 50 struct wpa_supplicant *wpa_s, struct wpa_bss *bss, int ignore_bw, 53 struct wpa_supplicant *wpa_s, struct wpa_bss *bss, int ignore_bw, 226 static int additional_roaming_consortiums(struct wpa_bss *bss) in additional_roaming_consortiums() argument 229 ie = wpa_bss_get_ie(bss, WLAN_EID_ROAMING_CONSORTIUM); in additional_roaming_consortiums() 244 struct wpa_bss *bss) in interworking_anqp_send_req() argument 255 MAC2STR(bss->bssid)); in interworking_anqp_send_req() 256 wpa_s->interworking_gas_bss = bss; in interworking_anqp_send_req() 264 additional_roaming_consortiums(bss))) in interworking_anqp_send_req() 280 if (wpa_bss_get_vendor_ie(bss, HS20_IE_VENDOR_TYPE)) { in interworking_anqp_send_req() 313 res = gas_query_req(wpa_s->gas, bss->bssid, bss->freq, buf, in interworking_anqp_send_req() [all …]
|
D | bss.h | 133 const u8 * wpa_bss_get_ie(const struct wpa_bss *bss, u8 ie); 134 const u8 * wpa_bss_get_vendor_ie(const struct wpa_bss *bss, u32 vendor_type); 135 const u8 * wpa_bss_get_vendor_ie_beacon(const struct wpa_bss *bss, 137 struct wpabuf * wpa_bss_get_vendor_ie_multi(const struct wpa_bss *bss, 139 struct wpabuf * wpa_bss_get_vendor_ie_multi_beacon(const struct wpa_bss *bss, 141 int wpa_bss_get_max_rate(const struct wpa_bss *bss); 142 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates); 144 int wpa_bss_anqp_unshare_alloc(struct wpa_bss *bss); 146 static inline int bss_is_dmg(const struct wpa_bss *bss) in bss_is_dmg() argument 148 return bss->freq > 45000; in bss_is_dmg() [all …]
|
D | mesh.c | 101 static void wpas_mesh_copy_groups(struct hostapd_data *bss, in wpas_mesh_copy_groups() argument 112 bss->conf->sae_groups = os_malloc(groups_size); in wpas_mesh_copy_groups() 113 if (bss->conf->sae_groups) in wpas_mesh_copy_groups() 114 os_memcpy(bss->conf->sae_groups, wpa_s->conf->sae_groups, in wpas_mesh_copy_groups() 123 struct hostapd_data *bss; in wpa_supplicant_mesh_init() local 144 ifmsh->bss = os_calloc(wpa_s->ifmsh->num_bss, in wpa_supplicant_mesh_init() 146 if (!ifmsh->bss) in wpa_supplicant_mesh_init() 149 ifmsh->bss[0] = bss = os_zalloc(sizeof(struct hostapd_data)); in wpa_supplicant_mesh_init() 150 if (!bss) in wpa_supplicant_mesh_init() 153 os_memcpy(bss->own_addr, wpa_s->own_addr, ETH_ALEN); in wpa_supplicant_mesh_init() [all …]
|
D | events.c | 133 struct wpa_bss *bss = NULL; in wpa_supplicant_get_new_bss() local 137 bss = wpa_bss_get(wpa_s, bssid, ssid->ssid, ssid->ssid_len); in wpa_supplicant_get_new_bss() 138 if (!bss) in wpa_supplicant_get_new_bss() 139 bss = wpa_bss_get_bssid(wpa_s, bssid); in wpa_supplicant_get_new_bss() 141 return bss; in wpa_supplicant_get_new_bss() 147 struct wpa_bss *bss = wpa_supplicant_get_new_bss(wpa_s, wpa_s->bssid); in wpa_supplicant_update_current_bss() local 149 if (!bss) { in wpa_supplicant_update_current_bss() 153 bss = wpa_supplicant_get_new_bss(wpa_s, wpa_s->bssid); in wpa_supplicant_update_current_bss() 156 if (bss) in wpa_supplicant_update_current_bss() 157 wpa_s->current_bss = bss; in wpa_supplicant_update_current_bss() [all …]
|
D | sme.c | 146 struct wpa_bss *bss) in sme_auth_handle_rrm() argument 158 rrm_ie = wpa_bss_get_ie(bss, WLAN_EID_RRM_ENABLED_CAPABILITIES); in sme_auth_handle_rrm() 159 if (!rrm_ie || !(bss->caps & IEEE80211_CAP_RRM)) { in sme_auth_handle_rrm() 195 struct wpa_bss *bss, struct wpa_ssid *ssid, in sme_send_authentication() argument 215 if (bss == NULL) { in sme_send_authentication() 224 wpa_s->current_bss = bss; in sme_send_authentication() 229 params.freq = bss->freq; in sme_send_authentication() 230 params.bssid = bss->bssid; in sme_send_authentication() 231 params.ssid = bss->ssid; in sme_send_authentication() 232 params.ssid_len = bss->ssid_len; in sme_send_authentication() [all …]
|
D | wnm_sta.c | 430 struct wpa_bss *bss = wpa_s->current_bss; in wnm_nei_get_chan() local 434 if (bss) { in wnm_nei_get_chan() 435 const u8 *elem = wpa_bss_get_ie(bss, WLAN_EID_COUNTRY); in wnm_nei_get_chan() 506 struct wpa_bss *bss = wpa_s->current_bss; in compare_scan_neighbor_results() local 509 if (!bss) in compare_scan_neighbor_results() 513 MAC2STR(wpa_s->bssid), bss->level); in compare_scan_neighbor_results() 535 if (bss->ssid_len != target->ssid_len || in compare_scan_neighbor_results() 536 os_memcmp(bss->ssid, target->ssid, bss->ssid_len) != 0) { in compare_scan_neighbor_results() 568 if (target->level < bss->level && target->level < -80) { in compare_scan_neighbor_results() 606 static u32 wnm_get_bss_info(struct wpa_supplicant *wpa_s, struct wpa_bss *bss) in wnm_get_bss_info() argument [all …]
|
D | wpa_supplicant.c | 406 struct wpa_bss_tmp_disallowed *bss, *prev; in free_bss_tmp_disallowed() local 408 dl_list_for_each_safe(bss, prev, &wpa_s->bss_tmp_disallowed, in free_bss_tmp_disallowed() 410 dl_list_del(&bss->list); in free_bss_tmp_disallowed() 411 os_free(bss); in free_bss_tmp_disallowed() 1065 struct wpa_bss *bss, struct wpa_ssid *ssid, in wpa_supplicant_set_suites() argument 1072 if (bss) { in wpa_supplicant_set_suites() 1073 bss_wpa = wpa_bss_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE); in wpa_supplicant_set_suites() 1074 bss_rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN); in wpa_supplicant_set_suites() 1075 bss_osen = wpa_bss_get_vendor_ie(bss, OSEN_IE_VENDOR_TYPE); in wpa_supplicant_set_suites() 1103 } else if (bss) { in wpa_supplicant_set_suites() [all …]
|
D | mesh_mpm.c | 174 struct hostapd_data *hapd = wpa_s->ifmsh->bss[0]; in llid_in_use() 214 struct hostapd_data *bss = ifmsh->bss[0]; in mesh_mpm_send_plink_action() local 269 pos = hostapd_eid_supp_rates(bss, supp_rates); in mesh_mpm_send_plink_action() 270 pos = hostapd_eid_ext_supp_rates(bss, pos); in mesh_mpm_send_plink_action() 289 info = (bss->num_plinks > 63 ? 63 : bss->num_plinks) << 1; in mesh_mpm_send_plink_action() 344 pos = hostapd_eid_ht_capabilities(bss, ht_capa_oper); in mesh_mpm_send_plink_action() 345 pos = hostapd_eid_ht_operation(bss, pos); in mesh_mpm_send_plink_action() 353 pos = hostapd_eid_vht_capabilities(bss, vht_capa_oper); in mesh_mpm_send_plink_action() 354 pos = hostapd_eid_vht_operation(bss, pos); in mesh_mpm_send_plink_action() 409 struct hostapd_data *hapd = wpa_s->ifmsh->bss[0]; in mesh_mpm_fsm_restart() [all …]
|
/external/wpa_supplicant_8/hostapd/ |
D | config_file.c | 34 static int hostapd_config_read_vlan_file(struct hostapd_bss_config *bss, in hostapd_config_read_vlan_file() argument 103 vlan->next = bss->vlan; in hostapd_config_read_vlan_file() 104 bss->vlan = vlan; in hostapd_config_read_vlan_file() 639 static int hostapd_parse_das_client(struct hostapd_bss_config *bss, in hostapd_parse_das_client() argument 650 if (hostapd_parse_ip_addr(val, &bss->radius_das_client_addr)) in hostapd_parse_das_client() 653 os_free(bss->radius_das_shared_secret); in hostapd_parse_das_client() 654 bss->radius_das_shared_secret = (u8 *) os_strdup(secret); in hostapd_parse_das_client() 655 if (bss->radius_das_shared_secret == NULL) in hostapd_parse_das_client() 657 bss->radius_das_shared_secret_len = os_strlen(secret); in hostapd_parse_das_client() 848 struct hostapd_bss_config **all, *bss; in hostapd_config_bss() local [all …]
|
/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 dl_list_init(&bss->anqp_elem); in hostapd_config_defaults_bss() 43 bss->logger_syslog_level = HOSTAPD_LEVEL_INFO; in hostapd_config_defaults_bss() 44 bss->logger_stdout_level = HOSTAPD_LEVEL_INFO; in hostapd_config_defaults_bss() 45 bss->logger_syslog = (unsigned int) -1; in hostapd_config_defaults_bss() 46 bss->logger_stdout = (unsigned int) -1; in hostapd_config_defaults_bss() 48 bss->auth_algs = WPA_AUTH_ALG_OPEN | WPA_AUTH_ALG_SHARED; in hostapd_config_defaults_bss() [all …]
|
D | hostapd.c | 141 hostapd_flush_old_stations(iface->bss[j], in hostapd_clear_old() 143 hostapd_broadcast_wep_clear(iface->bss[j]); in hostapd_clear_old() 148 radius_client_flush(iface->bss[j]->radius, 0); in hostapd_clear_old() 156 struct hostapd_data *hapd = iface->bss[0]; in hostapd_reload_config() 164 hostapd_reload_bss(iface->bss[j]); in hostapd_reload_config() 181 hapd = iface->bss[j]; in hostapd_reload_config() 195 hapd->conf = newconf->bss[j]; in hostapd_reload_config() 412 os_free(iface->bss); in hostapd_cleanup_iface() 508 struct hostapd_data *hapd = iface->bss[0]; in hostapd_validate_bssid_configuration() 527 if (is_zero_ether_addr(iface->conf->bss[j]->bssid)) { in hostapd_validate_bssid_configuration() [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211.c | 168 static void wpa_driver_nl80211_deinit(struct i802_bss *bss); 169 static int wpa_driver_nl80211_set_mode_ibss(struct i802_bss *bss, 176 static int nl80211_send_frame_cmd(struct i802_bss *bss, 181 static int wpa_driver_nl80211_probe_req_report(struct i802_bss *bss, 193 static int nl80211_set_channel(struct i802_bss *bss, 201 static int i802_set_iface_flags(struct i802_bss *bss, int up); 250 struct i802_bss *bss; in get_bss_ifindex() local 252 for (bss = drv->first_bss; bss; bss = bss->next) { in get_bss_ifindex() 253 if (bss->ifindex == ifindex) in get_bss_ifindex() 254 return bss; in get_bss_ifindex() [all …]
|
D | driver_nl80211_scan.c | 118 nl80211_scan_common(struct i802_bss *bss, u8 cmd, in nl80211_scan_common() argument 121 struct wpa_driver_nl80211_data *drv = bss->drv; in nl80211_scan_common() 126 msg = nl80211_cmd_msg(bss, 0, cmd); in nl80211_scan_common() 227 int wpa_driver_nl80211_scan(struct i802_bss *bss, in wpa_driver_nl80211_scan() argument 230 struct wpa_driver_nl80211_data *drv = bss->drv; in wpa_driver_nl80211_scan() 240 msg = nl80211_scan_common(bss, NL80211_CMD_TRIGGER_SCAN, params); in wpa_driver_nl80211_scan() 288 bss, NL80211_IFTYPE_STATION)) in wpa_driver_nl80211_scan() 291 if (wpa_driver_nl80211_scan(bss, params)) { in wpa_driver_nl80211_scan() 292 wpa_driver_nl80211_set_mode(bss, old_mode); in wpa_driver_nl80211_scan() 405 struct i802_bss *bss = priv; in wpa_driver_nl80211_sched_scan() local [all …]
|
D | driver_nl80211_android.c | 42 static int android_priv_cmd(struct i802_bss *bss, const char *cmd) in android_priv_cmd() argument 44 struct wpa_driver_nl80211_data *drv = bss->drv; in android_priv_cmd() 52 os_strlcpy(ifr.ifr_name, bss->ifname, IFNAMSIZ); in android_priv_cmd() 75 int android_pno_start(struct i802_bss *bss, in android_pno_start() argument 78 struct wpa_driver_nl80211_data *drv = bss->drv; in android_pno_start() 125 os_strlcpy(ifr.ifr_name, bss->ifname, IFNAMSIZ); in android_pno_start() 143 return android_priv_cmd(bss, "PNOFORCE 1"); in android_pno_start() 147 int android_pno_stop(struct i802_bss *bss) in android_pno_stop() argument 149 return android_priv_cmd(bss, "PNOFORCE 0"); in android_pno_stop()
|
D | driver_nl80211_event.c | 459 struct i802_bss *bss; in mlme_event_ch_switch() local 471 bss = get_bss_ifindex(drv, ifidx); in mlme_event_ch_switch() 472 if (bss == NULL) { in mlme_event_ch_switch() 516 bss->freq = data.ch_switch.freq; in mlme_event_ch_switch() 518 wpa_supplicant_event(bss->ctx, EVENT_CH_SWITCH, &data); in mlme_event_ch_switch() 547 static void mlme_event_mgmt(struct i802_bss *bss, in mlme_event_mgmt() argument 551 struct wpa_driver_nl80211_data *drv = bss->drv; in mlme_event_mgmt() 586 event.rx_mgmt.drv_priv = bss; in mlme_event_mgmt() 793 static void mlme_event(struct i802_bss *bss, in mlme_event() argument 800 struct wpa_driver_nl80211_data *drv = bss->drv; in mlme_event() [all …]
|
/external/autotest/server/cros/ |
D | ap_config.py | 43 for bss in ap_config.sections(): 44 aps.append(AP(bss, ap_config)) 84 def __init__(self, bss, config): argument 92 if not config.has_section(bss): 93 raise APSectionError('BSS (%s) not defined.' % bss) 94 self.bss = bss 100 return self.ap_config.get(self.bss, self.CONF_SSID) 105 return self.ap_config.get(self.bss, self.CONF_BRAND) 110 return self.ap_config.get(self.bss, self.CONF_MODEL) 115 return self.ap_config.get(self.bss, self.CONF_WAN_MAC) [all …]
|
D | chaos_dynamic_ap_list.conf | 8 bss = 68:7f:74:c7:f7:75 20 bss = c8:d7:19:06:1b:8f 54 bss = 00:23:69:7e:bc:d3 77 bss = 98:fc:11:47:21:32 89 bss = 58:6d:8f:ff:18:72 115 bss = 20:aa:4b:84:af:b0 138 bss = 20:aa:4b:41:82:b9 147 bss = 20:aa:4b:cd:67:e5 157 bss = c0:c1:c0:8b:87:4f 166 bss = c8:d7:19:64:7f:7c [all …]
|
/external/wpa_supplicant_8/src/common/ |
D | hw_features_common.c | 147 void get_pri_sec_chan(struct wpa_scan_res *bss, int *pri_chan, int *sec_chan) in get_pri_sec_chan() argument 154 ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0); in get_pri_sec_chan() 192 struct wpa_scan_res *bss = scan_res->res[i]; in check_40mhz_5g() local 193 if (bss->freq == pri_freq) in check_40mhz_5g() 195 else if (bss->freq == sec_freq) in check_40mhz_5g() 211 struct wpa_scan_res *bss = scan_res->res[i]; in check_40mhz_5g() local 212 get_pri_sec_chan(bss, &bss_pri_chan, &bss_sec_chan); in check_40mhz_5g() 221 struct wpa_scan_res *bss = scan_res->res[i]; in check_40mhz_5g() local 222 get_pri_sec_chan(bss, &bss_pri_chan, &bss_sec_chan); in check_40mhz_5g() 228 MAC2STR(bss->bssid)); in check_40mhz_5g() [all …]
|
/external/iw/ |
D | link.c | 28 struct nlattr *bss[NL80211_BSS_MAX + 1]; in link_bss_handler() local 50 if (nla_parse_nested(bss, NL80211_BSS_MAX, in link_bss_handler() 57 if (!bss[NL80211_BSS_BSSID]) in link_bss_handler() 60 if (!bss[NL80211_BSS_STATUS]) in link_bss_handler() 63 mac_addr_n2a(mac_addr, nla_data(bss[NL80211_BSS_BSSID])); in link_bss_handler() 66 switch (nla_get_u32(bss[NL80211_BSS_STATUS])) { in link_bss_handler() 82 if (bss[NL80211_BSS_INFORMATION_ELEMENTS]) in link_bss_handler() 83 print_ies(nla_data(bss[NL80211_BSS_INFORMATION_ELEMENTS]), in link_bss_handler() 84 nla_len(bss[NL80211_BSS_INFORMATION_ELEMENTS]), in link_bss_handler() 87 if (bss[NL80211_BSS_FREQUENCY]) in link_bss_handler() [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/llvm/test/CodeGen/X86/ |
D | coff-comdat.ll | 76 ; CHECK: .section .bss,"bw",associative,_f1 78 ; CHECK: .section .bss,"bw",associative,_f2 80 ; CHECK: .section .bss,"bw",associative,_f3 82 ; CHECK: .section .bss,"bw",associative,_f4 84 ; CHECK: .section .bss,"bw",associative,_f5 86 ; CHECK: .section .bss,"bw",associative,_f6 88 ; CHECK: .section .bss,"bw",same_size,_f6
|