summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-11-05 20:51:21 +0100
committerMarcel Holtmann <marcel@holtmann.org>2014-11-05 21:53:04 +0100
commit1906bbbddbe085b19be2c21cd132335260f551c3 (patch)
tree68ee9f7ad0181926b3733dae56ae2e2682ce86f4 /include
parent7c118c1a866454cf2091fd84404d0915a27b0eef (diff)
downloadlinux-1906bbbddbe085b19be2c21cd132335260f551c3.tar.gz
linux-1906bbbddbe085b19be2c21cd132335260f551c3.tar.bz2
linux-1906bbbddbe085b19be2c21cd132335260f551c3.zip
ieee802154: add IEEE802154_EXTENDED_ADDR_LEN
This patch adds a new define for getting the length of an extended address. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ieee802154.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ieee802154.h b/include/linux/ieee802154.h
index 4c032863cd71..a907fe59b1d1 100644
--- a/include/linux/ieee802154.h
+++ b/include/linux/ieee802154.h
@@ -29,6 +29,8 @@
#define IEEE802154_MTU 127
#define IEEE802154_MIN_PSDU_LEN 5
+#define IEEE802154_EXTENDED_ADDR_LEN 8
+
#define IEEE802154_FC_TYPE_BEACON 0x0 /* Frame is beacon */
#define IEEE802154_FC_TYPE_DATA 0x1 /* Frame is data */
#define IEEE802154_FC_TYPE_ACK 0x2 /* Frame is acknowledgment */