iwlwifi: mvm: read the mac address in family 8000
authorEran Harary <eran.harary@intel.com>
Wed, 11 Jun 2014 08:37:09 +0000 (11:37 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 6 Jul 2014 08:16:15 +0000 (11:16 +0300)
commit1e0b393a4478fdce0e39a5b7fe7d05ee4ab46105
tree24860637fc9552757e8ca0ee7c5f08a1d1f0633e
parentd40fc489f308951f6361742e8b9689326c831f41
iwlwifi: mvm: read the mac address in family 8000

In family 8000 products the MAC address in the OTP could be in either:
- WFPM address
- PCIE address
In sdio product we should read it from the WFPM, in pcie product we
should read it from the PCIe location.
This is relevant only from otp version 0xE08 and above.
While at it, fix the bytes order in version 0xE08.

Signed-off-by: Eran Harary <eran.harary@intel.com>
Reviewed-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-nvm-parse.c