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

LEDE Commits lede-commits at lists.infradead.org
Sat Apr 3 18:17:43 BST 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/d38f4565828264731f2a9cfe646491fba80315d3

commit d38f4565828264731f2a9cfe646491fba80315d3
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>
---
 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