]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: ath12k: Move hw_init invocation to target-specific probe
authorKiran Venkatappa <quic_kiranv@quicinc.com>
Tue, 12 Aug 2025 17:09:35 +0000 (22:39 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Wed, 20 Aug 2025 21:39:04 +0000 (14:39 -0700)
commit83cd89a9556a48d31d706f67854873cadbf80c0e
treecefcbaae458ee804def32cdcd4994a0bbb3da467
parent387b587a861cf7864df93c99c123877d28100bb3
wifi: ath12k: Move hw_init invocation to target-specific probe

Relocate hw_init call from the shared probe path to target-specific
probe implementations. Handle Wi-Fi 7 initialization entirely within
its corresponding target-specific file.
Improve modularity by decoupling hardware-dependent initialization from
common probe logic. Support broader effort to separate shared and
target-specific code paths.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
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-9-8c9b0eb9335d@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/ahb_wifi7.c
drivers/net/wireless/ath/ath12k/core.c
drivers/net/wireless/ath/ath12k/hw.h
drivers/net/wireless/ath/ath12k/hw_wifi7.c
drivers/net/wireless/ath/ath12k/hw_wifi7.h [new file with mode: 0644]
drivers/net/wireless/ath/ath12k/pci_wifi7.c