wifi: mac80211: mlme: refactor assoc req element building
authorJohannes Berg <johannes.berg@intel.com>
Tue, 12 Jul 2022 12:38:02 +0000 (14:38 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:22 +0000 (11:43 +0200)
commit978420c2105ca903f8eb563106ea0f676a170ab6
tree0431956d3c2c4034f34ff82cfc57e32f4ef86f3a
parent39d805998c590429f6665f72e7b54a36c3035fa0
wifi: mac80211: mlme: refactor assoc req element building

For MLO, we will need to build these elements per link, so
factor out the code that does this, returning the capability,
to simplify building the multi-link element in the future.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c