[openwrt/openwrt] hostapd: Disable 802.11b data rates by default

LEDE Commits lede-commits at lists.infradead.org
Sun Dec 6 13:51:48 EST 2020


aparcar pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/ce5bcff304e474d604ac0e25de7b6b124f764351

commit ce5bcff304e474d604ac0e25de7b6b124f764351
Author: Nick Lowe <nick.lowe at gmail.com>
AuthorDate: Fri Dec 4 17:47:47 2020 +0000

    hostapd: Disable 802.11b data rates by default
    
    Set legacy_rates to 0 by default to disable 802.11b data rates by default.
    
    The time has long come where 802.11b DSSS/CCK data rates should be disabled
    by default in OpenWRT. Users in need of 802.11b client support can reasonably
    enable these where they are needed.
    
    The balance of equities has significantly, and for a long time, tipped
    such that dropping backwards compatibility by default with 802.11b
    devices is appropriate, proportionate and justified. By doing so,
    management and control traffic is moved by default to a 20
    MHz wide 6 Mb/s OFDM data rate instead of a 22 MHz wide 1 Mb/s DSSS data
    rate. This is significantly more airtime efficient.
    
    Signed-off-by: Nick Lowe <nick.lowe at gmail.com>
---
 package/network/services/hostapd/Makefile         | 2 +-
 package/network/services/hostapd/files/hostapd.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile
index 1e20b56200..61b2a548ef 100644
--- a/package/network/services/hostapd/Makefile
+++ b/package/network/services/hostapd/Makefile
@@ -7,7 +7,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=hostapd
-PKG_RELEASE:=17
+PKG_RELEASE:=18
 
 PKG_SOURCE_URL:=http://w1.fi/hostap.git
 PKG_SOURCE_PROTO:=git
diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh
index a41254d6db..41b04e6029 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -123,7 +123,7 @@ hostapd_prepare_device_config() {
 	set_default country_ie 1
 	set_default spectrum_mgmt_required 0
 	set_default doth 1
-	set_default legacy_rates 1
+	set_default legacy_rates 0
 	set_default airtime_mode 0
 	set_default cell_density 0
 



More information about the lede-commits mailing list