1
0
Fork 0
forked from mirror/openwrt
openwrt/package/kernel/mac80211/patches
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
..
ath mac80211: update to version 6.12.6 2024-12-26 18:18:06 +01:00
ath5k mac80211: update to version 6.12.6 2024-12-26 18:18:06 +01:00
ath9k mac80211: ath9k: avoid a double reset 2025-06-05 13:10:25 +02:00
ath10k mac80211: backport API change for sta rate control update 2025-04-11 10:41:12 +02:00
ath11k wifi: ath11k: increase max ATH11K_QMI_CALDB_SIZE macro 2025-06-13 10:29:50 +02:00
ath12k mac80211: ath12k: fix regdb parsing for 6GHz 2025-04-18 17:51:45 +02:00
brcm mac80211: brcm: update RPi brcmfmac patches 2025-05-23 20:20:51 +02:00
build mac80211: fix unaligned.h header location for 6.12 kernel 2025-05-03 20:16:25 +02:00
mt7601u mac80211: fix mt7601u firmware path and refresh patches 2023-05-18 02:39:55 +01:00
mwl mac80211: update to version 6.12.6 2024-12-26 18:18:06 +01:00
rt2x00 mac80211: rt2x00: use remove_new 2025-05-07 00:36:33 +02:00
rtl mac80211: realtek: rtw88: sync with v6.16 2025-06-08 16:10:40 +02:00
subsys mac80211: allow scanning operating on DFS channels 2025-05-31 16:23:03 +02:00