openwrt-mirror/package/kernel/mac80211
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
..
patches wifi: ath11k: increase max ATH11K_QMI_CALDB_SIZE macro 2025-06-13 10:29:50 +02:00
scripts mac80211: replace backticks by $(...) 2020-05-13 19:01:23 +02:00
ath.mk mac80211: mark ath12k 80211BE capable 2024-10-03 12:55:23 +02:00
broadcom.mk mac80211: enable CONFIG_BRCMFMAC_SDIO for stm32 2024-11-23 15:53:21 +01:00
intel.mk packages: remove kernel 5.15 remnants 2024-09-20 11:16:02 +02:00
Makefile mac80211: brcm: update RPi brcmfmac patches 2025-05-23 20:20:51 +02:00
marvell.mk treewide: remove DRIVER_11N_SUPPORT 2022-12-13 10:54:50 +01:00
ralink.mk mac80211: reintroduce rt61/rt73 support 2024-10-29 00:07:53 +01:00
realtek.mk mac80211: realtek: add support for RTL8814AE/RTL8814AU 2025-06-08 16:10:40 +02:00