diff --git a/backports/0041-ar71xx-hacks.patch b/backports/0041-ar71xx-hacks.patch index 8fb07c145..083df031a 100644 --- a/backports/0041-ar71xx-hacks.patch +++ b/backports/0041-ar71xx-hacks.patch @@ -1,19 +1,20 @@ -From 26aedfa7e2aa5ab583c68638539d5fc173af173f Mon Sep 17 00:00:00 2001 +From d01d8c9e5cf7de98222860011d1d5b362bfde005 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 12 Jul 2021 13:09:25 +0200 -Subject: [PATCH 36/37] ar71xx: hacks +Subject: [PATCH 01/39] ar71xx: hacks Signed-off-by: John Crispin --- - package/kernel/linux/modules/crypto.mk | 2 +- - package/kernel/mac80211/ath.mk | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) + package/kernel/linux/modules/crypto.mk | 2 +- + package/kernel/mac80211/ath.mk | 1 + + target/linux/ar71xx/files/arch/mips/ath79/mach-rb91x.c | 2 ++ + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk -index c277c6b8ec..9bee6fd8a9 100644 +index 19b0d4696b..1b1c1e1a51 100644 --- a/package/kernel/linux/modules/crypto.mk +++ b/package/kernel/linux/modules/crypto.mk -@@ -885,7 +885,7 @@ define KernelPackage/crypto-sha256 +@@ -882,7 +882,7 @@ define KernelPackage/crypto-sha256 CONFIG_CRYPTO_SHA256_SSSE3 FILES:= \ $(LINUX_DIR)/crypto/sha256_generic.ko \ @@ -34,6 +35,19 @@ index ba03ae11a6..ad2860a98e 100644 config-$(CONFIG_TARGET_ipq40xx) += ATH10K_AHB config-$(CONFIG_PCI) += ATH9K_PCI config-$(CONFIG_ATH_USER_REGD) += ATH_USER_REGD ATH_REG_DYNAMIC_USER_REG_HINTS +diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb91x.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb91x.c +index 9620718962..2cdf97efd6 100644 +--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb91x.c ++++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb91x.c +@@ -271,6 +271,8 @@ static const struct rb_board_info rb711gr100_boards[] __initconst = { + RB_BOARD_INFO("911G-5HPnD", 0), + RB_BOARD_INFO("912UAG-2HPnD", RB91X_FLAG_USB | RB91X_FLAG_PCIE), + RB_BOARD_INFO("912UAG-5HPnD", RB91X_FLAG_USB | RB91X_FLAG_PCIE), ++ RB_BOARD_INFO("RB912UAG-2HPnD", RB91X_FLAG_USB | RB91X_FLAG_PCIE), ++ RB_BOARD_INFO("RB912UAG-5HPnD", RB91X_FLAG_USB | RB91X_FLAG_PCIE), + }; + + static u32 rb711gr100_get_flags(const struct rb_info *info) -- 2.25.1 diff --git a/profiles/mikrotik_nand.yml b/profiles/mikrotik_nand.yml index 19dd68f9d..570def9cb 100644 --- a/profiles/mikrotik_nand.yml +++ b/profiles/mikrotik_nand.yml @@ -6,3 +6,11 @@ description: Build image for the Mikrotik RouterBoards image: bin/targets/ar71xx/mikrotik/openwrt-ar71xx-mikrotik-nand-large-ac-squashfs-sysupgrade.bin include: - ucentral-ap-mikrotik +packages: + - ath10k-firmware-qca4019-ct-htt + - ath10k-firmware-qca9888-ct-htt + - ath10k-firmware-qca9984-ct-htt +diffconfig: | + # CONFIG_PACKAGE_ath10k-firmware-qca4019-ct is not set + # CONFIG_PACKAGE_ath10k-firmware-qca9888-ct is not set + # CONFIG_PACKAGE_ath10k-firmware-qca9984-ct is not set