[PATCH 2/2] tests: Add a mesh DFS test

Jouni Malinen j at w1.fi
Mon Apr 2 07:14:26 PDT 2018

On Wed, May 10, 2017 at 06:18:27AM +0900, Masashi Honma wrote:
> On 2017/05/10 02:40, Jouni Malinen wrote:
> >On Mon, Apr 10, 2017 at 11:55:47AM +0900, Masashi Honma wrote:
> >>diff --git a/tests/hwsim/test_wpas_mesh.py b/tests/hwsim/test_wpas_mesh.py
> >
> >This fails for me with "Test exception: Remote peer did not connect.".
> >Both devices complete CAC successfully, but apparently fail to send
> >peering frames
> >
> >nl80211: Frame command failed: ret=-16 (Device or resource busy) (freq=5260 wait=0)
> >Mesh MPM: failed to send peering frame
> >
> >
> >Does this need some kernel changes to allow mesh to start operating on a
> >DFS channel?
> >
> This patch could pass all the test in test_wpas_mesh.py with wpa_supplicant and
> wireless-testing at Apr 10. I will re-try with latest code.

I haven't seen any updated on this and now that I tested this with the
current kernel, I'm seeing a failure as well (though, a different one):

nl80211: mesh join (ifindex=3)
  * freq=5260
  * vht_enabled=0
  * ht_enabled=1
  * sec_channel_offset=0
  * channel_type=1
  * Mesh ID (SSID) - hexdump_ascii(len=14):
 6d 65 73 68 2d 6f 70 65 6e         wpas-mesh-open  
  * flags=00000001
nl80211: mesh join failed: ret=-22 (Invalid argument)

I had left this patch set in my queue, but I'm dropping it now due to
the identified issues here and no obvious resolution for them. If you
have an updated version that works with the current Linux kernel, please
send an updated set.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list