diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2026-05-29 10:25:02 +0200 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-06-03 14:11:57 +0200 |
| commit | 29eb4dc882d3b681c699ed550b79129c01e8c80a (patch) | |
| tree | 593cb9c67b3046aa5425610c50f2ec14a9c1290a | |
| parent | d823fc25eaaf357be292bd9c827026985bd502b3 (diff) | |
| download | linux-29eb4dc882d3b681c699ed550b79129c01e8c80a.tar.gz linux-29eb4dc882d3b681c699ed550b79129c01e8c80a.zip | |
wifi: mac80211: mlme: allow UHR only with MLO
UHR requires MLO, not just formally but also in order
for the client to understand AP BSS parameter changes,
since the Critical Update Counter is inside the Multi-
Link Element. Require MLO for UHR connections to avoid
otherwise needed complexity such as not enabling any
feature that would require tracking critical updates.
Link: https://patch.msgid.link/20260529102644.43817ce87042.If4562ae9c5ca83339b397d9a344b68631cb17c4a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
| -rw-r--r-- | net/mac80211/mlme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 2888a382677d..2b7bb371efee 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -389,7 +389,7 @@ ieee80211_determine_ap_chan(struct ieee80211_sub_if_data *sdata, } check_uhr: - if (conn->mode < IEEE80211_CONN_MODE_UHR || !uhr_oper) + if (conn->mode < IEEE80211_CONN_MODE_UHR || !uhr_oper || !elems->ml_basic) return IEEE80211_CONN_MODE_EHT; if (elems->frame_type != (IEEE80211_FTYPE_MGMT | IEEE80211_STYPE_BEACON)) { |
