mbox series

[0/3] wifi: mt76: mt7921: series with CLC patches

Message ID 20231120111212.4478-1-mingyen.hsieh@mediatek.com
Headers show
Series wifi: mt76: mt7921: series with CLC patches | expand

Message

Mingyen Hsieh Nov. 20, 2023, 11:12 a.m. UTC
From: Ming Yen Hsieh <MingYen.Hsieh@mediatek.com>

Sync internal mt7921 patches for CLC.

---

Ming Yen Hsieh (3):
  wifi: mt76: mt7921: fix country count limitation for CLC
  wifi: mt76: mt7921: fix CLC command timeout when suspend/resume
  wifi: mt76: mt7921: fix wrong 6Ghz power type

 .../net/wireless/mediatek/mt76/mt7921/init.c  | 23 ++++++++---
 .../net/wireless/mediatek/mt76/mt7921/main.c  | 38 +++++++++++++++++--
 .../net/wireless/mediatek/mt76/mt7921/mcu.c   | 11 ++++--
 .../wireless/mediatek/mt76/mt7921/mt7921.h    |  1 +
 .../net/wireless/mediatek/mt76/mt7921/pci.c   |  3 ++
 5 files changed, 65 insertions(+), 11 deletions(-)

Comments

Kalle Valo Nov. 21, 2023, 11:49 a.m. UTC | #1
Mingyen Hsieh <mingyen.hsieh@mediatek.com> writes:

> From: Ming Yen Hsieh <MingYen.Hsieh@mediatek.com>
>
> Sync internal mt7921 patches for CLC.
>
> ---
>
> Ming Yen Hsieh (3):
>   wifi: mt76: mt7921: fix country count limitation for CLC
>   wifi: mt76: mt7921: fix CLC command timeout when suspend/resume
>   wifi: mt76: mt7921: fix wrong 6Ghz power type

v2 missing from subject. Please carefully read the wiki link below.
Kalle Valo Nov. 21, 2023, 11:50 a.m. UTC | #2
Mingyen Hsieh <mingyen.hsieh@mediatek.com> writes:

> From: Ming Yen Hsieh <mingyen.hsieh@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@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.