[PATCH] nl80211: deliver the client poll result to the BSS it was sent on, and resolve the STA across an AP MLD

Jouni Malinen j at w1.fi
Sat Nov 28 07:08:20 PST 2026


On Thu, Nov 26, 2026 at 11:37:56PM +0100, Nilanka de Silva wrote:
> nl80211_client_probe_event() reports EVENT_DRIVER_CLIENT_POLL_OK to
> drv->ctx, the context of the first BSS of the driver instance. When
> several BSSes of one wiphy share the driver instance but belong to
> different hostapd interfaces, as on an AP MLD whose links are set up
> next to a legacy BSS on the same phy, the event reaches a hostapd_data
> that never had the STA, hostapd_client_poll_ok() searches only that
> interface, and the poll of a present STA counts as unanswered:
> ap_handle_timer() disassociates it for inactivity on the next timeout.
> The CQM low-ack event in the same file already uses bss->ctx.
> 
> Hand the event to the BSS the kernel named (the ifindex of the event),
> and in hostapd resolve a STA that is not on that BSS across the
> affiliated APs of the MLD, as hostapd_event_sta_low_ack() does.
> 
> Observed on mt7996 with OpenWrt (hostapd 2026-08-07): the kernel reports
> every poll to an awake STA as acknowledged, the event lands on the
> 2.4 GHz BSS context, and idle clients of the 6 GHz link are dropped for
> inactivity while present and reachable.

Thanks, applied.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list