[PATCH v3 09/15] mesh: set mesh center frequency

peter.oh at bowerswilkins.com peter.oh at bowerswilkins.com
Tue Apr 17 21:55:06 PDT 2018


From: Peter Oh <peter.oh at bowerswilkins.com>

vht center frequency value is required to compose the correct channel info.

Signed-off-by: Peter Oh <peter.oh at 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 f2752de..f552c8d 100644
--- a/wpa_supplicant/mesh.c
+++ b/wpa_supplicant/mesh.c
@@ -455,6 +455,7 @@ int wpa_supplicant_join_mesh(struct wpa_supplicant *wpa_s,
 
 	if (wpa_s->mesh_vht_enabled) {
 		ssid->vht = 1;
+		ssid->vht_center_freq1 = params->freq.center_freq1;
 		switch (params->freq.bandwidth) {
 		case 80:
 			if (params->freq.center_freq2) {
-- 
2.7.4




More information about the Hostap mailing list