wifi-scripts: bump reassociation_deadline default to 20000
authorRany Hany <[email protected]>
Sat, 15 Nov 2025 20:25:59 +0000 (20:25 +0000)
committerHauke Mehrtens <[email protected]>
Wed, 19 Nov 2025 17:54:27 +0000 (18:54 +0100)
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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20799
Signed-off-by: Hauke Mehrtens <[email protected]>
package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json
package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh

index 54a02e8938236ad19f7fda184fc0c04a01022fc8..73be34d0e55391066185751148a590f0ba74f297 100644 (file)
                        "type": "number",
                        "minimum": 1000,
                        "maximum": 65535,
-                       "default": 1000
+                       "default": 20000
                },
                "request_cui": {
                        "type": "alias",
index 5ae9965632230962fe35044001a0a729b98008dc..f0df1127a84f6a92024445c2fade25979bab2b76 100644 (file)
@@ -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)