openwrt/package
George Moussalem aefdbf0edc 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: cf715a2305 ("wifi: ath11k: disable coldboot calibration for ipq5018")
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/19118
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-06-13 10:29:50 +02:00
..
base-files sysupgrade: create 10_disable_services w/ fixed modified time 2025-05-31 11:18:50 -06:00
boot uboot-tools: uboot-envtools: add support for I-O DATA WN-DAX3000GR 2025-06-12 10:54:34 +02:00
devel kselftests-bpf: add support for kernel 6.12 2025-05-29 22:46:46 +02:00
firmware qualcommax: add support for I-O DATA WN-DAX3000GR 2025-06-12 10:54:34 +02:00
kernel wifi: ath11k: increase max ATH11K_QMI_CALDB_SIZE macro 2025-06-13 10:29:50 +02:00
libs gmp: fix compilation with GCC 15.1 2025-06-08 12:46:17 +02:00
network linux-atm: fix building with GCC 15.1 2025-06-08 12:20:15 +02:00
system apk-tools: update to git HEAD (2025-06-06) 2025-06-11 10:41:01 +02:00
utils ucode-mod-bpf: switch to ucv_resource_create_ex 2025-06-13 10:16:06 +02:00
Makefile package: rework contents of package index.json 2025-06-11 16:55:31 +02:00