diff mbox series

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

Message ID 20200116115100.1906-4-freifunk@adrianschmutzler.de
State Under Review
Delegated to: Adrian Schmutzler
Headers show
Series [OpenWrt-Devel,v2,1/5] linux-firmware: add wil6210 firmware | expand

Commit Message

Adrian Schmutzler Jan. 16, 2020, 11:50 a.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(+)

Comments

Adrian Schmutzler Jan. 16, 2020, 12:07 p.m. UTC | #1
> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces@lists.openwrt.org] On
> Behalf Of Adrian Schmutzler
> Sent: Donnerstag, 16. Januar 2020 12:51
> To: openwrt-devel@lists.openwrt.org
> Cc: Robert Marko <robimarko@gmail.com>
> Subject: [OpenWrt-Devel] [PATCH v2 4/5] base-files: wifi: add 802.11ad support

We will need to bump PKG_RELEASE for base-files here.
diff mbox series

Patch

diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi
index a8b4451c60..e4ea496ebe 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