Searched defs:bss (Results 1 - 25 of 57) sorted by relevance

123

/external/elfutils/tests/
H A Dtest-nlist.c33 int bss; variable
48 [1] = { .n_name = "bss" },
/external/wpa_supplicant_6/wpa_supplicant/
H A Dwps_supplicant.h33 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)
72 struct wpa_scan_res *bss)
63 wpas_wps_ssid_bss_match(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, struct wpa_scan_res *bss) argument
70 wpas_wps_ssid_wildcard_ok(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, struct wpa_scan_res *bss) argument
H A Devents.c247 static int wpa_supplicant_match_privacy(struct wpa_scan_res *bss, argument
273 if (bss->caps & IEEE80211_CAP_PRIVACY)
281 struct wpa_scan_res *bss)
288 ret = wpas_wps_ssid_bss_match(wpa_s, ssid, bss);
292 rsn_ie = wpa_scan_get_ie(bss, WLAN_EID_RSN);
337 wpa_ie = wpa_scan_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE);
386 struct wpa_scan_res *bss; local
395 bss = wpa_s->scan_res->res[i];
397 ie = wpa_scan_get_ie(bss, WLAN_EID_SSID);
401 ie = wpa_scan_get_vendor_ie(bss, WPA_IE_VENDOR_TYP
279 wpa_supplicant_ssid_bss_match(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, struct wpa_scan_res *bss) argument
481 struct wpa_scan_res *bss; local
[all...]
H A Dwps_supplicant.c94 struct wpa_scan_res *bss = NULL; local
115 bss = wpa_s->scan_res->res[i];
116 if (os_memcmp(bss->bssid, cred->mac_addr, ETH_ALEN) != 0)
118 ie = wpa_scan_get_ie(bss, WLAN_EID_SSID);
135 ie = wpa_scan_get_ie(bss, WLAN_EID_RSN);
141 ie = wpa_scan_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE);
742 struct wpa_ssid *ssid, struct wpa_scan_res *bss)
749 wps_ie = wpa_scan_get_vendor_ie_multi(bss, WPS_IE_VENDOR_TYPE);
810 struct wpa_scan_res *bss)
816 wps_ie = wpa_scan_get_vendor_ie_multi(bss, WPS_IE_VENDOR_TYP
741 wpas_wps_ssid_bss_match(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, struct wpa_scan_res *bss) argument
808 wpas_wps_ssid_wildcard_ok(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, struct wpa_scan_res *bss) argument
863 struct wpa_scan_res *bss = wpa_s->scan_res->res[i]; local
901 struct wpa_scan_res *bss = wpa_s->scan_res->res[i]; local
[all...]
H A Dctrl_iface.c1508 struct wpa_scan_res *bss; local
1533 bss = results->res[i];
1546 MAC2STR(bss->bssid), bss->freq, bss->beacon_int,
1547 bss->caps, bss->qual, bss->noise, bss->level,
1548 (unsigned long long) bss
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dhs20_supplicant.c20 #include "bss.h"
77 struct wpa_bss *bss; local
81 bss = wpa_bss_get_bssid(wpa_s, dst);
82 if (bss)
83 freq = bss->freq;
112 struct wpa_bss *bss = wpa_bss_get_bssid(wpa_s, sa); local
118 if (bss)
119 anqp = bss->anqp;
H A Dsme.h15 struct wpa_bss *bss, struct wpa_ssid *ssid);
44 struct wpa_bss *bss,
43 sme_authenticate(struct wpa_supplicant *wpa_s, struct wpa_bss *bss, struct wpa_ssid *ssid) argument
H A Dwps_supplicant.h43 struct wpa_ssid *ssid, struct wpa_bss *bss);
45 struct wpa_ssid *ssid, struct wpa_bss *bss);
99 struct wpa_scan_res *bss)
106 struct wpa_scan_res *bss)
97 wpas_wps_ssid_bss_match(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, struct wpa_scan_res *bss) argument
104 wpas_wps_ssid_wildcard_ok(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, struct wpa_scan_res *bss) argument
H A Dbgscan_learn.c39 struct dl_list bss; member in struct:bgscan_learn_data
45 static void bss_free(struct bgscan_learn_bss *bss) argument
47 os_free(bss->neigh);
48 os_free(bss);
68 static void bgscan_learn_add_neighbor(struct bgscan_learn_bss *bss, argument
73 if (os_memcmp(bss->bssid, bssid, ETH_ALEN) == 0)
75 if (bssid_in_array(bss->neigh, bss->num_neigh, bssid))
78 n = os_realloc_array(bss->neigh, bss
91 struct bgscan_learn_bss *bss; local
105 struct bgscan_learn_bss *bss; local
164 struct bgscan_learn_bss *bss; local
214 struct bgscan_learn_bss *bss; local
437 struct bgscan_learn_bss *bss, *n; local
454 bgscan_learn_bss_match(struct bgscan_learn_data *data, struct wpa_scan_res *bss) argument
502 struct bgscan_learn_bss *bss; local
[all...]
H A Dap.c48 struct hostapd_bss_config *bss = &conf->bss[0]; local
53 os_strlcpy(bss->iface, wpa_s->ifname, sizeof(bss->iface));
157 bss->isolate = !wpa_s->conf->p2p_intra_bss;
164 os_memcpy(bss->ssid.ssid, ssid->ssid, ssid->ssid_len);
165 bss->ssid.ssid_len = ssid->ssid_len;
166 bss->ssid.ssid_set = 1;
168 bss->ignore_broadcast_ssid = ssid->ignore_broadcast_ssid;
171 bss
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
H A DMobileApple80211.c104 static int (*__Apple80211Associate)(Apple80211Ref handle, CFDictionaryRef bss,
107 int Apple80211Associate(Apple80211Ref handle, CFDictionaryRef bss, argument
110 return __Apple80211Associate(handle, bss, password);
115 CFDictionaryRef bss,
120 int Apple80211AssociateAndCopyInfo(Apple80211Ref handle, CFDictionaryRef bss, argument
123 return __Apple80211AssociateAndCopyInfo(handle, bss, password, info);
/external/wpa_supplicant_8/hostapd/
H A Dmain.c179 hapd_iface->bss = os_calloc(conf->num_bss,
181 if (hapd_iface->bss == NULL)
185 hapd = hapd_iface->bss[i] =
187 &conf->bss[i]);
200 os_free(hapd_iface->bss);
211 struct hostapd_data *hapd = iface->bss[0];
256 struct hostapd_data *bss = hapd->iface->bss[i]; local
257 if (bss->conf->bridge[0])
258 params.bridge[i] = bss
[all...]
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dsta_info.c537 struct hostapd_data *bss = iface->bss[i]; local
539 /* bss should always be set during operation, but it may be
543 if (bss == hapd || bss == NULL)
545 sta2 = ap_get_sta(bss, sta->addr);
549 ap_sta_disconnect(bss, sta2, sta2->addr,
H A Dap_config.c23 static void hostapd_config_free_vlan(struct hostapd_bss_config *bss) argument
27 vlan = bss->vlan;
35 bss->vlan = NULL;
39 void hostapd_config_defaults_bss(struct hostapd_bss_config *bss) argument
41 bss->logger_syslog_level = HOSTAPD_LEVEL_INFO;
42 bss->logger_stdout_level = HOSTAPD_LEVEL_INFO;
43 bss->logger_syslog = (unsigned int) -1;
44 bss->logger_stdout = (unsigned int) -1;
46 bss->auth_algs = WPA_AUTH_ALG_OPEN | WPA_AUTH_ALG_SHARED;
48 bss
100 struct hostapd_bss_config *bss; local
[all...]
H A Dhw_features.c49 struct hostapd_data *hapd = iface->bss[0];
259 static void ieee80211n_get_pri_sec_chan(struct wpa_scan_res *bss, argument
267 ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0);
294 pri_freq = hostapd_hw_get_freq(iface->bss[0], pri_chan);
306 struct wpa_scan_res *bss = scan_res->res[i]; local
307 if (bss->freq == pri_freq)
309 else if (bss->freq == sec_freq)
326 struct wpa_scan_res *bss = scan_res->res[i]; local
327 ieee80211n_get_pri_sec_chan(bss,
336 struct wpa_scan_res *bss = scan_res->res[i]; local
372 struct wpa_scan_res *bss = scan_res->res[i]; local
[all...]
H A Dhostapd.c113 struct hostapd_data *hapd = iface->bss[0];
129 hostapd_flush_old_stations(iface->bss[j],
131 hostapd_broadcast_wep_clear(iface->bss[j]);
136 radius_client_flush(iface->bss[j]->radius, 0);
144 hapd = iface->bss[j];
146 hapd->conf = &newconf->bss[j];
336 os_free(iface->bss);
419 struct hostapd_data *hapd = iface->bss[0];
435 if (hostapd_mac_comp_empty(iface->conf->bss[j].bssid) == 0) {
443 iface->conf->bss[
1004 hostapd_alloc_bss_data(struct hostapd_iface *hapd_iface, struct hostapd_config *conf, struct hostapd_bss_config *bss) argument
1116 struct hostapd_bss_config *bss = hapd_iface->bss[0]->conf; local
1180 struct hostapd_bss_config *bss; local
[all...]
/external/wpa_supplicant_8/src/ap/
H A Dsta_info.c537 struct hostapd_data *bss = iface->bss[i]; local
539 /* bss should always be set during operation, but it may be
543 if (bss == hapd || bss == NULL)
545 sta2 = ap_get_sta(bss, sta->addr);
549 ap_sta_disconnect(bss, sta2, sta2->addr,
H A Dap_config.c23 static void hostapd_config_free_vlan(struct hostapd_bss_config *bss) argument
27 vlan = bss->vlan;
35 bss->vlan = NULL;
39 void hostapd_config_defaults_bss(struct hostapd_bss_config *bss) argument
41 bss->logger_syslog_level = HOSTAPD_LEVEL_INFO;
42 bss->logger_stdout_level = HOSTAPD_LEVEL_INFO;
43 bss->logger_syslog = (unsigned int) -1;
44 bss->logger_stdout = (unsigned int) -1;
46 bss->auth_algs = WPA_AUTH_ALG_OPEN | WPA_AUTH_ALG_SHARED;
48 bss
100 struct hostapd_bss_config *bss; local
[all...]
H A Dhw_features.c49 struct hostapd_data *hapd = iface->bss[0];
259 static void ieee80211n_get_pri_sec_chan(struct wpa_scan_res *bss, argument
267 ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0);
294 pri_freq = hostapd_hw_get_freq(iface->bss[0], pri_chan);
306 struct wpa_scan_res *bss = scan_res->res[i]; local
307 if (bss->freq == pri_freq)
309 else if (bss->freq == sec_freq)
326 struct wpa_scan_res *bss = scan_res->res[i]; local
327 ieee80211n_get_pri_sec_chan(bss,
336 struct wpa_scan_res *bss = scan_res->res[i]; local
372 struct wpa_scan_res *bss = scan_res->res[i]; local
[all...]
H A Dhostapd.c113 struct hostapd_data *hapd = iface->bss[0];
129 hostapd_flush_old_stations(iface->bss[j],
131 hostapd_broadcast_wep_clear(iface->bss[j]);
136 radius_client_flush(iface->bss[j]->radius, 0);
144 hapd = iface->bss[j];
146 hapd->conf = &newconf->bss[j];
336 os_free(iface->bss);
419 struct hostapd_data *hapd = iface->bss[0];
435 if (hostapd_mac_comp_empty(iface->conf->bss[j].bssid) == 0) {
443 iface->conf->bss[
1004 hostapd_alloc_bss_data(struct hostapd_iface *hapd_iface, struct hostapd_config *conf, struct hostapd_bss_config *bss) argument
1116 struct hostapd_bss_config *bss = hapd_iface->bss[0]->conf; local
1180 struct hostapd_bss_config *bss; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/dbus/
H A Ddbus_old.c17 #include "../bss.h"
175 struct wpa_bss *bss; local
180 bss = wpa_bss_get_bssid(wpa_s, bssid);
181 if (bss == NULL)
186 return wpas_dbus_bssid_properties(message, wpa_s, bss);
H A Ddbus_old_handlers.c22 #include "../bss.h"
356 struct wpa_bss *bss; local
366 dl_list_for_each(bss, &wpa_s->bss_id, struct wpa_bss, list_id) {
376 wpa_s->dbus_path, MAC2STR(bss->bssid));
399 struct wpa_bss *bss)
413 (const char *) bss->bssid,
417 ie = wpa_bss_get_ie(bss, WLAN_EID_SSID);
425 ie = wpa_bss_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE);
433 ie = wpa_bss_get_ie(bss, WLAN_EID_RSN);
441 ie = wpa_bss_get_vendor_ie(bss, WPS_IE_VENDOR_TYP
397 wpas_dbus_bssid_properties(DBusMessage *message, struct wpa_supplicant *wpa_s, struct wpa_bss *bss) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dsta_info.c537 struct hostapd_data *bss = iface->bss[i]; local
539 /* bss should always be set during operation, but it may be
543 if (bss == hapd || bss == NULL)
545 sta2 = ap_get_sta(bss, sta->addr);
549 ap_sta_disconnect(bss, sta2, sta2->addr,
H A Dap_config.c23 static void hostapd_config_free_vlan(struct hostapd_bss_config *bss) argument
27 vlan = bss->vlan;
35 bss->vlan = NULL;
39 void hostapd_config_defaults_bss(struct hostapd_bss_config *bss) argument
41 bss->logger_syslog_level = HOSTAPD_LEVEL_INFO;
42 bss->logger_stdout_level = HOSTAPD_LEVEL_INFO;
43 bss->logger_syslog = (unsigned int) -1;
44 bss->logger_stdout = (unsigned int) -1;
46 bss->auth_algs = WPA_AUTH_ALG_OPEN | WPA_AUTH_ALG_SHARED;
48 bss
100 struct hostapd_bss_config *bss; local
[all...]
H A Dhw_features.c49 struct hostapd_data *hapd = iface->bss[0];
259 static void ieee80211n_get_pri_sec_chan(struct wpa_scan_res *bss, argument
267 ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0);
294 pri_freq = hostapd_hw_get_freq(iface->bss[0], pri_chan);
306 struct wpa_scan_res *bss = scan_res->res[i]; local
307 if (bss->freq == pri_freq)
309 else if (bss->freq == sec_freq)
326 struct wpa_scan_res *bss = scan_res->res[i]; local
327 ieee80211n_get_pri_sec_chan(bss,
336 struct wpa_scan_res *bss = scan_res->res[i]; local
372 struct wpa_scan_res *bss = scan_res->res[i]; local
[all...]

Completed in 779 milliseconds

123