From: Jouni Malinen Date: Sun, 21 Apr 2024 08:35:25 +0000 (+0300) Subject: tests: WPA2-PSK from RADIUS during 4-way handshake with Session-Timeout X-Git-Tag: hostap_2_11~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f83b7d7d1a824af1facff3ee895d611331507ca;p=thirdparty%2Fhostap.git tests: WPA2-PSK from RADIUS during 4-way handshake with Session-Timeout Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_radius.py b/tests/hwsim/test_radius.py index 4ecb6599b..a98a75a5e 100644 --- a/tests/hwsim/test_radius.py +++ b/tests/hwsim/test_radius.py @@ -1302,7 +1302,15 @@ def test_radius_psk(dev, apdev): def test_radius_psk_during_4way_hs(dev, apdev): """WPA2 with PSK from RADIUS during 4-way handshake""" - t, t_events = start_radius_psk_server("12345678") + run_radius_psk_during_4way_hs(dev, apdev, 0) + +def test_radius_psk_during_4way_hs_session_timeout(dev, apdev): + """WPA2 with PSK from RADIUS during 4-way handshake with Session-Timeout""" + run_radius_psk_during_4way_hs(dev, apdev, 10000) + +def run_radius_psk_during_4way_hs(dev, apdev, session_timeout): + t, t_events = start_radius_psk_server("12345678", + session_timeout=session_timeout) try: params = hostapd_radius_psk_test_params()