mbox series

[0/4] wifi: ath12k: Refactor hardware cookie conversion

Message ID 20240408040547.837639-1-quic_periyasa@quicinc.com
Headers show
Series wifi: ath12k: Refactor hardware cookie conversion | expand

Message

Karthikeyan Periyasamy April 8, 2024, 4:05 a.m. UTC
Refactor the hardware cokie conversion initialization procedure to
support multi-device MLO.

Note: This patchset rebased on top of the patch "wifi: ath12k: correct the capital word typo"

Karthikeyan Periyasamy (4):
  wifi: ath12k: avoid redundant code in Rx cookie conversion init
  wifi: ath12k: Refactor the hardware cookie conversion init
  wifi: ath12k: displace the Tx and Rx descriptor in cookie conversion
    table
  wifi: ath12k: Refactor data path cmem init

 drivers/net/wireless/ath/ath12k/dp.c | 70 ++++++++++++++++++++++------
 drivers/net/wireless/ath/ath12k/dp.h |  3 ++
 2 files changed, 58 insertions(+), 15 deletions(-)


base-commit: 007c5443ab7bba338f81bf6ebc64375257c6af41
prerequisite-patch-id: fcb51c7a2119a4453ec00f6ec726020f4104a1be

Comments

Jeff Johnson April 8, 2024, 10:17 p.m. UTC | #1
On 4/7/2024 9:05 PM, Karthikeyan Periyasamy wrote:
> Currently, the Rx descriptor is placed before the Tx descriptor in the
> primary page table of the hardware cookie conversion configuration. The
> Tx and Rx descriptor offsets are implicitly hardcoded. To allow for easy
> displacement of Tx and Rx descriptors, introduce Tx and Rx offset based
> cookie conversion initializationi. Additionally, should consider
> validating the respective offset ranges while retrieving the Tx and Rx
> descriptors. This change will be utilize by the next patch in the series.
> 
> Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.1.1-00188-QCAHKSWPL_SILICONZ-1
> 
> Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@quicinc.com>

Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3

Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>