From b9af1b7b0d874328fe0db87fddea9b69d881218e Mon Sep 17 00:00:00 2001 From: Annika Wickert <6527744+awlx@users.noreply.github.com> Date: Fri, 20 Nov 2026 11:37:01 +0100 Subject: [PATCH 1/3] patches: emit raw Batman V throughput in respondd neighbours Parker nodes sent a pseudo TQ for Batman V neighbours. The map showed TQ 100% for most links and no throughput. Add a patch that sends the raw throughput in kbit/s. yanic with Batman V support then writes source_tp and target_tp. Port of the upstream change by Grische (freifunk-gluon/gluon#3736) to the gluon-parker Batman V patch series. --- ...n-adv-emit-raw-throughput-for-Batman.patch | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 patches/0026-gluon-mesh-batman-adv-emit-raw-throughput-for-Batman.patch diff --git a/patches/0026-gluon-mesh-batman-adv-emit-raw-throughput-for-Batman.patch b/patches/0026-gluon-mesh-batman-adv-emit-raw-throughput-for-Batman.patch new file mode 100644 index 00000000..e8c623fe --- /dev/null +++ b/patches/0026-gluon-mesh-batman-adv-emit-raw-throughput-for-Batman.patch @@ -0,0 +1,46 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Annika Wickert <6527744+awlx@users.noreply.github.com> +Date: Fri, 20 Nov 2026 11:36:23 +0100 +Subject: [PATCH] gluon-mesh-batman-adv: emit raw throughput for Batman V + neighbours + +The Batman V neighbour list in respondd sent a pseudo TQ value. The +value came from the link throughput and was 255 for all links of +54 Mbit/s and more. Thus the map showed TQ 100% and no throughput. + +Send the raw throughput in kbit/s in the "throughput" field instead. +yanic with Batman V support reads this field and writes source_tp and +target_tp to meshviewer.json. + +Use json_object_new_int64() because the source value is uint32. + +This is the gluon-parker port of the upstream change by Grische +(freifunk-gluon/gluon#3736). gluon-parker keeps the older Batman V +patch series, so the upstream patch does not apply. +--- + package/gluon-mesh-batman-adv/src/respondd-neighbours.c | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +diff --git a/package/gluon-mesh-batman-adv/src/respondd-neighbours.c b/package/gluon-mesh-batman-adv/src/respondd-neighbours.c +index 2950d1ec..0c0c9a64 100644 +--- a/package/gluon-mesh-batman-adv/src/respondd-neighbours.c ++++ b/package/gluon-mesh-batman-adv/src/respondd-neighbours.c +@@ -59,7 +59,6 @@ static int parse_neigh_list_netlink_cb(struct nl_msg *msg, void *arg) + struct genlmsghdr *ghdr; + uint8_t *neigh; + uint32_t throughput; +- uint8_t tq; + uint32_t hardif; + uint32_t lastseen; + char ifname_buf[IF_NAMESIZE], *ifname; +@@ -107,9 +106,7 @@ static int parse_neigh_list_netlink_cb(struct nl_msg *msg, void *arg) + json_object_object_add(opts->interfaces, ifname, interface); + } + +- tq = gluonutil_get_pseudo_tq(throughput); +- +- json_object_object_add(obj, "tq", json_object_new_int(tq)); ++ json_object_object_add(obj, "throughput", json_object_new_int64(throughput)); + json_object_object_add(obj, "lastseen", json_object_new_double(lastseen / 1000.)); + json_object_object_add(obj, "best", json_object_new_boolean(nla_get_flag(attrs[BATADV_ATTR_FLAG_BEST]))); + json_object_object_add(interface, mac1, obj); From 2fbfae699e5f8fb6195fc00fbeee7080a7c0f2fe Mon Sep 17 00:00:00 2001 From: Annika Wickert <6527744+awlx@users.noreply.github.com> Date: Fri, 20 Nov 2026 16:41:23 +0100 Subject: [PATCH 2/3] modules: update community-packages for parker5 Update ffbs-mesh-vpn-parker: - report the pgw address as respondd gateway - make dnsmasq not authoritative - send router lifetime 0 only after a new router - no router lifetime 0 when a site of the node is up again - a router with deprecated prefixes only is not a new router - stop the parker uradvd when no site is active - quote the message in util.log --- modules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules b/modules index 4a185be5..3c837641 100644 --- a/modules +++ b/modules @@ -9,5 +9,5 @@ GLUON_SITE_FEEDS='community' PACKAGES_COMMUNITY_REPO=https://github.com/freifunkMUC/community-packages.git -PACKAGES_COMMUNITY_COMMIT=76b4411bb6eb6b24e9e7a61fc699f58665e0b764 +PACKAGES_COMMUNITY_COMMIT=7a2a037aceb9ab932cb152d0a1ff02d50c446695 PACKAGES_COMMUNITY_BRANCH=parker-release-2026.11 From 9de73b42f1ca5d45e96fef5015b4af4c8e66613f Mon Sep 17 00:00:00 2001 From: Annika Wickert <6527744+awlx@users.noreply.github.com> Date: Fri, 20 Nov 2026 16:50:25 +0100 Subject: [PATCH 3/3] modules: pin community-packages to merged parker5 head 7a2a037 is not on parker-release-2026.11 as a branch point, so gluon-prepare fails. Pin the merge commit 70dba2e. It has the same tree as 7a2a037. --- modules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules b/modules index 3c837641..6f0b247b 100644 --- a/modules +++ b/modules @@ -9,5 +9,5 @@ GLUON_SITE_FEEDS='community' PACKAGES_COMMUNITY_REPO=https://github.com/freifunkMUC/community-packages.git -PACKAGES_COMMUNITY_COMMIT=7a2a037aceb9ab932cb152d0a1ff02d50c446695 +PACKAGES_COMMUNITY_COMMIT=70dba2e9d5eb2391f6ab1a22d603f7f62223cd05 PACKAGES_COMMUNITY_BRANCH=parker-release-2026.11