]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: Add DMI nvram filename quirk for ACEPC T8 and T11 mini PCs
authorHans de Goede <hdegoede@redhat.com>
Mon, 22 Apr 2019 20:41:23 +0000 (22:41 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 25 Apr 2019 16:57:44 +0000 (19:57 +0300)
commit01112cfe3bf4a8dfeb2e372a459d03099a846181
tree807bd788681957feae1bfddab7059d57214764d3
parent65a424c5c6a6fb214b7a1057a6d03b43071e8431
brcmfmac: Add DMI nvram filename quirk for ACEPC T8 and T11 mini PCs

The ACEPC T8 and T11 mini PCs contain 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 way too generic.

The DMI strings on which we are matching are somewhat generic too, but
"To be filled by O.E.M." is less common then "Default string" and the
system-sku and bios-version strings are pretty unique. Beside the DMI
strings we also check the wifi-module chip-id and revision. I'm confident
that the combination of all this is unique.

Both the T8 and T11 use the same wifi-module, this commit adds DMI
quirks for both mini PCs pointing to brcmfmac43455-sdio.acepc-t8.txt .

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1690852
Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c