package/linux-firmware: Add an option for Realtek rtw88 firmwares
authorClément Péron <peron.clem@gmail.com>
Sun, 22 Mar 2020 18:14:16 +0000 (19:14 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 22 Mar 2020 21:15:56 +0000 (22:15 +0100)
Linux-firmware repo have dedicated firmware images supported
by Realtek's wireless driver rtw88.

Add an option to install them.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/linux-firmware/Config.in
package/linux-firmware/linux-firmware.mk

index 4768ea6772727158ce8cfd04d107f5f3dfe9219b..fa741f540781bd558e10f592775c6bd76f97b506 100644 (file)
@@ -318,6 +318,12 @@ config BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX
        help
          Realtek rtl8821ae
 
+config BR2_PACKAGE_LINUX_FIRMWARE_RTW88
+       bool "Realtek rtw88"
+       help
+         Firmware images supported by Realtek's wireless
+         driver rtw88.
+
 config BR2_PACKAGE_LINUX_FIRMWARE_REDPINE_RS9113
        bool "Redpine rs9113"
        help
index aec76d54b98b59447b37ea83569a91bcefc47f0c..b90585daee4c85f5aaa3556e2a2a58fa3c880b81 100644 (file)
@@ -112,6 +112,15 @@ LINUX_FIRMWARE_FILES += \
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
 endif
 
+# rtw88
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTW88),y)
+LINUX_FIRMWARE_FILES += \
+       rtw88/rtw8723d_fw.bin \
+       rtw88/rtw8822b_fw.bin \
+       rtw88/rtw8822c_fw.bin
+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
+endif
+
 # ar3011
 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_AR3011),y)
 LINUX_FIRMWARE_FILES += ath3k-1.fw