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
mt7620
mt7621
patches-4.14 kernel: bump 4.14 to 4.14.149 2019-10-15 16:13:06 +02:00
rt288x
rt305x
rt3883
Makefile
modules.mk