]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: nvm: get num of hw addresses from firmware
authorNaftali Goldstein <naftali.goldstein@intel.com>
Tue, 12 Jun 2018 06:08:40 +0000 (09:08 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Sat, 6 Oct 2018 07:25:50 +0000 (10:25 +0300)
commit629051eb0350960a61ae5814a4c716ba637d6c22
treec22a66d672efea2fc1c3703784c80d90af41d3c0
parentbdaa9d0b0dcd1b2f9c786ab03ca5facd1906349d
iwlwifi: nvm: get num of hw addresses from firmware

With NICs that don't read the NVM directly and instead rely on getting
the relevant data from the firmware, the number of reserved MAC
addresses was not added to the API. This caused the driver to assume
there is only one address which results in all interfaces getting the
same address. Update the API to fix this.

While at it, fix-up the comments with firmware api names to actually
match what we have in the firmware.

Fixes: 86e9edf14659 ("iwlwifi: mvm: support getting nvm data from firmware")
Signed-off-by: Naftali Goldstein <naftali.goldstein@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/nvm-reg.h
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c