DPP: Retry PKEX Exchange Request frame up to five times

Retransmit the PKEX Exchange Request frame if no response from a peer is
received. This makes the exchange more robust since this frame is sent
to a broadcast address and has no link layer retries.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2017-11-22 15:54:35 +02:00 committed by Jouni Malinen
parent cb6b22325f
commit 00d2d13db2
2 changed files with 73 additions and 12 deletions

View file

@ -131,6 +131,9 @@ struct dpp_pkex {
struct wpabuf *exchange_req;
struct wpabuf *exchange_resp;
unsigned int t; /* number of failures on code use */
unsigned int exch_req_wait_time;
unsigned int exch_req_tries;
unsigned int freq;
};
struct dpp_configuration {