There may be cases where vendor-specific elements need to be used over the air. Rather than have driver or firmware add them and possibly cause problems that way, add them to the iftype-data band capabilities. This way we can advertise to userspace first, and use them in mac80211 next.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -3654,6 +3654,8 @@ enum nl80211_mpath_info { · 3653 unmodified lines | |||
| 3654 | * defined | 3654 | * defined |
| 3655 | * @NL80211_BAND_IFTYPE_ATTR_HE_6GHZ_CAPA: HE 6GHz band capabilities (__le16), | 3655 | * @NL80211_BAND_IFTYPE_ATTR_HE_6GHZ_CAPA: HE 6GHz band capabilities (__le16), |
| 3656 | * given for all 6 GHz band channels | 3656 | * given for all 6 GHz band channels |
| 3657 | * @NL80211_BAND_IFTYPE_ATTR_VENDOR_ELEMS: vendor element capabilities that are | ||
| 3658 | * advertised on this band/for this iftype (binary) | ||
| 3657 | * @__NL80211_BAND_IFTYPE_ATTR_AFTER_LAST: internal use | 3659 | * @__NL80211_BAND_IFTYPE_ATTR_AFTER_LAST: internal use |
| 3658 | */ | 3660 | */ |
| 3659 | enum nl80211_band_iftype_attr { | 3661 | enum nl80211_band_iftype_attr { |
| @@ -3665,6 +3667,7 @@ enum nl80211_band_iftype_attr { · 5 unmodified lines | |||
| 3665 | NL80211_BAND_IFTYPE_ATTR_HE_CAP_MCS_SET, | 3667 | NL80211_BAND_IFTYPE_ATTR_HE_CAP_MCS_SET, |
| 3666 | NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE, | 3668 | NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE, |
| 3667 | NL80211_BAND_IFTYPE_ATTR_HE_6GHZ_CAPA, | 3669 | NL80211_BAND_IFTYPE_ATTR_HE_6GHZ_CAPA, |
| 3670 | NL80211_BAND_IFTYPE_ATTR_VENDOR_ELEMS, | ||
| 3668 | 3671 | ||
| 3669 | /* keep last */ | 3672 | /* keep last */ |
| 3670 | __NL80211_BAND_IFTYPE_ATTR_AFTER_LAST, | 3673 | __NL80211_BAND_IFTYPE_ATTR_AFTER_LAST, |