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