aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-01-02 19:27:54 +0100
committerDavid Bauer <mail@david-bauer.net>2020-01-03 17:52:36 +0100
commit594f731e04f5442c94a4cfb57c7d46d7513fa9ce (patch)
tree98e89a799bf454afe61ad53d31dd13cff0813a13
parent037a151c56e9d7da1b0eeba05d49daf7bcc3c754 (diff)
downloadupstream-594f731e04f5442c94a4cfb57c7d46d7513fa9ce.tar.gz
upstream-594f731e04f5442c94a4cfb57c7d46d7513fa9ce.tar.bz2
upstream-594f731e04f5442c94a4cfb57c7d46d7513fa9ce.zip
ramips: fix Archer C20i wireless MAC address
The TP-Link Archer C20i previously had a generic Ralink MAC address set for both radios, as the caldata does only contain a generic MAC address. Set the MAC address from the vendor firmware for both radios to assign unique MAC addresses to every device. Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit 3b013dcdf8d8aa0e3601e3aac30342318025e32a)
-rw-r--r--target/linux/ramips/dts/ArcherC20i.dts3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/ArcherC20i.dts b/target/linux/ramips/dts/ArcherC20i.dts
index 94efb89dc8..8d4f51a5f6 100644
--- a/target/linux/ramips/dts/ArcherC20i.dts
+++ b/target/linux/ramips/dts/ArcherC20i.dts
@@ -152,6 +152,7 @@
&wmac {
ralink,mtd-eeprom = <&radio 0>;
+ mtd-mac-address = <&rom 0xf100>;
};
&pcie {
@@ -163,5 +164,7 @@
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&radio 32768>;
ieee80211-freq-limit = <5000000 6000000>;
+ mtd-mac-address = <&rom 0xf100>;
+ mtd-mac-address-increment = <(-1)>;
};
};