mbox series

[v2,0/6] wifi: mt76: mt7921: support per-device regulatory settings

Message ID cover.1696039301.git.deren.wu@mediatek.com (mailing list archive)
Headers show
Series wifi: mt76: mt7921: support per-device regulatory settings | expand

Message

Deren Wu Sept. 30, 2023, 2:25 a.m. UTC
Some platform vendors need to apply their own regualtory settings and the
vendor-specific data would be written in dts or acpi. This patch set adds
the functionalities to handle this per-device 5.9/6GHz channel
configurations.

---
v2:
  * 6th patch in v1 is shown in wireless patchwork, resend this series to
    make the reivew easier
  * add preifx "wifi: mt76: mt7921:" in the title of cover letter

Deren Wu (1):
  wifi: mt76: mt7921: move connac nic capability handling to mt7921

Ming Yen Hsieh (4):
  wifi: mt76: mt7921: enable set txpower for UNII-4
  wifi: mt76: mt7921: add 6GHz power type support for clc
  wifi: mt76: mt7921: get regulatory information from the clc event
  wifi: mt76: mt7921: update the channel usage when the regd domain
    changed

rong.yan (1):
  wifi: mt76: mt7921: support 5.9/6GHz channel config in acpi

 drivers/net/wireless/mediatek/mt76/eeprom.c   |   7 +-
 drivers/net/wireless/mediatek/mt76/mt76.h     |   5 +
 .../wireless/mediatek/mt76/mt76_connac_mcu.c  | 122 +-------------
 .../wireless/mediatek/mt76/mt76_connac_mcu.h  |   2 +-
 .../net/wireless/mediatek/mt76/mt7921/init.c  |  51 ++++++
 .../net/wireless/mediatek/mt76/mt7921/main.c  |  34 ++++
 .../net/wireless/mediatek/mt76/mt7921/mcu.c   | 157 +++++++++++++++++-
 .../net/wireless/mediatek/mt76/mt7921/mcu.h   |  13 ++
 .../wireless/mediatek/mt76/mt7921/mt7921.h    |   1 +
 drivers/net/wireless/mediatek/mt76/mt792x.h   |  19 +++
 .../wireless/mediatek/mt76/mt792x_acpi_sar.c  |  53 ++++++
 .../wireless/mediatek/mt76/mt792x_acpi_sar.h  |   2 +
 12 files changed, 336 insertions(+), 130 deletions(-)

Comments

Deren Wu Sept. 30, 2023, 3:02 a.m. UTC | #1
On Sat, 2023-09-30 at 10:25 +0800, Deren Wu wrote:
> From: "rong.yan" <rong.yan@mediatek.com>

Hi Felix,

I am not sure why this patch is not shown in wireless patchwork, but it
is mediatek patchwork alreay. Guess there is something wrong in
author's naming parsing. I prefer to keep this patch in mail thred only, how do you think?

Regards,
Deren

> 
> The mtcl table, configured by platform vendor, provides regulatory
> information for 5.9/6 GHz channels. mt792x should work on
> corresponding channels supported by mtcl. This patch would parse
> the settings in mtcl table and apply the result into chip side.
> 
> Signed-off-by: rong.yan <rong.yan@mediatek.com>
> Co-developed-by: Deren Wu <deren.wu@mediatek.com>
> Signed-off-by: Deren Wu <deren.wu@mediatek.com>
> ---
>  .../net/wireless/mediatek/mt76/mt7921/mcu.c   |  4 +-
>  drivers/net/wireless/mediatek/mt76/mt792x.h   |  6 +++
>  .../wireless/mediatek/mt76/mt792x_acpi_sar.c  | 53
> +++++++++++++++++++
>  .../wireless/mediatek/mt76/mt792x_acpi_sar.h  |  2 +
>  4 files changed, 64 insertions(+), 1 deletion(-)
> 
>
Kalle Valo Oct. 2, 2023, 5:56 a.m. UTC | #2
"Deren Wu (武德仁)" <Deren.Wu@mediatek.com> writes:

> On Sat, 2023-09-30 at 10:25 +0800, Deren Wu wrote:
>> From: "rong.yan" <rong.yan@mediatek.com>
>
> Hi Felix,
>
> I am not sure why this patch is not shown in wireless patchwork, but it
> is mediatek patchwork alreay. Guess there is something wrong in
> author's naming parsing. I prefer to keep this patch in mail thred only, how do you think?

The patch is also available in lore:

https://lore.kernel.org/all/f01bcf001c896a74e36ac9905bece382efb13b0d.1696039301.git.deren.wu@mediatek.com/