mediatek: disable unsupported background radar detection
authorShiji Yang <yangshiji66@qq.com>
Wed, 7 Sep 2022 08:08:33 +0000 (16:08 +0800)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 11 Sep 2022 23:14:02 +0000 (00:14 +0100)
MT7915 requires an additional antenna for background radar scanning.
Disable this feature in the following devices that do not have a
separate DFS antenna:
  linksys,e8450
  ruijie,rg-ew3200gx-pro
  xiaomi,redmi-router-ax6s

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
target/linux/mediatek/dts/mt7622-linksys-e8450.dtsi
target/linux/mediatek/dts/mt7622-ruijie-rg-ew3200gx-pro.dts
target/linux/mediatek/dts/mt7622-xiaomi-redmi-router-ax6s.dts

index 9f0dabdb4e4838b4815b26ba17b163faa6b6afa6..1fe839575ed058903ea33846514128004939d26a 100644 (file)
 };
 
 &slot0 {
-       wmac1: mt7915@0,0 {
+       wmac1: wifi@0,0 {
+               compatible = "mediatek,mt76";
                reg = <0x0000 0 0 0 0>;
                ieee80211-freq-limit = <5000000 6000000>;
+               mediatek,disable-radar-background;
        };
 };
 
index df8f2a5814712aa59c3776250f227a8c8dfd1012..fba9a1b8f77993e1e89752adc5246c789b1f477d 100644 (file)
 };
 
 &slot0 {
-       mt7915@0,0 {
+       wifi@0,0 {
+               compatible = "mediatek,mt76";
                reg = <0x0000 0 0 0 0>;
                mediatek,mtd-eeprom = <&factory 0x5000>;
                ieee80211-freq-limit = <5000000 6000000>;
+               mediatek,disable-radar-background;
        };
 };
 
index 6c1208d4a8fc45b8325cb17b614057cf3b2f2570..73ee41bb2dccf56b0a9ba0b52d55eacaf28b3466 100644 (file)
                reg = <0x0000 0 0 0 0>;
                mediatek,mtd-eeprom = <&factory 0x5000>;
                ieee80211-freq-limit = <5000000 6000000>;
+               mediatek,disable-radar-background;
        };
 };