[openwrt/openwrt] hostapd: enable CONFIG_OCV when 802.11be support is enabled

LEDE Commits lede-commits at lists.infradead.org
Mon Jul 7 08:16:33 PDT 2025


nbd pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a7ab0d5bff9da337f077b686dc2669dd9fb1037b

commit a7ab0d5bff9da337f077b686dc2669dd9fb1037b
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Jul 7 17:15:54 2025 +0200

    hostapd: enable CONFIG_OCV when 802.11be support is enabled
    
    The 802.11be supoort code unconditionally calls ocv related functions
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/network/services/hostapd/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile
index d3d4dfddc8..cdaf636c4a 100644
--- a/package/network/services/hostapd/Makefile
+++ b/package/network/services/hostapd/Makefile
@@ -99,7 +99,9 @@ DRIVER_MAKEOPTS= \
 	CONFIG_IEEE80211AX=$(HOSTAPD_IEEE80211AX) \
 	CONFIG_IEEE80211BE=$(HOSTAPD_IEEE80211BE) \
 	CONFIG_MBO=$(CONFIG_WPA_MBO_SUPPORT) \
-	CONFIG_UCODE=y CONFIG_APUP=y
+	CONFIG_UCODE=y CONFIG_APUP=y \
+	$(if $(HOSTAPD_IEEE80211BE),CONFIG_OCV=y)
+
 
 ifeq ($(SSL_VARIANT),openssl)
   DRIVER_MAKEOPTS += CONFIG_TLS=openssl CONFIG_SAE=y




More information about the lede-commits mailing list