]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2741e801a0b125b327e08ccb118f30f4740e9154
tree24860637fc9552757e8ca0ee7c5f08a1d1f0633e
parent2465bccac212364a8e3bc05dc0e07a53f91f6000
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