[openwrt/openwrt] bmips: add wifi packages for supported devices

LEDE Commits lede-commits at lists.infradead.org
Tue Mar 23 19:50:26 GMT 2021


noltari pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/07c49462ad2ac3f6386bb4463546509f3bf35e39

commit 07c49462ad2ac3f6386bb4463546509f3bf35e39
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Tue Mar 23 20:23:47 2021 +0100

    bmips: add wifi packages for supported devices
    
    Netgear DGND3700v2 / Comtrend VR-3032u internal wireless not supported.
    
    Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
 target/linux/bmips/image/Makefile           | 2 ++
 target/linux/bmips/image/bcm63xx_generic.mk | 8 ++++----
 target/linux/bmips/image/bcm63xx_nand.mk    | 2 +-
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/target/linux/bmips/image/Makefile b/target/linux/bmips/image/Makefile
index c1534a88db..89cd04b0ec 100644
--- a/target/linux/bmips/image/Makefile
+++ b/target/linux/bmips/image/Makefile
@@ -249,6 +249,8 @@ define Device/Default
   DEVICE_LOADADDR :=
 endef
 
+ATH9K_PACKAGES := kmod-ath9k wpad-basic-wolfssl
+B43_PACKAGES := kmod-b43 wpad-basic-wolfssl
 USB1_PACKAGES := kmod-usb-ohci kmod-ledtrig-usbdev
 USB2_PACKAGES := $(USB1_PACKAGES) kmod-usb2
 
diff --git a/target/linux/bmips/image/bcm63xx_generic.mk b/target/linux/bmips/image/bcm63xx_generic.mk
index 6f9a7b9a49..33282bd1a5 100644
--- a/target/linux/bmips/image/bcm63xx_generic.mk
+++ b/target/linux/bmips/image/bcm63xx_generic.mk
@@ -33,7 +33,7 @@ define Device/comtrend_ar-5315u
   CHIP_ID := 6318
   CFE_BOARD_ID := 96318A-1441N1
   FLASH_MB := 16
-  DEVICE_PACKAGES += $(USB2_PACKAGES)
+  DEVICE_PACKAGES += $(USB2_PACKAGES) $(B43_PACKAGES)
 endef
 TARGET_DEVICES += comtrend_ar-5315u
 
@@ -44,7 +44,7 @@ define Device/comtrend_ar-5387un
   CHIP_ID := 6328
   CFE_BOARD_ID := 96328A-1441N1
   FLASH_MB := 16
-  DEVICE_PACKAGES += $(USB2_PACKAGES)
+  DEVICE_PACKAGES += $(USB2_PACKAGES) $(B43_PACKAGES)
 endef
 TARGET_DEVICES += comtrend_ar-5387un
 
@@ -56,7 +56,7 @@ define Device/comtrend_vr-3025u
   CFE_BOARD_ID := 96368M-1541N
   BLOCKSIZE := 0x20000
   FLASH_MB := 32
-  DEVICE_PACKAGES += $(USB2_PACKAGES)
+  DEVICE_PACKAGES += $(USB2_PACKAGES) $(B43_PACKAGES)
 endef
 TARGET_DEVICES += comtrend_vr-3025u
 
@@ -69,6 +69,6 @@ define Device/huawei_hg556a-b
   CFE_BOARD_ID := HW556
   CFE_EXTRAS += --rsa-signature "EchoLife_HG556a" --tag-version 8
   BLOCKSIZE := 0x20000
-  DEVICE_PACKAGES += $(USB2_PACKAGES)
+  DEVICE_PACKAGES += $(USB2_PACKAGES) $(ATH9K_PACKAGES)
 endef
 TARGET_DEVICES += huawei_hg556a-b
diff --git a/target/linux/bmips/image/bcm63xx_nand.mk b/target/linux/bmips/image/bcm63xx_nand.mk
index a712cd0699..82b04891d5 100644
--- a/target/linux/bmips/image/bcm63xx_nand.mk
+++ b/target/linux/bmips/image/bcm63xx_nand.mk
@@ -74,7 +74,7 @@ define Device/netgear_dgnd3700-v2
   CFE_RAM_JFFS2_PAD := 496k
   BLOCKSIZE := 16k
   PAGESIZE := 512
-  DEVICE_PACKAGES += $(USB2_PACKAGES)
+  DEVICE_PACKAGES += $(USB2_PACKAGES) $(B43_PACKAGES)
   CFE_WFI_FLASH_TYPE := 2
   CFE_WFI_VERSION := 0x5731
 endef



More information about the lede-commits mailing list