openwrt-pf/package/network
Felix Fietkau 55b9263596 hostapd: ucode: apply channel/width changes via CSA instead of restart
A config change that only alters the channel or channel width previously
failed the radio comparison in iface_reload_config() and forced a full
interface restart, disconnecting every client. Classify the radio diff:
apply a channel/width-only change through iface.switch_channel() (CSA) so
clients stay associated, keep the full restart for any other radio change.

When a co-located STA on the same band owns the runtime channel
(#channel_owned_by_sta), the change is a no-op on the AP side, which keeps
following the STA via apsta_state. MLD APs and DFS targets fall back to a
full restart, as a single iface-level CSA cannot handle them.

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: apply channel/width changes via CSA instead of restart 2026-07-16 11:50:21 +02:00
utils wireguard: add metric to routes 2026-07-01 19:09:09 +02:00