]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: ath12k: Remove HAL define dependencies from shared AHB code
authorKiran Venkatappa <quic_kiranv@quicinc.com>
Tue, 12 Aug 2025 17:09:39 +0000 (22:39 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Wed, 20 Aug 2025 21:39:05 +0000 (14:39 -0700)
commit0e487f03c6e5d8dd5b076b8b061e50e736ab2196
treefb83d5562eecdb8f1a76b5e7d5f1d76b0912fb06
parent6cbd171805be7443bbfdb8ff0a646348180eee35
wifi: ath12k: Remove HAL define dependencies from shared AHB code

Eliminate HAL-specific defines from the shared AHB implementation.
Store the WFSS register base-already available in hw_params via the
ce_remap structure-in the AHB context and access it directly.
Add the CMEM offset to the ce_remap structure and use it consistently in
shared code. Improve modularity by removing hardware abstraction layer
dependencies from common code paths and enable cleaner separation of
target-specific logic

Tested-on: IPQ5332 hw1.0 AHB WLAN.WBE.1.3.1-00130-QCAHKSWPL_SILICONZ-1

Signed-off-by: Kiran Venkatappa <quic_kiranv@quicinc.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Link: https://patch.msgid.link/20250812-ath12k-mod-v1-13-8c9b0eb9335d@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/ahb.c
drivers/net/wireless/ath/ath12k/ce.h
drivers/net/wireless/ath/ath12k/core.h
drivers/net/wireless/ath/ath12k/wifi7/hw.c