From 1aa0e7415c18ebab57ef59a80b33595eedef6775 Mon Sep 17 00:00:00 2001
From: Nico <github@nicoboehr.de>
Date: Sun, 21 Apr 2024 20:06:55 +0000
Subject: [PATCH] reload wifi firmware 3x daily with mt7621 and
 mediatek-filogic

---
 image-customization.lua | 14 ++++++++++++++
 modules                 |  2 +-
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/image-customization.lua b/image-customization.lua
index 94df7833d..302597080 100644
--- a/image-customization.lua
+++ b/image-customization.lua
@@ -181,3 +181,17 @@ if device({'ubiquiti-unifi-ac-mesh', 'ubiquiti-unifi-ac-mesh-pro'}) then
 		'ath10k-firmware-qca988x-ct-full-htt',
 	})
 end
+
+if target('ramips', 'mt7621') then
+	-- reload wifi firmware twice a day
+	packages {
+		'ffac-mt7915-hotfix',
+	}
+end
+
+if target('mediatek', 'filogic') then
+	-- reload wifi firmware twice a day
+	packages {
+		'ffac-mt7915-hotfix',
+	}
+end
diff --git a/modules b/modules
index 8714cbb06..6f9aee037 100644
--- a/modules
+++ b/modules
@@ -1,7 +1,7 @@
 GLUON_SITE_FEEDS='ffs community'
 
 PACKAGES_FFS_REPO=https://gitlab.freifunk-stuttgart.de/firmware/gluon-packages.git
-PACKAGES_FFS_COMMIT=bd0256c2163cbaefdc67e7ff2e0239bee6f1d9a5
+PACKAGES_FFS_COMMIT=1fc68e20ac0bc1eca304be82a0ab35419e19884f
 
 PACKAGES_COMMUNITY_REPO=https://gitlab.freifunk-stuttgart.de/firmware/gluon-community-packages
 PACKAGES_COMMUNITY_COMMIT=b6ab63ebc58bcb428a733026209cc491df10bc3a
-- 
GitLab