[OpenWrt-Devel] [PATCH 4/5] base-files: wifi: add 802.11ad support

Adrian Schmutzler freifunk at adrianschmutzler.de
Fri Nov 8 13:14:07 EST 2019

From: Robert Marko <robimarko at gmail.com>

This patch adds 802.11ad support by adding 11ad hwmode identifier.
This way hostapd.sh requires no modifications as for 802.11ad only
hwmode and channel are needed as channel width is fixed to 2160MHz
and there are no HT modes.

Signed-off-by: Robert Marko <robimarko at gmail.com>
 package/base-files/files/sbin/wifi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi
index f7a10de215..eb0397b4d9 100755
--- a/package/base-files/files/sbin/wifi
+++ b/package/base-files/files/sbin/wifi
@@ -81,6 +81,7 @@ wifi_fixup_hwmode() {
 		11a) hwmode=a;;
 		11b) hwmode=b;;
 		11g) hwmode=g;;
+		11ad) hwmode=ad;;
 			case "$hwmode_11n" in

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list