[PATCH] ipq40xx: limit available radio channels for GL.iNet GL-B2200

Christian Lamparter chunkeey at gmail.com
Fri Feb 11 09:06:21 PST 2022


On 11/02/2022 10:46, Enrico Mioso wrote:
> 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 at gmail.com>
> ---
> Also due to the nature of this patch, testing it might not be easy.
> Still, applying it shoudn't cause issues, as the only uncertainty is whether we will need to stricter the limits. So I think this should go in.

Somewhat related question: (though, it's about the board itself)

Do you have the board? Can you tell me the pciid of the PCIe ath10k chip,
or a bootlog?

I'm asking because when I was converting it to nvmem
(see commit cfc13c44595db591092859fc6adc71f1d8159c50),
I noticed that the board-data-extraction used the
WAVE-1 files. However GL.iNet says it's a WAVE-2 9886 chip.

Thanks,
Christian

> ---
>   .../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 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>;
>   };




More information about the openwrt-devel mailing list