[PATCH 1/3] wifi: mt76: mt7921: fix country count limitation for CLC
Kalle Valo
kvalo at kernel.org
Tue Nov 21 03:50:48 PST 2023
Mingyen Hsieh <mingyen.hsieh at mediatek.com> writes:
> From: Ming Yen Hsieh <mingyen.hsieh at mediatek.com>
>
> Due to the increase in the number of power tables on CLC, the variable
> nr_country is no longer sufficient to represent the total quantity.
> Therefore, we have switched to calculating the length of clc buf to
> obtain the correct power table. Additionally, the version number has
> been incremented to 1.
>
> Fixes: 23bdc5d8cadf ("wifi: mt76: mt7921: introduce Country Location Control support")
> Signed-off-by: Ming Yen Hsieh <mingyen.hsieh at mediatek.com>
>
> v2:
> - Convert type of buf_len from "__le16" to "u16"
>
> ---
> drivers/net/wireless/mediatek/mt76/mt7921/mcu.c | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
The changelog ('v2:....') should be after '---' line.
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the Linux-mediatek
mailing list