diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-12-18 14:43:31 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-12-19 13:40:31 +0100 |
commit | 567ffc3509b2d3f965a49a18631d3da7f9a96d4f (patch) | |
tree | 844230d68e94ef86fb8958ed89676ff9349b11d0 /include/uapi | |
parent | mac80211: add helper functions for tracking P2P NoA state (diff) | |
download | linux-567ffc3509b2d3f965a49a18631d3da7f9a96d4f.tar.xz linux-567ffc3509b2d3f965a49a18631d3da7f9a96d4f.zip |
nl80211: support vendor-specific events
In addition to vendor-specific commands, also support vendor-specific
events. These must be registered with cfg80211 before they can be used.
They're also advertised in nl80211 in the wiphy information so that
userspace knows can be expected. The events themselves are sent on a
new multicast group called "vendor".
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/nl80211.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h index e1307909ecf1..381184eb6c96 100644 --- a/include/uapi/linux/nl80211.h +++ b/include/uapi/linux/nl80211.h @@ -1540,6 +1540,8 @@ enum nl80211_commands { * @NL80211_ATTR_VENDOR_SUBCMD: vendor sub-command * @NL80211_ATTR_VENDOR_DATA: data for the vendor command, if any; this * attribute is also used for vendor command feature advertisement + * @NL80211_ATTR_VENDOR_EVENTS: used for event list advertising in the wiphy + * info, containing a nested array of possible events * * @NL80211_ATTR_MAX: highest attribute number currently defined * @__NL80211_ATTR_AFTER_LAST: internal use @@ -1865,6 +1867,7 @@ enum nl80211_attrs { NL80211_ATTR_VENDOR_ID, NL80211_ATTR_VENDOR_SUBCMD, NL80211_ATTR_VENDOR_DATA, + NL80211_ATTR_VENDOR_EVENTS, /* add attributes here, update the policy in nl80211.c */ |