diff mbox series

[wireless-next] wifi: nl80211: re-enable multi-link reconfiguration

Message ID 20250303110409.3079488e52f2.Ic6ed3d184e5be8ba47c6affa7271daaf824fd823@changeid (mailing list archive)
State Changes Requested
Delegated to: Johannes Berg
Headers show
Series [wireless-next] wifi: nl80211: re-enable multi-link reconfiguration | expand

Checks

Context Check Description
jmberg/apply fail Patch does not apply to wireless-next-1
jmberg/tree_selection success Clearly marked for wireless-next

Commit Message

Johannes Berg March 3, 2025, 10:04 a.m. UTC
From: Johannes Berg <johannes.berg@intel.com>

With the recent fixes, we can re-enable multi-link
reconfiguration. Also add a CMD() entry to allow
userspace discovery for it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
Placeholder patch - we still need to send the fixes.
---
 net/wireless/nl80211.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index 27d51aa5cdff..95b570daf0e2 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -2768,6 +2768,7 @@  static int nl80211_send_wiphy(struct cfg80211_registered_device *rdev,
 			CMD(update_ft_ies, UPDATE_FT_IES);
 			if (rdev->wiphy.sar_capa)
 				CMD(set_sar_specs, SET_SAR_SPECS);
+			CMD(assoc_ml_reconf, ASSOC_MLO_RECONF);
 		}
 #undef CMD
 
@@ -16534,7 +16535,7 @@  static int nl80211_assoc_ml_reconf(struct sk_buff *skb, struct genl_info *info)
 		goto out;
 	}
 
-	err = -ENOPNOTSUPP;
+	err = cfg80211_assoc_ml_reconf(rdev, dev, links, rem_links);
 
 out:
 	for (link_id = 0; link_id < ARRAY_SIZE(links); link_id++)