openwrt-pf/package/network
Felix Fietkau c6d20bbf51 hostapd: ucode: restart on config-initiated channel switch failure
iface.switch_channel() only reports whether a CSA was started, not whether
it completed, so a config-driven channel switch that the driver never
finishes would leave the AP stuck without recovery. After issuing the CSA,
arm a timer and, if the switch has not completed by the deadline
(csa_in_progress still set), fall back to a full interface restart. The
timer is armed only on the config-initiated path, so ubus- and
apsta-triggered channel switches keep their own recovery.

Add an iface.csa_in_progress() ucode method wrapping hostapd_csa_in_progress().

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2026-07-16 11:50:21 +02:00
..
config wifi-scripts: emit frequency and STA-channel markers in hostapd config 2026-07-16 11:50:21 +02:00
ipv6 scripts: dhcp: option to override preferred Client ID per interface 2026-07-11 17:30:55 +02:00
services hostapd: ucode: restart on config-initiated channel switch failure 2026-07-16 11:50:21 +02:00
utils wireguard: add metric to routes 2026-07-01 19:09:09 +02:00