linux/drivers/net/wireless/ti/wlcore
Reizer, Eyal d382b9c007 wlcore: add missing nvs file name info for wilink8
The following commits:
commit c815fdebef ("wlcore: spi: Populate config firmware data")
commit d776fc86b8 ("wlcore: sdio: Populate config firmware data")

Populated the nvs entry for wilink6 and wilink7 only while it is
still needed for wilink8 as well.
This broke user space backward compatibility when upgrading from older
kernels, as the alternate mac address would not be read from the nvs that
is present in the file system (lib/firmware/ti-connectivity/wl1271-nvs.bin)
causing mac address change of the wlan interface.

This patch fix this and update the structure field with the same default
nvs file name that has been used before.

In addition, some distros hold a default wl1271-nvs.bin in the file
system with a bogus mac address (deadbeef...) that overrides the mac
address that is stored inside the device.
Warn users about this bogus mac address and use the internal mac address

Fixes: c815fdebef ("wlcore: spi: Populate config firmware data")
Fixes: d776fc86b8 ("wlcore: sdio: Populate config firmware data")
Signed-off-by: Eyal Reizer <eyalr@ti.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2017-08-24 12:51:22 +03:00
..
acx.c wlcore: Pass win_size taken from ieee80211_sta to FW 2016-11-17 08:38:04 +02:00
acx.h wlcore: Pass win_size taken from ieee80211_sta to FW 2016-11-17 08:38:04 +02:00
boot.c wlcore: Fix config firmware loading issues 2016-09-26 18:13:45 +03:00
boot.h
cmd.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
cmd.h cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
conf.h wlcore: split wl12xx/wl18xx sg parameters 2015-12-11 13:10:59 +02:00
debug.h
debugfs.c wlcore: use memdup_user 2017-05-18 16:41:23 +03:00
debugfs.h wl18xx: show rx_frames_per_rates as an array as it really is 2015-03-16 18:07:03 +02:00
event.c mac80211: Pass new RSSI level in CQM RSSI notification 2017-02-08 10:43:04 +01:00
event.h wlcore/wl18xx: fw logger over sdio 2015-12-31 10:19:47 +02:00
hw_ops.h wlcore: add dfs master restart calls 2015-01-09 15:48:01 +02:00
ini.h
init.c scripts/spelling.txt: add "intialization" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
init.h wlcore: add p2p device support 2015-08-10 22:16:34 +03:00
io.c wlcore/wl12xx: Fix fw logger over sdio 2016-05-11 21:26:15 +03:00
io.h wlcore/wl12xx: Fix fw logger over sdio 2016-05-11 21:26:15 +03:00
Kconfig wlcore/wl12xx: spi: add device tree support 2016-01-29 11:10:10 +02:00
main.c wlcore: add missing nvs file name info for wilink8 2017-08-24 12:51:22 +03:00
Makefile Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
ps.c cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
ps.h
rx.c net: manual clean code which call skb_put_[data:zero] 2017-06-20 13:30:15 -04:00
rx.h cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
scan.c mac80211: Add support for beacon report radio measurement 2016-07-06 14:53:19 +02:00
scan.h wl18xx: use long intervals in sched scan 2015-08-10 22:16:21 +03:00
sdio.c wlcore: add missing nvs file name info for wilink8 2017-08-24 12:51:22 +03:00
spi.c wlcore: add missing nvs file name info for wilink8 2017-08-24 12:51:22 +03:00
sysfs.c wlcore: add const to bin_attribute structure 2017-08-08 14:52:35 +03:00
sysfs.h
testmode.c netlink: pass extended ACK struct to parsing functions 2017-04-13 13:58:22 -04:00
testmode.h
tx.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
tx.h cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
vendor_cmd.c netlink: pass extended ACK struct to parsing functions 2017-04-13 13:58:22 -04:00
vendor_cmd.h
wl12xx_80211.h
wlcore_i.h wlcore: Fix config firmware loading issues 2016-09-26 18:13:45 +03:00
wlcore.h wlcore: add missing nvs file name info for wilink8 2017-08-24 12:51:22 +03:00