From a6c71e17dc57dbe0c92588d4cd3f5d3743965925 Mon Sep 17 00:00:00 2001 From: Enrico Mioso Date: Fri, 11 Feb 2022 10:46:00 +0100 Subject: [PATCH] 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 --- .../ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts | 2 ++ 1 file changed, 2 insertions(+) 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 339a1e0f72..9b092c2e6a 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 @@ -349,6 +349,7 @@ compatible = "qcom,ath10k"; reg = <0x00010000 0 0 0 0>; qcom,ath10k-calibration-variant = "GL-B2200"; + ieee80211-freq-limit = <5450000 5900000>; }; }; }; @@ -361,4 +362,5 @@ &wifi1 { status = "okay"; qcom,ath10k-calibration-variant = "GL-B2200"; + ieee80211-freq-limit = <5100000 5400000>; };