From 647fabb38c54bb6946a07805cb44e1cfd6a5feed Mon Sep 17 00:00:00 2001 From: David Bauer Date: Wed, 7 Oct 2026 15:46:29 +0200 Subject: [PATCH] hostapd: depend ubus support on base64 The beacon report sent on ubus is base64 encoded, thus it requires base64 support with hostapd. Signed-off-by: David Bauer --- package/network/services/hostapd/Makefile | 2 +- .../network/services/hostapd/patches/600-ubus_support.patch | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile index 35aba8e2480..8dea08d5e0b 100644 --- a/package/network/services/hostapd/Makefile +++ b/package/network/services/hostapd/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=hostapd -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE_URL:=https://w1.fi/hostap.git PKG_SOURCE_PROTO:=git diff --git a/package/network/services/hostapd/patches/600-ubus_support.patch b/package/network/services/hostapd/patches/600-ubus_support.patch index 05893ae4de9..f3836919830 100644 --- a/package/network/services/hostapd/patches/600-ubus_support.patch +++ b/package/network/services/hostapd/patches/600-ubus_support.patch @@ -7,11 +7,12 @@ probe/assoc/auth requests via object subscribe. --- a/hostapd/Makefile +++ b/hostapd/Makefile -@@ -167,6 +167,12 @@ OBJS += ../src/common/hw_features_common +@@ -167,6 +167,13 @@ OBJS += ../src/common/hw_features_common OBJS += ../src/eapol_auth/eapol_auth_sm.o +ifdef CONFIG_UBUS ++NEED_BASE64=y +CFLAGS += -DUBUS_SUPPORT +OBJS += ../src/utils/uloop.o +OBJS += ../src/ap/ubus.o