From: Jouni Malinen Date: Fri, 24 May 2019 14:06:44 +0000 (+0300) Subject: tests: Preferred Candidate List with truncated BSS Termination Duration X-Git-Tag: hostap_2_9~274 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d27f1acbfaaa59b547a1434b61e0cd62b460922f;p=thirdparty%2Fhostap.git tests: Preferred Candidate List with truncated BSS Termination Duration Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_wnm.py b/tests/hwsim/test_wnm.py index 07d18702a..66d74c351 100644 --- a/tests/hwsim/test_wnm.py +++ b/tests/hwsim/test_wnm.py @@ -691,6 +691,19 @@ def test_wnm_bss_tm_req(dev, apdev): resp = rx_bss_tm_resp(hapd, expect_dialog=8, expect_status=7) dev[0].dump_monitor() + # Preferred Candidate List with truncated BSS Termination Duration + # WNM: Too short BSS termination duration + req = bss_tm_req(addr, apdev[0]['bssid'], + req_mode=0x01, dialog_token=8) + # BSS Termination Duration (truncated) + subelems = struct.pack("