linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: <kvalo@kernel.org>
Cc: <kevin_yang@realtek.com>, <linux-wireless@vger.kernel.org>
Subject: [PATCH v2 0/4] wifi: rtw89: update address CAM size and PPDU parser to support WiFi 7 chips
Date: Fri, 27 Oct 2023 09:50:55 +0800	[thread overview]
Message-ID: <20231027015059.10032-1-pkshih@realtek.com> (raw)

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(-)

-- 
2.25.1


             reply	other threads:[~2023-10-27  1:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-27  1:50 Ping-Ke Shih [this message]
2023-10-27  1:50 ` [PATCH v2 1/4] wifi: rtw89: set entry size of address CAM to H2C field by chip Ping-Ke Shih
2023-10-30 17:26   ` Kalle Valo
2023-10-27  1:50 ` [PATCH v2 2/4] wifi: rtw89: configure PPDU max user " Ping-Ke Shih
2023-10-27  1:50 ` [PATCH v2 3/4] wifi: rtw89: consider RX info for WiFi 7 chips Ping-Ke Shih
2023-10-27  1:50 ` [PATCH v2 4/4] wifi: rtw89: extend PHY status parser to support " Ping-Ke Shih

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231027015059.10032-1-pkshih@realtek.com \
    --to=pkshih@realtek.com \
    --cc=kevin_yang@realtek.com \
    --cc=kvalo@kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).