Lines Matching refs:bss
34 #include "bss.h"
114 struct wpa_bss *bss;
130 bss = wpa_bss_get(wpa_s, cred->mac_addr, ssid->ssid, ssid->ssid_len);
131 if (bss == NULL) {
132 wpa_printf(MSG_DEBUG, "WPS: The AP was not found from BSS "
137 wpa_printf(MSG_DEBUG, "WPS: AP found from BSS table");
139 ie = wpa_bss_get_ie(bss, WLAN_EID_RSN);
145 ie = wpa_bss_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE);
742 struct wpa_bss *bss;
755 dl_list_for_each(bss, &wpa_s->bss, struct wpa_bss, list) {
756 if (os_memcmp(bssid, bss->bssid, ETH_ALEN) != 0)
760 ssid->ssid = os_malloc(bss->ssid_len);
763 os_memcpy(ssid->ssid, bss->ssid, bss->ssid_len);
764 ssid->ssid_len = bss->ssid_len;
1199 struct wpa_ssid *ssid, struct wpa_scan_res *bss)
1206 wps_ie = wpa_scan_get_vendor_ie_multi(bss, WPS_IE_VENDOR_TYPE);
1268 struct wpa_scan_res *bss)
1274 wps_ie = wpa_scan_get_vendor_ie_multi(bss, WPS_IE_VENDOR_TYPE);
1280 wps_ie = wpa_scan_get_vendor_ie_multi(bss, WPS_IE_VENDOR_TYPE);
1290 os_memcmp(ssid->bssid, bss->bssid, ETH_ALEN) == 0) {
1297 if (wps_validate_beacon_probe_resp(wps_ie, bss->beacon_ie_len >
1298 0, bss->bssid) < 0)
1300 if (bss->beacon_ie_len) {
1303 bss, WPS_IE_VENDOR_TYPE);
1329 struct wpa_bss *bss;
1342 wpa_hexdump(MSG_DEBUG, "WPS: UUID of the selected BSS",
1345 wpa_printf(MSG_DEBUG, "WPS: Selected BSS does not include "
1350 dl_list_for_each(bss, &wpa_s->bss, struct wpa_bss, list) {
1352 if (bss == selected)
1354 ie = wpa_bss_get_vendor_ie_multi(bss, WPS_IE_VENDOR_TYPE);
1361 wpa_printf(MSG_DEBUG, "WPS: Another BSS in active PBC mode: "
1362 MACSTR, MAC2STR(bss->bssid));
1364 wpa_hexdump(MSG_DEBUG, "WPS: UUID of the other BSS",
1372 MAC2STR(bss->bssid));
1390 struct wpa_bss *bss;
1396 dl_list_for_each(bss, &wpa_s->bss, struct wpa_bss, list) {
1398 ie = wpa_bss_get_vendor_ie_multi(bss, WPS_IE_VENDOR_TYPE);