mirror of
https://github.com/openwrt/openwrt.git
synced 2026-11-27 16:50:30 +04:00
An AP MLD announces the removal of an affiliated AP with the AP Removal Timer of a Reconfiguration Multi-Link element in the Beacon frames of all its links. hostapd counts the timer with a beacon update of every link at each beacon interval, and on mt7996 each such update keeps the Critical Update flag set past the DTIM Beacon. Patch 455 adds NL80211_EXT_FEATURE_AP_REMOVAL_TIMER_OFFLOAD, with which the driver counts the timer in the Beacon frames itself, and reports the expiry with NL80211_CMD_LINKS_REMOVED on the AP interface. The links stay until user space removes them. Patch 456 adds ieee80211_links_removed(), with which a driver reports the expiry from any context. The teardown of the interface cancels the work that sends the report. Signed-off-by: Felix Fietkau <nbd@nbd.name>