From: Jouni Malinen Date: Thu, 3 Mar 2016 14:59:27 +0000 (+0200) Subject: tests: BTM Request Preferred Candidate List followed by vendor element X-Git-Tag: hostap_2_6~766 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f1e26f8965ae048776fdcfd0b90ea36468c071c8;p=thirdparty%2Fhostap.git tests: BTM Request Preferred Candidate List followed by vendor element This goes through parsing code for a case that was interpreted incorrectly in the past. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_wnm.py b/tests/hwsim/test_wnm.py index 24bb78497..777589d50 100644 --- a/tests/hwsim/test_wnm.py +++ b/tests/hwsim/test_wnm.py @@ -419,6 +419,17 @@ def test_wnm_bss_tm_req(dev, apdev): hapd.mgmt_tx(req) resp = rx_bss_tm_resp(hapd, expect_dialog=8, expect_status=7) + # Preferred Candidate List followed by vendor element + req = bss_tm_req(dev[0].p2p_interface_addr(), apdev[0]['bssid'], + req_mode=0x01, dialog_token=8) + subelems = "" + req['payload'] += struct.pack("