openwrt/target/linux/ramips
Adrian Schmutzler d1072096f4 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>
2019-10-15 23:31:13 +02:00
..
base-files treewide: move MAC address patch functions to common library 2019-10-14 12:36:02 +02:00
dts ramips: fix WiFi MAC addresses for D-Link DIR-810L 2019-10-15 23:31:13 +02:00
files-4.14/drivers ramips: add MT7530 switch port-mirroring support 2019-08-18 22:08:42 +08:00
image ramips: mt7621: Alternative name KE 2P for Phicomm K2P 2019-10-13 20:34:57 +08:00
mt76x8 treewide: remove kmod-usb-core from DEVICE_PACKAGES 2019-10-06 21:28:49 +02:00
mt7620 treewide: remove kmod-usb-core from DEVICE_PACKAGES 2019-10-06 21:28:49 +02:00
mt7621 treewide: remove kmod-usb-core from DEVICE_PACKAGES 2019-10-06 21:28:49 +02:00
patches-4.14 kernel: bump 4.14 to 4.14.147 2019-10-08 12:44:35 +02:00
rt288x ramips: disable CONFIG_MTD_SPLIT_FIRMWARE 2019-01-26 21:46:33 +01:00
rt305x treewide: remove kmod-usb-core from DEVICE_PACKAGES 2019-10-06 21:28:49 +02:00
rt3883 treewide: remove kmod-usb-core from DEVICE_PACKAGES 2019-10-06 21:28:49 +02:00
Makefile
modules.mk kernel: Fix kmod-regmap split 2019-01-27 11:07:14 +01:00