linux-firmware: realtek: Add FW for rtl8192eu, rtl8723au and rtl8723bu
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 27 Aug 2018 16:10:14 +0000 (18:10 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:47:49 +0000 (17:47 +0100)
These devices are more or less supported by the kmod-rtl8xxxu driver.

Fixes: FS#1789
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(backported from a2488f3a243b60ac05b3a3ae492145d564fc6f6e)

package/firmware/linux-firmware/realtek.mk

index fdd92c9a425fc7a549b6f078276d76f145e96733..3c0476e039c4771a82319a62c5b37b67e19b3d1f 100644 (file)
@@ -42,6 +42,13 @@ define Package/rtl8192de-firmware/install
 endef
 $(eval $(call BuildPackage,rtl8192de-firmware))
 
+Package/rtl8192eu-firmware = $(call Package/firmware-default,RealTek RTL8192EU firmware)
+define Package/rtl8192eu-firmware/install
+       $(INSTALL_DIR) $(1)/lib/firmware/rtlwifi
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtlwifi/rtl8192eu_nic.bin $(1)/lib/firmware/rtlwifi
+endef
+$(eval $(call BuildPackage,rtl8192eu-firmware))
+
 Package/rtl8192se-firmware = $(call Package/firmware-default,RealTek RTL8192SE firmware)
 define Package/rtl8192se-firmware/install
        $(INSTALL_DIR) $(1)/lib/firmware/rtlwifi
@@ -56,6 +63,22 @@ define Package/rtl8192su-firmware/install
 endef
 $(eval $(call BuildPackage,rtl8192su-firmware))
 
+Package/rtl8723au-firmware = $(call Package/firmware-default,RealTek RTL8723AU firmware)
+define Package/rtl8723au-firmware/install
+       $(INSTALL_DIR) $(1)/lib/firmware/rtlwifi
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtlwifi/rtl8723aufw_A.bin $(1)/lib/firmware/rtlwifi
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtlwifi/rtl8723aufw_B.bin $(1)/lib/firmware/rtlwifi
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtlwifi/rtl8723aufw_B_NoBT.bin $(1)/lib/firmware/rtlwifi
+endef
+$(eval $(call BuildPackage,rtl8723au-firmware))
+
+Package/rtl8723bu-firmware = $(call Package/firmware-default,RealTek RTL8723BU firmware)
+define Package/rtl8723bu-firmware/install
+       $(INSTALL_DIR) $(1)/lib/firmware/rtlwifi
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtlwifi/rtl8723bu_nic.bin $(1)/lib/firmware/rtlwifi
+endef
+$(eval $(call BuildPackage,rtl8723bu-firmware))
+
 Package/rtl8821ae-firmware = $(call Package/firmware-default,RealTek RTL8821AE firmware)
 define Package/rtl8821ae-firmware/install
        $(INSTALL_DIR) $(1)/lib/firmware/rtlwifi