linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: <linux-wireless@vger.kernel.org>
Subject: [PATCH 0/2] wifi: rtw89: add support of thermal protection
Date: Wed, 16 Oct 2024 21:37:33 +0800	[thread overview]
Message-ID: <20241016133735.7571-1-pkshih@realtek.com> (raw)

Introduce thermal protection to prevent chip overheating. One of methods
is the proposal method by this patchset is to reduce TX duty.

When temperature obtained by thermal value is over a threshold, driver
asks firmware to reduce TX duty that also reduces throughput. Then,
temperature is expected to become lower and recall normal throughput.

Currently this feature is enabled by PCI subsystem ID (SSID) of sub-vendors.
Add quirks bits to represent thermal protection settings.

Ping-Ke Shih (2):
  wifi: rtw89: add thermal protection
  wifi: rtw89: pci: add quirks by PCI subsystem ID for thermal
    protection

 drivers/net/wireless/realtek/rtw89/core.c     |  9 ++++
 drivers/net/wireless/realtek/rtw89/core.h     | 22 +++++++++
 drivers/net/wireless/realtek/rtw89/debug.c    | 10 +++-
 drivers/net/wireless/realtek/rtw89/fw.c       | 46 +++++++++++++++++++
 drivers/net/wireless/realtek/rtw89/fw.h       | 18 ++++++++
 drivers/net/wireless/realtek/rtw89/mac.c      | 13 ++++++
 drivers/net/wireless/realtek/rtw89/mac.h      |  1 +
 drivers/net/wireless/realtek/rtw89/pci.c      | 31 +++++++++++++
 drivers/net/wireless/realtek/rtw89/pci.h      | 15 ++++++
 drivers/net/wireless/realtek/rtw89/phy.c      | 34 +++++++++++++-
 drivers/net/wireless/realtek/rtw89/rtw8851b.c |  1 +
 .../net/wireless/realtek/rtw89/rtw8851be.c    |  2 +
 drivers/net/wireless/realtek/rtw89/rtw8852a.c |  1 +
 .../net/wireless/realtek/rtw89/rtw8852ae.c    |  2 +
 drivers/net/wireless/realtek/rtw89/rtw8852b.c |  1 +
 .../net/wireless/realtek/rtw89/rtw8852be.c    |  2 +
 .../net/wireless/realtek/rtw89/rtw8852bt.c    |  1 +
 .../net/wireless/realtek/rtw89/rtw8852bte.c   |  2 +
 drivers/net/wireless/realtek/rtw89/rtw8852c.c |  1 +
 .../net/wireless/realtek/rtw89/rtw8852ce.c    |  2 +
 drivers/net/wireless/realtek/rtw89/rtw8922a.c |  7 ++-
 .../net/wireless/realtek/rtw89/rtw8922ae.c    |  8 ++++
 22 files changed, 224 insertions(+), 5 deletions(-)

-- 
2.25.1


             reply	other threads:[~2024-10-16 13:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-16 13:37 Ping-Ke Shih [this message]
2024-10-16 13:37 ` [PATCH 1/2] wifi: rtw89: add thermal protection Ping-Ke Shih
2024-10-25  2:09   ` Ping-Ke Shih
2024-10-16 13:37 ` [PATCH 2/2] wifi: rtw89: pci: add quirks by PCI subsystem ID for " 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=20241016133735.7571-1-pkshih@realtek.com \
    --to=pkshih@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).