History

wifi: nl80211: add link id of transmitted profile for MLO MBSSID

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.

Rameshkumar Sundaram committed 1 year ago

Commit 37523c31 parent 91ea0483 files · +31 −1Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+6−0
@@ -8036,6 +8036,11 @@ enum nl80211_sar_specs_attrs { · 8035 unmodified lines
80368036 * Setting this flag is permitted only if the driver advertises EMA support
80378037 * by setting wiphy->ema_max_profile_periodicity to non-zero.
80388038 *
8039+ * @NL80211_MBSSID_CONFIG_ATTR_TX_LINK_ID: Link ID of the transmitted profile.
8040+ * This parameter is mandatory when NL80211_ATTR_MBSSID_CONFIG attributes
8041+ * are sent for a non-transmitted profile and if the transmitted profile
8042+ * is part of an MLD. For all other cases this parameter is unnecessary.
8043+ *
80398044 * @__NL80211_MBSSID_CONFIG_ATTR_LAST: Internal
80408045 * @NL80211_MBSSID_CONFIG_ATTR_MAX: highest attribute
80418046 */
@@ -8047,6 +8052,7 @@ enum nl80211_mbssid_config_attributes { · 5 unmodified lines
80478052 NL80211_MBSSID_CONFIG_ATTR_INDEX,
80488053 NL80211_MBSSID_CONFIG_ATTR_TX_IFINDEX,
80498054 NL80211_MBSSID_CONFIG_ATTR_EMA,
8055+ NL80211_MBSSID_CONFIG_ATTR_TX_LINK_ID,
80508056
80518057 /* keep last */
80528058 __NL80211_MBSSID_CONFIG_ATTR_LAST,