[RFC] mesh: Disable OBSS scan for mesh

Masashi Honma masashi.honma at gmail.com
Mon Jul 25 20:48:18 PDT 2016


IEEE802.11 2012 "10.15.3 Channel selection methods for 20/40 MHz
operation" looks only mentions about AP and DO STA. So disable OBSS scan
for mesh.

Signed-off-by: Masashi Honma <masashi.honma at gmail.com>
---
 wpa_supplicant/wpa_supplicant.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c
index 7ed7efa..25ff976 100644
--- a/wpa_supplicant/wpa_supplicant.c
+++ b/wpa_supplicant/wpa_supplicant.c
@@ -1848,6 +1848,8 @@ void ibss_mesh_setup_freq(struct wpa_supplicant *wpa_s,
 			break;
 		}
 	}
+	if (ssid->mode == WPAS_MODE_MESH)
+		obss_scan = 0;
 
 	/* For IBSS check HT_IBSS flag */
 	if (ssid->mode == WPAS_MODE_IBSS &&
-- 
2.7.4




More information about the Hostap mailing list