iwlwifi: pnvm: implement reading PNVM from UEFI
authorLuca Coelho <luciano.coelho@intel.com>
Wed, 10 Feb 2021 23:50:41 +0000 (01:50 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 10 Feb 2021 23:58:07 +0000 (01:58 +0200)
commita1a6a4cf49eceb3fde0f1abaaf3cb24e73fdc417
treee99321f02bc86722218d3718b646132c09629567
parentcdda18fbbefafc6f3b8e6fe03482c1a7de4772e6
iwlwifi: pnvm: implement reading PNVM from UEFI

We now support fetching the PNVM data from a UEFI variable.  Add the
code to read this variable first and use it.  If it's not available,
we fall back to reading the data from the filesystem, as before.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210211015026.289084803334.Ie234805047df3be84f4235f9dafaf4cdecf0db9a@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/pnvm.c