Browse Source

ramips: disable unsupported background radar detection

Background radar detection is not supported on devices that
using MT7905, so disable this feature in the following devices:
  asus,rt-ax53u
  jcg,q20
  tplink,eap615-wall-v1
  xiaomi,mi-router-cr6606
  xiaomi,mi-router-cr6608
  xiaomi,mi-router-cr6609
  yuncore,ax820

Devices with MT7915 lacking a DFS antenna also do not support
background DFS:
  totolink,x5000r
  cudy,x6

Signed-off-by: Shiji Yang <[email protected]>
Shiji Yang 3 years ago
parent
commit
6cbcc34f50

+ 1 - 0
target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts

@@ -118,6 +118,7 @@
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		mediatek,mtd-eeprom = <&factory 0x0000>;
+		mediatek,disable-radar-background;
 	};
 };
 

+ 1 - 0
target/linux/ramips/dts/mt7621_cudy_x6.dts

@@ -120,6 +120,7 @@
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		mediatek,mtd-eeprom = <&factory 0x0000>;
+		mediatek,disable-radar-background;
 	};
 };
 

+ 1 - 0
target/linux/ramips/dts/mt7621_jcg_q20.dts

@@ -140,6 +140,7 @@
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		mediatek,mtd-eeprom = <&factory 0x0>;
+		mediatek,disable-radar-background;
 	};
 };
 

+ 1 - 0
target/linux/ramips/dts/mt7621_totolink_x5000r.dts

@@ -93,6 +93,7 @@
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		mediatek,mtd-eeprom = <&factory 0x0000>;
+		mediatek,disable-radar-background;
 	};
 };
 

+ 1 - 0
target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts

@@ -144,6 +144,7 @@
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		mediatek,mtd-eeprom = <&radio 0x0>;
+		mediatek,disable-radar-background;
 	};
 };
 

+ 1 - 0
target/linux/ramips/dts/mt7621_xiaomi_mi-router-cr660x.dtsi

@@ -136,6 +136,7 @@
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		mediatek,mtd-eeprom = <&factory 0x0>;
+		mediatek,disable-radar-background;
 	};
 };
 

+ 1 - 0
target/linux/ramips/dts/mt7621_yuncore_ax820.dts

@@ -135,6 +135,7 @@
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		mediatek,mtd-eeprom = <&factory 0x0>;
+		mediatek,disable-radar-background;
 	};
 };