diff options
author | Alvin Šipraga <alsi@bang-olufsen.dk> | 2023-01-28 13:58:44 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-02-14 12:09:17 +0100 |
commit | cba7217a9269e0c43cb858bdca33b291d6442068 (patch) | |
tree | 1e4e49d86b3508ad9bc28746b3e921b5e9db8851 /net/wireless/nl80211.h | |
parent | wifi: nl80211: emit CMD_START_AP on multicast group when an AP is started (diff) | |
download | linux-cba7217a9269e0c43cb858bdca33b291d6442068.tar.xz linux-cba7217a9269e0c43cb858bdca33b291d6442068.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | net/wireless/nl80211.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/nl80211.h b/net/wireless/nl80211.h index ba9457e94c43..0278d817bb02 100644 --- a/net/wireless/nl80211.h +++ b/net/wireless/nl80211.h @@ -114,7 +114,7 @@ nl80211_radar_notify(struct cfg80211_registered_device *rdev, enum nl80211_radar_event event, struct net_device *netdev, gfp_t gfp); -void nl80211_send_ap_stopped(struct wireless_dev *wdev); +void nl80211_send_ap_stopped(struct wireless_dev *wdev, unsigned int link_id); void cfg80211_rdev_free_coalesce(struct cfg80211_registered_device *rdev); |