mbox series

[0/3] wifi: rtw89: support dynamic antenna gain (DAG)

Message ID 20241111065132.19587-1-pkshih@realtek.com (mailing list archive)
Headers show
Series wifi: rtw89: support dynamic antenna gain (DAG) | expand

Message

Ping-Ke Shih Nov. 11, 2024, 6:51 a.m. UTC
The DAG is to adjust tranmit power based on platform's antenna gain
allowing higher transmit power under regulatory limits still. Since this
is platform dependency, add a RTAG method to BIOS ACPI.

First patch is to adjust function to share 6GHz subband stuff with
existing SAR feature. Second and third patches are to configure registers
according to values read from BIOS.

Kuan-Chung Chen (3):
  wifi: rtw89: sar: tweak 6GHz SAR subbands span
  wifi: rtw89: introduce dynamic antenna gain feature
  wifi: rtw89: handle different TX power between RF path

 drivers/net/wireless/realtek/rtw89/acpi.c     |  47 ++++
 drivers/net/wireless/realtek/rtw89/acpi.h     |   9 +
 drivers/net/wireless/realtek/rtw89/core.c     |  50 ++++
 drivers/net/wireless/realtek/rtw89/core.h     |  43 +++
 drivers/net/wireless/realtek/rtw89/debug.c    |   4 +
 drivers/net/wireless/realtek/rtw89/phy.c      | 247 ++++++++++++++++--
 drivers/net/wireless/realtek/rtw89/phy.h      |  26 ++
 drivers/net/wireless/realtek/rtw89/rtw8851b.c |   2 +
 drivers/net/wireless/realtek/rtw89/rtw8852a.c |   2 +
 drivers/net/wireless/realtek/rtw89/rtw8852b.c |   2 +
 .../wireless/realtek/rtw89/rtw8852b_common.c  |  46 ++--
 .../net/wireless/realtek/rtw89/rtw8852bt.c    |   2 +
 drivers/net/wireless/realtek/rtw89/rtw8852c.c |  48 ++--
 drivers/net/wireless/realtek/rtw89/rtw8922a.c |   2 +
 drivers/net/wireless/realtek/rtw89/sar.c      |  57 +---
 15 files changed, 486 insertions(+), 101 deletions(-)