For UHR, multi-link power-management capability lives there, and so it's needed that hostapd knows what to advertise, and clients should have it shown to userspace for information. Repurpose the existing NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS by renaming it to NL80211_ATTR_EXT_MLD_CAPA_AND_OPS (with a define for compatibility) and advertise the capabilities. We can also later use the value, if needed, to set per-station capabilities on STAs added to AP interfaces.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -3004,11 +3004,13 @@ enum nl80211_commands { · 3003 unmodified lines | |||
| 3004 | * @NL80211_ATTR_EPCS: Flag attribute indicating that EPCS is enabled for a | 3004 | * @NL80211_ATTR_EPCS: Flag attribute indicating that EPCS is enabled for a |
| 3005 | * station interface. | 3005 | * station interface. |
| 3006 | * | 3006 | * |
| 3007 | * @NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS: Extended MLD capabilities and | 3007 | * @NL80211_ATTR_EXT_MLD_CAPA_AND_OPS: Extended MLD capabilities and operations. |
| 3008 | * operations that userspace implements to use during association/ML | 3008 | * For association and link reconfiguration, indicates extra capabilities |
| 3009 | * link reconfig, currently only "BTM MLD Recommendation For Multiple | 3009 | * that userspace implements, currently only "BTM MLD Recommendation For |
| 3010 | * APs Support". Drivers may set additional flags that they support | 3010 | * Multiple APs Support". |
| 3011 | * in the kernel or device. | 3011 | * For wiphy information, additional flags that drivers will set, but |
| 3012 | * this is informational only for userspace (it's not expected to set | ||
| 3013 | * these.) | ||
| 3012 | * | 3014 | * |
| 3013 | * @NL80211_ATTR_WIPHY_RADIO_INDEX: (int) Integer attribute denoting the index | 3015 | * @NL80211_ATTR_WIPHY_RADIO_INDEX: (int) Integer attribute denoting the index |
| 3014 | * of the radio in interest. Internally a value of -1 is used to | 3016 | * of the radio in interest. Internally a value of -1 is used to |
| @@ -3715,7 +3717,7 @@ enum nl80211_attrs { · 700 unmodified lines | |||
| 3715 | NL80211_ATTR_MLO_RECONF_REM_LINKS, | 3717 | NL80211_ATTR_MLO_RECONF_REM_LINKS, |
| 3716 | NL80211_ATTR_EPCS, | 3718 | NL80211_ATTR_EPCS, |
| 3717 | 3719 | ||
| 3718 | NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS, | 3720 | NL80211_ATTR_EXT_MLD_CAPA_AND_OPS, |
| 3719 | 3721 | ||
| 3720 | NL80211_ATTR_WIPHY_RADIO_INDEX, | 3722 | NL80211_ATTR_WIPHY_RADIO_INDEX, |
| 3721 | 3723 | ||
| @@ -3769,6 +3771,7 @@ enum nl80211_attrs { · 47 unmodified lines | |||
| 3769 | #define NL80211_ATTR_SAE_DATA NL80211_ATTR_AUTH_DATA | 3771 | #define NL80211_ATTR_SAE_DATA NL80211_ATTR_AUTH_DATA |
| 3770 | #define NL80211_ATTR_CSA_C_OFF_BEACON NL80211_ATTR_CNTDWN_OFFS_BEACON | 3772 | #define NL80211_ATTR_CSA_C_OFF_BEACON NL80211_ATTR_CNTDWN_OFFS_BEACON |
| 3771 | #define NL80211_ATTR_CSA_C_OFF_PRESP NL80211_ATTR_CNTDWN_OFFS_PRESP | 3773 | #define NL80211_ATTR_CSA_C_OFF_PRESP NL80211_ATTR_CNTDWN_OFFS_PRESP |
| 3774 | #define NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS NL80211_ATTR_EXT_MLD_CAPA_AND_OPS | ||
| 3772 | 3775 | ||
| 3773 | /* | 3776 | /* |
| 3774 | * Allow user space programs to use #ifdef on new attributes by defining them | 3777 | * Allow user space programs to use #ifdef on new attributes by defining them |