Home
last modified time | relevance | path

Searched refs:registrar (Results 1 – 25 of 26) sorted by relevance

12

/hostap-3.7.0/src/wps/
Dwps.c45 data->registrar = cfg->registrar; in wps_init()
46 if (cfg->registrar) { in wps_init()
69 if (cfg->wps->ap && !cfg->registrar && cfg->wps->ap_nfc_dev_pw_id) { in wps_init()
102 data->state = data->registrar ? RECV_M1 : SEND_M1; in wps_init()
161 if (data->registrar && data->nfc_pw_token) in wps_deinit()
162 wps_registrar_remove_nfc_pw_token(data->wps->registrar, in wps_deinit()
169 if (data->registrar) in wps_deinit()
170 wps_registrar_invalidate_pin(data->wps->registrar, in wps_deinit()
172 } else if (data->registrar) in wps_deinit()
173 wps_registrar_unlock_pin(data->wps->registrar, data->uuid_e); in wps_deinit()
[all …]
Dwps_registrar.c1095 void wps_registrar_complete(struct wps_registrar *registrar, const u8 *uuid_e, in wps_registrar_complete() argument
1098 if (registrar->pbc) { in wps_registrar_complete()
1099 wps_registrar_remove_pbc_session(registrar, in wps_registrar_complete()
1101 wps_registrar_pbc_completed(registrar); in wps_registrar_complete()
1103 os_get_reltime(&registrar->pbc_ignore_start); in wps_registrar_complete()
1105 os_memcpy(registrar->pbc_ignore_uuid, uuid_e, WPS_UUID_LEN); in wps_registrar_complete()
1107 wps_registrar_pin_completed(registrar); in wps_registrar_complete()
1111 wps_registrar_invalidate_wildcard_pin(registrar, dev_pw, in wps_registrar_complete()
1416 pin = wps_registrar_get_pin(wps->wps->registrar, wps->uuid_e, in wps_get_dev_password()
1430 wps->wps, wps->wps->registrar); in wps_get_dev_password()
[all …]
Dwps_er.c860 wps_registrar_probe_req_rx(ap->er->wps->registrar, addr, msg, 0); in wps_er_process_wlanevent_probe_req()
1044 cfg.registrar = 1; in wps_er_sta_start()
1507 struct wps_registrar *reg = er->wps->registrar; in wps_er_set_sel_reg()
1568 if (wps_registrar_pbc_overlap(er->wps->registrar, NULL, NULL)) { in wps_er_pbc()
1597 res = wps_registrar_button_pushed(er->wps->registrar, NULL); in wps_er_pbc()
1800 cfg.registrar = 1; in wps_er_ap_learn_m1()
1937 wps_registrar_add_pin(er->wps->registrar, NULL, uuid, pin, pin_len, 0); in wps_er_learn()
1983 cfg.registrar = 1; in wps_er_ap_config_m1()
2028 wps_registrar_add_pin(er->wps->registrar, NULL, uuid, pin, pin_len, 0); in wps_er_config()
Dwps.h119 int registrar; member
645 struct wps_registrar *registrar; member
862 void wps_registrar_complete(struct wps_registrar *registrar, const u8 *uuid_e,
Dwps_enrollee.c322 if (wps->wps->registrar) { in wps_build_cred_network_key()
323 wps_cb_new_psk(wps->wps->registrar, in wps_build_cred_network_key()
408 if (wps->wps->ap && wps->wps->registrar) { in wps_build_m7()
414 wps_device_store(wps->wps->registrar, &wps->peer_dev, in wps_build_m7()
Dwps_i.h32 int registrar; member
Dwps_upnp.c569 upnp_er_remove_notification(iface->wps->registrar, s); in subscription_destroy()
1143 iface->wps->registrar); in upnp_wps_device_deinit()
Dwps_attr_build.c85 if (wps->registrar) { in wps_build_public_key()
Dwps_common.c75 pubkey = wps->registrar ? wps->dh_pubkey_e : wps->dh_pubkey_r; in wps_derive_keys()
Dwps_upnp_web.c722 if (upnp_er_set_selected_registrar(iface->wps->registrar, s, in web_process_set_selected_registrar()
/hostap-3.7.0/src/eap_server/
Deap_server_wsc.c21 int registrar; member
82 int registrar; in eap_wsc_init() local
88 registrar = 0; /* Supplicant is Registrar */ in eap_wsc_init()
92 registrar = 1; /* Supplicant is Enrollee */ in eap_wsc_init()
102 data->state = registrar ? START : MESG; in eap_wsc_init()
103 data->registrar = registrar; in eap_wsc_init()
107 cfg.registrar = registrar; in eap_wsc_init()
108 if (registrar) { in eap_wsc_init()
109 if (!sm->cfg->wps || !sm->cfg->wps->registrar) { in eap_wsc_init()
/hostap-3.7.0/src/eap_peer/
Deap_wsc.c21 int registrar; member
143 int registrar; in eap_wsc_init() local
163 registrar = 1; /* Supplicant is Registrar */ in eap_wsc_init()
166 registrar = 0; /* Supplicant is Enrollee */ in eap_wsc_init()
176 data->state = registrar ? MESG : WAIT_START; in eap_wsc_init()
177 data->registrar = registrar; in eap_wsc_init()
182 cfg.registrar = registrar; in eap_wsc_init()
275 if (registrar && cfg.pin) { in eap_wsc_init()
276 wps_registrar_add_pin(data->wps_ctx->registrar, NULL, NULL, in eap_wsc_init()
/hostap-3.7.0/src/ap/
Dwps_hostapd.c223 wps_registrar_complete(hapd->wps->registrar, data->uuid_e, in wps_stop_registrar()
734 wps_registrar_update_ie(hapd->wps->registrar); in hostapd_wps_reenable_ap_pin()
761 wps_registrar_update_ie(hapd->wps->registrar); in wps_pwd_auth_fail()
1318 wps->registrar = wps_registrar_init(wps, &cfg); in hostapd_init_wps()
1319 if (wps->registrar == NULL) { in hostapd_init_wps()
1361 wps_registrar_deinit(wps->registrar); in hostapd_init_wps_complete()
1441 wps_registrar_deinit(hapd->wps->registrar); in hostapd_deinit_wps()
1503 hostapd_wps_update_multi_ap(hapd, wps->registrar); in hostapd_update_wps()
1509 wps_registrar_update_ie(wps->registrar); in hostapd_update_wps()
1532 ret = wps_registrar_add_pin(hapd->wps->registrar, data->addr, in wps_add_pin()
[all …]
/hostap-3.7.0/wpa_supplicant/
Dwps_supplicant.c371 int registrar = 0; in wpa_supplicant_wps_cred() local
440 registrar = 1; in wpa_supplicant_wps_cred()
518 if (registrar) { in wpa_supplicant_wps_cred()
1010 int registrar, const u8 *dev_addr, in wpas_wps_add_network() argument
1023 wpa_config_set(ssid, "identity", registrar ? in wpas_wps_add_network()
1642 wps->registrar = wps_registrar_init(wps, &rcfg); in wpas_wps_init()
1643 if (wps->registrar == NULL) { in wpas_wps_init()
1690 wps_registrar_deinit(wpa_s->wps->registrar); in wpas_wps_deinit()
2007 return wps_registrar_add_pin(wpa_s->wps->registrar, addr, in wpas_wps_er_add_pin()
2477 wpa_s->wps->registrar, attr->oob_dev_password, in wpas_wps_add_nfc_password_token()
[all …]
Dp2p_supplicant.h189 int registrar);
255 const u8 *peer_addr, int registrar) in wpas_p2p_wps_success() argument
DREADME-WPS6 management GUI) is used to enable WPS enrollment and registrar
64 If you want to enable WPS external registrar (ER) functionality, you
Dandroid.config140 # Enable WPS external registrar functionality
143 # registrar.
Dap.c1257 reg = wpa_s->ap_iface->bss[0]->wps->registrar; in wpa_supplicant_ap_wps_cancel()
1729 return wps_registrar_add_nfc_pw_token(hapd->wps->registrar, pubkey_hash, in wpas_ap_wps_add_nfc_pw()
Ddefconfig171 # Enable WPS external registrar functionality
174 # registrar.
DREADME-P2P7 registrar registration.
Dp2p_supplicant.c7124 int registrar) in wpas_p2p_wps_success() argument
/hostap-3.7.0/wpa_supplicant/wpa_gui-qt4/lang/
Dwpa_gui_de.ts1005 <source>WPS AP with recently selected registrar</source>
/hostap-3.7.0/doc/
Dctrl_iface.doxygen781 registrar found in scan results.
Ddbus.doxygen1318 …td><td>s</td><td>The device's role. Possible values are "enrollee" and "registrar".</td><td>Yes</t…
1320 … <tr><td>Pin</td><td>s</td><td>WPS Pin.</td><td>Yes, for registrar role; otherwise optional</td>
/hostap-3.7.0/hostapd/
DChangeLog605 registrar. It works in the same way as new AP settings received

12