]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: Add support for reading variant from ACPI to download board data file
authorLingbo Kong <quic_lingbok@quicinc.com>
Mon, 13 Jan 2025 07:48:10 +0000 (15:48 +0800)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Mon, 3 Feb 2025 22:43:29 +0000 (14:43 -0800)
commit0a43c3a520e96d086d0aee492bbcf73ba737a637
tree5ac8194ec007e0a133aab536d157e92e6c0516a7
parent33fdeb544ea5966abe247b9eb96a8017f7b9b2f2
wifi: ath12k: Add support for reading variant from ACPI to download board data file

Currently, ath12k does not support reading variant from ACPI board data
filename extension for downloading board data file.

To address this issue, obtain the string of the ACPI data filename
extension and use it as part of the string to search for the board data
file from board-2.bin.

This patch will not affect QCN9274, because only WCN7850 supports ACPI.

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

Signed-off-by: Lingbo Kong <quic_lingbok@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Link: https://patch.msgid.link/20250113074810.29729-5-quic_lingbok@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/acpi.c
drivers/net/wireless/ath/ath12k/acpi.h
drivers/net/wireless/ath/ath12k/core.h
drivers/net/wireless/ath/ath12k/qmi.c