Rate limit SA Query procedure initiation on unprotected disconnect
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 19 Jun 2014 17:56:32 +0000 (20:56 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 19 Jun 2014 17:56:32 +0000 (20:56 +0300)
commit3302b7c29f42c532c815268bcdcd09e1dbe1840c
tree9f0765d53835b1a8797cde079067706af7b799eb
parent4075e2fe77927f4e845e7319c726bf406d574627
Rate limit SA Query procedure initiation on unprotected disconnect

There is no need to trigger new SA Query procedure to check the state of
the connection immediately after having performed such a check. Limit
the impact of burst of unprotected Deauth/Disassoc frames by starting a
new SA Query procedure only once at least 10 seconds has passed from the
previous SA Query that was triggered by reception of an unprotected
disconnection. The first SA Query procedure for each association does
not follow this rule to avoid issues with test cases that expect to see
an SA Query every time.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/events.c
wpa_supplicant/sme.c
wpa_supplicant/wpa_supplicant_i.h