diff options
author | Varka Bhadram <varkabhadram@gmail.com> | 2015-06-04 09:37:36 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-06-04 12:27:15 +0200 |
commit | 133be0264f28e59d772c6a259349ba3ee2b183b3 (patch) | |
tree | 178bb448c1bd95504615cf0a6cd44904bb4ef398 /include/net | |
parent | ieee802154: Fix sockaddr_ieee802154 implicit padding information leak. (diff) | |
download | linux-133be0264f28e59d772c6a259349ba3ee2b183b3.tar.xz 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')
-rw-r--r-- | include/net/nl802154.h | 2 |
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, |