[PATCH v2 00/15] mesh: enable DFS channels in mesh mode

Masashi Honma masashi.honma at gmail.com
Fri Apr 13 01:31:57 PDT 2018

On 2018/04/12/ 18:48, peter.oh at bowerswilkins.com wrote:
> From: Peter Oh <peter.oh at bowerswilkins.com>
> This patchset enables DFS channels in mesh mode along with
> CAC and channel switch.
> It's been verified that works for non-dfs channels, dfs channels,
> w/wo encryption (none and SAE), radar detection, channel switch,
> and mesh re-association after channel switch.
> Only left area to cover is in the case when multiple mesh points
> detect radar at the same time, but they select different channels.
> To cover the case I think we need a private patch for it,
> because current 802.11s standard does not address it how to handle.
> * v2: corrected wrong sender's email

Thanks !

Though I tried your patch with my test, it looks not work for me.
The wlan0 could receieve DFS-CAC-START but wlan1 not.
sudo ./run-tests.py wpas_mesh_open_dfs
DEV: wlan0: 02:00:00:00:00:00
DEV: wlan1: 02:00:00:00:01:00
DEV: wlan2: 02:00:00:00:02:00
APDEV: wlan3
APDEV: wlan4
START wpas_mesh_open_dfs 1/1
Test: wpa_supplicant open MESH network with DFS
Test exception: Couldn't leave mesh
Traceback (most recent call last):
   File "./run-tests.py", line 466, in main
     t(dev, apdev)
   File "/home/honma/git/hostap/tests/hwsim/test_wpas_mesh.py", line 
1073, in test_wpas_mesh_open_dfs
   File "/home/honma/git/hostap/tests/hwsim/test_wpas_mesh.py", line 92, 
in check_mesh_group_removed
     raise Exception("Test exception: Couldn't leave mesh")
Exception: Test exception: Couldn't leave mesh
FAIL wpas_mesh_open_dfs 15.229537 2018-04-13 17:27:53.780874
passed 0 test case(s)
skipped 0 test case(s)
failed tests: wpas_mesh_open_dfs

My Linux kernel is letest wireless-testing commit
a07a0eb946c5bf461258fcccd374dc61c89566d5 "Add localversion to identify 
from this tree"

And I found some compiler warnings and a memory leak in your patches.
I will send some patches for these and my test case.

Masashi Honma.

More information about the Hostap mailing list