mbox series

[v2,0/4] wifi: rtw89: update address CAM size and PPDU parser to support WiFi 7 chips

Message ID 20231027015059.10032-1-pkshih@realtek.com (mailing list archive)
Headers show
Series wifi: rtw89: update address CAM size and PPDU parser to support WiFi 7 chips | expand

Message

Ping-Ke Shih Oct. 27, 2023, 1:50 a.m. UTC
Patch 1/3 is to fill various entry size of address CAM accordingly, because
hardware designer shrinks size for new chips.

Patch 2/4 ~ 3/4 aim to adjust parser of RX PPDU status, the logic is almost
the same as existing, but size and fields are changed a little. The PPDU
packet looks like

 +---------------------------+
 |           RX WD           |  (RX WD is fixed length basically)
 | type = PDDU satus         |
 |                           |
 +---------------------------+
 | PPDU status - MAC part    |
 | * basic info (8 bytes)    |  (basic info indicates if following fields
 |   - usr_num               |   are existing)
 |   - with_rx_info          |
 |   - plcp_len              |
 | * usrs[usr_num]           |
 | * rx info(128 bytes opt.) |
 | * plcp[plcp_len]          |
 +---------------------------+
 |  PPDU status - PHY part   |
 | * basic info (8 bytes)    |
 |   - total length          |
 | * IEs[]                   |  (iterate all IEs within total length)
 +---------------------------+

v2: correct typo of subject prefix of patch 3/4

Ping-Ke Shih (3):
  wifi: rtw89: set entry size of address CAM to H2C field by chip
  wifi: rtw89: consider RX info for WiFi 7 chips
  wifi: rtw89: extend PHY status parser to support WiFi 7 chips

Zong-Zhe Yang (1):
  wifi: rtw89: configure PPDU max user by chip

 drivers/net/wireless/realtek/rtw89/cam.c      | 16 +++-
 drivers/net/wireless/realtek/rtw89/core.c     | 86 ++++++++++++++++---
 drivers/net/wireless/realtek/rtw89/core.h     |  3 +-
 drivers/net/wireless/realtek/rtw89/mac.h      |  1 +
 drivers/net/wireless/realtek/rtw89/rtw8851b.c |  1 +
 drivers/net/wireless/realtek/rtw89/rtw8852a.c |  1 +
 drivers/net/wireless/realtek/rtw89/rtw8852b.c |  1 +
 drivers/net/wireless/realtek/rtw89/rtw8852c.c |  1 +
 drivers/net/wireless/realtek/rtw89/txrx.h     |  4 +
 9 files changed, 99 insertions(+), 15 deletions(-)