--- /dev/null
+/*#############################################################################
+# #
+# telemetryd - The IPFire Telemetry Collection Service #
+# Copyright (C) 2026 IPFire Development Team #
+# #
+# This program is free software: you can redistribute it and/or modify #
+# it under the terms of the GNU General Public License as published by #
+# the Free Software Foundation, either version 3 of the License, or #
+# (at your option) any later version. #
+# #
+# This program is distributed in the hope that it will be useful, #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
+# GNU General Public License for more details. #
+# #
+# You should have received a copy of the GNU General Public License #
+# along with this program. If not, see <http://www.gnu.org/licenses/>. #
+# #
+#############################################################################*/
+
+#ifdef BUILD_SOURCE_WIRELESS
+
+#include <errno.h>
+
+#include "../ctx.h"
+#include "../source.h"
+#include "wireless.h"
+
+static int wireless_link_callback(td_ctx* ctx, const char* name,
+ struct rtnl_link* link, void* data) {
+ td_source* source = data;
+
+ DEBUG(ctx, "Wireless interface callback fired for %s\n", name);
+
+#warning TODO I currently don't have access to wireless hardware to test this
+
+ return 0;
+}
+
+static int wireless_heartbeat(td_ctx* ctx, td_source* source) {
+ td_netlink* netlink = NULL;
+ int r;
+
+ // Fetch access to Netlink
+ netlink = td_source_get_netlink(source);
+ if (!netlink) {
+ r = -errno;
+ goto ERROR;
+ }
+
+ // Enumerate all wireless interfaces
+ r = td_netlink_enumerate_wireless_interfaces(
+ netlink, wireless_link_callback, source);
+ if (r < 0)
+ goto ERROR;
+
+ERROR:
+ if (netlink)
+ td_netlink_unref(netlink);
+
+ return r;
+}
+
+const td_source_impl wireless_source = {
+ .name = "wireless",
+
+ // RRD Data Sources
+ .rrd_dss = {
+ { "uptime", "GAUGE", 0, -1, },
+ { NULL },
+ },
+
+ // Methods
+ .heartbeat = wireless_heartbeat,
+};
+
+#endif /* BUILD_SOURCE_WIRELESS */
--- /dev/null
+/*#############################################################################
+# #
+# telemetryd - The IPFire Telemetry Collection Service #
+# Copyright (C) 2026 IPFire Development Team #
+# #
+# This program is free software: you can redistribute it and/or modify #
+# it under the terms of the GNU General Public License as published by #
+# the Free Software Foundation, either version 3 of the License, or #
+# (at your option) any later version. #
+# #
+# This program is distributed in the hope that it will be useful, #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
+# GNU General Public License for more details. #
+# #
+# You should have received a copy of the GNU General Public License #
+# along with this program. If not, see <http://www.gnu.org/licenses/>. #
+# #
+#############################################################################*/
+
+#ifndef TELEMETRY_SOURCE_WIRELESS_H
+#define TELEMETRY_SOURCE_WIRELESS_H
+#ifdef BUILD_SOURCE_WIRELESS
+
+#include "../source.h"
+
+extern const td_source_impl wireless_source;
+
+#endif /* BUILD_SOURCE_WIRELESS */
+#endif /* TELEMETRY_SOURCE_WIRELESS_H */