[openwrt/openwrt] ramips: disable unsupported background-radar

LEDE Commits lede-commits at lists.infradead.org
Sat May 28 15:01:24 PDT 2022


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/275a76e59a37114dce4fdedbadabd73d5558abc8

commit 275a76e59a37114dce4fdedbadabd73d5558abc8
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Fri Apr 22 02:02:48 2022 +0200

    ramips: disable unsupported background-radar
    
    The UniFi 6 Lite as well as the Tenbay T-MB5EU do not have the third
    background-radar chain. For the Tenbay, the connector is present,
    however no antenna is connected to it.
    
    Signed-off-by: David Bauer <mail at david-bauer.net>
---
 target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts | 2 ++
 target/linux/ramips/dts/mt7621_ubnt_unifi-6-lite.dts  | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts b/target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts
index 4be80f4836..d658c454a8 100644
--- a/target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts
+++ b/target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts
@@ -103,8 +103,10 @@
 
 &pcie1 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0 0 0 0 0>;
 		mediatek,mtd-eeprom = <&factory 0x0>;
+		mediatek,disable-radar-background;
 	};
 };
 
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 afd54e816b..54e372eca3 100644
--- a/target/linux/ramips/dts/mt7621_ubnt_unifi-6-lite.dts
+++ b/target/linux/ramips/dts/mt7621_ubnt_unifi-6-lite.dts
@@ -86,6 +86,8 @@
 };
 
 &wlan_5g {
+	compatible = "mediatek,mt76";
+
 	mediatek,mtd-eeprom = <&factory 0x20000>;
 
 	nvmem-cells = <&macaddr_eeprom_6>;
@@ -106,6 +108,8 @@
 	mac-address-increment = <1>;
 
 	ieee80211-freq-limit = <5000000 6000000>;
+
+	mediatek,disable-radar-background;
 };
 
 &eeprom {




More information about the lede-commits mailing list