[PATCH RFC 4/9] tests: expose scan_freq_offset

Lachlan Hodges lachlan.hodges at morsemicro.com
Thu Oct 8 20:32:01 PDT 2026


Expose `scan_freq_offset` such that S1G channels can be scanned
during tests.

Signed-off-by: Lachlan Hodges <lachlan.hodges at morsemicro.com>
---
 tests/hwsim/wpasupplicant.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/hwsim/wpasupplicant.py b/tests/hwsim/wpasupplicant.py
index e5aeec200795..be054dcf26d2 100644
--- a/tests/hwsim/wpasupplicant.py
+++ b/tests/hwsim/wpasupplicant.py
@@ -1153,7 +1153,8 @@ class WpaSupplicant:
                       "eap_over_auth_frame",
                       "security_profiles",
                       "disable_pmksa_caching",
-                      "disable_uhr"]
+                      "disable_uhr",
+                      "scan_freq_offset"]
         for field in not_quoted:
             if field in kwargs and kwargs[field]:
                 self.set_network(id, field, kwargs[field])
-- 
2.43.0




More information about the Hostap mailing list