mbox series

[v9,0/9] wifi: ath12k: Add peer extended Rx statistics debugfs support

Message ID 20250206013854.174765-1-quic_periyasa@quicinc.com
Headers show
Series wifi: ath12k: Add peer extended Rx statistics debugfs support | expand

Message

Karthikeyan Periyasamy Feb. 6, 2025, 1:38 a.m. UTC
Currently, peer extended Rx statistics are not supported. Peer extended Rx
statistics are collected form the TLV data reported in the monitor status
Rx path. Therefore, add support for TLV tag parser handling and debugfs
to configure and dump the collected information. Additionally, this series
does not impact the WCN7850.

v9:
 - updated the s-o-b as a last tag
v8:
 - Resend due to missed patches
v7:
 - Rebased on ToT
v6:
 wifi: ath12k: Add HAL_PHYRX_GENERIC_U_SIG TLV parsing support
 wifi: ath12k: Add HAL_PHYRX_GENERIC_EHT_SIG TLV parsing support
 wifi: ath12k: Add HAL_RX_PPDU_START_USER_INFO TLV parsing support
  - modified the return type as void
v5:
 Removed the patch "wifi: ath12k: Add EHT rate statistics support" since it
 is already merged
v4:
 wifi: ath12k: Add peer extended Rx statistics debugfs support
  - fixed the kernel test robot noticed build errors
v3:
 wifi: ath12k: Add peer extended Rx statistics debugfs support
  - avoid ext_rx_stats filter overwrite in default filter setting
v2:
 wifi: ath12k: Add HAL_PHYRX_GENERIC_U_SIG TLV parsing support
 wifi: ath12k: Add HAL_PHYRX_GENERIC_EHT_SIG TLV parsing support
  - fixed the length calculation in the EHT radiotap procedure

Balamurugan Mahalingam (2):
  wifi: ath12k: Add EHT MCS support in Extended Rx statistics
  wifi: ath12k: Refactor the format of peer rate table information

Karthikeyan Periyasamy (6):
  wifi: ath12k: Add HAL_PHYRX_GENERIC_U_SIG TLV parsing support
  wifi: ath12k: Add HAL_PHYRX_GENERIC_EHT_SIG TLV parsing support
  wifi: ath12k: Add HAL_RX_PPDU_START_USER_INFO TLV parsing support
  wifi: ath12k: Add HAL_PHYRX_OTHER_RECEIVE_INFO TLV parsing support
  wifi: ath12k: Update the peer id in PPDU end user stats TLV
  wifi: ath12k: Add peer extended Rx statistics debugfs support

P Praneesh (1):
  wifi: ath12k: fix the ampdu id fetch in the HAL_RX_MPDU_START TLV

 drivers/net/wireless/ath/ath12k/Makefile      |    2 +-
 drivers/net/wireless/ath/ath12k/core.h        |   10 +-
 drivers/net/wireless/ath/ath12k/debugfs.c     |   97 ++
 drivers/net/wireless/ath/ath12k/debugfs.h     |   21 +-
 drivers/net/wireless/ath/ath12k/debugfs_sta.c |  337 ++++++
 drivers/net/wireless/ath/ath12k/debugfs_sta.h |   24 +
 drivers/net/wireless/ath/ath12k/dp_mon.c      | 1033 ++++++++++++++++-
 drivers/net/wireless/ath/ath12k/hal_rx.h      |  433 ++++++-
 drivers/net/wireless/ath/ath12k/mac.c         |   18 +-
 drivers/net/wireless/ath/ath12k/mac.h         |    4 +-
 drivers/net/wireless/ath/ath12k/rx_desc.h     |    9 -
 11 files changed, 1924 insertions(+), 64 deletions(-)
 create mode 100644 drivers/net/wireless/ath/ath12k/debugfs_sta.c
 create mode 100644 drivers/net/wireless/ath/ath12k/debugfs_sta.h


base-commit: d132a72d768bae74d10e6539fcf6522dfdbd1115

Comments

Jeff Johnson Feb. 11, 2025, 3:44 p.m. UTC | #1
On Thu, 06 Feb 2025 07:08:45 +0530, Karthikeyan Periyasamy wrote:
> Currently, peer extended Rx statistics are not supported. Peer extended Rx
> statistics are collected form the TLV data reported in the monitor status
> Rx path. Therefore, add support for TLV tag parser handling and debugfs
> to configure and dump the collected information. Additionally, this series
> does not impact the WCN7850.
> 
> v9:
>  - updated the s-o-b as a last tag
> v8:
>  - Resend due to missed patches
> v7:
>  - Rebased on ToT
> v6:
>  wifi: ath12k: Add HAL_PHYRX_GENERIC_U_SIG TLV parsing support
>  wifi: ath12k: Add HAL_PHYRX_GENERIC_EHT_SIG TLV parsing support
>  wifi: ath12k: Add HAL_RX_PPDU_START_USER_INFO TLV parsing support
>   - modified the return type as void
> v5:
>  Removed the patch "wifi: ath12k: Add EHT rate statistics support" since it
>  is already merged
> v4:
>  wifi: ath12k: Add peer extended Rx statistics debugfs support
>   - fixed the kernel test robot noticed build errors
> v3:
>  wifi: ath12k: Add peer extended Rx statistics debugfs support
>   - avoid ext_rx_stats filter overwrite in default filter setting
> v2:
>  wifi: ath12k: Add HAL_PHYRX_GENERIC_U_SIG TLV parsing support
>  wifi: ath12k: Add HAL_PHYRX_GENERIC_EHT_SIG TLV parsing support
>   - fixed the length calculation in the EHT radiotap procedure
> 
> [...]

Applied, thanks!

[1/9] wifi: ath12k: Add HAL_PHYRX_GENERIC_U_SIG TLV parsing support
      commit: a5f3c2b89136f13f18ea64fc1144691ca771b98b
[2/9] wifi: ath12k: Add HAL_PHYRX_GENERIC_EHT_SIG TLV parsing support
      commit: f756f878692f688640f6994a4dacd98665a2bc2f
[3/9] wifi: ath12k: Add HAL_RX_PPDU_START_USER_INFO TLV parsing support
      commit: e6fa62bada8796d13f04e2538297b81decc1e335
[4/9] wifi: ath12k: Add HAL_PHYRX_OTHER_RECEIVE_INFO TLV parsing support
      commit: d939919a36f4606fb8312c502a53c0ecfbd85b2d
[5/9] wifi: ath12k: Update the peer id in PPDU end user stats TLV
      commit: 0cded0e413468183a3b2dd445ab3bdc4d4375967
[6/9] wifi: ath12k: fix the ampdu id fetch in the HAL_RX_MPDU_START TLV
      commit: dff4f278ee1ef12d822b7ed2a1048d27037209bb
[7/9] wifi: ath12k: Add EHT MCS support in Extended Rx statistics
      commit: 03ac9e9144c59dcfaeb213f80e7e00974325045a
[8/9] wifi: ath12k: Refactor the format of peer rate table information
      commit: 98677080467c2a6529a3288f430acb8c44f583a0
[9/9] wifi: ath12k: Add peer extended Rx statistics debugfs support
      commit: a412547f2a8bfcf6337691b6d498536f29dbf4b5

Best regards,