wifi: ath12k: Rename hw.c to Wi-Fi 7 specific implementation file

Rename hw.c to hw_wifi7.c to reflect its focus on Wi-Fi 7 chipset
specific configurations. Clarify the files role in containing
hardware dependent logic tailored to the Wi-Fi 7 family.

This change is part of a broader effort to modularize the codebase
by separating common and target specific components into distinct
modules for improved clarity and maintainability.

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

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-5-8c9b0eb9335d@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
This commit is contained in:
Kiran Venkatappa
2025-08-12 22:39:31 +05:30
committed by Jeff Johnson
parent 7f54938fc5
commit 3f8d0eb803
2 changed files with 4 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ ath12k-y += core.o \
ce_wifi7.o \
peer.o \
dbring.o \
hw.o \
hw_wifi7.o \
mhi.o \
mhi_wifi7.o \
pci.o \

View File

@@ -1043,13 +1043,14 @@ int ath12k_hw_init(struct ath12k_base *ab)
}
if (i == ARRAY_SIZE(ath12k_hw_params)) {
ath12k_err(ab, "Unsupported hardware version: 0x%x\n", ab->hw_rev);
ath12k_err(ab, "Unsupported Wi-Fi 7 hardware version: 0x%x\n",
ab->hw_rev);
return -EINVAL;
}
ab->hw_params = hw_params;
ath12k_info(ab, "Hardware name: %s\n", ab->hw_params->name);
ath12k_info(ab, "Wi-Fi 7 Hardware name: %s\n", ab->hw_params->name);
return 0;
}