projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c118c1
)
ieee802154: add IEEE802154_EXTENDED_ADDR_LEN
author
Alexander Aring
<alex.aring@gmail.com>
Wed, 5 Nov 2014 19:51:21 +0000
(20:51 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 5 Nov 2014 20:53:04 +0000
(21:53 +0100)
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>
include/linux/ieee802154.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/ieee802154.h
b/include/linux/ieee802154.h
index 4c032863cd714bf4498118d42203c27e863c8b34..a907fe59b1d12f6712a51b2f96e9eab1bc67919f 100644
(file)
--- 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 */