Lines Matching refs:ssid_len
361 if (cred->ssid_len <= SSID_MAX_LEN) { in hapd_wps_reconfig_in_memory()
362 os_memcpy(bss->ssid.ssid, cred->ssid, cred->ssid_len); in hapd_wps_reconfig_in_memory()
363 bss->ssid.ssid_len = cred->ssid_len; in hapd_wps_reconfig_in_memory()
473 wpa_hexdump_ascii(MSG_DEBUG, "WPS: SSID", cred->ssid, cred->ssid_len); in hapd_wps_cred_cb()
500 os_memcpy(hapd->wps->ssid, cred->ssid, cred->ssid_len); in hapd_wps_cred_cb()
501 hapd->wps->ssid_len = cred->ssid_len; in hapd_wps_cred_cb()
560 if (is_hex(cred->ssid, cred->ssid_len)) { in hapd_wps_cred_cb()
562 for (i = 0; i < cred->ssid_len; i++) in hapd_wps_cred_cb()
567 for (i = 0; i < cred->ssid_len; i++) in hapd_wps_cred_cb()
1122 wps->ssid_len = hapd->conf->ssid.ssid_len; in hostapd_init_wps()
1123 os_memcpy(wps->ssid, hapd->conf->ssid.ssid, wps->ssid_len); in hostapd_init_wps()
1271 hapd->conf->multi_ap_backhaul_ssid.ssid_len) { in hostapd_init_wps()
1273 hapd->conf->multi_ap_backhaul_ssid.ssid_len; in hostapd_init_wps()
1396 !conf->multi_ap_backhaul_ssid.ssid_len) in hostapd_wps_update_multi_ap()
1420 conf->multi_ap_backhaul_ssid.ssid_len, in hostapd_wps_update_multi_ap()
1465 os_memcpy(wps->ssid, conf->ssid.ssid, conf->ssid.ssid_len); in hostapd_update_wps()
1466 wps->ssid_len = conf->ssid.ssid_len; in hostapd_update_wps()
1651 if (elems.ssid && elems.ssid_len > 0 && in hostapd_wps_probe_req_rx()
1652 (elems.ssid_len != hapd->conf->ssid.ssid_len || in hostapd_wps_probe_req_rx()
1653 os_memcmp(elems.ssid, hapd->conf->ssid.ssid, elems.ssid_len) != in hostapd_wps_probe_req_rx()
1668 if (elems.ssid && elems.ssid_len == P2P_WILDCARD_SSID_LEN && in hostapd_wps_probe_req_rx()
1933 cred.ssid_len = len / 2; in hostapd_wps_config_ap()