George Moussalem 665e376e74 wifi: ath11k: increase max ATH11K_QMI_CALDB_SIZE macro
QCN6122 wifi in fw-memory-mode 1 has a slightly larger caldb size than
currently defined in the ath11k driver. When coldboot calibration was
disabled, the fw mem mode was changed from 2 (256MB mem profile) to 1
(512MB mem profile), which is the correct setting for devices in scope.
However, in fw mem mode, the caldb size is 0x500000 instead of the max
0x480000 defined in the driver, causing QCN6122 wifi failing to boot:

ath11k b00a040.wifi1: qmi mem size is low to load caldata
ath11k b00a040.wifi1: failed to assign qmi target memory: -22

As such, change the max caldb memory size accordingly.

This macro is used by the driver only as a max size limit to validate
the requested caldb size returned by QMI. Different ath11k wifi chips
have different caldb sizes (for ex. the size for IPQ5018 is 0x200000).

Fixes: d4adc99 ("wifi: ath11k: disable coldboot calibration for ipq5018")
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-06-13 18:01:16 +08:00
..
2021-06-15 17:58:07 +08:00
2021-06-15 17:58:07 +08:00
2024-12-18 21:56:26 +08:00
2021-06-15 17:58:07 +08:00
2025-06-11 23:20:10 +08:00
2021-06-15 17:58:07 +08:00
2021-06-15 17:58:07 +08:00
2025-04-24 10:00:28 +08:00
2025-06-09 18:00:18 +08:00
2025-04-24 10:00:28 +08:00
2025-04-24 10:00:28 +08:00
2025-04-24 10:00:28 +08:00
2021-06-15 17:58:07 +08:00