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)
commite7eeee08434873c2f781dc1afaa42b03a014b95d
treec22a66d672efea2fc1c3703784c80d90af41d3c0
parentf38efdb29389cc3ac6a466896a01f0fbdb14f4c7
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: e9e1ba3dbf00 ("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