diff options
author | Shiji Yang <yangshiji66@qq.com> | 2022-09-07 16:08:33 +0800 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-09-12 00:14:02 +0100 |
commit | 60384d8a743666f8cbda6446b86067ef6246d032 (patch) | |
tree | 2089f606145e0c7fd8be774991095ea7cdbdca0f /target/linux/mediatek/dts | |
parent | 6cbcc34f50a3280f5897a86d69225c081711ca24 (diff) | |
download | upstream-60384d8a743666f8cbda6446b86067ef6246d032.tar.gz upstream-60384d8a743666f8cbda6446b86067ef6246d032.tar.bz2 upstream-60384d8a743666f8cbda6446b86067ef6246d032.zip |
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>
Diffstat (limited to 'target/linux/mediatek/dts')
3 files changed, 7 insertions, 2 deletions
diff --git a/target/linux/mediatek/dts/mt7622-linksys-e8450.dtsi b/target/linux/mediatek/dts/mt7622-linksys-e8450.dtsi index 9f0dabdb4e..1fe839575e 100644 --- a/target/linux/mediatek/dts/mt7622-linksys-e8450.dtsi +++ b/target/linux/mediatek/dts/mt7622-linksys-e8450.dtsi @@ -336,9 +336,11 @@ }; &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; }; }; diff --git a/target/linux/mediatek/dts/mt7622-ruijie-rg-ew3200gx-pro.dts b/target/linux/mediatek/dts/mt7622-ruijie-rg-ew3200gx-pro.dts index df8f2a5814..fba9a1b8f7 100644 --- a/target/linux/mediatek/dts/mt7622-ruijie-rg-ew3200gx-pro.dts +++ b/target/linux/mediatek/dts/mt7622-ruijie-rg-ew3200gx-pro.dts @@ -164,10 +164,12 @@ }; &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; }; }; diff --git a/target/linux/mediatek/dts/mt7622-xiaomi-redmi-router-ax6s.dts b/target/linux/mediatek/dts/mt7622-xiaomi-redmi-router-ax6s.dts index 6c1208d4a8..73ee41bb2d 100644 --- a/target/linux/mediatek/dts/mt7622-xiaomi-redmi-router-ax6s.dts +++ b/target/linux/mediatek/dts/mt7622-xiaomi-redmi-router-ax6s.dts @@ -328,6 +328,7 @@ reg = <0x0000 0 0 0 0>; mediatek,mtd-eeprom = <&factory 0x5000>; ieee80211-freq-limit = <5000000 6000000>; + mediatek,disable-radar-background; }; }; |