All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: <linux-wireless@vger.kernel.org>
Cc: <kevin_yang@realtek.com>
Subject: [PATCH rtw-next v2 00/12] wifi: rtw89: support SAR from BIOS ACPI
Date: Wed, 26 Mar 2025 10:06:31 +0800	[thread overview]
Message-ID: <20250326020643.14487-1-pkshih@realtek.com> (raw)

The Realtek Windows driver has defined these SAR tables for ages, and
people can install Linux on the x86 platform. To be consistent, implement
to apply these tables, and later Linux distro can also use the same rules.

The SAR tables include static SAR table for basic use, and dynamic SAR
table for platforms that can support yoga mode for example. GEO SAR
table is to support different country's regulations.

Since two antenna solution can possibly use different SAR limit, the last
three patches add this feature to chips that can support delta of TX power
from main antenna to aux antenna.

v2:
 - "wifi: rtw89: acpi: support loading dynamic SAR tables and indicator"
   (patch 7/12) is changed, because indicator field can be different
   for different CID.

Zong-Zhe Yang (12):
  wifi: rtw89: fix typo of "access" in rtw89_sar_info description
  wifi: rtw89: regd: introduce string getter for reuse
  wifi: rtw89: sar: introduce structure to wrap query parameters
  wifi: rtw89: sar: add skeleton for SAR configuration via ACPI
  wifi: rtw89: acpi: introduce method evaluation function for reuse
  wifi: rtw89: acpi: support loading static SAR table
  wifi: rtw89: acpi: support loading dynamic SAR tables and indicator
  wifi: rtw89: acpi: support loading GEO SAR tables
  wifi: rtw89: sar: add skeleton for different configs by antenna
  wifi: rtw89: 8922a: support different SAR configs by antenna
  wifi: rtw89: 8852c: support different SAR configs by antenna
  wifi: rtw89: 8852bx: support different SAR configs by antenna

 drivers/net/wireless/realtek/rtw89/acpi.c     | 992 +++++++++++++++++-
 drivers/net/wireless/realtek/rtw89/acpi.h     | 174 +++
 drivers/net/wireless/realtek/rtw89/core.c     |   6 +-
 drivers/net/wireless/realtek/rtw89/core.h     |  63 +-
 drivers/net/wireless/realtek/rtw89/debug.c    |  33 +-
 drivers/net/wireless/realtek/rtw89/phy.c      |  12 +-
 drivers/net/wireless/realtek/rtw89/phy.h      |  14 +
 drivers/net/wireless/realtek/rtw89/reg.h      |   5 +
 drivers/net/wireless/realtek/rtw89/regd.c     |  32 +
 drivers/net/wireless/realtek/rtw89/rtw8851b.c |   1 +
 drivers/net/wireless/realtek/rtw89/rtw8852a.c |   1 +
 drivers/net/wireless/realtek/rtw89/rtw8852b.c |   1 +
 .../wireless/realtek/rtw89/rtw8852b_common.c  |  24 +
 .../net/wireless/realtek/rtw89/rtw8852bt.c    |   1 +
 drivers/net/wireless/realtek/rtw89/rtw8852c.c |  27 +
 drivers/net/wireless/realtek/rtw89/rtw8922a.c |  28 +
 drivers/net/wireless/realtek/rtw89/sar.c      | 282 ++++-
 drivers/net/wireless/realtek/rtw89/sar.h      |  19 +-
 18 files changed, 1620 insertions(+), 95 deletions(-)

-- 
2.25.1


             reply	other threads:[~2025-03-26  2:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-26  2:06 Ping-Ke Shih [this message]
2025-03-26  2:06 ` [PATCH rtw-next v2 01/12] wifi: rtw89: fix typo of "access" in rtw89_sar_info description Ping-Ke Shih
2025-03-31  6:38   ` Ping-Ke Shih
2025-03-26  2:06 ` [PATCH rtw-next v2 02/12] wifi: rtw89: regd: introduce string getter for reuse Ping-Ke Shih
2025-03-26  2:06 ` [PATCH rtw-next v2 03/12] wifi: rtw89: sar: introduce structure to wrap query parameters Ping-Ke Shih
2025-03-26  2:06 ` [PATCH rtw-next v2 04/12] wifi: rtw89: sar: add skeleton for SAR configuration via ACPI Ping-Ke Shih
2025-03-26  2:06 ` [PATCH rtw-next v2 05/12] wifi: rtw89: acpi: introduce method evaluation function for reuse Ping-Ke Shih
2025-03-26  2:06 ` [PATCH rtw-next v2 06/12] wifi: rtw89: acpi: support loading static SAR table Ping-Ke Shih
2025-03-26  2:06 ` [PATCH rtw-next v2 07/12] wifi: rtw89: acpi: support loading dynamic SAR tables and indicator Ping-Ke Shih
2025-03-26  2:06 ` [PATCH rtw-next v2 08/12] wifi: rtw89: acpi: support loading GEO SAR tables Ping-Ke Shih
2025-03-26  2:06 ` [PATCH rtw-next v2 09/12] wifi: rtw89: sar: add skeleton for different configs by antenna Ping-Ke Shih
2025-03-26  2:06 ` [PATCH rtw-next v2 10/12] wifi: rtw89: 8922a: support different SAR " Ping-Ke Shih
2025-03-26  2:06 ` [PATCH rtw-next v2 11/12] wifi: rtw89: 8852c: " Ping-Ke Shih
2025-03-26  2:06 ` [PATCH rtw-next v2 12/12] wifi: rtw89: 8852bx: " Ping-Ke Shih

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250326020643.14487-1-pkshih@realtek.com \
    --to=pkshih@realtek.com \
    --cc=kevin_yang@realtek.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.