[openwrt/openwrt] linux-firmware: update Realtek RTW89 firmware
LEDE Commits
lede-commits at lists.infradead.org
Wed Oct 16 14:20:07 PDT 2024
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/7ae883c29da8b3efc2528d10e1db271dc05e1923
commit 7ae883c29da8b3efc2528d10e1db271dc05e1923
Author: Chukun Pan <amadeus at jmu.edu.cn>
AuthorDate: Wed Oct 9 23:10:26 2024 +0800
linux-firmware: update Realtek RTW89 firmware
Add RealTek RTL8922AE firmware package. The rtw89 driver uses
rtw8852b_fw-1.bin starting from kernel 6.4[1], remove the old
one. Also note that in the kernel 6.12, rtw8852c and rtw8922a
should use fw-1.bin [2][3].
[1] https://github.com/torvalds/linux/commit/ffde7f3476
[2] https://github.com/torvalds/linux/commit/45ae0e8cf8
[3] https://github.com/torvalds/linux/commit/6ca6b918f2
Signed-off-by: Chukun Pan <amadeus at jmu.edu.cn>
Suggested-by: Hauke Mehrtens <hauke at hauke-m.de>
Link: https://github.com/openwrt/openwrt/pull/16700
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/firmware/linux-firmware/realtek.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/package/firmware/linux-firmware/realtek.mk b/package/firmware/linux-firmware/realtek.mk
index 5ba679d404..0889796a12 100644
--- a/package/firmware/linux-firmware/realtek.mk
+++ b/package/firmware/linux-firmware/realtek.mk
@@ -180,7 +180,6 @@ $(eval $(call BuildPackage,rtl8852ae-firmware))
Package/rtl8852be-firmware = $(call Package/firmware-default,RealTek RTL8852BE firmware)
define Package/rtl8852be-firmware/install
$(INSTALL_DIR) $(1)/lib/firmware/rtw89
- $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtw89/rtw8852b_fw.bin $(1)/lib/firmware/rtw89
$(INSTALL_DATA) $(PKG_BUILD_DIR)/rtw89/rtw8852b_fw-1.bin $(1)/lib/firmware/rtw89
endef
$(eval $(call BuildPackage,rtl8852be-firmware))
@@ -191,3 +190,10 @@ define Package/rtl8852ce-firmware/install
$(INSTALL_DATA) $(PKG_BUILD_DIR)/rtw89/rtw8852c_fw.bin $(1)/lib/firmware/rtw89
endef
$(eval $(call BuildPackage,rtl8852ce-firmware))
+
+Package/rtl8922ae-firmware = $(call Package/firmware-default,RealTek RTL8922AE firmware)
+define Package/rtl8922ae-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware/rtw89
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtw89/rtw8922a_fw.bin $(1)/lib/firmware/rtw89
+endef
+$(eval $(call BuildPackage,rtl8922ae-firmware))
More information about the lede-commits
mailing list