openwrt/target/linux/ramips
Adrian Schmutzler 8f0deedc11 ramips: fix WiFi MAC addresses for D-Link DIR-810L
So far, WiFi MAC addresses for this device have been set up from
caldata. However, this returns values which do not look like MAC
addresses. They also do not match stock firmware:

wlan0 (5.0): 00:11:22:00:17:D0 from 0x8004
wlan1 (2.4): 00:11:22:00:17:CD from 0x4 (and 0x2e)

It looks like the only valid MAC address on this device is at 0x28.

So, this patch changes setup to calculate addresses based on the
value at 0x28:

lan: *:0A (flash, label)
wan: *:0B (flash + 1)
wifi2: *:0A (flash)
wifi5: *:0C (flash + 2)

Thanks to Roger Pueyo Centelles <roger.pueyo@guifi.net> for
investigating this on his devices.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit d1072096f4)
2019-11-03 14:02:02 +01:00
..
base-files ramips: fix duplicate network setup for dlink, dir-615-h1 2019-09-09 21:12:23 +08:00
dts ramips: fix WiFi MAC addresses for D-Link DIR-810L 2019-11-03 14:02:02 +01:00
files-4.14/drivers ramips: ethernet: remove unused SIOCETHTOOL ioctl handling 2019-06-05 10:12:30 +02:00
image ramips: add factory image for NETGEAR R6220 2019-09-16 21:43:39 +02:00
mt76x8 ramips: enable R6120 USB power 2019-04-06 19:14:06 +02:00
mt7620 ramips: Add support for Head Weblink HDRM200 2019-05-17 21:41:43 +02:00
mt7621 ramips: mt7621: disable CONFIG_MTD_SPLIT_FIRMWARE 2018-12-13 13:39:56 +01:00
patches-4.14 kernel: bump 4.14 to 4.14.149 2019-10-15 16:13:06 +02:00
rt288x ramips: disable CONFIG_MTD_SPLIT_FIRMWARE 2019-01-26 21:46:33 +01:00
rt305x ramips: disable CONFIG_MTD_SPLIT_FIRMWARE 2019-01-26 21:46:33 +01:00
rt3883 ramips: rt3883: drop jimage support 2019-01-26 21:46:33 +01:00
Makefile ramips: switch to linux 4.14 2018-04-06 18:07:43 +02:00
modules.mk kernel: Fix kmod-regmap split 2019-01-27 11:07:14 +01:00