From: Robert Marko <[email protected]>

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


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to