Home
last modified time | relevance | path

Searched refs:bss (Results 1 – 25 of 136) sorted by relevance

123456

/external/wpa_supplicant_8/wpa_supplicant/
Dbss.c38 static void wpa_bss_set_hessid(struct wpa_bss *bss) in wpa_bss_set_hessid() argument
41 const u8 *ie = wpa_bss_get_ie(bss, WLAN_EID_INTERWORKING); in wpa_bss_set_hessid()
43 os_memset(bss->hessid, 0, ETH_ALEN); in wpa_bss_set_hessid()
47 os_memcpy(bss->hessid, ie + 3, ETH_ALEN); in wpa_bss_set_hessid()
49 os_memcpy(bss->hessid, ie + 5, ETH_ALEN); in wpa_bss_set_hessid()
116 int wpa_bss_anqp_unshare_alloc(struct wpa_bss *bss) in wpa_bss_anqp_unshare_alloc() argument
120 if (bss->anqp && bss->anqp->users > 1) { in wpa_bss_anqp_unshare_alloc()
122 anqp = wpa_bss_anqp_clone(bss->anqp); in wpa_bss_anqp_unshare_alloc()
126 bss->anqp->users--; in wpa_bss_anqp_unshare_alloc()
127 bss->anqp = anqp; in wpa_bss_anqp_unshare_alloc()
[all …]
Dap.c48 struct hostapd_bss_config *bss = &conf->bss[0]; in wpa_supplicant_conf_ap() local
52 os_strlcpy(bss->iface, wpa_s->ifname, sizeof(bss->iface)); in wpa_supplicant_conf_ap()
160 bss->isolate = !wpa_s->conf->p2p_intra_bss; in wpa_supplicant_conf_ap()
167 os_memcpy(bss->ssid.ssid, ssid->ssid, ssid->ssid_len); in wpa_supplicant_conf_ap()
168 bss->ssid.ssid_len = ssid->ssid_len; in wpa_supplicant_conf_ap()
169 bss->ssid.ssid_set = 1; in wpa_supplicant_conf_ap()
171 bss->ignore_broadcast_ssid = ssid->ignore_broadcast_ssid; in wpa_supplicant_conf_ap()
174 bss->auth_algs = ssid->auth_alg; in wpa_supplicant_conf_ap()
177 bss->wpa = ssid->proto; in wpa_supplicant_conf_ap()
178 bss->wpa_key_mgmt = ssid->key_mgmt; in wpa_supplicant_conf_ap()
[all …]
Dbgscan_learn.c39 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 …]
Dinterworking.c46 struct wpa_supplicant *wpa_s, struct wpa_bss *bss);
48 struct wpa_supplicant *wpa_s, struct wpa_bss *bss);
160 static int additional_roaming_consortiums(struct wpa_bss *bss) in additional_roaming_consortiums() argument
163 ie = wpa_bss_get_ie(bss, WLAN_EID_ROAMING_CONSORTIUM); in additional_roaming_consortiums()
178 struct wpa_bss *bss) in interworking_anqp_send_req() argument
189 MAC2STR(bss->bssid)); in interworking_anqp_send_req()
190 wpa_s->interworking_gas_bss = bss; in interworking_anqp_send_req()
198 additional_roaming_consortiums(bss))) in interworking_anqp_send_req()
212 if (wpa_bss_get_vendor_ie(bss, HS20_IE_VENDOR_TYPE)) { in interworking_anqp_send_req()
241 res = gas_query_req(wpa_s->gas, bss->bssid, bss->freq, buf, in interworking_anqp_send_req()
[all …]
Dbss.h119 const u8 * wpa_bss_get_ie(const struct wpa_bss *bss, u8 ie);
120 const u8 * wpa_bss_get_vendor_ie(const struct wpa_bss *bss, u32 vendor_type);
121 struct wpabuf * wpa_bss_get_vendor_ie_multi(const struct wpa_bss *bss,
123 struct wpabuf * wpa_bss_get_vendor_ie_multi_beacon(const struct wpa_bss *bss,
125 int wpa_bss_get_max_rate(const struct wpa_bss *bss);
126 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates);
128 int wpa_bss_anqp_unshare_alloc(struct wpa_bss *bss);
Devents.c337 static int wpa_supplicant_match_privacy(struct wpa_bss *bss, in wpa_supplicant_match_privacy() argument
366 if (bss->caps & IEEE80211_CAP_PRIVACY) in wpa_supplicant_match_privacy()
374 struct wpa_bss *bss) in wpa_supplicant_ssid_bss_match() argument
382 ret = wpas_wps_ssid_bss_match(wpa_s, ssid, bss); in wpa_supplicant_ssid_bss_match()
392 rsn_ie = wpa_bss_get_ie(bss, WLAN_EID_RSN); in wpa_supplicant_ssid_bss_match()
449 wpa_ie = wpa_bss_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE); in wpa_supplicant_ssid_bss_match()
551 static int rate_match(struct wpa_supplicant *wpa_s, struct wpa_bss *bss) in rate_match() argument
558 if (bss->freq == 0) in rate_match()
574 if (freq == bss->freq) { in rate_match()
589 rate_ie = wpa_bss_get_ie(bss, scan_ie[i]); in rate_match()
[all …]
Dhs20_supplicant.c77 struct wpa_bss *bss; in hs20_anqp_send_req() local
81 bss = wpa_bss_get_bssid(wpa_s, dst); in hs20_anqp_send_req()
82 if (bss) { in hs20_anqp_send_req()
83 wpa_bss_anqp_unshare_alloc(bss); in hs20_anqp_send_req()
84 freq = bss->freq; in hs20_anqp_send_req()
114 struct wpa_bss *bss = wpa_bss_get_bssid(wpa_s, sa); in hs20_parse_rx_hs20_anqp_resp() local
120 if (bss) in hs20_parse_rx_hs20_anqp_resp()
121 anqp = bss->anqp; in hs20_parse_rx_hs20_anqp_resp()
Dsme.c141 struct wpa_bss *bss, struct wpa_ssid *ssid, in sme_send_authentication() argument
157 if (bss == NULL) { in sme_send_authentication()
163 wpa_s->current_bss = bss; in sme_send_authentication()
168 params.freq = bss->freq; in sme_send_authentication()
169 params.bssid = bss->bssid; in sme_send_authentication()
170 params.ssid = bss->ssid; in sme_send_authentication()
171 params.ssid_len = bss->ssid_len; in sme_send_authentication()
205 rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN); in sme_send_authentication()
225 os_memcpy(wpa_s->pending_bssid, bss->bssid, ETH_ALEN); in sme_send_authentication()
229 if ((wpa_bss_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE) || in sme_send_authentication()
[all …]
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c29 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()
572 static int hostapd_parse_das_client(struct hostapd_bss_config *bss, in hostapd_parse_das_client() argument
583 if (hostapd_parse_ip_addr(val, &bss->radius_das_client_addr)) in hostapd_parse_das_client()
586 os_free(bss->radius_das_shared_secret); in hostapd_parse_das_client()
587 bss->radius_das_shared_secret = (u8 *) os_strdup(secret); in hostapd_parse_das_client()
588 if (bss->radius_das_shared_secret == NULL) in hostapd_parse_das_client()
[all …]
Dmain.c180 hapd_iface->bss = os_calloc(conf->num_bss, in hostapd_init()
182 if (hapd_iface->bss == NULL) in hostapd_init()
186 hapd = hapd_iface->bss[i] = in hostapd_init()
188 &conf->bss[i]); in hostapd_init()
201 os_free(hapd_iface->bss); in hostapd_init()
212 struct hostapd_data *hapd = iface->bss[0]; in hostapd_driver_init()
257 struct hostapd_data *bss = hapd->iface->bss[i]; in hostapd_driver_init() local
258 if (bss->conf->bridge[0]) in hostapd_driver_init()
259 params.bridge[i] = bss->conf->bridge; in hostapd_driver_init()
300 if (iface->bss[0]->conf->logger_stdout_level > 0) in hostapd_interface_init()
[all …]
/external/wpa_supplicant_8/src/ap/
Dap_config.c23 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 …]
Dhostapd.c120 hostapd_flush_old_stations(iface->bss[j], in hostapd_clear_old()
122 hostapd_broadcast_wep_clear(iface->bss[j]); in hostapd_clear_old()
127 radius_client_flush(iface->bss[j]->radius, 0); in hostapd_clear_old()
135 struct hostapd_data *hapd = iface->bss[0]; in hostapd_reload_config()
143 hostapd_reload_bss(iface->bss[j]); in hostapd_reload_config()
160 hapd = iface->bss[j]; in hostapd_reload_config()
162 hapd->conf = &newconf->bss[j]; in hostapd_reload_config()
357 os_free(iface->bss); in hostapd_cleanup_iface()
440 struct hostapd_data *hapd = iface->bss[0]; in hostapd_validate_bssid_configuration()
456 if (hostapd_mac_comp_empty(iface->conf->bss[j].bssid) == 0) { in hostapd_validate_bssid_configuration()
[all …]
Dhw_features.c49 struct hostapd_data *hapd = iface->bss[0]; in hostapd_get_hw_features()
261 static void ieee80211n_get_pri_sec_chan(struct wpa_scan_res *bss, in ieee80211n_get_pri_sec_chan() argument
269 ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0); in ieee80211n_get_pri_sec_chan()
296 pri_freq = hostapd_hw_get_freq(iface->bss[0], pri_chan); in ieee80211n_check_40mhz_5g()
308 struct wpa_scan_res *bss = scan_res->res[i]; in ieee80211n_check_40mhz_5g() local
309 if (bss->freq == pri_freq) in ieee80211n_check_40mhz_5g()
311 else if (bss->freq == sec_freq) in ieee80211n_check_40mhz_5g()
328 struct wpa_scan_res *bss = scan_res->res[i]; in ieee80211n_check_40mhz_5g() local
329 ieee80211n_get_pri_sec_chan(bss, &bss_pri_chan, &bss_sec_chan); in ieee80211n_check_40mhz_5g()
338 struct wpa_scan_res *bss = scan_res->res[i]; in ieee80211n_check_40mhz_5g() local
[all …]
Dwps_hostapd.c60 struct hostapd_data *hapd = iface->bss[j]; in wps_for_each()
292 struct hostapd_bss_config *bss = hapd->conf; in hapd_wps_reconfig_in_memory() local
296 bss->wps_state = 2; in hapd_wps_reconfig_in_memory()
298 os_memcpy(bss->ssid.ssid, cred->ssid, cred->ssid_len); in hapd_wps_reconfig_in_memory()
299 bss->ssid.ssid_len = cred->ssid_len; in hapd_wps_reconfig_in_memory()
300 bss->ssid.ssid_set = 1; in hapd_wps_reconfig_in_memory()
305 bss->wpa = 3; in hapd_wps_reconfig_in_memory()
307 bss->wpa = 2; in hapd_wps_reconfig_in_memory()
309 bss->wpa = 1; in hapd_wps_reconfig_in_memory()
311 bss->wpa = 0; in hapd_wps_reconfig_in_memory()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c290 static void wpa_driver_nl80211_deinit(struct i802_bss *bss);
293 static int wpa_driver_nl80211_set_mode(struct i802_bss *bss,
302 static int nl80211_send_frame_cmd(struct i802_bss *bss,
306 static int wpa_driver_nl80211_probe_req_report(struct i802_bss *bss,
309 static int android_pno_start(struct i802_bss *bss,
311 static int android_pno_stop(struct i802_bss *bss);
326 static int wpa_driver_nl80211_if_remove(struct i802_bss *bss,
348 static int wpa_driver_nl80211_set_freq(struct i802_bss *bss,
568 static int nl80211_get_wiphy_index(struct i802_bss *bss) in nl80211_get_wiphy_index() argument
579 nl80211_cmd(bss->drv, msg, 0, NL80211_CMD_GET_INTERFACE); in nl80211_get_wiphy_index()
[all …]
Ddriver_test.c41 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/
Dwpas-dbus-new.py40 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)
Dwpas-dbus-new-signals.py47 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)
Dwpas-dbus-new-wps.py23 def bssAdded(bss, properties): argument
24 print "BSS added: %s" % (bss)
26 def bssRemoved(bss): argument
27 print "BSS removed: %s" % (bss)
/external/qemu/
Dx86_64.ld36 .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. */
Dm68k.ld30 *(.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. */
Dia64.ld46 .rel.bss : { *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) }
47 .rela.bss : { *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) }
161 .bss :
163 . += 0x400000; /* ensure .bss stuff is out of reach of gp */
165 *(.bss .bss.* .gnu.linkonce.b.*)
167 /* Align here to ensure that the .bss section occupies space up to
168 _end. Align after .bss to ensure correct alignment even if the
169 .bss section disappears because there are no input sections. */
Dppc.ld50 .rel.bss : { *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) }
51 .rela.bss : { *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) }
175 .bss :
178 *(.bss .bss.* .gnu.linkonce.b.*)
180 /* Align here to ensure that the .bss section occupies space up to
181 _end. Align after .bss to ensure correct alignment even if the
182 .bss section disappears because there are no input sections.
183 FIXME: Why do we need it? When there is no .bss section, we don't
Dalpha.ld38 .rel.bss : { *(.rel.bss) }
39 .rela.bss : { *(.rela.bss) }
85 .bss :
88 *(.bss)
/external/llvm/test/MC/ELF/
Delf_directive_previous.s3 .bss
4 # CHECK: .bss
10 # CHECK: .bss

123456