aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/nl802154.h
diff options
context:
space:
mode:
authorVarka Bhadram <varkabhadram@gmail.com>2015-06-04 13:07:36 +0530
committerMarcel Holtmann <marcel@holtmann.org>2015-06-04 12:27:15 +0200
commit133be0264f28e59d772c6a259349ba3ee2b183b3 (patch)
tree178bb448c1bd95504615cf0a6cd44904bb4ef398 /include/net/nl802154.h
parentieee802154: Fix sockaddr_ieee802154 implicit padding information leak. (diff)
downloadwireguard-linux-133be0264f28e59d772c6a259349ba3ee2b183b3.tar.xz
wireguard-linux-133be0264f28e59d772c6a259349ba3ee2b183b3.zip
nl802154: export supported commands
This patch will export the supported commands by the devices to the userspace. This will be useful to check if HardMAC drivers can support a specific command or not. Signed-off-by: Varka Bhadram <varkab@cdac.in> Acked-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/nl802154.h')
-rw-r--r--include/net/nl802154.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/nl802154.h b/include/net/nl802154.h
index 0badebd1de7f..6fc231e60920 100644
--- a/include/net/nl802154.h
+++ b/include/net/nl802154.h
@@ -102,6 +102,8 @@ enum nl802154_attrs {
NL802154_ATTR_WPAN_PHY_CAPS,
+ NL802154_ATTR_SUPPORTED_COMMANDS,
+
/* add attributes here, update the policy in nl802154.c */
__NL802154_ATTR_AFTER_LAST,