/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 | 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 | ap.c | 299 struct hostapd_bss_config *bss = conf->bss[0]; in wpa_supplicant_conf_ap() local 303 os_strlcpy(bss->iface, wpa_s->ifname, sizeof(bss->iface)); in wpa_supplicant_conf_ap() 313 bss->pbss = ssid->pbss; in wpa_supplicant_conf_ap() 367 bss->isolate = !wpa_s->conf->p2p_intra_bss; in wpa_supplicant_conf_ap() 368 bss->extended_key_id = wpa_s->conf->extended_key_id; in wpa_supplicant_conf_ap() 369 bss->force_per_enrollee_psk = wpa_s->global->p2p_per_sta_psk; in wpa_supplicant_conf_ap() 370 bss->wpa_deny_ptk0_rekey = ssid->wpa_deny_ptk0_rekey; in wpa_supplicant_conf_ap() 373 os_memcpy(bss->ip_addr_go, wpa_s->p2pdev->conf->ip_addr_go, 4); in wpa_supplicant_conf_ap() 374 os_memcpy(bss->ip_addr_mask, wpa_s->p2pdev->conf->ip_addr_mask, in wpa_supplicant_conf_ap() 376 os_memcpy(bss->ip_addr_start, in wpa_supplicant_conf_ap() [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, 0, buf, in interworking_anqp_send_req() [all …]
|
D | bss.h | 120 void wpa_bss_remove(struct wpa_supplicant *wpa_s, struct wpa_bss *bss, 139 const u8 * wpa_bss_get_ie(const struct wpa_bss *bss, u8 ie); 140 const u8 * wpa_bss_get_vendor_ie(const struct wpa_bss *bss, u32 vendor_type); 141 const u8 * wpa_bss_get_vendor_ie_beacon(const struct wpa_bss *bss, 143 struct wpabuf * wpa_bss_get_vendor_ie_multi(const struct wpa_bss *bss, 145 struct wpabuf * wpa_bss_get_vendor_ie_multi_beacon(const struct wpa_bss *bss, 147 int wpa_bss_get_max_rate(const struct wpa_bss *bss); 148 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates); 150 int wpa_bss_anqp_unshare_alloc(struct wpa_bss *bss); 151 const u8 * wpa_bss_get_fils_cache_id(struct wpa_bss *bss); [all …]
|
D | mesh.c | 141 static void wpas_mesh_copy_groups(struct hostapd_data *bss, in wpas_mesh_copy_groups() argument 152 bss->conf->sae_groups = os_malloc(groups_size); in wpas_mesh_copy_groups() 153 if (bss->conf->sae_groups) in wpas_mesh_copy_groups() 154 os_memcpy(bss->conf->sae_groups, wpa_s->conf->sae_groups, in wpas_mesh_copy_groups() 163 struct hostapd_data *bss = ifmsh->bss[0]; in wpas_mesh_init_rsn() local 177 bss->conf->wpa = ssid->proto; in wpas_mesh_init_rsn() 178 bss->conf->wpa_key_mgmt = ssid->key_mgmt; in wpas_mesh_init_rsn() 181 wpas_mesh_copy_groups(bss, wpa_s); in wpas_mesh_init_rsn() 183 bss->conf->sae_groups = os_memdup(default_groups, in wpas_mesh_init_rsn() 185 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 …]
|
/external/wpa_supplicant_8/src/ap/ |
D | ap_config.c | 28 static void hostapd_config_free_vlan(struct hostapd_bss_config *bss) in hostapd_config_free_vlan() argument 32 vlan = bss->vlan; in hostapd_config_free_vlan() 40 bss->vlan = NULL; in hostapd_config_free_vlan() 48 void hostapd_config_defaults_bss(struct hostapd_bss_config *bss) in hostapd_config_defaults_bss() argument 50 dl_list_init(&bss->anqp_elem); in hostapd_config_defaults_bss() 52 bss->logger_syslog_level = HOSTAPD_LEVEL_INFO; in hostapd_config_defaults_bss() 53 bss->logger_stdout_level = HOSTAPD_LEVEL_INFO; in hostapd_config_defaults_bss() 54 bss->logger_syslog = (unsigned int) -1; in hostapd_config_defaults_bss() 55 bss->logger_stdout = (unsigned int) -1; in hostapd_config_defaults_bss() 58 bss->auth_algs = WPA_AUTH_ALG_OPEN | WPA_AUTH_ALG_SHARED; in hostapd_config_defaults_bss() [all …]
|
D | airtime_policy.c | 132 struct hostapd_data *bss; in update_airtime_weights() local 143 bss = iface->bss[i]; in update_airtime_weights() 144 if (!bss->started || !bss->conf->airtime_weight) in update_airtime_weights() 147 count_backlogged_sta(bss); in update_airtime_weights() 148 if (!bss->num_backlogged_sta) in update_airtime_weights() 151 if (!num_sta_min || bss->num_backlogged_sta < num_sta_min) in update_airtime_weights() 152 num_sta_min = bss->num_backlogged_sta; in update_airtime_weights() 154 num_sta_prod *= bss->num_backlogged_sta; in update_airtime_weights() 155 num_sta_sum += bss->num_backlogged_sta; in update_airtime_weights() 156 wt_sum += bss->conf->airtime_weight; in update_airtime_weights() [all …]
|
D | hostapd.c | 179 hostapd_flush_old_stations(iface->bss[j], in hostapd_clear_old() 182 hostapd_broadcast_wep_clear(iface->bss[j]); in hostapd_clear_old() 188 radius_client_flush(iface->bss[j]->radius, 0); in hostapd_clear_old() 203 if (os_strcmp(newconf->bss[i]->iface, in hostapd_iface_conf_changed() 204 oldconf->bss[i]->iface) != 0) in hostapd_iface_conf_changed() 215 struct hostapd_data *hapd = iface->bss[0]; in hostapd_reload_config() 223 hostapd_reload_bss(iface->bss[j]); in hostapd_reload_config() 269 hapd = iface->bss[j]; in hostapd_reload_config() 286 hapd->conf = newconf->bss[j]; in hostapd_reload_config() 535 os_free(iface->bss); in hostapd_cleanup_iface() [all …]
|
/external/wpa_supplicant_8/hostapd/ |
D | config_file.c | 28 static int hostapd_config_read_vlan_file(struct hostapd_bss_config *bss, in hostapd_config_read_vlan_file() argument 108 vlan->next = bss->vlan; in hostapd_config_read_vlan_file() 109 bss->vlan = vlan; in hostapd_config_read_vlan_file() 656 static int hostapd_parse_das_client(struct hostapd_bss_config *bss, char *val) in hostapd_parse_das_client() argument 666 if (hostapd_parse_ip_addr(val, &bss->radius_das_client_addr)) in hostapd_parse_das_client() 669 os_free(bss->radius_das_shared_secret); in hostapd_parse_das_client() 670 bss->radius_das_shared_secret = (u8 *) os_strdup(secret); in hostapd_parse_das_client() 671 if (bss->radius_das_shared_secret == NULL) in hostapd_parse_das_client() 673 bss->radius_das_shared_secret_len = os_strlen(secret); in hostapd_parse_das_client() 909 struct hostapd_bss_config **all, *bss; in hostapd_config_bss() local [all …]
|
/external/autotest/server/cros/ |
D | ap_config.py | 40 for bss in ap_config.sections(): 41 aps.append(AP(bss, ap_config)) 86 def __init__(self, bss, config): argument 94 if not config.has_section(bss): 95 raise APSectionError('BSS (%s) not defined.' % bss) 96 self.bss = bss 102 return self.ap_config.get(self.bss, self.CONF_SSID) 107 return self.ap_config.get(self.bss, self.CONF_BRAND) 112 return self.ap_config.get(self.bss, self.CONF_MODEL) 117 return self.ap_config.get(self.bss, self.CONF_WAN_MAC) [all …]
|
D | chaos_ap_list.conf | 21 bss = 40:b0:76:c0:34:00 36 bss = 40:b0:76:c0:34:04 51 bss = 40:b0:76:c0:34:08 79 bss = 14:59:c0:a8:fc:47 94 bss = 14:59:c0:a8:fc:49 174 bss = 50:46:5D:5C:D7:28 204 bss = 10:bf:48:e7:2e:88 219 bss = 00:22:75:a2:3b:08 234 bss = 0c:9d:92:02:40:f1 249 bss = 0c:9d:92:02:40:f4 [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211.c | 157 static void wpa_driver_nl80211_deinit(struct i802_bss *bss); 158 static int wpa_driver_nl80211_set_mode_ibss(struct i802_bss *bss, 165 static int nl80211_send_frame_cmd(struct i802_bss *bss, 171 static int wpa_driver_nl80211_probe_req_report(struct i802_bss *bss, 183 static int nl80211_set_channel(struct i802_bss *bss, 191 static int i802_set_iface_flags(struct i802_bss *bss, int up); 246 struct i802_bss *bss; in get_bss_ifindex() local 248 for (bss = drv->first_bss; bss; bss = bss->next) { in get_bss_ifindex() 249 if (bss->ifindex == ifindex) in get_bss_ifindex() 250 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() 178 nl80211_scan_common(struct i802_bss *bss, u8 cmd, in nl80211_scan_common() argument 181 struct wpa_driver_nl80211_data *drv = bss->drv; in nl80211_scan_common() 186 msg = nl80211_cmd_msg(bss, 0, cmd); in nl80211_scan_common() 320 int wpa_driver_nl80211_scan(struct i802_bss *bss, in wpa_driver_nl80211_scan() argument 323 struct wpa_driver_nl80211_data *drv = bss->drv; in wpa_driver_nl80211_scan() 333 msg = nl80211_scan_common(bss, NL80211_CMD_TRIGGER_SCAN, params); in wpa_driver_nl80211_scan() 381 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/toolchain-utils/binary_search_tool/test/ |
D | binary_search_tool_test.py | 204 bss = binary_search_state.MockBinarySearchState() 206 bss.SaveState() 221 bss = binary_search_state.MockBinarySearchState() 222 bss.SaveState() 226 bss.SaveState() 232 bss.RemoveState() 239 bss = binary_search_state.MockBinarySearchState() 240 bss.all_items = test_items 241 bss.currently_good_items = set([1, 2, 3]) 242 bss.currently_bad_items = set([4, 5]) [all …]
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | rdonly_maps.c | 4 struct bss { struct 33 struct bss bss; in test_rdonly_maps() local 58 memset(&bss, 0, sizeof(bss)); in test_rdonly_maps() 59 err = bpf_map_update_elem(bpf_map__fd(bss_map), &zero, &bss, 0); in test_rdonly_maps() 76 err = bpf_map_lookup_elem(bpf_map__fd(bss_map), &zero, &bss); in test_rdonly_maps() 79 if (CHECK(bss.did_run == 0, "check_run", in test_rdonly_maps() 82 if (CHECK(bss.iters != t->exp_iters, "check_iters", in test_rdonly_maps() 84 t->prog_name, bss.iters, t->exp_iters)) in test_rdonly_maps() 86 if (CHECK(bss.sum != t->exp_sum, "check_sum", in test_rdonly_maps() 88 t->prog_name, bss.sum, t->exp_sum)) in test_rdonly_maps()
|
/external/wpa_supplicant_8/src/common/ |
D | hw_features_common.c | 165 void get_pri_sec_chan(struct wpa_scan_res *bss, int *pri_chan, int *sec_chan) in get_pri_sec_chan() argument 172 ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0); in get_pri_sec_chan() 207 struct wpa_scan_res *bss = scan_res->res[i]; in check_40mhz_5g() local 208 if (bss->freq == pri_chan->freq) in check_40mhz_5g() 210 else if (bss->freq == sec_chan->freq) in check_40mhz_5g() 226 struct wpa_scan_res *bss = scan_res->res[i]; in check_40mhz_5g() local 227 get_pri_sec_chan(bss, &bss_pri_chan, &bss_sec_chan); in check_40mhz_5g() 236 struct wpa_scan_res *bss = scan_res->res[i]; in check_40mhz_5g() local 237 get_pri_sec_chan(bss, &bss_pri_chan, &bss_sec_chan); in check_40mhz_5g() 243 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/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/arm-trusted-firmware/plat/marvell/a8k/common/ble/ |
D | ble.ld.S | 49 .bss : { 51 *(.bss*) 62 .fill LOADADDR(.bss) + SIZEOF(.bss) : { 75 __BSS_SIZE__ = SIZEOF(.bss);
|
/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/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/u-boot/arch/powerpc/cpu/mpc85xx/ |
D | u-boot.lds | 24 bss PT_LOAD; 106 * Make sure that the bss segment isn't linked at 0x0, otherwise its 108 * this is a temporary fix. Code to dynamically the fixup the bss 109 * location will be added in the future. When the bss relocation 118 .bss (NOLOAD) : 121 *(.bss*) 123 } :bss
|