]> 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)
commit4ad302711e7b919fa0ef6cdcd13acfd36f3d13ef
treec22a66d672efea2fc1c3703784c80d90af41d3c0
parent4e73e20f28b2725bbe40594d7fb8005867b3f09b
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: 0fc478900e53 ("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