wifi-scripts: bump reassociation_deadline default to 20000
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run

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@riseup.net>
Link: https://github.com/openwrt/openwrt/pull/20799
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Rany Hany 2025-11-15 20:25:59 +00:00 committed by Hauke Mehrtens
parent b947064db4
commit a7790ce410
2 changed files with 2 additions and 2 deletions

View file

@ -916,7 +916,7 @@
"type": "number",
"minimum": 1000,
"maximum": 65535,
"default": 1000
"default": 20000
},
"request_cui": {
"type": "alias",

View 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)