summaryrefslogtreecommitdiff
path: root/include/net/6lowpan.h
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-07-29 23:47:04 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-07-30 19:28:40 +0200
commit004942445da78b6fd250dc933c5d7859fde8fb1f (patch)
tree8da7f7e564af6c1c96fc21aca500a784f930c610 /include/net/6lowpan.h
parentb2e3a479a6ae937b32aa0a8fffc541e4e7778734 (diff)
6lowpan: remove unused LOWPAN_FRAG_SIZE define
This define is unused since commit 96cb3eb7a1a5f0c3598500a2348f7d2cc76afbd2 ("6lowpan: fix fragmentation on sending side"). It is a worst case scenario for payload calculation. Since commit 96cb3eb7a1a5f0c3598500a2348f7d2cc76afbd2 we calculation the payload to use the optimal size. This define is also necessary for ieee802154 6lowpan only and the file include/net/6lowpan.h should contain generic 6lowpan things only. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/6lowpan.h')
-rw-r--r--include/net/6lowpan.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/net/6lowpan.h b/include/net/6lowpan.h
index 18010bce68c8..3bb3503b7ff4 100644
--- a/include/net/6lowpan.h
+++ b/include/net/6lowpan.h
@@ -155,17 +155,6 @@
#define LOWPAN_FRAGN_HEAD_SIZE 0x5
/*
- * According IEEE802.15.4 standard:
- * - MTU is 127 octets
- * - maximum MHR size is 37 octets
- * - MFR size is 2 octets
- *
- * so minimal payload size that we may guarantee is:
- * MTU - MHR - MFR = 88 octets
- */
-#define LOWPAN_FRAG_SIZE 88
-
-/*
* Values of fields within the IPHC encoding first byte
* (C stands for compressed and I for inline)
*/