]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: brcmfmac: Add DMI nvram filename quirk for ACEPC W5 Pro
authorHans de Goede <hdegoede@redhat.com>
Fri, 16 Feb 2024 21:36:49 +0000 (22:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Apr 2024 11:07:31 +0000 (13:07 +0200)
commitc39e75fae05c742a98eac21bda6dbbd171afff40
treeddcbe636506eca8e7911ed39756dbe3a559e6b6d
parent5dc5f8c705c3bf7cebf982497042b516d7d8f621
wifi: brcmfmac: Add DMI nvram filename quirk for ACEPC W5 Pro

[ Upstream commit 32167707aa5e7ae4b160c18be79d85a7b4fdfcfb ]

The ACEPC W5 Pro HDMI stick contains quite generic names in the sys_vendor
and product_name DMI strings, without this patch brcmfmac will try to load:
"brcmfmac43455-sdio.$(DEFAULT_STRING)-$(DEFAULT_STRING).txt" as nvram file
which is both too generic and messy with the $ symbols in the name.

The ACEPC W5 Pro uses the same Ampak AP6255 module as the ACEPC T8
and the nvram for the T8 is already in linux-firmware, so point the new
DMI nvram filename quirk to the T8 nvram file.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240216213649.251718-1-hdegoede@redhat.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c