[1/1] linux-firmware: install missing firmware files for rtlwifi

Message ID 1515367214-4788-1-git-send-email-rom.reignier@gmail.com
State Accepted
Commit e58682967fd845d877cd60403f423183690810be
Headers show
Series
  • [1/1] linux-firmware: install missing firmware files for rtlwifi
Related show

Commit Message

Romain Reignier Jan. 7, 2018, 11:20 p.m.
All the rtlwifi firmware files were not installed, so added the
missing ones.

Signed-off-by: Romain Reignier <rom.reignier@gmail.com>
---
 package/linux-firmware/linux-firmware.mk | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

Comments

Peter Korsgaard Jan. 16, 2018, 8:22 a.m. | #1
>>>>> "Romain" == Romain Reignier <rom.reignier@gmail.com> writes:

 > All the rtlwifi firmware files were not installed, so added the
 > missing ones.

 > Signed-off-by: Romain Reignier <rom.reignier@gmail.com>
 > ---
 >  package/linux-firmware/linux-firmware.mk | 15 ++++++++++++---
 >  1 file changed, 12 insertions(+), 3 deletions(-)

 > diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
 > index b636f79..93d3a34 100644
 > --- a/package/linux-firmware/linux-firmware.mk
 > +++ b/package/linux-firmware/linux-firmware.mk
 > @@ -70,7 +70,9 @@ LINUX_FIRMWARE_FILES += \
 >  	rtlwifi/rtl8192defw.bin rtlwifi/rtl8192sefw.bin \
 >  	rtlwifi/rtl8188efw.bin rtlwifi/rtl8188eufw.bin \
 >  	rtlwifi/rtl8192cufw_A.bin \
 > -	rtlwifi/rtl8192cufw_B.bin rtlwifi/rtl8192cufw_TMSC.bin
 > +	rtlwifi/rtl8192cufw_B.bin rtlwifi/rtl8192cufw_TMSC.bin \
 > +	rtlwifi/rtl8192eefw.bin rtlwifi/rtl8192eu_ap_wowlan.bin \
 > +	rtlwifi/rtl8192eu_nic.bin rtlwifi/rtl8192eu_wowlan.bin

Committed, thanks.

Wouldn't it make more sense to rework this with wildcards to not have
such issues in the future?

E.G. rtlwifi/rtl81*.bin

Patch

diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
index b636f79..93d3a34 100644
--- a/package/linux-firmware/linux-firmware.mk
+++ b/package/linux-firmware/linux-firmware.mk
@@ -70,7 +70,9 @@  LINUX_FIRMWARE_FILES += \
 	rtlwifi/rtl8192defw.bin rtlwifi/rtl8192sefw.bin \
 	rtlwifi/rtl8188efw.bin rtlwifi/rtl8188eufw.bin \
 	rtlwifi/rtl8192cufw_A.bin \
-	rtlwifi/rtl8192cufw_B.bin rtlwifi/rtl8192cufw_TMSC.bin
+	rtlwifi/rtl8192cufw_B.bin rtlwifi/rtl8192cufw_TMSC.bin \
+	rtlwifi/rtl8192eefw.bin rtlwifi/rtl8192eu_ap_wowlan.bin \
+	rtlwifi/rtl8192eu_nic.bin rtlwifi/rtl8192eu_wowlan.bin
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
 endif
 
@@ -78,7 +80,13 @@  endif
 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX),y)
 LINUX_FIRMWARE_FILES += \
 	rtlwifi/rtl8712u.bin rtlwifi/rtl8723fw.bin \
-	rtlwifi/rtl8723fw_B.bin rtlwifi/rtl8723befw.bin
+	rtlwifi/rtl8723fw_B.bin rtlwifi/rtl8723befw.bin \
+	rtlwifi/rtl8723aufw_A.bin rtlwifi/rtl8723aufw_B.bin \
+	rtlwifi/rtl8723aufw_B_NoBT.bin rtlwifi/rtl8723befw.bin \
+	rtlwifi/rtl8723bs_ap_wowlan.bin rtlwifi/rtl8723bs_bt.bin \
+	rtlwifi/rtl8723bs_nic.bin rtlwifi/rtl8723bs_wowlan.bin \
+	rtlwifi/rtl8723bu_ap_wowlan.bin rtlwifi/rtl8723bu_nic.bin \
+	rtlwifi/rtl8723bu_wowlan.bin
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
 endif
 
@@ -86,7 +94,8 @@  endif
 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX),y)
 LINUX_FIRMWARE_FILES += \
 	rtlwifi/rtl8821aefw.bin \
-	rtlwifi/rtl8821aefw_wowlan.bin
+	rtlwifi/rtl8821aefw_wowlan.bin \
+	rtlwifi/rtl8821aefw_29.bin rtlwifi/rtl8822befw.bin
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
 endif