]> git.ipfire.org Git - thirdparty/hostap.git/commit
AP: Save EAPOL received before Association Response ACK
authorEliad Peller <eliad@wizery.com>
Sun, 6 Mar 2016 09:29:16 +0000 (11:29 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 6 Mar 2016 15:08:12 +0000 (17:08 +0200)
commitf2accfe708c4919dce69d1c33d8ff7f8ba75dbf5
tree2ac2b0d1e23f748f7668aba8bb712800f4d48d00
parentc0ca24fc30c263024cfd1b282bc67a71ee2ddfca
AP: Save EAPOL received before Association Response ACK

There is a race condition in which AP might receive the EAPOL-Start
frame (from the just-associated station) before the TX completion of the
Association Response frame. This in turn will cause the EAPOL-Start
frame to get dropped, and potentially failing the connection.

Solve this by saving EAPOL frames from authenticated-but-not-associated
stations, and handling them during the Association Response frame TX
completion processing.

Signed-off-by: Eliad Peller <eliad@wizery.com>
src/ap/ieee802_11.c
src/ap/ieee802_1x.c
src/ap/sta_info.h