/external/wpa_supplicant_8/wpa_supplicant/ |
D | bss.c | 34 static void wpa_bss_set_hessid(struct wpa_bss *bss) in wpa_bss_set_hessid() argument 37 const u8 *ie = wpa_bss_get_ie(bss, WLAN_EID_INTERWORKING); in wpa_bss_set_hessid() 39 os_memset(bss->hessid, 0, ETH_ALEN); in wpa_bss_set_hessid() 43 os_memcpy(bss->hessid, ie + 3, ETH_ALEN); in wpa_bss_set_hessid() 45 os_memcpy(bss->hessid, ie + 5, ETH_ALEN); in wpa_bss_set_hessid() 122 int wpa_bss_anqp_unshare_alloc(struct wpa_bss *bss) in wpa_bss_anqp_unshare_alloc() argument 126 if (bss->anqp && bss->anqp->users > 1) { in wpa_bss_anqp_unshare_alloc() 128 anqp = wpa_bss_anqp_clone(bss->anqp); in wpa_bss_anqp_unshare_alloc() 132 bss->anqp->users--; in wpa_bss_anqp_unshare_alloc() 133 bss->anqp = anqp; in wpa_bss_anqp_unshare_alloc() [all …]
|
D | ap.c | 277 struct hostapd_bss_config *bss = conf->bss[0]; in wpa_supplicant_conf_ap() local 281 os_strlcpy(bss->iface, wpa_s->ifname, sizeof(bss->iface)); in wpa_supplicant_conf_ap() 291 bss->pbss = ssid->pbss; in wpa_supplicant_conf_ap() 345 bss->isolate = !wpa_s->conf->p2p_intra_bss; in wpa_supplicant_conf_ap() 346 bss->force_per_enrollee_psk = wpa_s->global->p2p_per_sta_psk; in wpa_supplicant_conf_ap() 349 os_memcpy(bss->ip_addr_go, wpa_s->p2pdev->conf->ip_addr_go, 4); in wpa_supplicant_conf_ap() 350 os_memcpy(bss->ip_addr_mask, wpa_s->p2pdev->conf->ip_addr_mask, in wpa_supplicant_conf_ap() 352 os_memcpy(bss->ip_addr_start, in wpa_supplicant_conf_ap() 354 os_memcpy(bss->ip_addr_end, wpa_s->p2pdev->conf->ip_addr_end, in wpa_supplicant_conf_ap() 363 os_memcpy(bss->ssid.ssid, ssid->ssid, 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, 230 static int additional_roaming_consortiums(struct wpa_bss *bss) in additional_roaming_consortiums() argument 233 ie = wpa_bss_get_ie(bss, WLAN_EID_ROAMING_CONSORTIUM); in additional_roaming_consortiums() 248 struct wpa_bss *bss) in interworking_anqp_send_req() argument 259 MAC2STR(bss->bssid)); in interworking_anqp_send_req() 260 wpa_s->interworking_gas_bss = bss; in interworking_anqp_send_req() 268 additional_roaming_consortiums(bss))) in interworking_anqp_send_req() 284 if (wpa_bss_get_vendor_ie(bss, HS20_IE_VENDOR_TYPE)) { in interworking_anqp_send_req() 319 res = gas_query_req(wpa_s->gas, bss->bssid, bss->freq, 0, buf, in interworking_anqp_send_req() [all …]
|
D | bss.h | 119 void wpa_bss_remove(struct wpa_supplicant *wpa_s, struct wpa_bss *bss, 138 const u8 * wpa_bss_get_ie(const struct wpa_bss *bss, u8 ie); 139 const u8 * wpa_bss_get_vendor_ie(const struct wpa_bss *bss, u32 vendor_type); 140 const u8 * wpa_bss_get_vendor_ie_beacon(const struct wpa_bss *bss, 142 struct wpabuf * wpa_bss_get_vendor_ie_multi(const struct wpa_bss *bss, 144 struct wpabuf * wpa_bss_get_vendor_ie_multi_beacon(const struct wpa_bss *bss, 146 int wpa_bss_get_max_rate(const struct wpa_bss *bss); 147 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates); 149 int wpa_bss_anqp_unshare_alloc(struct wpa_bss *bss); 150 const u8 * wpa_bss_get_fils_cache_id(struct wpa_bss *bss); [all …]
|
D | mesh.c | 137 static void wpas_mesh_copy_groups(struct hostapd_data *bss, in wpas_mesh_copy_groups() argument 148 bss->conf->sae_groups = os_malloc(groups_size); in wpas_mesh_copy_groups() 149 if (bss->conf->sae_groups) in wpas_mesh_copy_groups() 150 os_memcpy(bss->conf->sae_groups, wpa_s->conf->sae_groups, in wpas_mesh_copy_groups() 159 struct hostapd_data *bss = ifmsh->bss[0]; in wpas_mesh_init_rsn() local 173 bss->conf->wpa = ssid->proto; in wpas_mesh_init_rsn() 174 bss->conf->wpa_key_mgmt = ssid->key_mgmt; in wpas_mesh_init_rsn() 177 wpas_mesh_copy_groups(bss, wpa_s); in wpas_mesh_init_rsn() 179 bss->conf->sae_groups = os_memdup(default_groups, in wpas_mesh_init_rsn() 181 if (!bss->conf->sae_groups) in wpas_mesh_init_rsn() [all …]
|
D | events.c | 138 struct wpa_bss *bss = NULL; in wpa_supplicant_get_new_bss() local 142 bss = wpa_bss_get(wpa_s, bssid, ssid->ssid, ssid->ssid_len); in wpa_supplicant_get_new_bss() 143 if (!bss) in wpa_supplicant_get_new_bss() 144 bss = wpa_bss_get_bssid(wpa_s, bssid); in wpa_supplicant_get_new_bss() 146 return bss; in wpa_supplicant_get_new_bss() 152 struct wpa_bss *bss = wpa_supplicant_get_new_bss(wpa_s, wpa_s->bssid); in wpa_supplicant_update_current_bss() local 154 if (!bss) { in wpa_supplicant_update_current_bss() 158 bss = wpa_supplicant_get_new_bss(wpa_s, wpa_s->bssid); in wpa_supplicant_update_current_bss() 161 if (bss) in wpa_supplicant_update_current_bss() 162 wpa_s->current_bss = bss; in wpa_supplicant_update_current_bss() [all …]
|
D | wnm_sta.c | 515 struct wpa_bss *bss = wpa_s->current_bss; in wnm_nei_get_chan() local 519 if (bss) { in wnm_nei_get_chan() 520 const u8 *elem = wpa_bss_get_ie(bss, WLAN_EID_COUNTRY); in wnm_nei_get_chan() 709 struct wpa_bss *bss = wpa_s->current_bss; in compare_scan_neighbor_results() local 712 if (!bss) in compare_scan_neighbor_results() 716 MAC2STR(wpa_s->bssid), bss->level); in compare_scan_neighbor_results() 753 if (bss->ssid_len != target->ssid_len || in compare_scan_neighbor_results() 754 os_memcmp(bss->ssid, target->ssid, bss->ssid_len) != 0) { in compare_scan_neighbor_results() 786 if (target->level < bss->level && target->level < -80) { in compare_scan_neighbor_results() 836 static u32 wnm_get_bss_info(struct wpa_supplicant *wpa_s, struct wpa_bss *bss) in wnm_get_bss_info() argument [all …]
|
D | hs20_supplicant.c | 70 struct wpa_bss *bss = wpa_s->current_bss; in hs20_configure_frame_filters() local 76 if (!bss || !is_hs20_network(wpa_s, wpa_s->current_ssid, bss)) { in hs20_configure_frame_filters() 83 ie = wpa_bss_get_vendor_ie(bss, HS20_IE_VENDOR_TYPE); in hs20_configure_frame_filters() 92 ext_capa = wpa_bss_get_ie(bss, WLAN_EID_EXT_CAPAB); in hs20_configure_frame_filters() 99 if (wpa_bss_ext_capab(bss, WLAN_EXT_CAPAB_PROXY_ARP)) in hs20_configure_frame_filters() 147 int get_hs20_version(struct wpa_bss *bss) in get_hs20_version() argument 151 if (!bss) in get_hs20_version() 154 ie = wpa_bss_get_vendor_ie(bss, HS20_IE_VENDOR_TYPE); in get_hs20_version() 163 struct wpa_bss *bss) in is_hs20_network() argument 171 if (bss && !wpa_bss_get_vendor_ie(bss, HS20_IE_VENDOR_TYPE)) in is_hs20_network() [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | ap_config.c | 25 static void hostapd_config_free_vlan(struct hostapd_bss_config *bss) in hostapd_config_free_vlan() argument 29 vlan = bss->vlan; in hostapd_config_free_vlan() 37 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 dl_list_init(&bss->anqp_elem); in hostapd_config_defaults_bss() 49 bss->logger_syslog_level = HOSTAPD_LEVEL_INFO; in hostapd_config_defaults_bss() 50 bss->logger_stdout_level = HOSTAPD_LEVEL_INFO; in hostapd_config_defaults_bss() 51 bss->logger_syslog = (unsigned int) -1; in hostapd_config_defaults_bss() 52 bss->logger_stdout = (unsigned int) -1; in hostapd_config_defaults_bss() 54 bss->auth_algs = WPA_AUTH_ALG_OPEN | WPA_AUTH_ALG_SHARED; in hostapd_config_defaults_bss() [all …]
|
D | hostapd.c | 166 hostapd_flush_old_stations(iface->bss[j], in hostapd_clear_old() 168 hostapd_broadcast_wep_clear(iface->bss[j]); in hostapd_clear_old() 173 radius_client_flush(iface->bss[j]->radius, 0); in hostapd_clear_old() 188 if (os_strcmp(newconf->bss[i]->iface, in hostapd_iface_conf_changed() 189 oldconf->bss[i]->iface) != 0) in hostapd_iface_conf_changed() 200 struct hostapd_data *hapd = iface->bss[0]; in hostapd_reload_config() 208 hostapd_reload_bss(iface->bss[j]); in hostapd_reload_config() 254 hapd = iface->bss[j]; in hostapd_reload_config() 268 hapd->conf = newconf->bss[j]; in hostapd_reload_config() 516 os_free(iface->bss); in hostapd_cleanup_iface() [all …]
|
/external/wpa_supplicant_8/hostapd/ |
D | config_file.c | 36 static int hostapd_config_read_vlan_file(struct hostapd_bss_config *bss, in hostapd_config_read_vlan_file() argument 116 vlan->next = bss->vlan; in hostapd_config_read_vlan_file() 117 bss->vlan = vlan; in hostapd_config_read_vlan_file() 733 static int hostapd_parse_das_client(struct hostapd_bss_config *bss, char *val) in hostapd_parse_das_client() argument 743 if (hostapd_parse_ip_addr(val, &bss->radius_das_client_addr)) in hostapd_parse_das_client() 746 os_free(bss->radius_das_shared_secret); in hostapd_parse_das_client() 747 bss->radius_das_shared_secret = (u8 *) os_strdup(secret); in hostapd_parse_das_client() 748 if (bss->radius_das_shared_secret == NULL) in hostapd_parse_das_client() 750 bss->radius_das_shared_secret_len = os_strlen(secret); in hostapd_parse_das_client() 986 struct hostapd_bss_config **all, *bss; in hostapd_config_bss() local [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211.c | 199 static void wpa_driver_nl80211_deinit(struct i802_bss *bss); 200 static int wpa_driver_nl80211_set_mode_ibss(struct i802_bss *bss, 207 static int nl80211_send_frame_cmd(struct i802_bss *bss, 212 static int wpa_driver_nl80211_probe_req_report(struct i802_bss *bss, 224 static int nl80211_set_channel(struct i802_bss *bss, 232 static int i802_set_iface_flags(struct i802_bss *bss, int up); 287 struct i802_bss *bss; in get_bss_ifindex() local 289 for (bss = drv->first_bss; bss; bss = bss->next) { in get_bss_ifindex() 290 if (bss->ifindex == ifindex) in get_bss_ifindex() 291 return bss; in get_bss_ifindex() [all …]
|
D | driver_nl80211_scan.c | 89 static int nl80211_abort_scan(struct i802_bss *bss) in nl80211_abort_scan() argument 93 struct wpa_driver_nl80211_data *drv = bss->drv; in nl80211_abort_scan() 96 msg = nl80211_cmd_msg(bss, 0, NL80211_CMD_ABORT_SCAN); in nl80211_abort_scan() 181 nl80211_scan_common(struct i802_bss *bss, u8 cmd, in nl80211_scan_common() argument 184 struct wpa_driver_nl80211_data *drv = bss->drv; in nl80211_scan_common() 189 msg = nl80211_cmd_msg(bss, 0, cmd); in nl80211_scan_common() 318 int wpa_driver_nl80211_scan(struct i802_bss *bss, in wpa_driver_nl80211_scan() argument 321 struct wpa_driver_nl80211_data *drv = bss->drv; in wpa_driver_nl80211_scan() 331 msg = nl80211_scan_common(bss, NL80211_CMD_TRIGGER_SCAN, params); in wpa_driver_nl80211_scan() 379 bss, NL80211_IFTYPE_STATION)) in wpa_driver_nl80211_scan() [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()
|
/external/autotest/server/cros/ |
D | ap_config.py | 43 for bss in ap_config.sections(): 44 aps.append(AP(bss, ap_config)) 85 def __init__(self, bss, config): argument 93 if not config.has_section(bss): 94 raise APSectionError('BSS (%s) not defined.' % bss) 95 self.bss = bss 101 return self.ap_config.get(self.bss, self.CONF_SSID) 106 return self.ap_config.get(self.bss, self.CONF_BRAND) 111 return self.ap_config.get(self.bss, self.CONF_MODEL) 116 return self.ap_config.get(self.bss, self.CONF_WAN_MAC) [all …]
|
D | casey_chromeos7_ap_list.conf | 11 bss = f8:7b:8c:16:58:23 24 bss = f0:79:59:e7:41:08 50 bss = 14:dd:a9:9a:97:08 76 bss = 30:5a:3a:c7:a1:08 102 bss = 30:5a:3a:6e:88:40 128 bss = ec:1a:59:97:a8:30 154 bss = 00:22:75:49:3e:29 167 bss = 10:6f:3f:da:b2:a9 180 bss = b0:c7:45:6d:77:93 193 bss = 00:24:a5:b5:a3:17 [all …]
|
D | chaos_ap_list.conf | 101 bss = 50:46:5D:5C:D7:28 127 bss = 10:bf:48:e7:2e:88 140 bss = 00:22:75:a2:3b:08 157 bss = 94:44:52:18:f0:a7 170 bss = 08:86:3b:b3:50:c4 196 bss = 10:6f:3f:f6:89:10 235 bss = c0:c1:c0:8b:59:8b 248 bss = 68:7f:74:0a:97:bc 276 bss = 68:7f:74:31:6a:ae 289 bss = 84:c9:b2:50:9a:c7 [all …]
|
/external/wpa_supplicant_8/src/common/ |
D | hw_features_common.c | 156 void get_pri_sec_chan(struct wpa_scan_res *bss, int *pri_chan, int *sec_chan) in get_pri_sec_chan() argument 163 ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0); in get_pri_sec_chan() 201 struct wpa_scan_res *bss = scan_res->res[i]; in check_40mhz_5g() local 202 if (bss->freq == pri_freq) in check_40mhz_5g() 204 else if (bss->freq == sec_freq) in check_40mhz_5g() 220 struct wpa_scan_res *bss = scan_res->res[i]; in check_40mhz_5g() local 221 get_pri_sec_chan(bss, &bss_pri_chan, &bss_sec_chan); in check_40mhz_5g() 230 struct wpa_scan_res *bss = scan_res->res[i]; in check_40mhz_5g() local 231 get_pri_sec_chan(bss, &bss_pri_chan, &bss_sec_chan); in check_40mhz_5g() 237 MAC2STR(bss->bssid)); in check_40mhz_5g() [all …]
|
/external/toolchain-utils/binary_search_tool/test/ |
D | binary_search_tool_tester.py | 202 bss = binary_search_state.MockBinarySearchState() 204 bss.SaveState() 219 bss = binary_search_state.MockBinarySearchState() 220 bss.SaveState() 224 bss.SaveState() 230 bss.RemoveState() 237 bss = binary_search_state.MockBinarySearchState() 238 bss.all_items = test_items 239 bss.currently_good_items = set([1, 2, 3]) 240 bss.currently_bad_items = set([4, 5]) [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/autotest/server/site_tests/network_WiFi_Prefer5Ghz/ |
D | network_WiFi_Prefer5Ghz.py | 56 bss_list = filter(lambda bss: bss.ssid == ssid, bss_list_full) 57 for bss in bss_list: 58 signal_strengths[bss.frequency] = bss.signal 59 logging.info('Freq: %d Signal: %d' , bss.frequency, bss.signal)
|
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/ |
D | convert.ll | 61 ; CHECK-DAG: ds:0x{{.}},{{.*}}{{i64v|.bss}} 62 ; CHECK-DAG: ds:0x{{.}},{{.*}}{{i64v|.bss}} 118 ; CHECK: 0x{{.}} {{.*}}{{i16v|.bss}} 120 ; CHECK: 0x{{.}},{{.*}}{{i32v|.bss}} 123 ; CHECK: 0x{{.}},{{.*}}{{i64v|.bss}} 174 ; CHECK: 0x{{.}} {{.*}} {{i32v|.bss}} 175 ; CHECK: 0x{{.}},{{.*}} {{i8v|.bss}} 176 ; CHECK: 0x{{.}},{{.*}} {{i16v|.bss}} 178 ; CHECK: 0x{{.}},{{.*}} {{i64v|.bss}} 223 ; CHECK: 0x{{.}} {{.*}} {{i64v|.bss}} [all …]
|
/external/boringssl/src/util/fipstools/delocate/testdata/x86_64-BSS/ |
D | in.s | 8 # BSS symbols may also be emitted in .bss sections. 9 .section .bss,"awT",@nobits 20 # .bss handling is terminated by a .text directive. 22 .section .bss,"awT",@nobits 31 .section .bss,"awT",@nobits
|
/external/u-boot/arch/powerpc/cpu/mpc85xx/ |
D | u-boot.lds | 24 bss PT_LOAD; 105 * Make sure that the bss segment isn't linked at 0x0, otherwise its 107 * this is a temporary fix. Code to dynamically the fixup the bss 108 * location will be added in the future. When the bss relocation 117 .bss (NOLOAD) : 120 *(.bss*) 122 } :bss
|