]> git.ipfire.org Git - thirdparty/hostap.git/commit
mesh: Add support for 160 MHz bandwidth in 5 GHz band for mesh
authorSuraj P Kizhakkethil <quic_surapk@quicinc.com>
Thu, 10 Apr 2025 11:11:22 +0000 (16:41 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 11 Apr 2025 09:56:26 +0000 (12:56 +0300)
commit69a4ce7c59cc1b7b0ccc050b3cfa108f184eedb6
tree84ce1c17c34a0e2950d63cdd445cdff4c267df41
parentc7601f37176410c58471ce84324dfc57a327482a
mesh: Add support for 160 MHz bandwidth in 5 GHz band for mesh

Add support for 160 MHz in 5 GHz band for mesh. Use max_oper_chwidth for
160 MHz bandwidth selection.

Currently, in the hwsim test cases mesh_secure_ocv_mix_legacy and
mesh_secure_ocv_mix_ht, dev0 is configured in 160 MHz bandwidth which
includes DFS channels. But the test case lacks DFS checks and since the
bandwidth downgrades to 80 MHz which excludes any DFS channels, the test
cases pass. With the addition of 160 MHz support, the test cases fail
due to the lack of DFS checks, as dev0 takes longer time to enable. Add
DFS checks to the test cases mesh_secure_ocv_mix_legacy and
mesh_secure_ocv_mix_ht.

For the test cases mesh_secure_ocv_mix_legacy and
mesh_secure_ocv_mix_ht, the regulatory domain is set using iw reg set
which does not update the country in the wpa_s structure, causing the
DFS channels to be disabled. Use control interface to update the
regulatory domain.

Signed-off-by: Suraj P Kizhakkethil <quic_surapk@quicinc.com>
tests/hwsim/test_wpas_mesh.py
wpa_supplicant/wpa_supplicant.c