wifi: nl80211: add MLO_LINK_ID to CMD_STOP_AP event
authorAlvin Šipraga <alsi@bang-olufsen.dk>
Sat, 28 Jan 2023 12:58:44 +0000 (13:58 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 14 Feb 2023 11:09:17 +0000 (12:09 +0100)
commitcba7217a9269e0c43cb858bdca33b291d6442068
tree1e4e49d86b3508ad9bc28746b3e921b5e9db8851
parent77669c151f1de6de2eaa28d7efdf387d39208309
wifi: nl80211: add MLO_LINK_ID to CMD_STOP_AP event

nl80211_send_ap_stopped() can be called multiple times on the same
netdev for each link when using Multi-Link Operation. Add the
MLO_LINK_ID attribute to the event to allow userspace to distinguish
which link the event is for.

Signed-off-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Link: https://lore.kernel.org/r/20230128125844.2407135-2-alvin@pqrs.dk
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/ap.c
net/wireless/nl80211.c
net/wireless/nl80211.h