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()
614 if (!wpa_s->dpp_auth_ok_on_ack && wpa_s->dpp_auth->neg_freq > 0 && in wpas_dpp_tx_status()
615 wpa_s->dpp_auth->curr_freq != wpa_s->dpp_auth->neg_freq) { in wpas_dpp_tx_status()
618 wpa_s->dpp_auth->curr_freq, in wpas_dpp_tx_status()
619 wpa_s->dpp_auth->neg_freq); in wpas_dpp_tx_status()
634 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_reply_wait_timeout()
660 wpa_s->dpp_auth = NULL; in wpas_dpp_reply_wait_timeout()
700 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_auth_conf_wait_timeout()
710 wpa_s->dpp_auth = NULL; in wpas_dpp_auth_conf_wait_timeout()
737 if (!wpa_s->dpp_auth) in wpas_dpp_init_timeout()
746 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_auth_init_next()
773 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_auth_init_next()
774 wpa_s->dpp_auth = NULL; in wpas_dpp_auth_init_next()
942 if (!tcp && wpa_s->dpp_auth) { in wpas_dpp_auth_init()
954 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_auth_init()
955 wpa_s->dpp_auth = NULL; in wpas_dpp_auth_init()
984 wpa_s->dpp_auth = auth; in wpas_dpp_auth_init()
1154 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_tx_auth_resp()
1174 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_tx_auth_resp_roc_timeout()
1193 if (wpa_s->dpp_auth && wpa_s->dpp_tx_auth_resp_on_roc_stop) { in wpas_dpp_cancel_remain_on_channel_cb()
1204 if (wpa_s->dpp_auth && wpa_s->dpp_in_response_listen) { in wpas_dpp_cancel_remain_on_channel_cb()
1208 if (wpa_s->dpp_auth->neg_freq > 0) in wpas_dpp_cancel_remain_on_channel_cb()
1209 new_freq = wpa_s->dpp_auth->neg_freq; in wpas_dpp_cancel_remain_on_channel_cb()
1211 new_freq = wpa_s->dpp_auth->curr_freq; in wpas_dpp_cancel_remain_on_channel_cb()
1289 if (wpa_s->dpp_auth) { in wpas_dpp_rx_auth_req()
1299 wpa_s->dpp_auth = dpp_auth_req_rx(wpa_s->dpp, wpa_s, in wpas_dpp_rx_auth_req()
1303 if (!wpa_s->dpp_auth) { in wpas_dpp_rx_auth_req()
1307 wpas_dpp_set_testing_options(wpa_s, wpa_s->dpp_auth); in wpas_dpp_rx_auth_req()
1308 if (dpp_set_configurator(wpa_s->dpp_auth, in wpas_dpp_rx_auth_req()
1310 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_rx_auth_req()
1311 wpa_s->dpp_auth = NULL; in wpas_dpp_rx_auth_req()
1314 os_memcpy(wpa_s->dpp_auth->peer_mac_addr, src, ETH_ALEN); in wpas_dpp_rx_auth_req()
1317 wpa_s->dpp_listen_freq != wpa_s->dpp_auth->curr_freq) { in wpas_dpp_rx_auth_req()
1320 wpa_s->dpp_listen_freq, wpa_s->dpp_auth->curr_freq); in wpas_dpp_rx_auth_req()
1337 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_tx_wait_expire()
1375 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_start_gas_server()
1819 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_build_csr()
1830 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_build_csr()
1831 wpa_s->dpp_auth = NULL; in wpas_dpp_build_csr()
1844 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_build_new_key()
1862 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_gas_resp_cb()
1972 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_gas_resp_cb()
1973 wpa_s->dpp_auth = NULL; in wpas_dpp_gas_resp_cb()
1980 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_gas_client_timeout()
1988 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_gas_client_timeout()
1989 wpa_s->dpp_auth = NULL; in wpas_dpp_gas_client_timeout()
1995 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_start_gas_client()
2051 dpp_notify_auth_success(wpa_s->dpp_auth, initiator); in wpas_dpp_auth_success()
2056 if (wpa_s->dpp_auth->configurator) { in wpas_dpp_auth_success()
2058 wpa_s->dpp_auth->auth_success = 0; in wpas_dpp_auth_success()
2064 if (wpa_s->dpp_auth->configurator) in wpas_dpp_auth_success()
2075 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_rx_auth_resp()
2131 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_rx_auth_conf()
2165 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_config_result_wait_timeout()
2174 wpa_s->dpp_auth = NULL; in wpas_dpp_config_result_wait_timeout()
2182 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_conn_status_result_wait_timeout()
2192 wpa_s->dpp_auth = NULL; in wpas_dpp_conn_status_result_wait_timeout()
2235 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_rx_conf_result()
2298 wpa_s->dpp_auth = NULL; in wpas_dpp_rx_conf_result()
2321 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_rx_conn_status_result()
2345 wpa_s->dpp_auth = NULL; in wpas_dpp_rx_conn_status_result()
2422 if (wpa_s->dpp_auth) { in wpas_dpp_rx_presence_announcement()
2475 wpa_s->dpp_auth = auth; in wpas_dpp_rx_presence_announcement()
2477 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_rx_presence_announcement()
2478 wpa_s->dpp_auth = NULL; in wpas_dpp_rx_presence_announcement()
2487 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_reconfig_reply_wait_timeout()
2496 wpa_s->dpp_auth = NULL; in wpas_dpp_reconfig_reply_wait_timeout()
2515 if (wpa_s->dpp_auth) { in wpas_dpp_rx_reconfig_announcement()
2564 wpa_s->dpp_auth = auth; in wpas_dpp_rx_reconfig_announcement()
2587 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_rx_reconfig_announcement()
2588 wpa_s->dpp_auth = NULL; in wpas_dpp_rx_reconfig_announcement()
2606 if (wpa_s->dpp_auth) { in wpas_dpp_rx_reconfig_auth_req()
2636 wpa_s->dpp_auth = auth; in wpas_dpp_rx_reconfig_auth_req()
2646 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_rx_reconfig_auth_req()
2647 wpa_s->dpp_auth = NULL; in wpas_dpp_rx_reconfig_auth_req()
2657 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_rx_reconfig_auth_resp()
2687 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_rx_reconfig_auth_resp()
2688 wpa_s->dpp_auth = NULL; in wpas_dpp_rx_reconfig_auth_resp()
2702 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_rx_reconfig_auth_conf()
4183 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_gas_initial_resp_timeout()
4200 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_gas_req_handler()
4303 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_gas_req_handler()
4304 wpa_s->dpp_auth = NULL; in wpas_dpp_gas_req_handler()
4314 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_gas_status_handler()
4372 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_gas_status_handler()
4373 wpa_s->dpp_auth = NULL; in wpas_dpp_gas_status_handler()
4805 if (wpa_s->dpp_auth || wpa_s->dpp_pkex || wpa_s->dpp_pkex_wait_auth_req) in wpas_dpp_stop()
4807 dpp_auth_deinit(wpa_s->dpp_auth); in wpas_dpp_stop()
4808 wpa_s->dpp_auth = NULL; in wpas_dpp_stop()
4930 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_conf_set()
5374 if (wpa_s->dpp_auth) { in wpas_dpp_reconfig()
5415 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_ca_set()