OSDN Git Service

cfg80211: Indicate MLO connection info in connect and roam callbacks
authorVeerendranath Jakkam <quic_vjakkam@quicinc.com>
Wed, 8 Jun 2022 09:16:37 +0000 (14:46 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Jun 2022 10:57:09 +0000 (12:57 +0200)
commitefbabc11650040c64884ff3019b88c7bcc0ceb1d
treee8d5419c5ca5536d7424f45191ff0653a7c4dc54
parent245e5ebc6afaa2520439637d0ade8fd9db158610
cfg80211: Indicate MLO connection info in connect and roam callbacks

The MLO links used for connection with an MLD AP are decided by the
driver in case of SME offloaded to driver.

Add support for the drivers to indicate the information of links used
for MLO connection in connect and roam callbacks, update the connected
links information in wdev from connect/roam result sent by driver.
Also, send the connected links information to userspace.

Add a netlink flag attribute to indicate that userspace supports
handling of MLO connection. Drivers must not do MLO connection when this
flag is not set. This is to maintain backwards compatibility with older
supplicant versions which doesn't have support for MLO connection.

Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c
drivers/net/wireless/ath/wil6210/wmi.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
drivers/net/wireless/rndis_wlan.c
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
drivers/staging/wlan-ng/cfg80211.c
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/mlme.c
net/wireless/nl80211.c
net/wireless/sme.c