From: Enrico Mioso Date: Fri, 11 Feb 2022 09:46:00 +0000 (+0100) Subject: ipq40xx: limit available radio channels for GL.iNet GL-B2200 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7270c9f8f6367630ee08c90fa71b4d1d4d519db4;p=openwrt%2Fstaging%2F981213.git ipq40xx: limit available radio channels for GL.iNet GL-B2200 The PCIe and built-in 5GHZ radios are meant to operate on different frequency bands. The hardware enforces this via RF filters. Add this information to allow software enforcing it as well. Credits to Piotr Dymacz for the invaluable help. Signed-off-by: Enrico Mioso --- diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts index 243dcb84d6..754af7c820 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts @@ -367,6 +367,7 @@ nvmem-cell-names = "calibration"; nvmem-cells = <&cal_art_9000>; qcom,ath10k-calibration-variant = "GL-B2200"; + ieee80211-freq-limit = <5450000 5900000>; }; }; }; @@ -383,4 +384,5 @@ nvmem-cell-names = "pre-calibration"; nvmem-cells = <&precal_art_5000>; qcom,ath10k-calibration-variant = "GL-B2200"; + ieee80211-freq-limit = <5100000 5400000>; };