mbox series

[v3,0/6] wifi: rtw89: handle EHT rate

Message ID 20231011115256.6121-1-pkshih@realtek.com (mailing list archive)
Headers show
Series wifi: rtw89: handle EHT rate | expand

Message

Ping-Ke Shih Oct. 11, 2023, 11:52 a.m. UTC
We have parsed new formats used by WiFi 7 chips before, and this patchset
is to handle EHT rate. The handlers contain
 - RX rate
   * from RX descriptor, which is also used to find corresponding PPDU
     status packet
 - TX rate
   * RA (Rate adaptive) mask to tell firmware selectable rates
   * RA report tells driver the rate selected by firmware
 - debugfs
   * show TX/RX rate above
 - monitor mode
   * add enumerators of radiotap bandwidth of EHT U-SIG
   * add EHT radiotap if working on monitor mode

v3:
  - move upward patch 5/6 (radiotap bandwidth definition) to the first one
    to be visible
  - add 'const' modifier to constant array, and use plain 'if' statement to
    check its range
v2:
  - correct commit message of patch 5/6 about the source of bandwidth
    definition of EHT U-SIG suggested by Johannes

Ping-Ke Shih (6):
  wifi: radiotap: add bandwidth definition of EHT U-SIG
  wifi: rtw89: parse EHT information from RX descriptor and PPDU status
    packet
  wifi: rtw89: Add EHT rate mask as parameters of RA H2C command
  wifi: rtw89: parse TX EHT rate selected by firmware from RA C2H report
  wifi: rtw89: show EHT rate in debugfs
  wifi: rtw89: add EHT radiotap in monitor mode

 drivers/net/wireless/realtek/rtw89/core.c  | 127 ++++++++++++++++++---
 drivers/net/wireless/realtek/rtw89/core.h  |  11 +-
 drivers/net/wireless/realtek/rtw89/debug.c |  14 +++
 drivers/net/wireless/realtek/rtw89/phy.c   |  70 +++++++++++-
 drivers/net/wireless/realtek/rtw89/phy.h   |   5 +
 include/net/ieee80211_radiotap.h           |   6 +
 6 files changed, 216 insertions(+), 17 deletions(-)