Home
last modified time | relevance | path

Searched refs:peer_version (Results 1 – 14 of 14) sorted by relevance

/hostap-3.7.0/src/common/
Ddpp_pkex.c359 u8 peer_version = 0; in dpp_pkex_rx_exchange_req() local
379 peer_version = version[0]; in dpp_pkex_rx_exchange_req()
381 peer_version); in dpp_pkex_rx_exchange_req()
420 pkex->peer_version = peer_version; in dpp_pkex_rx_exchange_req()
468 pkex->peer_version = peer_version; in dpp_pkex_rx_exchange_req()
551 pkex->peer_version, DPP_VERSION, in dpp_pkex_rx_exchange_req()
741 pkex->peer_version = version[0]; in dpp_pkex_rx_exchange_resp()
743 pkex->peer_version); in dpp_pkex_rx_exchange_resp()
869 DPP_VERSION, pkex->peer_version, in dpp_pkex_rx_exchange_resp()
Ddpp_reconfig.c531 auth->peer_version = version[0]; in dpp_reconfig_auth_req_rx()
533 auth->peer_version); in dpp_reconfig_auth_req_rx()
597 wpabuf_put_u8(clear, auth->peer_version); in dpp_reconfig_build_conf()
715 auth->peer_version = version[0]; in dpp_reconfig_auth_resp_rx()
717 auth->peer_version); in dpp_reconfig_auth_resp_rx()
Ddpp_auth.c292 if (auth->peer_version >= 2) { in dpp_auth_build_resp()
720 auth->peer_version = 1; /* default to the first version */ in dpp_auth_req_rx()
730 auth->peer_version = version[0]; in dpp_auth_req_rx()
732 auth->peer_version); in dpp_auth_req_rx()
1505 auth->peer_version = 1; /* default to the first version */ in dpp_auth_resp_rx()
1515 auth->peer_version = version[0]; in dpp_auth_resp_rx()
1517 auth->peer_version); in dpp_auth_resp_rx()
Ddpp.h206 u8 peer_version; member
260 u8 peer_version; member
398 int peer_version; member
Ddpp.c1370 if (((!conf->ssid_charset || auth->peer_version < 2) && in dpp_build_conf_start()
1373 ((conf->ssid_charset && auth->peer_version >= 2) && in dpp_build_conf_start()
1485 if (dpp_akm_ver2(akm) && auth->peer_version < 2) { in dpp_build_conf_obj_dpp()
1576 json_add_int(dppcon, "version", auth->peer_version); in dpp_build_conf_obj_dpp()
1650 if (auth->peer_version >= 2 && auth->conf->pp_key) { in dpp_build_conf_obj_dpp()
1797 if (dpp_akm_dpp(conf->akm) || (auth->peer_version >= 2 && auth->conf)) in dpp_build_conf_obj()
1858 if (auth->peer_version >= 2 && auth->send_conn_status && in dpp_build_conf_resp()
1936 if (auth->peer_version >= 2 && conf2) { in dpp_build_conf_resp()
1950 if (auth->peer_version >= 2 && auth->send_conn_status && in dpp_build_conf_resp()
2749 if (dpp_akm_dpp(conf->akm) || auth->peer_version >= 2) in dpp_parse_cred_dpp()
[all …]
Ddpp_tcp.c210 if (auth->peer_version >= 2 && in dpp_controller_gas_done()
1510 if (auth->peer_version < 2 || auth->conf_resp_status != DPP_STATUS_OK) in dpp_tcp_rx_gas_resp()
/hostap-3.7.0/src/eap_server/
Deap_server_fast.c42 int peer_version; member
645 binding->received_version = data->peer_version; in eap_fast_build_crypto_binding()
1441 int peer_version) in eap_fast_process_version() argument
1445 data->peer_version = peer_version; in eap_fast_process_version()
1447 if (data->force_version >= 0 && peer_version != data->force_version) { in eap_fast_process_version()
1450 data->force_version, peer_version); in eap_fast_process_version()
1454 if (peer_version < data->fast_version) { in eap_fast_process_version()
1457 peer_version, data->fast_version, peer_version); in eap_fast_process_version()
1458 data->fast_version = peer_version; in eap_fast_process_version()
Deap_server_teap.c38 u8 peer_version; member
661 cb->received_version = data->peer_version; in eap_teap_build_crypto_binding()
1402 cb->received_version != data->peer_version) { in eap_teap_validate_crypto_binding()
1725 int peer_version) in eap_teap_process_version() argument
1729 if (peer_version < 1) { in eap_teap_process_version()
1733 peer_version); in eap_teap_process_version()
1737 if (peer_version < data->teap_version) { in eap_teap_process_version()
1740 peer_version, data->teap_version, peer_version); in eap_teap_process_version()
1741 data->teap_version = peer_version; in eap_teap_process_version()
1744 data->peer_version = peer_version; in eap_teap_process_version()
Deap_server_peap.c1194 int peer_version) in eap_peap_process_version() argument
1198 data->recv_version = peer_version; in eap_peap_process_version()
1199 if (data->force_version >= 0 && peer_version != data->force_version) { in eap_peap_process_version()
1202 data->force_version, peer_version); in eap_peap_process_version()
1205 if (peer_version < data->peap_version) { in eap_peap_process_version()
1208 peer_version, data->peap_version, peer_version); in eap_peap_process_version()
1209 data->peap_version = peer_version; in eap_peap_process_version()
Deap_tls_common.h97 int peer_version),
Deap_server_ttls.c1140 int peer_version) in eap_ttls_process_version() argument
1143 if (peer_version < data->ttls_version) { in eap_ttls_process_version()
1146 peer_version, data->ttls_version, peer_version); in eap_ttls_process_version()
1147 data->ttls_version = peer_version; in eap_ttls_process_version()
Deap_server_tls_common.c519 int peer_version), in eap_server_tls_process() argument
/hostap-3.7.0/wpa_supplicant/
Ddpp_supplicant.c1482 if (auth->peer_version >= 2) { in wpas_dpp_post_process_config()
1768 if (auth->peer_version >= 2 && in wpas_dpp_gas_resp_cb()
2494 u8 peer_version = 1; in wpas_dpp_rx_peer_disc_resp() local
2599 peer_version = version[0]; in wpas_dpp_rx_peer_disc_resp()
2601 if (intro.peer_version && intro.peer_version >= 2 && in wpas_dpp_rx_peer_disc_resp()
2602 peer_version != intro.peer_version) { in wpas_dpp_rx_peer_disc_resp()
2605 intro.peer_version, peer_version); in wpas_dpp_rx_peer_disc_resp()
2610 entry->dpp_pfs = peer_version >= 2; in wpas_dpp_rx_peer_disc_resp()
2625 " status=%u version=%u", MAC2STR(src), status[0], peer_version); in wpas_dpp_rx_peer_disc_resp()
3401 if (ok && auth->peer_version >= 2 && in wpas_dpp_gas_status_handler()
/hostap-3.7.0/src/ap/
Ddpp_hostapd.c1242 if (auth->peer_version >= 2 && in hostapd_dpp_gas_resp_cb()
1959 if (intro.peer_version && intro.peer_version >= 2) { in hostapd_dpp_rx_peer_disc_req()
1968 if (attr_version != intro.peer_version) { in hostapd_dpp_rx_peer_disc_req()
1971 intro.peer_version, attr_version); in hostapd_dpp_rx_peer_disc_req()
2398 if (ok && auth->peer_version >= 2 && in hostapd_dpp_gas_status_handler()