Home | History | Annotate | Download | only in wps

Lines Matching refs:registrar

2  * Wi-Fi Protected Setup - Registrar
500 wpa_printf(MSG_DEBUG, "WPS: * Selected Registrar");
575 wpa_printf(MSG_DEBUG, "WPS: * Selected Registrar Config Methods (%x)",
625 * wps_registrar_init - Initialize WPS Registrar data
627 * @cfg: Registrar configuration
628 * Returns: Pointer to allocated Registrar data or %NULL on failure
630 * This function is used to initialize WPS Registrar functionality. It can be
631 * used for a single Registrar run (e.g., when run in a supplicant) or multiple
632 * runs (e.g., when run as an internal Registrar in an AP). Caller is
634 * Registrar functionality is not needed anymore.
696 * wps_registrar_deinit - Deinitialize WPS Registrar data
697 * @reg: Registrar data from wps_registrar_init()
727 * wps_registrar_add_pin - Configure a new PIN for Registrar
728 * @reg: Registrar data from wps_registrar_init()
827 * @reg: Registrar data from wps_registrar_init()
858 * @reg: Registrar data from wps_registrar_init()
931 * @reg: Registrar data from wps_registrar_init()
981 * wps_registrar_button_pushed - Notify Registrar that AP button was pushed
982 * @reg: Registrar data from wps_registrar_init()
1036 wpa_printf(MSG_DEBUG, "WPS: PIN completed using internal Registrar");
1043 void wps_registrar_complete(struct wps_registrar *registrar, const u8 *uuid_e,
1046 if (registrar->pbc) {
1047 wps_registrar_remove_pbc_session(registrar,
1049 wps_registrar_pbc_completed(registrar);
1051 os_get_reltime(&registrar->pbc_ignore_start);
1053 os_memcpy(registrar->pbc_ignore_uuid, uuid_e, WPS_UUID_LEN);
1055 wps_registrar_pin_completed(registrar);
1059 wps_registrar_invalidate_wildcard_pin(registrar, dev_pw,
1086 * wps_registrar_probe_req_rx - Notify Registrar of Probe Request
1087 * @reg: Registrar data from wps_registrar_init()
1387 pin = wps_registrar_get_pin(wps->wps->registrar, wps->uuid_e,
1400 "the Enrollee (context %p registrar %p)",
1401 wps->wps, wps->wps->registrar);
1402 wps_cb_pin_needed(wps->wps->registrar, wps->uuid_e,
1595 if (wps->wps->registrar->skip_cred_build)
1664 !wps->wps->registrar->disable_auto_conf) {
1685 } else if (!wps->wps->registrar->force_per_enrollee_psk &&
1692 } else if (!wps->wps->registrar->force_per_enrollee_psk &&
1764 if (wps->wps->registrar->extra_cred) {
1766 wpabuf_put_buf(msg, wps->wps->registrar->extra_cred);
1820 wpa_hexdump(MSG_DEBUG, "WPS: Registrar Nonce",
1839 wps_build_config_methods_r(wps->wps->registrar, msg) ||
1908 wps_build_config_methods_r(wps->wps->registrar, msg) ||
2078 wpa_printf(MSG_DEBUG, "WPS: Using external Registrar, but no "
2152 wpa_printf(MSG_DEBUG, "WPS: No Registrar Nonce received");
2157 wpa_printf(MSG_DEBUG, "WPS: Invalid Registrar Nonce received");
2289 wps_registrar_invalidate_pin(wps->wps->registrar, wps->uuid_e);
2298 wps_registrar_unlock_pin(wps->wps->registrar, wps->uuid_e);
2305 wps_registrar_invalidate_pin(wps->wps->registrar, wps->uuid_e);
2544 struct wps_registrar *reg = wps->wps->registrar;
2565 struct wps_registrar *reg = wps->wps->registrar;
2618 !wps->wps->registrar->pbc)) {
2632 wpa_printf(MSG_DEBUG, "WPS: Searching for NFC token match for id=%d (ctx %p registrar %p)",
2633 wps->dev_pw_id, wps->wps, wps->wps->registrar);
2635 &wps->wps->registrar->nfc_pw_tokens, wps->dev_pw_id);
2670 if ((wps->wps->registrar->force_pbc_overlap ||
2671 wps_registrar_pbc_overlap(wps->wps->registrar,
2683 wps->wps->registrar->force_pbc_overlap = 1;
2686 wps_registrar_add_pbc_session(wps->wps->registrar,
2726 if (wps->pbc && wps->wps->registrar->force_pbc_overlap &&
2764 if (wps->pbc && wps->wps->registrar->force_pbc_overlap &&
2871 * Clear selected registrar here since we do not get to
2874 wps_registrar_pin_completed(wps->wps->registrar);
2915 if (wps->pbc && wps->wps->registrar->force_pbc_overlap &&
2985 wpa_printf(MSG_DEBUG, "WPS: Mismatch in registrar nonce");
3074 "external Registrar");
3082 wpa_printf(MSG_DEBUG, "WPS: Mismatch in registrar nonce");
3101 "external Registrar");
3143 "Registrar terminated by the Enrollee");
3151 wpa_printf(MSG_DEBUG, "WPS: Mismatch in registrar nonce");
3227 "Registrar completed successfully");
3228 wps_device_store(wps->wps->registrar, &wps->peer_dev,
3237 wpa_printf(MSG_DEBUG, "WPS: Mismatch in registrar nonce");
3248 wps_device_store(wps->wps->registrar, &wps->peer_dev,
3252 wps->wps->ap && !wps->wps->registrar->disable_auto_conf) {
3286 if (wps_cb_new_psk(wps->wps->registrar, wps->mac_addr_e,
3296 wps_cb_reg_success(wps->wps->registrar, wps->mac_addr_e, wps->uuid_e,
3300 wps_registrar_remove_pbc_session(wps->wps->registrar,
3303 wps_registrar_pbc_completed(wps->wps->registrar);
3305 os_get_reltime(&wps->wps->registrar->pbc_ignore_start);
3307 os_memcpy(wps->wps->registrar->pbc_ignore_uuid, wps->uuid_e,
3310 wps_registrar_pin_completed(wps->wps->registrar);
3351 " to external Registrar for processing", type);
3360 "external Registrar");
3405 wpa_printf(MSG_DEBUG, "WPS: Selected Registrar timeout - "
3406 "unselect internal Registrar");
3418 wpa_printf(MSG_DEBUG, "WPS: External Registrar selected (dev_pw_id=%d "
3460 wpa_printf(MSG_DEBUG, "WPS: External Registrar %s:%d",
3467 wpa_printf(MSG_DEBUG, "WPS: External Registrar not "
3476 * @reg: Registrar data from wps_registrar_init()
3478 * This function is called when selected registrar state changes, e.g., when an
3484 wpa_printf(MSG_DEBUG, "WPS: Selected registrar information changed");
3506 wpa_printf(MSG_DEBUG, "WPS: Internal Registrar selected "
3510 wpa_printf(MSG_DEBUG, "WPS: Internal Registrar not selected");
3645 wpa_printf(MSG_DEBUG, "WPS: Added NFC Device Password %u to Registrar",