From f2e888d0fc20fc56e83b547e3092daf2835fdc78 Mon Sep 17 00:00:00 2001 From: Quintin Hill Date: Sat, 22 Oct 2022 08:15:57 +0100 Subject: [PATCH] linux-firmware: add rtl8761 bluetooth firmware Realtek bluetooth devices need firmware. Add packages for some of these. Tested on a WNDR3700v4 with rtl8761bu firmware. Signed-off-by: Quintin Hill --- package/firmware/linux-firmware/realtek.mk | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/package/firmware/linux-firmware/realtek.mk b/package/firmware/linux-firmware/realtek.mk index 123acf625..f1b8618d6 100644 --- a/package/firmware/linux-firmware/realtek.mk +++ b/package/firmware/linux-firmware/realtek.mk @@ -100,6 +100,29 @@ define Package/rtl8723du-firmware/install endef $(eval $(call BuildPackage,rtl8723du-firmware)) +Package/rtl8761a-firmware = $(call Package/firmware-default,RealTek RTL8761A firmware) +define Package/rtl8761a-firmware/install + $(INSTALL_DIR) $(1)/lib/firmware/rtl_bt + $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtl_bt/rtl8761a_fw.bin $(1)/lib/firmware/rtl_bt +endef +$(eval $(call BuildPackage,rtl8761a-firmware)) + +Package/rtl8761b-firmware = $(call Package/firmware-default,RealTek RTL8761B firmware) +define Package/rtl8761b-firmware/install + $(INSTALL_DIR) $(1)/lib/firmware/rtl_bt + $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtl_bt/rtl8761b_config.bin $(1)/lib/firmware/rtl_bt + $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtl_bt/rtl8761b_fw.bin $(1)/lib/firmware/rtl_bt +endef +$(eval $(call BuildPackage,rtl8761b-firmware)) + +Package/rtl8761bu-firmware = $(call Package/firmware-default,RealTek RTL8761BU firmware) +define Package/rtl8761bu-firmware/install + $(INSTALL_DIR) $(1)/lib/firmware/rtl_bt + $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtl_bt/rtl8761bu_config.bin $(1)/lib/firmware/rtl_bt + $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtl_bt/rtl8761bu_fw.bin $(1)/lib/firmware/rtl_bt +endef +$(eval $(call BuildPackage,rtl8761bu-firmware)) + Package/rtl8821ae-firmware = $(call Package/firmware-default,RealTek RTL8821AE firmware) define Package/rtl8821ae-firmware/install $(INSTALL_DIR) $(1)/lib/firmware/rtlwifi