From d8e0013e411f74f5e0ea106216045b543824c299 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 8 Apr 2014 01:35:01 +0300 Subject: [PATCH] tests: WNM BSS TM Req with neighbor report subelements Signed-off-by: Jouni Malinen --- tests/hwsim/test_wnm.py | 52 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/tests/hwsim/test_wnm.py b/tests/hwsim/test_wnm.py index ff454f2ce..6c3d9833e 100644 --- a/tests/hwsim/test_wnm.py +++ b/tests/hwsim/test_wnm.py @@ -293,3 +293,55 @@ def test_wnm_bss_tm_req(dev, apdev): 0, 81, 1, 7) hapd.mgmt_tx(req) resp = rx_bss_tm_resp(hapd, expect_dialog=6, expect_status=1) + + # Preferred Candidate List with a truncated subelement + req = bss_tm_req(dev[0].p2p_interface_addr(), apdev[0]['bssid'], + req_mode=0x01, dialog_token=7) + req['payload'] += struct.pack("