mbox series

[0/8] wifi: rtw89: support 6 GHz power types STD/LPI/VLP

Message ID 20230602150556.36777-1-pkshih@realtek.com (mailing list archive)
Headers show
Series wifi: rtw89: support 6 GHz power types STD/LPI/VLP | expand

Message

Ping-Ke Shih June 2, 2023, 3:05 p.m. UTC
Originally, rtw89 has only single one power table for 6 GHz band, like
2/5 GHz, and uses the lowest power of STD/LPI/VLP for every regulatory
domain. Relying on power_type of mac80211, this patchset introduces
three power tables for 6 GHz band, so driver can follow AP's advertisement
to choose proper power type.

Since some platforms doesn't get 6 GHz certification before shipping
product, patch 2/8 reads the capability from BIOS and disable 6 GHz
channels for this kind of product.

To output properly 6 GHz TX power for all power types, update to the latest
version of power tables and RF parameters by patches 5-8/8.
(Because of increasing dimension, power tables are changed a lot. I split
power tables into three patches.)

Ping-Ke Shih (1):
  wifi: rtw89: 8852c: update RF radio A/B parameters to R63

Zong-Zhe Yang (7):
  wifi: rtw89: refine clearing supported bands to check 2/5 GHz first
  wifi: rtw89: regd: judge 6 GHz according to chip and BIOS
  wifi: rtw89: regd: update regulatory map to R64-R40
  wifi: rtw89: process regulatory for 6 GHz power type
  wifi: rtw89: 8852c: update TX power tables to R63 with 6 GHz power
    type (1 of 3)
  wifi: rtw89: 8852c: update TX power tables to R63 with 6 GHz power
    type (2 of 3)
  wifi: rtw89: 8852c: update TX power tables to R63 with 6 GHz power
    type (3 of 3)

 drivers/net/wireless/realtek/rtw89/core.c     |    13 +-
 drivers/net/wireless/realtek/rtw89/core.h     |    31 +-
 drivers/net/wireless/realtek/rtw89/mac80211.c |     9 +
 drivers/net/wireless/realtek/rtw89/phy.c      |    16 +-
 drivers/net/wireless/realtek/rtw89/regd.c     |   263 +-
 .../wireless/realtek/rtw89/rtw8852c_table.c   | 28272 +++++++++++++---
 6 files changed, 23872 insertions(+), 4732 deletions(-)