Lines Matching full:ssid
237 " SSID '%s' due to %s", bss->id, MAC2STR(bss->bssid),
238 wpa_ssid_txt(bss->ssid, bss->ssid_len), reason);
246 * wpa_bss_get - Fetch a BSS table entry based on BSSID and SSID
249 * @ssid: SSID
250 * @ssid_len: Length of @ssid
254 const u8 *ssid, size_t ssid_len)
262 os_memcmp(bss->ssid, ssid, ssid_len) == 0)
308 struct wpa_ssid *ssid;
310 for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next) {
311 if (ssid->ssid == NULL || ssid->ssid_len == 0)
313 if (ssid->ssid_len == bss->ssid_len &&
314 os_memcmp(ssid->ssid, bss->ssid, ssid->ssid_len) == 0)
329 os_memcmp(bss->ssid, wpa_s->current_bss->ssid,
331 return 0; /* SSID has changed */
380 const u8 *ssid, size_t ssid_len,
392 os_memcpy(bss->ssid, ssid, ssid_len);
411 " SSID '%s' freq %d",
412 bss->id, MAC2STR(bss->bssid), wpa_ssid_txt(ssid, ssid_len),
652 const u8 *ssid, *p2p, *mesh;
671 ssid = wpa_scan_get_ie(res, WLAN_EID_SSID);
672 if (ssid == NULL) {
673 wpa_dbg(wpa_s, MSG_DEBUG, "BSS: No SSID IE included for "
677 if (ssid[1] > SSID_MAX_LEN) {
678 wpa_dbg(wpa_s, MSG_DEBUG, "BSS: Too long SSID IE included for "
696 if (p2p && ssid[1] == P2P_WILDCARD_SSID_LEN &&
697 os_memcmp(ssid + 2, P2P_WILDCARD_SSID, P2P_WILDCARD_SSID_LEN) == 0)
705 ssid = mesh;
707 bss = wpa_bss_get(wpa_s, res->bssid, ssid + 2, ssid[1]);
709 bss = wpa_bss_add(wpa_s, ssid + 2, ssid[1], res, fetch_time);
770 if ((s->ssid == NULL || s->ssid_len == 0) ||
772 os_memcmp(s->ssid, bss->ssid, bss->ssid_len) ==
928 * correct entry in cases where the SSID of the AP may have changed recently