]> git.ipfire.org Git - thirdparty/hostap.git/commit
SAE: A bit optimized sae_confirm_immediate=2 for testing purposes
authorJouni Malinen <jouni@codeaurora.org>
Wed, 8 Jan 2020 18:52:26 +0000 (20:52 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 8 Jan 2020 18:57:08 +0000 (20:57 +0200)
commit3912cbd88d5b825188beda45a398be46e389e9f2
tree4ee6ed24d547b94c3fab0b53e85367ad875f3fb6
parent33c8a10498c12624bb7418938669994213a82000
SAE: A bit optimized sae_confirm_immediate=2 for testing purposes

sae_confirm_immediate=2 can now be used in CONFIG_TESTING_OPTIONS=y
builds to minimize the latency between SAE Commit and SAE Confirm by
postponing transmission of SAE Commit until the SAE Confirm frame is
generated. This does not have significant impact, but can get the frames
tiny bit closer to each other over the air to increase testing coverage.
The only difference between sae_confirm_immediate 1 and 2 is in the
former deriving KCK, PMK, PMKID, and CN between transmission of the
frames (i.e., a small number of hash operations).

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/ap/ieee802_11.c
src/ap/sta_info.c
src/ap/sta_info.h