Lines Matching refs:dpp_pkex
261 struct dpp_pkex *pkex) in hostapd_dpp_pkex_next_channel()
378 struct dpp_pkex *pkex; in hostapd_dpp_pkex_init()
384 dpp_pkex_free(hapd->dpp_pkex); in hostapd_dpp_pkex_init()
385 hapd->dpp_pkex = NULL; in hostapd_dpp_pkex_init()
404 hapd->dpp_pkex = pkex; in hostapd_dpp_pkex_init()
405 msg = hapd->dpp_pkex->exchange_req; in hostapd_dpp_pkex_init()
424 struct dpp_pkex *pkex = hapd->dpp_pkex; in hostapd_dpp_pkex_retry_timeout()
442 hapd->dpp_pkex = NULL; in hostapd_dpp_pkex_retry_timeout()
466 struct dpp_pkex *pkex = hapd->dpp_pkex; in hostapd_dpp_pkex_tx_status()
474 hapd->dpp_pkex = NULL; in hostapd_dpp_pkex_tx_status()
502 if (hapd->dpp_pkex) { in hostapd_dpp_tx_status()
2196 if (hapd->dpp_pkex) { in hostapd_dpp_rx_pkex_exchange_req()
2203 hapd->dpp_pkex = dpp_pkex_rx_exchange_req(hapd->msg_ctx, in hostapd_dpp_rx_pkex_exchange_req()
2210 if (!hapd->dpp_pkex) { in hostapd_dpp_rx_pkex_exchange_req()
2216 msg = hapd->dpp_pkex->exchange_resp; in hostapd_dpp_rx_pkex_exchange_req()
2222 if (hapd->dpp_pkex->failed) { in hostapd_dpp_rx_pkex_exchange_req()
2225 if (hapd->dpp_pkex->t > hapd->dpp_pkex->own_bi->pkex_t) in hostapd_dpp_rx_pkex_exchange_req()
2226 hapd->dpp_pkex->own_bi->pkex_t = hapd->dpp_pkex->t; in hostapd_dpp_rx_pkex_exchange_req()
2227 dpp_pkex_free(hapd->dpp_pkex); in hostapd_dpp_rx_pkex_exchange_req()
2228 hapd->dpp_pkex = NULL; in hostapd_dpp_rx_pkex_exchange_req()
2261 if (!hapd->dpp_pkex || !hapd->dpp_pkex->initiator || in hostapd_dpp_rx_pkex_exchange_resp()
2262 hapd->dpp_pkex->exchange_done) { in hostapd_dpp_rx_pkex_exchange_resp()
2268 hapd->dpp_pkex->exch_req_wait_time = 0; in hostapd_dpp_rx_pkex_exchange_resp()
2270 msg = dpp_pkex_rx_exchange_resp(hapd->dpp_pkex, src, buf, len); in hostapd_dpp_rx_pkex_exchange_resp()
2294 struct dpp_pkex *pkex = hapd->dpp_pkex; in hostapd_dpp_rx_pkex_commit_reveal_req()
2308 if (hapd->dpp_pkex->failed) { in hostapd_dpp_rx_pkex_commit_reveal_req()
2310 if (hapd->dpp_pkex->t > hapd->dpp_pkex->own_bi->pkex_t) in hostapd_dpp_rx_pkex_commit_reveal_req()
2311 hapd->dpp_pkex->own_bi->pkex_t = in hostapd_dpp_rx_pkex_commit_reveal_req()
2312 hapd->dpp_pkex->t; in hostapd_dpp_rx_pkex_commit_reveal_req()
2313 dpp_pkex_free(hapd->dpp_pkex); in hostapd_dpp_rx_pkex_commit_reveal_req()
2314 hapd->dpp_pkex = NULL; in hostapd_dpp_rx_pkex_commit_reveal_req()
2333 hapd->dpp_pkex = NULL; in hostapd_dpp_rx_pkex_commit_reveal_req()
2345 struct dpp_pkex *pkex = hapd->dpp_pkex; in hostapd_dpp_rx_pkex_commit_reveal_resp()
2366 hapd->dpp_pkex = NULL; in hostapd_dpp_rx_pkex_commit_reveal_resp()
2411 struct dpp_pkex *pkex; in hostapd_dpp_pb_pkex_init()
2423 if (hapd->dpp_pkex) { in hostapd_dpp_pb_pkex_init()
2427 msg = hapd->dpp_pkex->exchange_req; in hostapd_dpp_pb_pkex_init()
2449 hapd->dpp_pkex = pkex; in hostapd_dpp_pb_pkex_init()
2450 msg = hapd->dpp_pkex->exchange_req; in hostapd_dpp_pb_pkex_init()
3060 if (hapd->dpp_pkex) in hostapd_dpp_rx_action()
3061 pkex_t = hapd->dpp_pkex->t; in hostapd_dpp_rx_action()
3347 dpp_pkex_free(hapd->dpp_pkex); in hostapd_dpp_pkex_remove()
3348 hapd->dpp_pkex = NULL; in hostapd_dpp_pkex_remove()
3357 dpp_pkex_free(hapd->dpp_pkex); in hostapd_dpp_stop()
3358 hapd->dpp_pkex = NULL; in hostapd_dpp_stop()
3535 hapd->dpp_pkex = NULL; in hostapd_dpp_deinit()
3964 dpp_pkex_free(hapd->dpp_pkex); in hostapd_dpp_push_button_stop()
3965 hapd->dpp_pkex = NULL; in hostapd_dpp_push_button_stop()