[openwrt/openwrt] hostapd: enable airtime policy for the -basic variants

LEDE Commits lede-commits at lists.infradead.org
Tue Nov 23 09:44:25 PST 2021


nbd pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/46aa34ee0f55133c51d569282915d75ab322212a

commit 46aa34ee0f55133c51d569282915d75ab322212a
Author: Rui Salvaterra <rsalvaterra at gmail.com>
AuthorDate: Wed Nov 25 23:03:48 2020 +0000

    hostapd: enable airtime policy for the -basic variants
    
    Airtime policy configuration is extremely useful in multiple BSS scenarios.
    Since nowadays most people configure both private and guest networks (at
    least), it makes sense to enable it by default, except for the most limited
    of the variants.
    
    Size of the hostapd-basic-openssl binary (mipsel 24Kc -O2):
    543944 bytes (airtime policy disabled)
    548040 bytes (airtime policy enabled)
    
    Signed-off-by: Rui Salvaterra <rsalvaterra at gmail.com>
    Acked-by: Daniel Golle <daniel at makrotopia.org>
    (cherry-picked from commit d38f4565828264731f2a9cfe646491fba80315d3)
---
 package/network/services/hostapd/files/hostapd-basic.config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/services/hostapd/files/hostapd-basic.config b/package/network/services/hostapd/files/hostapd-basic.config
index 947e2fa200..33c38192b1 100644
--- a/package/network/services/hostapd/files/hostapd-basic.config
+++ b/package/network/services/hostapd/files/hostapd-basic.config
@@ -384,7 +384,7 @@ CONFIG_TLS=internal
 #CONFIG_OWE=y
 
 # Airtime policy support
-#CONFIG_AIRTIME_POLICY=y
+CONFIG_AIRTIME_POLICY=y
 
 # Override default value for the wpa_disable_eapol_key_retries configuration
 # parameter. See that parameter in hostapd.conf for more details.



More information about the lede-commits mailing list