[PATCH] linux-firmware: add Bluetooth firmware for Realtek RTL8821C

Jan Hoffmann jan at 3e8.eu
Sat Jul 13 06:01:37 PDT 2024


RTL8821C has built-in Bluetooth, but it requires additional firmware.
Add it to the existing rtl8821ce-firmware package.

Signed-off-by: Jan Hoffmann <jan at 3e8.eu>
---
 package/firmware/linux-firmware/realtek.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/firmware/linux-firmware/realtek.mk b/package/firmware/linux-firmware/realtek.mk
index 5ba679d40492..90c4948824ec 100644
--- a/package/firmware/linux-firmware/realtek.mk
+++ b/package/firmware/linux-firmware/realtek.mk
@@ -143,6 +143,9 @@ $(eval $(call BuildPackage,rtl8821ae-firmware))
 
 Package/rtl8821ce-firmware = $(call Package/firmware-default,RealTek RTL8821CE firmware)
 define Package/rtl8821ce-firmware/install
+	$(INSTALL_DIR) $(1)/lib/firmware/rtl_bt
+	$(INSTALL_DATA) $(PKG_BUILD_DIR)/rtl_bt/rtl8821c_config.bin $(1)/lib/firmware/rtl_bt
+	$(INSTALL_DATA) $(PKG_BUILD_DIR)/rtl_bt/rtl8821c_fw.bin $(1)/lib/firmware/rtl_bt
 	$(INSTALL_DIR) $(1)/lib/firmware/rtw88
 	$(INSTALL_DATA) $(PKG_BUILD_DIR)/rtw88/rtw8821c_fw.bin $(1)/lib/firmware/rtw88
 endef
-- 
2.45.2




More information about the openwrt-devel mailing list