aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/hostapd.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-01-08 03:19:05 (GMT)
committerJouni Malinen <jouni@qca.qualcomm.com>2018-01-08 03:19:05 (GMT)
commit80f71b71d537cbccc8a57a21770d17c789d5dc24 (patch)
treeaa87dc465e4950350ec0216fb59619ae84844808 /src/ap/hostapd.h
parentc5cc7a59acb27804d5c7698dffd0dd2bc07ac937 (diff)
downloadhostap-80f71b71d537cbccc8a57a21770d17c789d5dc24.zip
hostap-80f71b71d537cbccc8a57a21770d17c789d5dc24.tar.gz
hostap-80f71b71d537cbccc8a57a21770d17c789d5dc24.tar.bz2
DPP: Authentication exchange retries and channel iteration in hostapd
This extends hostapd with previoiusly implemented wpa_supplicant functionality to retry DPP Authentication Request/Response and to iterate over possible negotiation channels. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'src/ap/hostapd.h')
-rw-r--r--src/ap/hostapd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ap/hostapd.h b/src/ap/hostapd.h
index 32de734..53d0f9a 100644
--- a/src/ap/hostapd.h
+++ b/src/ap/hostapd.h
@@ -347,6 +347,7 @@ struct hostapd_data {
u8 dpp_allowed_roles;
int dpp_qr_mutual;
int dpp_auth_ok_on_ack;
+ int dpp_in_response_listen;
struct gas_query_ap *gas;
struct dpp_pkex *dpp_pkex;
struct dpp_bootstrap_info *dpp_pkex_bi;
@@ -354,6 +355,13 @@ struct hostapd_data {
char *dpp_pkex_identifier;
char *dpp_pkex_auth_cmd;
char *dpp_configurator_params;
+ struct os_reltime dpp_last_init;
+ struct os_reltime dpp_init_iter_start;
+ unsigned int dpp_init_max_tries;
+ unsigned int dpp_init_retry_time;
+ unsigned int dpp_resp_wait_time;
+ unsigned int dpp_resp_max_tries;
+ unsigned int dpp_resp_retry_time;
#ifdef CONFIG_TESTING_OPTIONS
char *dpp_config_obj_override;
char *dpp_discovery_override;