linux/drivers/net/wireless/ti
Pali Rohár 4f507d588d wl1251: Parse and use MAC address from supplied NVS data
This patch implements parsing MAC address from NVS data which are sent to
wl1251 chip. Calibration NVS data could contain valid MAC address and it
will be used instead of randomly generated one.

This patch also moves code for requesting NVS data from userspace to driver
initialization code to make sure that NVS data will be there at time when
permanent MAC address is needed.

Calibration NVS data for wl1251 are device specific. Every device with
wl1251 chip should have been calibrated in factory and needs to provide own
calibration data.

Default example file wl1251-nvs.bin, found in linux-firmware repository,
contains MAC address 00:00:20:07:03:09. So this MAC address is marked as
invalid as it is not real device specific address, just example one.

Format of calibration NVS data can be found at:
http://notaz.gp2x.de/misc/pnd/wl1251/nvs_map.txt

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-02-27 15:50:43 +02:00
..
wl12xx wlcore/wl12xx: Fix fw logger over sdio 2016-05-11 21:26:15 +03:00
wl18xx wl18xx: add checks on wl18xx_top_reg_write() return value 2017-06-28 21:18:40 +03:00
wl1251 wl1251: Parse and use MAC address from supplied NVS data 2018-02-27 15:50:43 +02:00
wlcore wlcore: fix unused function warning 2017-12-14 14:44:31 +02:00
Kconfig ti: unify Kconfig with other vendors 2015-11-18 14:28:31 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
wilink_platform_data.c wlcore: remove wl12xx_platform_data 2015-03-24 09:48:14 -07:00