wifi: cfg80211/nl80211: Add support to indicate STA MLD setup links removal
authorVeerendranath Jakkam <quic_vjakkam@quicinc.com>
Fri, 17 Mar 2023 14:21:53 +0000 (19:51 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 19 Jun 2023 10:08:40 +0000 (12:08 +0200)
commit065563b20a664a6575dc158688dfb0e121c25b38
treefbfd4eade8d3064058e4883f13acad339feee19c
parenta0ed50112b98fa8e9bc85dbeafc82fd97ee06716
wifi: cfg80211/nl80211: Add support to indicate STA MLD setup links removal

STA MLD setup links may get removed if AP MLD remove the corresponding
affiliated APs with Multi-Link reconfiguration as described in
P802.11be_D3.0, section 35.3.6.2.2 Removing affiliated APs. Currently,
there is no support to notify such operation to cfg80211 and userspace.

Add support for the drivers to indicate STA MLD setup links removal to
cfg80211 and notify the same to userspace. Upon receiving such
indication from the driver, clear the MLO links information of the
removed links in the WDEV.

Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
Link: https://lore.kernel.org/r/20230317142153.237900-1-quic_vjakkam@quicinc.com
[rename function and attribute, fix kernel-doc]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/core.h
net/wireless/nl80211.c
net/wireless/sme.c
net/wireless/trace.h