]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/ap/ap_config.c
Add hostapd options wpa_group_update_count and wpa_pairwise_update_count
authorGünther Kelleter <guenther.kelleter@devolo.de>
Thu, 5 Jan 2017 16:00:33 +0000 (17:00 +0100)
committerJouni Malinen <j@w1.fi>
Mon, 6 Feb 2017 22:25:36 +0000 (00:25 +0200)
commit41f140d38617e1fd3fa88c1667c1bce0cad79224
tree2e8a5691cb7e154a0ee74c2948320dff6f226692
parente54691106b29f41aa3081b00eb4f48e411cebc72
Add hostapd options wpa_group_update_count and wpa_pairwise_update_count

wpa_group_update_count and wpa_pairwise_update_count can now be used to
set the GTK and PTK rekey retry limits (dot11RSNAConfigGroupUpdateCount
and dot11RSNAConfigPairwiseUpdateCount). Defaults set to current
hardcoded value (4).

Some stations may suffer from frequent deauthentications due to GTK
rekey failures: EAPOL 1/2 frame is not answered during the total timeout
period of currently ~3.5 seconds. For example, a Galaxy S6 with Android
6.0.1 appears to go into power save mode for up to 5 seconds. Increasing
wpa_group_update_count to 6 fixed this issue.

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
hostapd/config_file.c
hostapd/hostapd.conf
src/ap/ap_config.c
src/ap/ap_config.h
src/ap/wpa_auth.c
src/ap/wpa_auth.h
src/ap/wpa_auth_glue.c
src/ap/wpa_auth_i.h
wpa_supplicant/ibss_rsn.c
wpa_supplicant/mesh_rsn.c