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>
This commit is contained in:
parent
d75bb06b61
commit
71b836eca7
2 changed files with 13 additions and 6 deletions
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue