summaryrefslogtreecommitdiff
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorMing Yen Hsieh <mingyen.hsieh@mediatek.com>2023-11-22 11:06:44 +0800
committerFelix Fietkau <nbd@nbd.name>2023-12-11 13:11:53 +0100
commitfa6ad88e023ddfa6c5dcdb466d159e89f451e305 (patch)
treea5f8d541e365b86e7b3f33e55de0e9c0f23c11b3 /rust/helpers.c
parent4812ba9ab9408f3aa5bcbb4ff80ddca84611ea17 (diff)
wifi: mt76: mt7921: fix country count limitation for CLC
Due to the increase in the number of power tables for 6Ghz 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@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions