Lines Matching refs:wps
30 #include "wps/wps.h"
551 os_memcpy(bss->uuid, wpa_s->wps->uuid, WPS_UUID_LEN);
1021 if (!wpa_s->ap_iface || !wpa_s->ap_iface->bss[0]->wps)
1024 reg = wpa_s->ap_iface->bss[0]->wps->registrar;
1036 * There are 2 cases to return wps cancel as success:
1037 * 1. When wps cancel was initiated but no connection has been
1457 struct wps_context *wps;
1462 wps = hapd->wps;
1470 dh5_free(wps->dh_ctx);
1471 wpabuf_free(wps->dh_pubkey);
1472 wpabuf_free(wps->dh_privkey);
1473 wps->dh_privkey = wpabuf_dup(
1475 wps->dh_pubkey = wpabuf_dup(
1477 if (wps->dh_privkey == NULL || wps->dh_pubkey == NULL) {
1478 wps->dh_ctx = NULL;
1479 wpabuf_free(wps->dh_pubkey);
1480 wps->dh_pubkey = NULL;
1481 wpabuf_free(wps->dh_privkey);
1482 wps->dh_privkey = NULL;
1485 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, wps->dh_pubkey);
1486 if (wps->dh_ctx == NULL)
1489 return wps_registrar_add_nfc_pw_token(hapd->wps->registrar, pubkey_hash,