]> git.ipfire.org Git - thirdparty/hostap.git/commit
EAP: Increase the maximum number of message exchanges
authorJouni Malinen <j@w1.fi>
Sun, 18 Aug 2019 14:18:17 +0000 (17:18 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 18 Aug 2019 14:40:31 +0000 (17:40 +0300)
commit7eb157f1e92f2f2333a383bb2493b3cc7b468e56
treef7a98cc7eb71ff6d3dc7076aa0dca95cc2edfced
parent0bcd9839bfd6fc21ecd386f197331b98b42de84f
EAP: Increase the maximum number of message exchanges

Allow 100 rounds of EAP messages if there is data being transmitted.
Keep the old 50 round limit for cases where only short EAP messages are
sent (i.e., the likely case of getting stuck in ACK loop).

This allows larger EAP data (e.g., large certificates) to be exchanged
without breaking the workaround for ACK loop interop issues.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/eap_peer/eap.c
src/eap_peer/eap_i.h
src/eap_server/eap_i.h
src/eap_server/eap_server.c