mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 01:17:30 +01:00
mt76: Enable NPU support for Airoha AN7581 SoC
Airoha AN7581 SoC supports a Network Processor (NPU) to offload WiFi
traffic. Add the required bits to enable the support of it in the MT76
driver. This will be enabled by default if we are compiling for the
Airoha AN7581 SoC.
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
[ improve commit title/description ]
Link: https://github.com/openwrt/openwrt/pull/20826
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 79d418eed8)
This commit is contained in:
parent
59b4c9e114
commit
6c5c8598ab
1 changed files with 6 additions and 0 deletions
|
|
@ -494,6 +494,12 @@ ifdef CONFIG_PACKAGE_kmod-mt7921e
|
|||
endif
|
||||
ifdef CONFIG_PACKAGE_kmod-mt7996e
|
||||
PKG_MAKE_FLAGS += CONFIG_MT7996E=m
|
||||
ifdef CONFIG_TARGET_airoha_an7581
|
||||
PKG_MAKE_FLAGS += CONFIG_MT76_NPU=y
|
||||
PKG_MAKE_FLAGS += CONFIG_MT7996_NPU=y
|
||||
NOSTDINC_FLAGS += -DCONFIG_MT76_NPU
|
||||
NOSTDINC_FLAGS += -DCONFIG_MT7996_NPU
|
||||
endif
|
||||
endif
|
||||
ifdef CONFIG_PACKAGE_kmod-mt7925-common
|
||||
PKG_MAKE_FLAGS += CONFIG_MT7925_COMMON=m
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue