wifi: mac80211: reject MLO channel configuration if not supported
authorBenjamin Berg <benjamin.berg@intel.com>
Wed, 20 Sep 2023 18:25:29 +0000 (21:25 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Sep 2023 07:12:34 +0000 (09:12 +0200)
commit1228c749416cb2b0232cbd9beb0c9f1200dfb3c9
treec43eb03afe1a9a3bc7cc6b91eafde8ce36f951a9
parent4aa064484504fba48b3c71321940893ca7cebc84
wifi: mac80211: reject MLO channel configuration if not supported

Reject configuring a channel for MLO if either EHT is not supported or
the BSS does not have the correct ML element. This avoids trying to do
a multi-link association with a misconfigured AP.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230920211508.80c3b8e5a344.Iaa2d466ee6280994537e1ae7ab9256a27934806f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c