ramips: disable unsupported background-radar
authorDavid Bauer <mail@david-bauer.net>
Fri, 22 Apr 2022 00:02:48 +0000 (02:02 +0200)
committerDavid Bauer <mail@david-bauer.net>
Sat, 28 May 2022 22:00:39 +0000 (00:00 +0200)
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@david-bauer.net>
target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts
target/linux/ramips/dts/mt7621_ubnt_unifi-6-lite.dts

index 4be80f4836dfdc924d82e1601f73fa19d5be85ce..d658c454a878133fa3a3541134be3080132f7822 100644 (file)
 
 &pcie1 {
        wifi@0,0 {
+               compatible = "mediatek,mt76";
                reg = <0x0 0 0 0 0>;
                mediatek,mtd-eeprom = <&factory 0x0>;
+               mediatek,disable-radar-background;
        };
 };
 
index afd54e816bf4f44130d313bcba98e528bbe36db6..54e372eca396b07d9ce99a683a891060c81180aa 100644 (file)
@@ -86,6 +86,8 @@
 };
 
 &wlan_5g {
+       compatible = "mediatek,mt76";
+
        mediatek,mtd-eeprom = <&factory 0x20000>;
 
        nvmem-cells = <&macaddr_eeprom_6>;
        mac-address-increment = <1>;
 
        ieee80211-freq-limit = <5000000 6000000>;
+
+       mediatek,disable-radar-background;
 };
 
 &eeprom {