[v8,15/16] mesh: don't allow pri/sec channel switch

Message ID b7e081b0af591fdc065c34aafe90fea91f735b7f.1535403927.git.peter.oh@bowerswilkins.com
State New
Headers show
  • mesh: enable DFS channels in mesh mode
Related show

Commit Message

Peter Oh Aug. 27, 2018, 9:28 p.m.
From: Peter Oh <peter.oh@bowerswilkins.com>

This limitation isn't backed by standard, but it is known that
mesh doesn't have capability to handle 20/40 coex change in
current implementation and it will not able to establish
PLINK when channel switch between primary and secondary happens.

Since it's unknown when we will have the implementation of handling
20/40 coex change for mesh, it'd better to avoid them from happening
until standard based implementation is introduced.

Signed-off-by: Peter Oh <peter.oh@bowerswilkins.com>
 wpa_supplicant/mesh.c | 1 +
 1 file changed, 1 insertion(+)


diff --git a/wpa_supplicant/mesh.c b/wpa_supplicant/mesh.c
index a714c15..b4b3ae9 100644
--- a/wpa_supplicant/mesh.c
+++ b/wpa_supplicant/mesh.c
@@ -407,6 +407,7 @@  static int wpa_supplicant_mesh_init(struct wpa_supplicant *wpa_s,
 		conf->basic_rates[rate_len] = -1;
+	conf->no_pri_sec_switch = 1;
 	wpa_supplicant_conf_ap_ht(wpa_s, ssid, conf);
 	if (wpa_drv_init_mesh(wpa_s)) {