During non-transmitted (nontx) profile configuration, interface index of the transmitted (tx) profile is used to retrieve the wireless device (wdev) associated with it. With MLO, this 'wdev' may be part of an MLD with more than one link, hence only interface index is not sufficient anymore to retrieve the correct tx profile. Add a new attribute to configure link id of tx profile. Similarly, storing 'vif' of tx profile inside 'vif' for nontx profiles is not sufficient for MLO, instead store tx link data inside each nontx link data structure. Depends-on: https://patchwork.kernel.org/project/linux-wireless/list/?series=932457&state=%2A&archive=both Above series cleans up ath12k driver code so that this current series requires minimal changes in the driver after changing mac80211 data structures. The same patches appear below in the "prerequisite-patch-id" list. This is a new version for https://patchwork.kernel.org/project/linux-wireless/list/?series=902914&state=%2A&archive=both Rameshkumar Sundaram (3): wifi: nl80211: add link id of transmitted profile for MLO MBSSID wifi: mac80211: restructure tx profile retrieval for MLO MBSSID wifi: ath12k: use link ID for CSA finish drivers/net/wireless/ath/ath11k/mac.c | 20 +++-- drivers/net/wireless/ath/ath12k/mac.c | 33 ++++++--- drivers/net/wireless/ath/ath12k/wmi.c | 2 +- drivers/net/wireless/virtual/mac80211_hwsim.c | 2 +- include/net/cfg80211.h | 2 + include/net/mac80211.h | 7 +- include/uapi/linux/nl80211.h | 6 ++ net/mac80211/cfg.c | 64 ++++++++++------ net/mac80211/ieee80211_i.h | 2 + net/mac80211/iface.c | 73 +++++++++++++------ net/wireless/nl80211.c | 14 ++++ 11 files changed, 159 insertions(+), 66 deletions(-) base-commit: c61da149b9c2e439abe27845a71dae5ce5f5985c prerequisite-patch-id: f0bc71c13dd8ade295b0b02a265a83fba85b8e95 prerequisite-patch-id: ec61eaf1e5f291f9baa173de729257a2dd4f9ac4 prerequisite-patch-id: e864d8cb444ecb525204ab91e0ccab55116dfa33 prerequisite-patch-id: 7397bc61b307254df3cdf6e64d4d6b4063df8b4d prerequisite-patch-id: 996b954de755f1690325c2b59b5073d945733347 -- 2.34.1