Lines Matching full:bssid
90 const u8 *bssid = wpa_s->bssid;
91 if (is_zero_ether_addr(bssid))
92 bssid = wpa_s->pending_bssid;
96 "suitable AP", MAC2STR(bssid));
97 wpa_blacklist_add(wpa_s, bssid);
280 if (os_memcmp(ssid->bssid, new_ssid->bssid, ETH_ALEN) !=
710 wpas_p2p_wps_success(wpa_s, wpa_s->bssid, 0);
985 const u8 *bssid)
1010 if (bssid) {
1016 os_memcpy(ssid->bssid, bssid, ETH_ALEN);
1026 if (os_memcmp(bssid, bss->bssid, ETH_ALEN) != 0)
1092 struct wpa_ssid *selected, const u8 *bssid,
1105 } else if (bssid) {
1106 bss = wpa_bss_get_bssid_latest(wpa_s, bssid);
1127 int wpas_wps_start_pbc(struct wpa_supplicant *wpa_s, const u8 *bssid,
1140 bssid);
1167 wpas_wps_reassoc(wpa_s, ssid, bssid, 0);
1173 const u8 *dev_addr, const u8 *bssid,
1191 if (bssid && is_zero_ether_addr(bssid))
1192 bssid = NULL;
1193 ssid = wpas_wps_add_network(wpa_s, 0, dev_addr, bssid);
1255 wpas_wps_reassoc(wpa_s, ssid, bssid, freq);
1260 int wpas_wps_start_pin(struct wpa_supplicant *wpa_s, const u8 *bssid,
1264 return wpas_wps_start_dev_pw(wpa_s, NULL, bssid, pin, p2p_group,
1321 int wpas_wps_start_reg(struct wpa_supplicant *wpa_s, const u8 *bssid,
1339 ssid = wpas_wps_add_network(wpa_s, 1, NULL, bssid);
1367 wpas_wps_reassoc(wpa_s, ssid, bssid, 0);
1730 os_memcmp(ssid->bssid, bss->bssid, ETH_ALEN) == 0) {
1731 /* allow wildcard SSID due to hardcoded BSSID match */
1738 0, bss->bssid) < 0)
1775 "present in scan results; selected BSSID " MACSTR,
1776 MAC2STR(selected->bssid));
1794 os_memcmp(selected->bssid, ap->bssid, ETH_ALEN) == 0)
1798 MACSTR, MAC2STR(ap->bssid));
1806 MAC2STR(selected->bssid),
1807 MAC2STR(ap->bssid));
2269 const u8 *bssid,
2324 return wpas_wps_start_dev_pw(wpa_s, go_dev_addr, bssid,
2560 const u8 *bssid = NULL;
2618 bssid = attr.mac_addr;
2619 wpa_printf(MSG_DEBUG, "WPS: MAC Address (BSSID): " MACSTR,
2620 MAC2STR(bssid));
2667 ret = wpas_wps_start_nfc(wpa_s, NULL, bssid, NULL, dev_pw_id, 0,
2799 struct wpa_blacklist *e = wpa_blacklist_get(wpa_s, ap->bssid);
2803 (int) i, MAC2STR(ap->bssid), ap->type, ap->tries,
2812 const u8 *bssid)
2821 if (os_memcmp(ap->bssid, bssid, ETH_ALEN) == 0)
2856 ap = wpas_wps_get_ap_info(wpa_s, res->bssid);
2861 MAC2STR(res->bssid), ap->type, type);
2864 wpa_blacklist_del(wpa_s, ap->bssid);
2882 os_memcpy(ap->bssid, res->bssid, ETH_ALEN);
2888 MAC2STR(ap->bssid), ap->type);
2907 void wpas_wps_notify_assoc(struct wpa_supplicant *wpa_s, const u8 *bssid)
2915 ap = wpas_wps_get_ap_info(wpa_s, bssid);