[openwrt/openwrt] base-files: wifi: add support for 802.11ad

LEDE Commits lede-commits at lists.infradead.org
Mon Jan 4 21:19:44 EST 2021


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/9c845a5ad1f20bc19fcc0af1e7d160c3b3f635aa

commit 9c845a5ad1f20bc19fcc0af1e7d160c3b3f635aa
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Mon Jan 4 18:53:40 2021 +0000

    base-files: wifi: add support for 802.11ad
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 package/base-files/Makefile        | 2 +-
 package/base-files/files/sbin/wifi | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index da3976424f..8d40eb0e49 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -12,7 +12,7 @@ include $(INCLUDE_DIR)/version.mk
 include $(INCLUDE_DIR)/feeds.mk
 
 PKG_NAME:=base-files
-PKG_RELEASE:=244
+PKG_RELEASE:=245
 PKG_FLAGS:=nonshared
 
 PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi
index a8b4451c60..75759b94f3 100755
--- a/package/base-files/files/sbin/wifi
+++ b/package/base-files/files/sbin/wifi
@@ -79,6 +79,7 @@ wifi_fixup_hwmode() {
 	case "$hwmode" in
 		11bg) hwmode=bg;;
 		11a) hwmode=a;;
+		11ad) hwmode=ad;;
 		11b) hwmode=b;;
 		11g) hwmode=g;;
 		11n*)



More information about the lede-commits mailing list