From: Jouni Malinen Date: Mon, 7 Apr 2014 22:35:01 +0000 (+0300) Subject: tests: WNM BSS TM Req with neighbor report subelements X-Git-Tag: hostap_2_2~339 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8e0013e411f74f5e0ea106216045b543824c299;p=thirdparty%2Fhostap.git tests: WNM BSS TM Req with neighbor report subelements Signed-off-by: Jouni Malinen --- 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("