aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-12-18 08:43:31 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-12-19 07:40:31 -0500
commit567ffc3509b2d3f965a49a18631d3da7f9a96d4f (patch)
tree844230d68e94ef86fb8958ed89676ff9349b11d0 /include/uapi/linux
parenta7022e65c68ad89d6eb64f21aa4831c3822403d4 (diff)
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/linux')
-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 e1307909ecf1..381184eb6c96 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -1540,6 +1540,8 @@ enum nl80211_commands {
1540 * @NL80211_ATTR_VENDOR_SUBCMD: vendor sub-command 1540 * @NL80211_ATTR_VENDOR_SUBCMD: vendor sub-command
1541 * @NL80211_ATTR_VENDOR_DATA: data for the vendor command, if any; this 1541 * @NL80211_ATTR_VENDOR_DATA: data for the vendor command, if any; this
1542 * attribute is also used for vendor command feature advertisement 1542 * attribute is also used for vendor command feature advertisement
1543 * @NL80211_ATTR_VENDOR_EVENTS: used for event list advertising in the wiphy
1544 * info, containing a nested array of possible events
1543 * 1545 *
1544 * @NL80211_ATTR_MAX: highest attribute number currently defined 1546 * @NL80211_ATTR_MAX: highest attribute number currently defined
1545 * @__NL80211_ATTR_AFTER_LAST: internal use 1547 * @__NL80211_ATTR_AFTER_LAST: internal use
@@ -1865,6 +1867,7 @@ enum nl80211_attrs {
1865 NL80211_ATTR_VENDOR_ID, 1867 NL80211_ATTR_VENDOR_ID,
1866 NL80211_ATTR_VENDOR_SUBCMD, 1868 NL80211_ATTR_VENDOR_SUBCMD,
1867 NL80211_ATTR_VENDOR_DATA, 1869 NL80211_ATTR_VENDOR_DATA,
1870 NL80211_ATTR_VENDOR_EVENTS,
1868 1871
1869 /* add attributes here, update the policy in nl80211.c */ 1872 /* add attributes here, update the policy in nl80211.c */
1870 1873