Linux wireless drivers development
 help / color / mirror / Atom feed
From: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
To: Ripan Deuri <quic_rdeuri@quicinc.com>, ath12k@lists.infradead.org
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH ath12k-ng 00/18] wifi: ath12k: HAL changes for Next Generation Driver
Date: Thu, 9 Oct 2025 23:05:00 +0530	[thread overview]
Message-ID: <82c7d1b4-bd92-db46-358a-8d3e86ff571a@oss.qualcomm.com> (raw)
In-Reply-To: <20251009111045.1763001-1-quic_rdeuri@quicinc.com>



On 10/9/2025 4:40 PM, Ripan Deuri wrote:
> The primary objective of this set is to modify the HAL layer
> to suit the multi-KO model. The HAL APIs will be implemented
> differently as required by different chipsets and these
> implementations will be abstracted using an ops mechanism
> (by registering function pointer callbacks). The hw specific
> implementations will be registered as callbacks in the hal_ops.
> 
> 			common hal API
> 				|
> 				|
> 				|
> 				|
> 	=============================================
> 			     hal_ops
> 	=============================================
> 	 _______________              _______________
> 	|       |       |            |       |       |
> 	|       |       |            |       |       |
> 	| qcn   | wcn   |            | qcn   | wcn   |
> 	| device| device|            | device| device|
> 	|_______|_______|            |_______|_______|
> 
> 	  ath12k_wifi7.ko             ath12k_wifi8.ko
> 
> Also, the hal structures that are specific to HW (wifi7) are
> kept within hal headers in wifi7 directory and the structures
> that are common are placed in the headers present in the ath12k
> directory.
> ---
> Pavankumar Nandeshwar (16):
>    wifi: ath12k: Move srng config and hal_ops to hw specific hal files
>    wifi: ath12k: Initialize desc_size through hal_init
>    wifi: ath12k: Initialize hal_ops through hal_init
>    wifi: ath12k: Move wbm_rbm_map to hw specific hal files
>    wifi: ath12k: Move hal_params and regs to hal from hw
>    wifi: ath12k: Add direct HAL pointer in ath12k_dp
>    wifi: ath12k: Use hal handle instead of ab handle
>    wifi: ath12k: Move HAL CE setup and SRNG related APIs to wifi7
>      directory
>    wifi: ath12k: Move HAL SRNG shadow config and get ring id APIs to
>      wifi7 directory
>    wifi: ath12k: Move HAL CE desc related APIs to wifi7 directory
>    wifi: ath12k: Move HAL CE status and set link desc addr APIs to wifi7
>      directory
>    wifi: ath12k: Move HAL Tx, REO and link idle setup related APIs to
>      wifi7 directory
>    wifi: ath12k: Move HAL REO and Rx buf related APIs to wifi7 directory
>    wifi: ath12k: Move HAL Cookie Conversion and RBM related APIs to wifi7
>      directory
>    wifi: ath12k: Segregate the common and wifi7 specific structures
>    wifi: ath12k: Remove the unused ring inits in wcn
> 
> Ripan Deuri (2):
>    wifi: ath12k: Rename hal_ops to ops
>    wifi: ath12k: Drop hal_ prefix from hardware register names
> 
>   drivers/net/wireless/ath/ath12k/Makefile      |    1 +
>   drivers/net/wireless/ath/ath12k/ahb.c         |    4 +-
>   drivers/net/wireless/ath/ath12k/ce.c          |   25 +-
>   drivers/net/wireless/ath/ath12k/cmn_defs.h    |    1 +
>   drivers/net/wireless/ath/ath12k/core.c        |    4 +-
>   drivers/net/wireless/ath/ath12k/core.h        |    2 +-
>   drivers/net/wireless/ath/ath12k/dbring.c      |    5 +-
>   drivers/net/wireless/ath/ath12k/debugfs.c     |    2 +-
>   drivers/net/wireless/ath/ath12k/dp.c          |  178 +--
>   drivers/net/wireless/ath/ath12k/dp.h          |   17 +-
>   drivers/net/wireless/ath/ath12k/dp_mon.c      |    6 +-
>   drivers/net/wireless/ath/ath12k/dp_mon.h      |    1 +
>   drivers/net/wireless/ath/ath12k/dp_rx.c       |    7 +-
>   drivers/net/wireless/ath/ath12k/dp_rx.h       |   17 +-
>   drivers/net/wireless/ath/ath12k/dp_tx.h       |    1 -
>   drivers/net/wireless/ath/ath12k/hal.c         | 1114 ++---------------
>   drivers/net/wireless/ath/ath12k/hal.h         |  804 ++++--------
>   drivers/net/wireless/ath/ath12k/hw.h          |   92 +-
>   drivers/net/wireless/ath/ath12k/pci.c         |    2 +-
>   drivers/net/wireless/ath/ath12k/pci.h         |   10 +-
>   drivers/net/wireless/ath/ath12k/wifi7/dp.c    |    3 +
>   drivers/net/wireless/ath/ath12k/wifi7/dp_rx.c |    2 +-
>   drivers/net/wireless/ath/ath12k/wifi7/dp_rx.h |    5 +-
>   drivers/net/wireless/ath/ath12k/wifi7/dp_tx.c |   54 +-
>   drivers/net/wireless/ath/ath12k/wifi7/dp_tx.h |    2 +
>   drivers/net/wireless/ath/ath12k/wifi7/hal.c   |  705 +++++++++++
>   drivers/net/wireless/ath/ath12k/wifi7/hal.h   |  563 +++++++++
>   .../net/wireless/ath/ath12k/wifi7/hal_desc.h  |   80 --
>   .../wireless/ath/ath12k/wifi7/hal_qcn9274.c   |  661 ++++++++++
>   .../wireless/ath/ath12k/wifi7/hal_qcn9274.h   |   10 +
>   .../net/wireless/ath/ath12k/wifi7/hal_rx.c    |   22 +-
>   .../net/wireless/ath/ath12k/wifi7/hal_rx.h    |   10 +
>   .../net/wireless/ath/ath12k/wifi7/hal_tx.c    |   10 +-
>   .../net/wireless/ath/ath12k/wifi7/hal_tx.h    |    7 +-
>   .../wireless/ath/ath12k/wifi7/hal_wcn7850.c   |  439 +++++++
>   .../wireless/ath/ath12k/wifi7/hal_wcn7850.h   |    7 +
>   drivers/net/wireless/ath/ath12k/wifi7/hw.c    |  404 +-----
>   drivers/net/wireless/ath/ath12k/wifi7/pci.c   |    1 +
>   38 files changed, 2949 insertions(+), 2329 deletions(-)
>   create mode 100644 drivers/net/wireless/ath/ath12k/wifi7/hal.c
>   create mode 100644 drivers/net/wireless/ath/ath12k/wifi7/hal.h

Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>

  parent reply	other threads:[~2025-10-09 17:35 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-09 11:10 [PATCH ath12k-ng 00/18] wifi: ath12k: HAL changes for Next Generation Driver Ripan Deuri
2025-10-09 11:10 ` [PATCH ath12k-ng 01/18] wifi: ath12k: Move srng config and hal_ops to hw specific hal files Ripan Deuri
2025-10-09 11:10 ` [PATCH ath12k-ng 02/18] wifi: ath12k: Initialize desc_size through hal_init Ripan Deuri
2025-10-09 11:10 ` [PATCH ath12k-ng 03/18] wifi: ath12k: Initialize hal_ops " Ripan Deuri
2025-10-09 11:10 ` [PATCH ath12k-ng 04/18] wifi: ath12k: Move wbm_rbm_map to hw specific hal files Ripan Deuri
2025-10-09 11:10 ` [PATCH ath12k-ng 05/18] wifi: ath12k: Move hal_params and regs to hal from hw Ripan Deuri
2025-10-09 11:10 ` [PATCH ath12k-ng 06/18] wifi: ath12k: Add direct HAL pointer in ath12k_dp Ripan Deuri
2025-10-09 11:10 ` [PATCH ath12k-ng 07/18] wifi: ath12k: Use hal handle instead of ab handle Ripan Deuri
2025-10-09 11:10 ` [PATCH ath12k-ng 08/18] wifi: ath12k: Move HAL CE setup and SRNG related APIs to wifi7 directory Ripan Deuri
2025-10-09 11:10 ` [PATCH ath12k-ng 09/18] wifi: ath12k: Move HAL SRNG shadow config and get ring id " Ripan Deuri
2025-10-09 11:10 ` [PATCH ath12k-ng 10/18] wifi: ath12k: Move HAL CE desc related " Ripan Deuri
2025-10-09 11:10 ` [PATCH ath12k-ng 11/18] wifi: ath12k: Move HAL CE status and set link desc addr " Ripan Deuri
2025-10-09 11:10 ` [PATCH ath12k-ng 12/18] wifi: ath12k: Move HAL Tx, REO and link idle setup related " Ripan Deuri
2025-10-09 11:10 ` [PATCH ath12k-ng 13/18] wifi: ath12k: Move HAL REO and Rx buf " Ripan Deuri
2025-10-09 11:10 ` [PATCH ath12k-ng 14/18] wifi: ath12k: Move HAL Cookie Conversion and RBM " Ripan Deuri
2025-10-09 11:10 ` [PATCH ath12k-ng 15/18] wifi: ath12k: Segregate the common and wifi7 specific structures Ripan Deuri
2025-10-09 11:10 ` [PATCH ath12k-ng 16/18] wifi: ath12k: Remove the unused ring inits in wcn Ripan Deuri
2025-10-09 11:10 ` [PATCH ath12k-ng 17/18] wifi: ath12k: Rename hal_ops to ops Ripan Deuri
2025-10-09 11:10 ` [PATCH ath12k-ng 18/18] wifi: ath12k: Drop hal_ prefix from hardware register names Ripan Deuri
2025-10-09 17:35 ` Vasanthakumar Thiagarajan [this message]
2025-10-10  3:25 ` [PATCH ath12k-ng 00/18] wifi: ath12k: HAL changes for Next Generation Driver Baochen Qiang
2025-10-10 14:10 ` Jeff Johnson

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=82c7d1b4-bd92-db46-358a-8d3e86ff571a@oss.qualcomm.com \
    --to=vasanthakumar.thiagarajan@oss.qualcomm.com \
    --cc=ath12k@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=quic_rdeuri@quicinc.com \
    /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