From 060a522576f1a2ef9a012100ba7471e12cebd71e Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 9 Apr 2022 19:17:00 +0300 Subject: [PATCH] tests: Beacon request - active scan mode and NO_IR channel Signed-off-by: Jouni Malinen --- tests/hwsim/test_rrm.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/tests/hwsim/test_rrm.py b/tests/hwsim/test_rrm.py index 5a65a506e..67b21e306 100644 --- a/tests/hwsim/test_rrm.py +++ b/tests/hwsim/test_rrm.py @@ -815,6 +815,11 @@ class BeaconReport: return txt +def build_beacon_request(opclass=81, chan=0, rand_int=0, duration=0, mode=0, + bssid="FF:FF:FF:FF:FF:FF"): + req = struct.pack("