Subject: [bug#62826] [PATCH v2] gnu: hostapd: Add ACS and full dynamic vlan support

From: Alexey Abramov <[email-masked]>
Date: Fri, 14 Apr 2023 08:50:51 +0200

* gnu/packages/admin.scm (hostapd): ACS (Automatic Channel Selection)
will allow hostapd to pick the channel automatically. Full dynamic
vlan support enables hostapd to automatically create bridge and VLAN
interfaces if necessary (enables vlan_tagged_interface option).
---
 gnu/packages/admin.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index c974a1d926..7cb8cf4da0 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -58,6 +58,7 @@
 ;;; Copyright © 2023 Juliana Sims <[email-masked]>
 ;;; Copyright © 2023 Lu Hui <[email-masked]>
 ;;; Copyright © 2023 Yovan Naumovski <[email-masked]>
+;;; Copyright © 2023 Alexey Abramov <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2317,7 +2318,9 @@ (define-public hostapd
                      (display "CONFIG_LIBNL32=y
                                CONFIG_IEEE80211R=y
                                CONFIG_IEEE80211N=y
-                               CONFIG_IEEE80211AC=y\n" port)
+                               CONFIG_IEEE80211AC=y
+                               CONFIG_FULL_DYNAMIC_VLAN=y
+                               CONFIG_ACS=y\n" port)
                      (close-port port))))
                (add-after 'unpack 'patch-pkg-config
                  (lambda _
-- 
2.39.2