aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ibss_rsn.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-08-26 23:54:35 (GMT)
committerJouni Malinen <j@w1.fi>2013-08-26 23:54:35 (GMT)
commit6fb7b58fe4ce194d1588185812df00f64899042f (patch)
tree52e38fbc79489c54e1f4eaf4abcbd3190c87723f /wpa_supplicant/ibss_rsn.h
parent3d5b356ac0b7434292b2b814bd723be31e3139c8 (diff)
downloadhostap-6fb7b58fe4ce194d1588185812df00f64899042f.zip
hostap-6fb7b58fe4ce194d1588185812df00f64899042f.tar.gz
hostap-6fb7b58fe4ce194d1588185812df00f64899042f.tar.bz2
IBSS RSN: Work around Data RX vs. Authentication RX race condition
It is possible for the driver to report EAPOL frame RX before Authentication frame RX even if the frames arrived in the opposite order. This can result in issues in cases where both IBSS peers initiate Authentication frame exchange at about the same time and one of the EAPOL sessions is started before processing Authentication frame seq=1 RX. Work around this by not re-initializing EAPOL state on Authentication (SEQ=1) RX if own Authentication frame was transmitted within last 500 ms. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/ibss_rsn.h')
-rw-r--r--wpa_supplicant/ibss_rsn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/ibss_rsn.h b/wpa_supplicant/ibss_rsn.h
index 6b89f7a..3089283 100644
--- a/wpa_supplicant/ibss_rsn.h
+++ b/wpa_supplicant/ibss_rsn.h
@@ -39,6 +39,8 @@ struct ibss_rsn_peer {
struct wpa_state_machine *auth;
int authentication_status;
+
+ struct os_time own_auth_tx;
};
struct ibss_rsn {