Lines Matching refs:registrar
45 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()
159 if (data->registrar && data->nfc_pw_token) in wps_deinit()
160 wps_registrar_remove_nfc_pw_token(data->wps->registrar, in wps_deinit()
167 if (data->registrar) in wps_deinit()
168 wps_registrar_invalidate_pin(data->wps->registrar, in wps_deinit()
170 } else if (data->registrar) in wps_deinit()
171 wps_registrar_unlock_pin(data->wps->registrar, data->uuid_e); in wps_deinit()
203 if (wps->registrar) in wps_process_msg()
221 if (wps->registrar) in wps_get_msg()