Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

wifi: brcmfmac: Add DMI nvram filename quirk for ACEPC W5 Pro

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

authored by

Hans de Goede and committed by
Kalle Valo
32167707 9208e85c

+9
+9
drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c
··· 83 83 .driver_data = (void *)&acepc_t8_data, 84 84 }, 85 85 { 86 + /* ACEPC W5 Pro Cherry Trail Z8350 HDMI stick, same wifi as the T8 */ 87 + .matches = { 88 + DMI_MATCH(DMI_BOARD_NAME, "T3 MRD"), 89 + DMI_MATCH(DMI_CHASSIS_TYPE, "3"), 90 + DMI_MATCH(DMI_BIOS_VENDOR, "American Megatrends Inc."), 91 + }, 92 + .driver_data = (void *)&acepc_t8_data, 93 + }, 94 + { 86 95 /* Chuwi Hi8 Pro with D2D3_Hi8Pro.233 BIOS */ 87 96 .matches = { 88 97 DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "Hampoo"),