firmware: add firmware package for Realtek RTL8188FU
authorShiji Yang <yangshiji66@qq.com>
Thu, 22 Feb 2024 01:56:36 +0000 (09:56 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 9 Mar 2024 22:42:37 +0000 (23:42 +0100)
Realtek RTL8188F is an 802.11n 1x1 USB Wi-Fi adapter. It has been
supported by the upstream rtl8xxxu driver since Linux 6.2 kernel.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
package/firmware/linux-firmware/realtek.mk

index b4880b6a7f2313cce6b3badf37159279327a88a4..81e91ba085e1b6b32e7851d9960539885360e4a3 100644 (file)
@@ -29,6 +29,15 @@ define Package/rtl8188eu-firmware/install
 endef
 $(eval $(call BuildPackage,rtl8188eu-firmware))
 
+Package/rtl8188fu-firmware = $(call Package/firmware-default,RealTek RTL8188FU firmware)
+define Package/rtl8188fu-firmware/install
+       $(INSTALL_DIR) $(1)/lib/firmware/rtlwifi
+       $(CP) \
+               $(PKG_BUILD_DIR)/rtlwifi/rtl8188fufw.bin \
+               $(1)/lib/firmware/rtlwifi
+endef
+$(eval $(call BuildPackage,rtl8188fu-firmware))
+
 Package/rtl8192ce-firmware = $(call Package/firmware-default,RealTek RTL8192CE firmware)
 define Package/rtl8192ce-firmware/install
        $(INSTALL_DIR) $(1)/lib/firmware/rtlwifi