summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-12-23 17:17:38 +0100
committerJohannes Berg <johannes.berg@intel.com>2015-01-06 12:10:26 +0100
commit71b836eca7f380fbd4c025f8c4371f9a071bc909 (patch)
tree12ee7a52d3aa9363219bf59c61ea492b6e8f6959 /include/uapi
parentd75bb06b61cb69ee6223d791d3bb230e68623b20 (diff)
downloadop-kernel-dev-71b836eca7f380fbd4c025f8c4371f9a071bc909.zip
op-kernel-dev-71b836eca7f380fbd4c025f8c4371f9a071bc909.tar.gz
nl80211: define multicast group names in header
Put the group names into the userspace API header file so that userspace clients can use symbolic names from there instead of hardcoding the actual names. This doesn't really change much, but seems somewhat cleaner. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/nl80211.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index f95d354..7ba9404 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -29,6 +29,13 @@
#define NL80211_GENL_NAME "nl80211"
+#define NL80211_MULTICAST_GROUP_CONFIG "config"
+#define NL80211_MULTICAST_GROUP_SCAN "scan"
+#define NL80211_MULTICAST_GROUP_REG "regulatory"
+#define NL80211_MULTICAST_GROUP_MLME "mlme"
+#define NL80211_MULTICAST_GROUP_VENDOR "vendor"
+#define NL80211_MULTICAST_GROUP_TESTMODE "testmode"
+
/**
* DOC: Station handling
*
OpenPOWER on IntegriCloud