[PATCH v3 0/3] DPP: recover Enterprise provisioning from missed GAS comebacks
Jouni Malinen
j at w1.fi
Sun Nov 15 14:17:02 PST 2026
On Sun, Nov 15, 2026 at 09:47:26PM +0100, Gustavo Bertoli wrote:
> DPP Enterprise provisioning between two stations runs GAS off-channel
> while an external CA signs the CSR. One lost frame fails it today: the
> responder drops its entry when a comeback-delay response is not ACKed,
> and the requester restarts on a new dialog token 150 ms after a missed
> response, which loses the certBag prepared for the old token.
>
> v3 is a redesign following your comments on v1. Changes since v2:
>
> - The fragment resend (v2 1/5) is gone. No Fragment ID is sent twice.
> - The responder no longer holds back a Comeback Request until the
> previous TX status arrives (v2 2/5). Its only change is to keep the
> entry after a no-ACK on a frame without response data (1/3).
> - The requester retries on the same dialog token only after a 5 s
> listen without a response, so a retry cannot overtake a response
> still on its way. It is still opt-in, for the DPP Configuration
> Request that carries a CSR.
> - The test hooks moved out of gas_server.c, and the tests check that
> the injected fault happened (3/3).
>
> Each side works with an unmodified peer, and the requester change alone
> is enough to recover. If an unmodified responder has already dropped its
> entry, the patched requester gives up after 25 s instead of restarting.
>
> Tested: dpp_enterprise_5000ms fails 13/100 runs on main and 0/100 with
> this series; no regressions in the dpp, dpp3, gas, ap_hs20 and
> p2p_service modules. On real hardware (ath9k_htc, rtw88) with CA delays
> up to 75 s without a protocol failure.
>
> Not in this series: hostapd as Enrollee (gas_query_ap.c).
>
> Gustavo Bertoli (3):
> GAS server: Keep a waiting entry when a comeback delay is not ACKed
> GAS: Retry a missed DPP comeback on the same dialog token
> tests: DPP Enterprise certBag with lost or held GAS comeback frames
Thanks, applied.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list