From: Jouni Malinen Date: Mon, 20 Nov 2017 22:49:17 +0000 (+0200) Subject: tests: Double TPK M2 during TDLS setup initiation X-Git-Tag: hostap_2_7~808 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=951fc8df34f474d21e007e6d25a3f84e7da6e377;p=thirdparty%2Fhostap.git tests: Double TPK M2 during TDLS setup initiation Signed-off-by: Jouni Malinen --- 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])