History

cfg80211: allow advertising vendor-specific capabilities

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.

Johannes Berg committed 5 years ago

Commit f4f86501 parent 1b7b3ac3 files · +15 −0Browse files

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

Unified · Split

include/uapi/linux/nl80211.h+3−0
@@ -3654,6 +3654,8 @@ enum nl80211_mpath_info { · 3653 unmodified lines
36543654 * defined
36553655 * @NL80211_BAND_IFTYPE_ATTR_HE_6GHZ_CAPA: HE 6GHz band capabilities (__le16),
36563656 * 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)
36573659 * @__NL80211_BAND_IFTYPE_ATTR_AFTER_LAST: internal use
36583660 */
36593661 enum nl80211_band_iftype_attr {
@@ -3665,6 +3667,7 @@ enum nl80211_band_iftype_attr { · 5 unmodified lines
36653667 NL80211_BAND_IFTYPE_ATTR_HE_CAP_MCS_SET,
36663668 NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE,
36673669 NL80211_BAND_IFTYPE_ATTR_HE_6GHZ_CAPA,
3670+ NL80211_BAND_IFTYPE_ATTR_VENDOR_ELEMS,
36683671
36693672 /* keep last */
36703673 __NL80211_BAND_IFTYPE_ATTR_AFTER_LAST,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t