[PATCH] mesh: Add W53/W56 channel support

Masashi Honma masashi.honma
Wed Oct 1 20:13:20 PDT 2014


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

diff --git a/wpa_supplicant/mesh.c b/wpa_supplicant/mesh.c
index b253e02..a924290 100644
--- a/wpa_supplicant/mesh.c
+++ b/wpa_supplicant/mesh.c
@@ -169,6 +169,8 @@ wpa_supplicant_mesh_init(struct wpa_supplicant *wpa_s,
 		conf->hw_mode = HOSTAPD_MODE_IEEE80211G;
 		conf->channel = (ssid->frequency - 2407) / 5;
 	} else if ((ssid->frequency >= 5180 && ssid->frequency <= 5240) ||
+		   (ssid->frequency >= 5260 && ssid->frequency <= 5320) ||
+		   (ssid->frequency >= 5500 && ssid->frequency <= 5700) ||
 		   (ssid->frequency >= 5745 && ssid->frequency <= 5825)) {
 		conf->hw_mode = HOSTAPD_MODE_IEEE80211A;
 		conf->channel = (ssid->frequency - 5000) / 5;
-- 
1.9.1




More information about the Hostap mailing list