• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/wpa/src/wps/

Lines Matching defs:registrar

1094 void wps_registrar_complete(struct wps_registrar *registrar, const u8 *uuid_e,
1097 if (registrar->pbc) {
1098 wps_registrar_remove_pbc_session(registrar,
1100 wps_registrar_pbc_completed(registrar);
1102 os_get_reltime(&registrar->pbc_ignore_start);
1104 os_memcpy(registrar->pbc_ignore_uuid, uuid_e, WPS_UUID_LEN);
1106 wps_registrar_pin_completed(registrar);
1110 wps_registrar_invalidate_wildcard_pin(registrar, dev_pw,
1438 pin = wps_registrar_get_pin(wps->wps->registrar, wps->uuid_e,
1451 "the Enrollee (context %p registrar %p)",
1452 wps->wps, wps->wps->registrar);
1453 wps_cb_pin_needed(wps->wps->registrar, wps->uuid_e,
1644 struct wps_registrar *reg = wps->wps->registrar;
1646 if (wps->wps->registrar->skip_cred_build)
1738 !wps->wps->registrar->disable_auto_conf) {
1759 } else if (!wps->wps->registrar->force_per_enrollee_psk &&
1766 } else if (!wps->wps->registrar->force_per_enrollee_psk &&
1838 if (wps->wps->registrar->extra_cred) {
1840 wpabuf_put_buf(msg, wps->wps->registrar->extra_cred);
1913 wps_build_config_methods_r(wps->wps->registrar, msg) ||
1982 wps_build_config_methods_r(wps->wps->registrar, msg) ||
2363 wps_registrar_invalidate_pin(wps->wps->registrar, wps->uuid_e);
2372 wps_registrar_unlock_pin(wps->wps->registrar, wps->uuid_e);
2379 wps_registrar_invalidate_pin(wps->wps->registrar, wps->uuid_e);
2618 struct wps_registrar *reg = wps->wps->registrar;
2639 struct wps_registrar *reg = wps->wps->registrar;
2692 !wps->wps->registrar->pbc)) {
2706 wpa_printf(MSG_DEBUG, "WPS: Searching for NFC token match for id=%d (ctx %p registrar %p)",
2707 wps->dev_pw_id, wps->wps, wps->wps->registrar);
2709 &wps->wps->registrar->nfc_pw_tokens, wps->dev_pw_id);
2744 if ((wps->wps->registrar->force_pbc_overlap ||
2745 wps_registrar_pbc_overlap(wps->wps->registrar,
2757 wps->wps->registrar->force_pbc_overlap = 1;
2760 wps_registrar_add_pbc_session(wps->wps->registrar,
2801 if (wps->pbc && wps->wps->registrar->force_pbc_overlap &&
2839 if (wps->pbc && wps->wps->registrar->force_pbc_overlap &&
2946 * Clear selected registrar here since we do not get to
2949 wps_registrar_pin_completed(wps->wps->registrar);
2990 if (wps->pbc && wps->wps->registrar->force_pbc_overlap &&
3060 wpa_printf(MSG_DEBUG, "WPS: Mismatch in registrar nonce");
3157 wpa_printf(MSG_DEBUG, "WPS: Mismatch in registrar nonce");
3226 wpa_printf(MSG_DEBUG, "WPS: Mismatch in registrar nonce");
3303 wps_device_store(wps->wps->registrar, &wps->peer_dev,
3312 wpa_printf(MSG_DEBUG, "WPS: Mismatch in registrar nonce");
3323 wps_device_store(wps->wps->registrar, &wps->peer_dev,
3327 wps->wps->ap && !wps->wps->registrar->disable_auto_conf) {
3361 if (wps_cb_new_psk(wps->wps->registrar, wps->mac_addr_e,
3371 wps_cb_reg_success(wps->wps->registrar, wps->mac_addr_e, wps->uuid_e,
3375 wps_registrar_remove_pbc_session(wps->wps->registrar,
3378 wps_registrar_pbc_completed(wps->wps->registrar);
3380 os_get_reltime(&wps->wps->registrar->pbc_ignore_start);
3382 os_memcpy(wps->wps->registrar->pbc_ignore_uuid, wps->uuid_e,
3385 wps_registrar_pin_completed(wps->wps->registrar);
3553 * This function is called when selected registrar state changes, e.g., when an
3559 wpa_printf(MSG_DEBUG, "WPS: Selected registrar information changed");