mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 17:42:41 +00:00
54 lines
2.3 KiB
Diff
54 lines
2.3 KiB
Diff
From d01d8c9e5cf7de98222860011d1d5b362bfde005 Mon Sep 17 00:00:00 2001
|
|
From: John Crispin <john@phrozen.org>
|
|
Date: Mon, 12 Jul 2021 13:09:25 +0200
|
|
Subject: [PATCH 01/39] ar71xx: hacks
|
|
|
|
Signed-off-by: John Crispin <john@phrozen.org>
|
|
---
|
|
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 19b0d4696b..1b1c1e1a51 100644
|
|
--- a/package/kernel/linux/modules/crypto.mk
|
|
+++ b/package/kernel/linux/modules/crypto.mk
|
|
@@ -882,7 +882,7 @@ define KernelPackage/crypto-sha256
|
|
CONFIG_CRYPTO_SHA256_SSSE3
|
|
FILES:= \
|
|
$(LINUX_DIR)/crypto/sha256_generic.ko \
|
|
- $(LINUX_DIR)/lib/crypto/libsha256.ko
|
|
+ $(LINUX_DIR)/lib/crypto/libsha256.ko@ge4.15
|
|
AUTOLOAD:=$(call AutoLoad,09,sha256_generic)
|
|
$(call AddDepends/crypto)
|
|
endef
|
|
diff --git a/package/kernel/mac80211/ath.mk b/package/kernel/mac80211/ath.mk
|
|
index ba03ae11a6..ad2860a98e 100644
|
|
--- a/package/kernel/mac80211/ath.mk
|
|
+++ b/package/kernel/mac80211/ath.mk
|
|
@@ -43,6 +43,7 @@ config-$(call config_package,ath9k) += ATH9K
|
|
config-$(call config_package,ath9k-common) += ATH9K_COMMON
|
|
config-$(call config_package,owl-loader) += ATH9K_PCI_NO_EEPROM
|
|
config-$(CONFIG_TARGET_ath79) += ATH9K_AHB
|
|
+config-$(CONFIG_TARGET_ar71xx) += ATH9K_AHB
|
|
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
|
|
|