summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-12-18 14:43:31 +0100
committerJohannes Berg <johannes.berg@intel.com>2013-12-19 13:40:31 +0100
commit567ffc3509b2d3f965a49a18631d3da7f9a96d4f (patch)
tree844230d68e94ef86fb8958ed89676ff9349b11d0 /include/uapi
parenta7022e65c68ad89d6eb64f21aa4831c3822403d4 (diff)
downloadop-kernel-dev-567ffc3509b2d3f965a49a18631d3da7f9a96d4f.zip
op-kernel-dev-567ffc3509b2d3f965a49a18631d3da7f9a96d4f.tar.gz
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index e130790..381184e 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 */
OpenPOWER on IntegriCloud