mac80211: add ath11k AHB support
authorRobert Marko <robimarko@gmail.com>
Tue, 13 Dec 2022 22:55:26 +0000 (23:55 +0100)
committerRobert Marko <robimarko@gmail.com>
Mon, 16 Jan 2023 11:42:23 +0000 (12:42 +0100)
commit35f28f2838948e33f46c60b966a48a7e78ae8743
treead56989de04f8e1f6ca85f49e8b39ec56f76e98b
parent4359d10b0112127d8c0835ee670e4de3952ae0b2
mac80211: add ath11k AHB support

This is the follow up to the PCI support commit now providing support for
AHB variant as well, though currently only for ipq807x as that is only
OpenWrt supported SoC ath11k supports as well.

Currently, we are disabling coldboot calibration on ipq807x as it does not
work, there is a remoteproc bug that makes it come late out of reset so
disable coldboot until that is fixed.

Also, as ath11k is quite memory hungry, we are introducing a config option
to use the limits for 512MB of RAM, similar to what QCA does downstream but
in way simpler and cleaner way so that 512MB save some RAM.
512MB profile is also set as the default for now.

Signed-off-by: Robert Marko <robimarko@gmail.com>
package/kernel/mac80211/Makefile
package/kernel/mac80211/ath.mk
package/kernel/mac80211/patches/ath11k/902-ath11k-Disable-coldboot-calibration-for-IPQ8074.patch [new file with mode: 0644]
package/kernel/mac80211/patches/ath11k/903-ath11k-support-setting-FW-memory-mode-via-DT.patch [new file with mode: 0644]