diff mbox series

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

Message ID 20191108181408.18272-5-freifunk@adrianschmutzler.de
State Superseded
Delegated to: Adrian Schmutzler
Headers show
Series Add 802.11ad support | expand

Commit Message

Adrian Schmutzler Nov. 8, 2019, 6:14 p.m. UTC
From: Robert Marko <robimarko@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@gmail.com>
---
 package/base-files/files/sbin/wifi | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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;;
 		11n*)
 			hwmode_11n="${hwmode##11n}"
 			case "$hwmode_11n" in