ipq40xx: limit available radio channels for GL.iNet GL-B2200
authorEnrico Mioso <mrkiko.rs@gmail.com>
Fri, 11 Feb 2022 09:46:00 +0000 (10:46 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 19 Feb 2022 17:29:42 +0000 (18:29 +0100)
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 <mrkiko.rs@gmail.com>
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts

index 243dcb84d6bf4595614a938b5c020b25abf28f56..754af7c8202feb651dcd64d466528f6b8fee7ba4 100644 (file)
                        nvmem-cell-names = "calibration";
                        nvmem-cells = <&cal_art_9000>;
                        qcom,ath10k-calibration-variant = "GL-B2200";
+                       ieee80211-freq-limit = <5450000 5900000>;
                };
        };
 };
        nvmem-cell-names = "pre-calibration";
        nvmem-cells = <&precal_art_5000>;
        qcom,ath10k-calibration-variant = "GL-B2200";
+       ieee80211-freq-limit = <5100000 5400000>;
 };