mediatek: disable unsupported background radar detection

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>
This commit is contained in:
Shiji Yang 2022-09-07 16:08:33 +08:00 committed by Daniel Golle
parent 6cbcc34f50
commit 60384d8a74
3 changed files with 7 additions and 2 deletions

View File

@ -336,9 +336,11 @@
}; };
&slot0 { &slot0 {
wmac1: mt7915@0,0 { wmac1: wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
mediatek,disable-radar-background;
}; };
}; };

View File

@ -164,10 +164,12 @@
}; };
&slot0 { &slot0 {
mt7915@0,0 { wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x5000>; mediatek,mtd-eeprom = <&factory 0x5000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
mediatek,disable-radar-background;
}; };
}; };

View File

@ -328,6 +328,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x5000>; mediatek,mtd-eeprom = <&factory 0x5000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
mediatek,disable-radar-background;
}; };
}; };