From 951fc8df34f474d21e007e6d25a3f84e7da6e377 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 21 Nov 2017 00:49:17 +0200 Subject: [PATCH] tests: Double TPK M2 during TDLS setup initiation Signed-off-by: Jouni Malinen --- tests/hwsim/test_ap_tdls.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/hwsim/test_ap_tdls.py b/tests/hwsim/test_ap_tdls.py index 6b802fa30..3afa4a886 100644 --- a/tests/hwsim/test_ap_tdls.py +++ b/tests/hwsim/test_ap_tdls.py @@ -271,6 +271,14 @@ def test_ap_wpa2_tdls_wrong_tpk_m3_mic(dev, apdev): dev[1].tdls_setup(addr0) time.sleep(1) +def test_ap_wpa2_tdls_double_tpk_m2(dev, apdev): + """Double TPK M2 during TDLS setup initiation""" + hapd = start_ap_wpa2_psk(apdev[0]) + wlantest_setup(hapd) + connect_2sta_wpa2_psk(dev, hapd) + dev[0].request("SET tdls_testing 0x1000") + setup_tdls(dev[1], dev[0], hapd) + def test_ap_wpa_tdls(dev, apdev): """WPA-PSK AP and two stations using TDLS""" skip_with_fips(dev[0])