]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: ath12k: Enable memory profile selection for QCN9274
authorAaradhana Sahu <aaradhana.sahu@oss.qualcomm.com>
Tue, 8 Jul 2025 18:11:02 +0000 (23:41 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Mon, 14 Jul 2025 14:32:16 +0000 (07:32 -0700)
commit545b669403d72cc4a1cf5d93b3fce0b6a85833f7
tree71351cea4217762ecc68b63b7b2c83bca626cffe
parent6397b92bbb00f7cda024056c8c8a10594a27ccaa
wifi: ath12k: Enable memory profile selection for QCN9274

The QCN9274 supports two memory profiles: a default profile and a
low-memory profile. The driver signals the firmware to enable
low-memory optimizations using the QMI initialization service.

Add support to select the low-memory profile on system with less than
512 MB RAM.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.5-01651-QCAHKSWPL_SILICONZ-1
Tested-on: WCN7850 hw2.0 WLAN.HMT.1.1.c5-00284.1-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3

Signed-off-by: Aaradhana Sahu <aaradhana.sahu@oss.qualcomm.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/20250708181102.4111054-5-aaradhana.sahu@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/ahb.c
drivers/net/wireless/ath/ath12k/core.c
drivers/net/wireless/ath/ath12k/core.h
drivers/net/wireless/ath/ath12k/pci.c
drivers/net/wireless/ath/ath12k/qmi.c