From b9d7e6f0b92a12c802e1c629c03fb9b227be53bd Mon Sep 17 00:00:00 2001
From: Nico <github@nicoboehr.de>
Date: Sun, 14 Apr 2024 23:34:52 +0000
Subject: [PATCH] use CT firmware on AC Mesh and AC Mesh Pro

AC Mesh Pro is much more stable with CT firmware and can take a lot more
clients. This breaks 11s meshing on 5 GHz, but since these are outdoor
devices, this should not affect anyone.
---
 image-customization.lua | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/image-customization.lua b/image-customization.lua
index 4e75fb72b..9b8099417 100644
--- a/image-customization.lua
+++ b/image-customization.lua
@@ -170,3 +170,12 @@ if device({'zyxel-nwa55axe'}) then
 	packages({'ffda-network-setup-mode'})
 	broken(false)
 end
+
+-- OOM, high load without CT Firmware. Tested on AC Mesh Pro. Suspected also AC Mesh affected.
+if device({'ubiquiti-unifi-ac-mesh', 'ubiquiti-unifi-ac-mesh-pro'}) then
+	packages({
+		'-kmod-ath10k',
+		'kmod-ath10k-ct-smallbuffers',
+		'ath10k-firmware-qca988x-ct'
+	})
+end
-- 
GitLab