aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/ramips/dts/mt7621_ubnt_unifi-6-lite.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7621_ubnt_unifi-6-lite.dts b/target/linux/ramips/dts/mt7621_ubnt_unifi-6-lite.dts
index 0e56d16a7f..afd54e816b 100644
--- a/target/linux/ramips/dts/mt7621_ubnt_unifi-6-lite.dts
+++ b/target/linux/ramips/dts/mt7621_ubnt_unifi-6-lite.dts
@@ -90,6 +90,21 @@
nvmem-cells = <&macaddr_eeprom_6>;
nvmem-cell-names = "mac-address";
+
+ /* This is a workaround.
+ *
+ * Ubiquiti uses a +2 offset in the first octet relative
+ * to the 2.4 GHz WMAC. Other octets are identical.
+ *
+ * The vendor firmware increases the last octet by 2 for each
+ * VAP.
+ *
+ * This is in conflict on how mac80211 addresses subsequent VAPs.
+ * mac80211 increases the first octet by two for each VAP, leading
+ * to conflicting MAC addresses for subsequent interfaces.
+ */
+ mac-address-increment = <1>;
+
ieee80211-freq-limit = <5000000 6000000>;
};