013-mesh-do-not-allow-pri-sec-channel-switch.patch 1.1 KB

1234567891011121314151617181920212223242526272829
  1. From 4f4a9b9e2e61fba334a21dadea749e4b440f42e6 Mon Sep 17 00:00:00 2001
  2. From: Peter Oh <peter.oh@bowerswilkins.com>
  3. Date: Mon, 27 Aug 2018 14:28:48 -0700
  4. Subject: [PATCH 6/7] mesh: don't allow pri/sec channel switch
  5. This limitation isn't backed by standard, but it is known that
  6. mesh doesn't have capability to handle 20/40 coex change in
  7. current implementation and it will not able to establish
  8. PLINK when channel switch between primary and secondary happens.
  9. Since it's unknown when we will have the implementation of handling
  10. 20/40 coex change for mesh, it'd better to avoid them from happening
  11. until standard based implementation is introduced.
  12. Signed-off-by: Peter Oh <peter.oh@bowerswilkins.com>
  13. ---
  14. wpa_supplicant/mesh.c | 1 +
  15. 1 file changed, 1 insertion(+)
  16. --- a/wpa_supplicant/mesh.c
  17. +++ b/wpa_supplicant/mesh.c
  18. @@ -386,6 +386,7 @@ static int wpa_supplicant_mesh_init(stru
  19. conf->basic_rates[rate_len] = -1;
  20. }
  21. + conf->no_pri_sec_switch = 1;
  22. /* Handle pri/sec switch frequency within AP configuration parameter
  23. * generation without changing the stored network profile in the end. */
  24. saved_freq = ssid->frequency;