[openwrt/openwrt] wifi-scripts: bump reassociation_deadline default to 20000

LEDE Commits lede-commits at lists.infradead.org
Wed Nov 19 09:55:34 PST 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a7790ce41099549cf6c97765561ac716d102ae5e

commit a7790ce41099549cf6c97765561ac716d102ae5e
Author: Rany Hany <rany_hany at riseup.net>
AuthorDate: Sat Nov 15 20:25:59 2025 +0000

    wifi-scripts: bump reassociation_deadline default to 20000
    
    Most users on forums face a broken 802.11r setup when having
    a very simple 802.11r config (i.e., just ieee80211r enabled).
    
    In most cases, simply bumping reassociation_deadline to
    20000 fixes their problems and allows 802.11r to just work.
    
    Reassociation Deadline is already set to 20 seconds on Cisco
    equipment by default[1] which is why this value has been
    chosen.
    
    It is also mentioned on the OpenWRT Wiki as a value that should
    be changed in order for 802.11r to work on Apple devices. I think
    it would be better to change the defaults instead so users don't
    have to do much work for a working setup.
    
    [1]: https://www.cisco.com/c/en/us/td/docs/wireless/controller/technotes/80211r-ft/b-80211r-dg.html
    
    Fixes: https://github.com/openwrt/openwrt/issues/7907
    Signed-off-by: Rany Hany <rany_hany at riseup.net>
    Link: https://github.com/openwrt/openwrt/pull/20799
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 .../wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json  | 2 +-
 package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json b/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json
index 54a02e8938..73be34d0e5 100644
--- a/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json
+++ b/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json
@@ -916,7 +916,7 @@
 			"type": "number",
 			"minimum": 1000,
 			"maximum": 65535,
-			"default": 1000
+			"default": 20000
 		},
 		"request_cui": {
 			"type": "alias",
diff --git a/package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh b/package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh
index 5ae9965632..f0df1127a8 100644
--- a/package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh
+++ b/package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh
@@ -920,7 +920,7 @@ hostapd_set_bss_options() {
 
 			set_default mobility_domain "$(echo "$ssid" | md5sum | head -c 4)"
 			set_default ft_over_ds 0
-			set_default reassociation_deadline 1000
+			set_default reassociation_deadline 20000
 
 			case "$auth_type" in
 				psk)




More information about the lede-commits mailing list