mbox series

[v2,00/13] rtw89: refine interrupt masks for SER, and add H2C for new chip

Message ID 20220408001353.17188-1-pkshih@realtek.com (mailing list archive)
Headers show
Series rtw89: refine interrupt masks for SER, and add H2C for new chip | expand

Message

Ping-Ke Shih April 8, 2022, 12:13 a.m. UTC
SER, standing for System Error Recovery, is triggered by hardware interrupt
with mask settings. Though it is working in firmware, driver needs to
configure masks properly before downloading firmware. Patches 1/13~4/13 are
related to it.

Patches 5/13~9/13 are to add some MAC and BB settings to be expected.

Patches 10/13~12/13 are to add new H2C for new chip to control TX info
and security CAM.

The last one is to fix trivial error of return value handling.

v2: correct register name of
    "rtw89: 8852c: disable firmware watchdog if CPU disabled",
    but not change logic.

Chia-Yuan Li (4):
  rtw89: ser: configure D-MAC interrupt mask
  rtw89: ser: configure C-MAC interrupt mask
  rtw89: 8852c: disable firmware watchdog if CPU disabled
  rtw89: 8852c: add 8852c specific BT-coexistence initial function

Johnson Lin (1):
  rtw89: Skip useless dig gain and igi related settings for 8852C

Ping-Ke Shih (7):
  rtw89: ser: configure top ERR IMR for firmware to recover
  rtw89: change station scheduler setting for hardware TX mode
  rtw89: reset BA CAM
  rtw89: extend H2C of CMAC control info
  rtw89: add new H2C to configure security CAM via DCTL for V1 chip
  rtw89: configure security CAM for V1 chip
  rtw89: pci: correct return value handling of rtw89_write16_mdio_mask()

Zong-Zhe Yang (1):
  rtw89: ser: fix unannotated fall-through

 drivers/net/wireless/realtek/rtw89/cam.c      |   37 +
 drivers/net/wireless/realtek/rtw89/cam.h      |    4 +
 drivers/net/wireless/realtek/rtw89/core.h     |   64 +-
 drivers/net/wireless/realtek/rtw89/fw.c       |   82 +-
 drivers/net/wireless/realtek/rtw89/fw.h       |  349 ++++-
 drivers/net/wireless/realtek/rtw89/mac.c      |  370 ++++-
 drivers/net/wireless/realtek/rtw89/mac.h      |    8 +-
 drivers/net/wireless/realtek/rtw89/pci.c      |    4 +-
 drivers/net/wireless/realtek/rtw89/phy.c      |    9 +-
 drivers/net/wireless/realtek/rtw89/reg.h      | 1243 ++++++++++++++++-
 drivers/net/wireless/realtek/rtw89/rtw8852a.c |   48 +
 drivers/net/wireless/realtek/rtw89/rtw8852c.c |  108 ++
 drivers/net/wireless/realtek/rtw89/ser.c      |    1 +
 13 files changed, 2239 insertions(+), 88 deletions(-)