Lines Matching refs:ssid
233 *pos++ = hapd->conf->ssid.ssid_len; in hostapd_gen_probe_resp()
234 os_memcpy(pos, hapd->conf->ssid.ssid, hapd->conf->ssid.ssid_len); in hostapd_gen_probe_resp()
235 pos += hapd->conf->ssid.ssid_len; in hostapd_gen_probe_resp()
320 const u8 *ssid, size_t ssid_len, in ssid_match() argument
329 if (ssid_len == hapd->conf->ssid.ssid_len && in ssid_match()
330 os_memcmp(ssid, hapd->conf->ssid.ssid, ssid_len) == 0) in ssid_match()
343 if (pos[1] == hapd->conf->ssid.ssid_len && in ssid_match()
344 os_memcmp(pos + 2, hapd->conf->ssid.ssid, pos[1]) == 0) in ssid_match()
386 if ((!elems.ssid || !elems.supp_rates)) { in handle_probe_req()
432 os_memcmp(elems.ssid, P2P_WILDCARD_SSID, in handle_probe_req()
439 res = ssid_match(hapd, elems.ssid, elems.ssid_len, in handle_probe_req()
443 sta->ssid_probe = &hapd->conf->ssid; in handle_probe_req()
447 ieee802_11_print_ssid(ssid_txt, elems.ssid, in handle_probe_req()
611 *pos++ = hapd->conf->ssid.ssid_len; in ieee802_11_set_beacon()
612 os_memset(pos, 0, hapd->conf->ssid.ssid_len); in ieee802_11_set_beacon()
613 pos += hapd->conf->ssid.ssid_len; in ieee802_11_set_beacon()
617 *pos++ = hapd->conf->ssid.ssid_len; in ieee802_11_set_beacon()
618 os_memcpy(pos, hapd->conf->ssid.ssid, in ieee802_11_set_beacon()
619 hapd->conf->ssid.ssid_len); in ieee802_11_set_beacon()
620 pos += hapd->conf->ssid.ssid_len; in ieee802_11_set_beacon()
715 params.ssid = hapd->conf->ssid.ssid; in ieee802_11_set_beacon()
716 params.ssid_len = hapd->conf->ssid.ssid_len; in ieee802_11_set_beacon()
723 params.privacy = hapd->conf->ssid.wep.keys_set || hapd->conf->wpa || in ieee802_11_set_beacon()