From 020f20a22295662c19bb1beac60a88d1377a0311 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Mon, 29 Apr 2024 13:51:50 +0200 Subject: [PATCH] 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 --- tests/hwsim/test_wnm.py | 66 ++++++++++++++++++++--------------------- 1 file changed, 33 insertions(+), 33 deletions(-) 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("