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

Vasanthakumar Thiagarajan vasanthakumar.thiagarajan at oss.qualcomm.com
Thu Jul 10 22:30:56 PDT 2025



On 7/8/2025 11:40 PM, Aaradhana Sahu wrote:
> 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(-)

Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan at oss.qualcomm.com>



More information about the ath12k mailing list