From: Benjamin Berg Date: Mon, 29 Apr 2024 11:51:50 +0000 (+0200) Subject: tests: Set the abridged bit in BTM tests X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=020f20a22295662c19bb1beac60a88d1377a0311;p=thirdparty%2Fhostap.git tests: Set the abridged bit in BTM tests Many of the WNM tests assume that the supplicant will only select a neighbor that was included in the candidate list. However, without the abridged bit being set, the supplicant is allowed to also select any BSS that is not explicitly included in the list. Prepare for the supplicant handling the abridged bit by setting it in the tests where relevant. Signed-off-by: Benjamin Berg --- diff --git a/tests/hwsim/test_wnm.py b/tests/hwsim/test_wnm.py index bf7a0ab21..a000da924 100644 --- a/tests/hwsim/test_wnm.py +++ b/tests/hwsim/test_wnm.py @@ -623,7 +623,7 @@ def test_wnm_bss_tm_req(dev, apdev): # truncated BSS TM Request req = bss_tm_req(addr, apdev[0]['bssid'], - req_mode=0x08) + req_mode=0x0a) req['payload'] = struct.pack("