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
acx.h
boot.c
boot.h
cmd.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
cmd.h
conf.h
debug.h
debugfs.c wlcore: use memdup_user 2017-05-18 16:41:23 +03:00
debugfs.h
event.c mac80211: Pass new RSSI level in CQM RSSI notification 2017-02-08 10:43:04 +01:00
event.h
hw_ops.h
ini.h
init.c scripts/spelling.txt: add "intialization" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
init.h
io.c
io.h
Kconfig
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
ps.h
rx.c net: manual clean code which call skb_put_[data:zero] 2017-06-20 13:30:15 -04:00
rx.h
scan.c
scan.h
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
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.h wlcore: add missing nvs file name info for wilink8 2017-08-24 12:51:22 +03:00