mbox series

[0/4] wifi: rtw89: pci: refine PCI SER, RX tag and RX DMA buffer size

Message ID 20240121071826.10159-1-pkshih@realtek.com
Headers show
Series wifi: rtw89: pci: refine PCI SER, RX tag and RX DMA buffer size | expand

Message

Ping-Ke Shih Jan. 21, 2024, 7:18 a.m. UTC
Some PCI refinements for WiFi 7 chips. First two patches are to refine SER
timer and IMR to have expected SER behavior.

RX tag is a sequence number belong to a RX DMA data, and WiFi 7 chips need
to validate this tag before reading DMA content. This happens rarely, and
no obvious impact with throughput.

The last patch is to enlarge RX buffer size to plus RX descriptor size to
receive a 11454-byte RX packet. Though we still can receive this kind of
packet with smaller buffer size, use suitable size can get better
performance.

Ping-Ke Shih (3):
  wifi: rtw89: pci: update SER timer unit and timeout time
  wifi: rtw89: pci: validate RX tag for RXQ and RPQ
  wifi: rtw89: pci: enlarge RX DMA buffer to consider size of RX
    descriptor

Zong-Zhe Yang (1):
  wifi: rtw89: pci: interrupt v2 refine IMR for SER

 drivers/net/wireless/realtek/rtw89/pci.c      | 65 ++++++++++++++++---
 drivers/net/wireless/realtek/rtw89/pci.h      |  6 +-
 drivers/net/wireless/realtek/rtw89/pci_be.c   |  5 ++
 drivers/net/wireless/realtek/rtw89/reg.h      |  3 +
 .../net/wireless/realtek/rtw89/rtw8851be.c    |  2 +
 .../net/wireless/realtek/rtw89/rtw8852ae.c    |  1 +
 .../net/wireless/realtek/rtw89/rtw8852be.c    |  1 +
 .../net/wireless/realtek/rtw89/rtw8852ce.c    |  1 +
 .../net/wireless/realtek/rtw89/rtw8922ae.c    |  1 +
 9 files changed, 74 insertions(+), 11 deletions(-)