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

Peter Oh peter.oh at bowerswilkins.com
Fri Apr 13 11:40:29 PDT 2018


First of all, thank you for your time to review it.


On 04/13/2018 01:31 AM, Masashi Honma wrote:
>
> Though I tried your patch with my test, it looks not work for me.
> The wlan0 could receieve DFS-CAC-START but wlan1 not.
> --------------
> 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
>     check_mesh_group_removed(dev[i])
>   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
>
This error is not due to DFS-CAC-START error, but something else if I 
read your test script correct.
CAC did not start - assume not supported
+        ev = wait_dfs_event(dev[i], "DFS-CAC-START", 5)
+        if "DFS-CAC-START" not in ev:
+            # For now, assume DFS is not supported by all kernel builds.
+            raise HwsimSkip("CAC did not start - assume not supported")


Thanks,
Peter





More information about the Hostap mailing list