Lines Matching refs:dpp_auth
78 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_qr_code()
196 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_auth_resp_retry_timeout()
217 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_auth_resp_retry()
231 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_auth_resp_retry()
232 wpa_s->dpp_auth = NULL; in wpas_dpp_auth_resp_retry()
305 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_conn_status_result_timeout()
381 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_send_conn_status_result()
418 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_send_conn_status_result()
419 wpa_s->dpp_auth = NULL; in wpas_dpp_send_conn_status_result()
443 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_connected_timeout()
453 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_connected()
472 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_drv_wait_timeout()
489 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_neg_freq_timeout()
508 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_tx_status()
518 if (!wpa_s->dpp_auth) { in wpas_dpp_tx_status()
540 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_tx_status()
541 wpa_s->dpp_auth = NULL; in wpas_dpp_tx_status()
547 if (wpa_s->dpp_auth->remove_on_tx_status) { in wpas_dpp_tx_status()
561 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_tx_status()
562 wpa_s->dpp_auth = NULL; in wpas_dpp_tx_status()
609 if (!wpa_s->dpp_auth_ok_on_ack && wpa_s->dpp_auth->neg_freq > 0 && in wpas_dpp_tx_status()
610 wpa_s->dpp_auth->curr_freq != wpa_s->dpp_auth->neg_freq) { in wpas_dpp_tx_status()
613 wpa_s->dpp_auth->curr_freq, in wpas_dpp_tx_status()
614 wpa_s->dpp_auth->neg_freq); in wpas_dpp_tx_status()
629 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_reply_wait_timeout()
655 wpa_s->dpp_auth = NULL; in wpas_dpp_reply_wait_timeout()
695 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_auth_conf_wait_timeout()
705 wpa_s->dpp_auth = NULL; in wpas_dpp_auth_conf_wait_timeout()
732 if (!wpa_s->dpp_auth) in wpas_dpp_init_timeout()
741 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_auth_init_next()
768 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_auth_init_next()
769 wpa_s->dpp_auth = NULL; in wpas_dpp_auth_init_next()
937 if (!tcp && wpa_s->dpp_auth) { in wpas_dpp_auth_init()
949 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_auth_init()
950 wpa_s->dpp_auth = NULL; in wpas_dpp_auth_init()
979 wpa_s->dpp_auth = auth; in wpas_dpp_auth_init()
1149 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_tx_auth_resp()
1169 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_tx_auth_resp_roc_timeout()
1188 if (wpa_s->dpp_auth && wpa_s->dpp_tx_auth_resp_on_roc_stop) { in wpas_dpp_cancel_remain_on_channel_cb()
1199 if (wpa_s->dpp_auth && wpa_s->dpp_in_response_listen) { in wpas_dpp_cancel_remain_on_channel_cb()
1203 if (wpa_s->dpp_auth->neg_freq > 0) in wpas_dpp_cancel_remain_on_channel_cb()
1204 new_freq = wpa_s->dpp_auth->neg_freq; in wpas_dpp_cancel_remain_on_channel_cb()
1206 new_freq = wpa_s->dpp_auth->curr_freq; in wpas_dpp_cancel_remain_on_channel_cb()
1284 if (wpa_s->dpp_auth) { in wpas_dpp_rx_auth_req()
1294 wpa_s->dpp_auth = dpp_auth_req_rx(wpa_s->dpp, wpa_s, in wpas_dpp_rx_auth_req()
1298 if (!wpa_s->dpp_auth) { in wpas_dpp_rx_auth_req()
1302 wpas_dpp_set_testing_options(wpa_s, wpa_s->dpp_auth); in wpas_dpp_rx_auth_req()
1303 if (dpp_set_configurator(wpa_s->dpp_auth, in wpas_dpp_rx_auth_req()
1305 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_rx_auth_req()
1306 wpa_s->dpp_auth = NULL; in wpas_dpp_rx_auth_req()
1309 os_memcpy(wpa_s->dpp_auth->peer_mac_addr, src, ETH_ALEN); in wpas_dpp_rx_auth_req()
1312 wpa_s->dpp_listen_freq != wpa_s->dpp_auth->curr_freq) { in wpas_dpp_rx_auth_req()
1315 wpa_s->dpp_listen_freq, wpa_s->dpp_auth->curr_freq); in wpas_dpp_rx_auth_req()
1332 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_tx_wait_expire()
1370 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_start_gas_server()
1814 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_build_csr()
1825 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_build_csr()
1826 wpa_s->dpp_auth = NULL; in wpas_dpp_build_csr()
1839 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_build_new_key()
1857 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_gas_resp_cb()
1967 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_gas_resp_cb()
1968 wpa_s->dpp_auth = NULL; in wpas_dpp_gas_resp_cb()
1975 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_gas_client_timeout()
1983 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_gas_client_timeout()
1984 wpa_s->dpp_auth = NULL; in wpas_dpp_gas_client_timeout()
1990 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_start_gas_client()
2046 dpp_notify_auth_success(wpa_s->dpp_auth, initiator); in wpas_dpp_auth_success()
2051 if (wpa_s->dpp_auth->configurator) { in wpas_dpp_auth_success()
2053 wpa_s->dpp_auth->auth_success = 0; in wpas_dpp_auth_success()
2059 if (wpa_s->dpp_auth->configurator) in wpas_dpp_auth_success()
2070 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_rx_auth_resp()
2126 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_rx_auth_conf()
2160 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_config_result_wait_timeout()
2169 wpa_s->dpp_auth = NULL; in wpas_dpp_config_result_wait_timeout()
2177 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_conn_status_result_wait_timeout()
2187 wpa_s->dpp_auth = NULL; in wpas_dpp_conn_status_result_wait_timeout()
2230 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_rx_conf_result()
2293 wpa_s->dpp_auth = NULL; in wpas_dpp_rx_conf_result()
2316 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_rx_conn_status_result()
2340 wpa_s->dpp_auth = NULL; in wpas_dpp_rx_conn_status_result()
2417 if (wpa_s->dpp_auth) { in wpas_dpp_rx_presence_announcement()
2470 wpa_s->dpp_auth = auth; in wpas_dpp_rx_presence_announcement()
2472 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_rx_presence_announcement()
2473 wpa_s->dpp_auth = NULL; in wpas_dpp_rx_presence_announcement()
2482 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_reconfig_reply_wait_timeout()
2491 wpa_s->dpp_auth = NULL; in wpas_dpp_reconfig_reply_wait_timeout()
2510 if (wpa_s->dpp_auth) { in wpas_dpp_rx_reconfig_announcement()
2559 wpa_s->dpp_auth = auth; in wpas_dpp_rx_reconfig_announcement()
2582 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_rx_reconfig_announcement()
2583 wpa_s->dpp_auth = NULL; in wpas_dpp_rx_reconfig_announcement()
2601 if (wpa_s->dpp_auth) { in wpas_dpp_rx_reconfig_auth_req()
2631 wpa_s->dpp_auth = auth; in wpas_dpp_rx_reconfig_auth_req()
2641 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_rx_reconfig_auth_req()
2642 wpa_s->dpp_auth = NULL; in wpas_dpp_rx_reconfig_auth_req()
2652 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_rx_reconfig_auth_resp()
2682 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_rx_reconfig_auth_resp()
2683 wpa_s->dpp_auth = NULL; in wpas_dpp_rx_reconfig_auth_resp()
2697 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_rx_reconfig_auth_conf()
4178 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_gas_initial_resp_timeout()
4195 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_gas_req_handler()
4298 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_gas_req_handler()
4299 wpa_s->dpp_auth = NULL; in wpas_dpp_gas_req_handler()
4309 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_gas_status_handler()
4367 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_gas_status_handler()
4368 wpa_s->dpp_auth = NULL; in wpas_dpp_gas_status_handler()
4800 if (wpa_s->dpp_auth || wpa_s->dpp_pkex || wpa_s->dpp_pkex_wait_auth_req) in wpas_dpp_stop()
4802 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_stop()
4803 wpa_s->dpp_auth = NULL; in wpas_dpp_stop()
4925 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_conf_set()
5364 if (wpa_s->dpp_auth) { in wpas_dpp_reconfig()
5405 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_ca_set()