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
8036 * Setting this flag is permitted only if the driver advertises EMA support8036 * Setting this flag is permitted only if the driver advertises EMA support
8037 * by setting wiphy->ema_max_profile_periodicity to non-zero.8037 * by setting wiphy->ema_max_profile_periodicity to non-zero.
8038 *8038 *
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 *
8039 * @__NL80211_MBSSID_CONFIG_ATTR_LAST: Internal8044 * @__NL80211_MBSSID_CONFIG_ATTR_LAST: Internal
8040 * @NL80211_MBSSID_CONFIG_ATTR_MAX: highest attribute8045 * @NL80211_MBSSID_CONFIG_ATTR_MAX: highest attribute
8041 */8046 */
@@ -8047,6 +8052,7 @@ enum nl80211_mbssid_config_attributes { · 5 unmodified lines
8047 NL80211_MBSSID_CONFIG_ATTR_INDEX,8052 NL80211_MBSSID_CONFIG_ATTR_INDEX,
8048 NL80211_MBSSID_CONFIG_ATTR_TX_IFINDEX,8053 NL80211_MBSSID_CONFIG_ATTR_TX_IFINDEX,
8049 NL80211_MBSSID_CONFIG_ATTR_EMA,8054 NL80211_MBSSID_CONFIG_ATTR_EMA,
8055 NL80211_MBSSID_CONFIG_ATTR_TX_LINK_ID,
8050 8056
8051 /* keep last */8057 /* keep last */
8052 __NL80211_MBSSID_CONFIG_ATTR_LAST,8058 __NL80211_MBSSID_CONFIG_ATTR_LAST,