Commit d9759275 authored by Johannes Berg's avatar Johannes Berg Committed by Carlos Llamas
Browse files

BACKPORT: FROMGIT: wifi: cfg80211: do some rework towards MLO link APIs



In order to support multi-link operation with multiple links,
start adding some APIs. The notable addition here is to have
the link ID in a new nl80211 attribute, that will be used to
differentiate the links in many nl80211 operations.

So far, this patch adds the netlink NL80211_ATTR_MLO_LINK_ID
attribute (as well as the NL80211_ATTR_MLO_LINKS attribute)
and plugs it through the system in some places, checking the
validity etc. along with other infrastructure needed for it.

For now, I've decided to include only the over-the-air link
ID in the API. I know we discussed that we eventually need to
have to have other ways of identifying a link, but for local
AP mode and auth/assoc commands as well as set_key etc. we'll
use the OTA ID.

Also included in this patch is some refactoring of the data
structures in struct wireless_dev, splitting for the first
time the data into type dependent pieces, to make reasoning
about these things easier.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>

Bug: 233387627
Change-Id: I023f35d382282691d7e2cbc607fb11691355cd63
(cherry picked from commit a353a99fb75e5c1c3b15050e9efaab1997350862
 https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git

 mld)
Signed-off-by: default avatarVeerendranath Jakkam <quic_vjakkam@quicinc.com>
parent af34adaa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment