[PATCH 0/2] DPP: Add Configuration Request timeout

Andrew Beltrano anbeltra at microsoft.com
Tue Apr 20 00:03:34 BST 2021


In the case of an enrollee that goes offline or does not otherwise intend to
complete a DPP exchange following successful authentication, the lack of
timeout causes the configurator to wait for receipt of a Configuration
Request frame indefinitely, preventing further DPP requests from being
processed.

Add a 10s timeout for receipt of a Configuration Request frame following
successful DPP authentication. The timeout is enforced for the configurator
device role, aborts an ongoing DPP exchange upon expiration, and emits
DPP_EVENT_CONF_FAILED.

The timeout is required by the Wi-Fi EasyConnect specification (see v2.0,
Sections 7.3.5 Configurator State Machine, 7.3.5.1, Authenticated State).

This patch-set implements the timeout for hostapd and wpa_supplicant.

Andrew Beltrano (2):
  DPP: Add Configuration Request timeout in hostapd
  DPP: Add Configuration Request timeout in wpas

 src/ap/dpp_hostapd.c            | 26 ++++++++++++++++++++++++++
 wpa_supplicant/dpp_supplicant.c | 28 +++++++++++++++++++++++++++-
 2 files changed, 53 insertions(+), 1 deletion(-)

-- 
2.23.3


More information about the Hostap mailing list