brcmfmac: Add support for getting nvram contents from EFI variables
authorHans de Goede <hdegoede@redhat.com>
Thu, 11 Oct 2018 09:51:06 +0000 (11:51 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Nov 2018 16:51:40 +0000 (18:51 +0200)
commitce2e6db554fad444fa0b3904fc3015336e0ef765
treefc18dc79489664345f04b4b92a1761a614c7fbf2
parent55e491edbf14b2da5419c2a319ea3b1d6368d9a2
brcmfmac: Add support for getting nvram contents from EFI variables

Various X86 laptops with a SDIO attached brcmfmac wifi chip, store the
nvram contents in a special EFI variable. This commit adds support for
getting nvram directly from this EFI variable, without the user needing
to manually copy it.

This makes Wifi / Bluetooth work out of the box on these devices instead of
requiring manual setup.

This has been tested on the following models: Acer Iconia Tab8 w1-810,
Acer One 10, Asus T100CHI, Asus T100HA, Asus T100TA, Asus T200TA and a
Lenovo Mixx 2 8.

Tested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c