[PATCH v3 1/3] wifi: mt76: mt7921: fix country count limitation for CLC

Kalle Valo kvalo at kernel.org
Tue Nov 21 04:48:49 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".

Like in v2 this 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