On 3/11/2025 3:18 PM, Johannes Berg wrote:
@@ -7095,7 +7096,8 @@ int cfg80211_check_station_change(struct wiphy *wiphy,
if (params->ext_capab || params->link_sta_params.ht_capa ||
params->link_sta_params.vht_capa ||
params->link_sta_params.he_capa ||
- params->link_sta_params.eht_capa)
+ params->link_sta_params.eht_capa ||
+ params->eml_cap_present)
return -EINVAL;
if (params->sta_flags_mask & BIT(NL80211_STA_FLAG_SPP_AMSDU))
return -EINVAL;
EMLSR doesn't make sense for TDLS stations either, does it?
Spec doesn't speak anything about MLO between TDLS peers, we shall
consider it as not applicable at this point.
Also, seems we need to exclude other sta types such as mesh too, as MLO
is not applicable to Mesh as well. May be I'll add an exclusive case to
restrict EMLSR change only for CFG80211_STA_AP_CLIENT.
--
Ramesh