[openwrt/openwrt] linux-firmware: realtek: add RTL8812AU/RTL8821AU firmware
LEDE Commits
lede-commits at lists.infradead.org
Sat Nov 30 08:57:51 PST 2024
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/c48a48e65889e00df598757cca1f6226ac173e89
commit c48a48e65889e00df598757cca1f6226ac173e89
Author: Marty Jones <mj8263788 at gmail.com>
AuthorDate: Mon Nov 11 17:17:27 2024 -0500
linux-firmware: realtek: add RTL8812AU/RTL8821AU firmware
This adds firmware support for the RTL8812AU/RTL8821AU USB wireless adapters.
Signed-off-by: Marty Jones <mj8263788 at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17079
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/firmware/linux-firmware/realtek.mk | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/package/firmware/linux-firmware/realtek.mk b/package/firmware/linux-firmware/realtek.mk
index c2ab1c9d0d..749d93be3e 100644
--- a/package/firmware/linux-firmware/realtek.mk
+++ b/package/firmware/linux-firmware/realtek.mk
@@ -140,6 +140,20 @@ define Package/rtl8761bu-firmware/install
endef
$(eval $(call BuildPackage,rtl8761bu-firmware))
+Package/rtl8812a-firmware = $(call Package/firmware-default,RealTek RTL8812AU firmware)
+define Package/rtl8812a-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware/rtw88
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtw88/rtw8812a_fw.bin $(1)/lib/firmware/rtw88
+endef
+$(eval $(call BuildPackage,rtl8812a-firmware))
+
+Package/rtl8821a-firmware = $(call Package/firmware-default,RealTek RTL8821AU firmware)
+define Package/rtl8821a-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware/rtw88
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtw88/rtw8821a_fw.bin $(1)/lib/firmware/rtw88
+endef
+$(eval $(call BuildPackage,rtl8821a-firmware))
+
Package/rtl8821ae-firmware = $(call Package/firmware-default,RealTek RTL8821AE firmware,,LICENCE.rtlwifi_firmware.txt)
define Package/rtl8821ae-firmware/install
$(INSTALL_DIR) $(1)/lib/firmware/rtlwifi
More information about the lede-commits
mailing list