OSDN Git Service

wifi: nl80211: support MLO in auth/assoc
authorJohannes Berg <johannes.berg@intel.com>
Tue, 31 May 2022 17:48:33 +0000 (19:48 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Jun 2022 10:55:57 +0000 (12:55 +0200)
commitd648c23024bd01333acd2fd5e34bcde0ffb66b16
treedbe1f303aa58f1dd4beb07de18ed57fea4f1ee8c
parenta503a9535eb83afcbdcba7696b4bc7a1e17f93f2
wifi: nl80211: support MLO in auth/assoc

For authentication, we need the BSS, the link_id and the AP
MLD address to create the link and station, (for now) the
driver assigns a link address and sends the frame, the MLD
address needs to be the address of the interface.

For association, pass the list of BSSes that were selected
for the MLO connection, along with extra per-STA profile
elements, the AP MLD address and the link ID on which the
association request should be sent.

Note that for now we don't have a proper way to pass the link
address(es) and so the driver/mac80211 will select one, but
depending on how that selection works it means that assoc w/o
auth data still being around (mac80211 implementation detail)
the association won't necessarily work - so this will need to
be extended in the future to sort out the link addressing.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/mlme.c
net/wireless/nl80211.c
net/wireless/sme.c