[PATCH ath-next 0/4] wifi: ath12k: Add low-memory profile support for QCN9274

Aaradhana Sahu aaradhana.sahu at oss.qualcomm.com
Tue Jul 8 11:10:58 PDT 2025


The ath12k driver currently assumes availability of ample DDR memory
and configures internal buffers and descriptors accordingly.

Introduce support for a low-memory profile to optimize memory usage in
constrained environments. This mode is useful in scenarios where
memory constraints are a concern.

To add support for low-memory profile make below changes:
- Introduce module load time memory profile selection based on
  meminfo.
- Add logic to configures internal buffers and descriptors according
  to memory profile.

Aaradhana Sahu (4):
  wifi: ath12k: Add a table of parameters entries impacting memory
    consumption
  wifi: ath12k: Remove redundant TID calculation for QCN9274
  wifi: ath12k: Refactor macros to use memory profile-based values
  wifi: ath12k: Enable memory profile selection for QCN9274

 drivers/net/wireless/ath/ath12k/ahb.c   |   1 +
 drivers/net/wireless/ath/ath12k/core.c  |  76 ++++++++++----
 drivers/net/wireless/ath/ath12k/core.h  |  20 +++-
 drivers/net/wireless/ath/ath12k/dp.c    | 129 +++++++++++++++---------
 drivers/net/wireless/ath/ath12k/dp.h    |  37 ++++---
 drivers/net/wireless/ath/ath12k/dp_rx.c |   4 +-
 drivers/net/wireless/ath/ath12k/dp_tx.c |  13 ++-
 drivers/net/wireless/ath/ath12k/hw.h    |  30 ++----
 drivers/net/wireless/ath/ath12k/mac.c   |  11 +-
 drivers/net/wireless/ath/ath12k/pci.c   |   2 +
 drivers/net/wireless/ath/ath12k/qmi.c   |   2 +-
 drivers/net/wireless/ath/ath12k/qmi.h   |   6 +-
 drivers/net/wireless/ath/ath12k/wmi.c   |   3 +-
 13 files changed, 211 insertions(+), 123 deletions(-)


base-commit: 45bbd91fc41b7cb6319e45e6fd732c5c8a0c44e3
-- 
2.34.1




More information about the ath12k mailing list