mirror of https://lore.kernel.org/ath12k/
 help / color / mirror / Atom feed
* [PATCH ath12k-ng v2 0/8] wifi: ath12k: Improve hal APIs usage in rx path
@ 2025-09-10 18:14 Ripan Deuri
  2025-09-10 18:14 ` [PATCH ath12k-ng v2 1/8] wifi: ath12k: Remove non-compact TLV support from QCN Ripan Deuri
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Ripan Deuri @ 2025-09-10 18:14 UTC (permalink / raw)
  To: ath12k; +Cc: linux-wireless

The existing usage of rx_ops to reach the hal_apis at multiple places uses
function pointer indirections. In order to avoid such multiple function
pointer indirection, extract the required hal parameters in the rx path
right at the beginning and store them in a structure which is then
leveraged by the rest of the rx path.

Move remaining rx_ops APIs to hal_ops to simplify hal API usage.

Also, make compact tlvs as default mode and remove the non-compact tlvs
as they are unused. Since there is no need to maintain multiple versions
of tlv extraction APIs, move the rx_ops callbacks to hal_ops.

----
Changes in v2:
     - Update commit messages in patch 1/8 and 7/8
----

Pavankumar Nandeshwar (5):
  wifi: ath12k: Remove non-compact TLV support from QCN
  wifi: ath12k: Replace ops with direct calls for rxdma ring mask
  wifi: ath12k: Move hal_rx_ops callbacks to hal_ops
  wifi: ath12k: Add new infra for the rx path
  wifi: ath12k: Change the API prefixes to ath12k_wifi7 in tx/rx

Ripan Deuri (3):
  wifi: ath12k: Move the hal APIs to hardware specific files
  wifi: ath12k: unify HAL ops naming across chips
  wifi: ath12k: Remove hal_rx_ops and merge into hal_ops

 drivers/net/wireless/ath/ath12k/Makefile      |    4 +-
 drivers/net/wireless/ath/ath12k/ahb.c         |    2 +-
 drivers/net/wireless/ath/ath12k/core.c        |    2 +-
 drivers/net/wireless/ath/ath12k/core.h        |    2 -
 drivers/net/wireless/ath/ath12k/dbring.c      |    5 +-
 drivers/net/wireless/ath/ath12k/dp.c          |   31 +-
 drivers/net/wireless/ath/ath12k/dp.h          |    1 -
 drivers/net/wireless/ath/ath12k/dp_mon.c      |   36 +-
 drivers/net/wireless/ath/ath12k/dp_rx.c       |  128 +-
 drivers/net/wireless/ath/ath12k/dp_rx.h       |  204 +---
 drivers/net/wireless/ath/ath12k/hal.c         | 1048 +----------------
 drivers/net/wireless/ath/ath12k/hal.h         |  106 +-
 drivers/net/wireless/ath/ath12k/mac.c         |    6 +-
 drivers/net/wireless/ath/ath12k/pci.c         |    2 +-
 drivers/net/wireless/ath/ath12k/wifi7/dp.c    |   19 +-
 drivers/net/wireless/ath/ath12k/wifi7/dp.h    |    5 +-
 drivers/net/wireless/ath/ath12k/wifi7/dp_rx.c |  501 ++++----
 drivers/net/wireless/ath/ath12k/wifi7/dp_rx.h |   74 +-
 drivers/net/wireless/ath/ath12k/wifi7/dp_tx.c |   49 +-
 drivers/net/wireless/ath/ath12k/wifi7/dp_tx.h |    8 +-
 .../wireless/ath/ath12k/wifi7/hal_qcn9274.c   |  369 ++++++
 .../wireless/ath/ath12k/wifi7/hal_qcn9274.h   |   35 +
 .../net/wireless/ath/ath12k/wifi7/hal_rx.c    |  161 +--
 .../net/wireless/ath/ath12k/wifi7/hal_rx.h    |   82 +-
 .../wireless/ath/ath12k/wifi7/hal_rx_desc.h   |    7 -
 .../net/wireless/ath/ath12k/wifi7/hal_tx.c    |   13 +-
 .../net/wireless/ath/ath12k/wifi7/hal_tx.h    |   18 +-
 .../wireless/ath/ath12k/wifi7/hal_wcn7850.c   |  364 ++++++
 .../wireless/ath/ath12k/wifi7/hal_wcn7850.h   |   32 +
 drivers/net/wireless/ath/ath12k/wifi7/pci.c   |    2 -
 30 files changed, 1452 insertions(+), 1864 deletions(-)
 create mode 100644 drivers/net/wireless/ath/ath12k/wifi7/hal_qcn9274.c
 create mode 100644 drivers/net/wireless/ath/ath12k/wifi7/hal_qcn9274.h
 create mode 100644 drivers/net/wireless/ath/ath12k/wifi7/hal_wcn7850.c
 create mode 100644 drivers/net/wireless/ath/ath12k/wifi7/hal_wcn7850.h


base-commit: d637c58a29475d646f8decfbbc1d27fae999a449
-- 
2.34.1



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-09-11 14:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-10 18:14 [PATCH ath12k-ng v2 0/8] wifi: ath12k: Improve hal APIs usage in rx path Ripan Deuri
2025-09-10 18:14 ` [PATCH ath12k-ng v2 1/8] wifi: ath12k: Remove non-compact TLV support from QCN Ripan Deuri
2025-09-10 18:14 ` [PATCH ath12k-ng v2 2/8] wifi: ath12k: Move the hal APIs to hardware specific files Ripan Deuri
2025-09-10 18:14 ` [PATCH ath12k-ng v2 3/8] wifi: ath12k: unify HAL ops naming across chips Ripan Deuri
2025-09-10 18:14 ` [PATCH ath12k-ng v2 4/8] wifi: ath12k: Replace ops with direct calls for rxdma ring mask Ripan Deuri
2025-09-10 18:14 ` [PATCH ath12k-ng v2 5/8] wifi: ath12k: Move hal_rx_ops callbacks to hal_ops Ripan Deuri
2025-09-10 18:14 ` [PATCH ath12k-ng v2 6/8] wifi: ath12k: Add new infra for the rx path Ripan Deuri
2025-09-10 18:14 ` [PATCH ath12k-ng v2 7/8] wifi: ath12k: Remove hal_rx_ops and merge into hal_ops Ripan Deuri
2025-09-10 18:14 ` [PATCH ath12k-ng v2 8/8] wifi: ath12k: Change the API prefixes to ath12k_wifi7 in tx/rx Ripan Deuri
2025-09-11  1:51 ` [PATCH ath12k-ng v2 0/8] wifi: ath12k: Improve hal APIs usage in rx path Baochen Qiang
2025-09-11  3:43 ` Vasanthakumar Thiagarajan
2025-09-11 14:30 ` Jeff Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox