]> 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)
commitc12aaf1a3d651b1d2fb6abca35edeaf70e53b582
tree24860637fc9552757e8ca0ee7c5f08a1d1f0633e
parent42ef8d64e7fa9a4ff321950b513035a6a7cc01b4
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