Linux IEEE 802.15.4 and 6LoWPAN development
 help / color / mirror / Atom feed
* [PATCH wpan-tools 1/3] wpan-ping: adjust maximal packet length for extended addresses
@ 2015-06-18  8:37 Stefan Schmidt
  2015-06-18  8:37 ` [PATCH wpan-tools 2/3] wpan-ping: allow usage of extended addressing scheme Stefan Schmidt
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stefan Schmidt @ 2015-06-18  8:37 UTC (permalink / raw)
  To: linux-wpan; +Cc: Alexander Aring, Stefan Schmidt

This value is to static right now but does its job. It needs to get
more flexible based on various things like addressing scheme and link
layer crypto in the future.

Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
---
 wpan-ping/wpan-ping.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wpan-ping/wpan-ping.c b/wpan-ping/wpan-ping.c
index 0d9da44..d4d0002 100644
--- a/wpan-ping/wpan-ping.c
+++ b/wpan-ping/wpan-ping.c
@@ -43,7 +43,7 @@
 #include "../src/nl802154.h"
 
 #define MIN_PAYLOAD_LEN 5
-#define MAX_PAYLOAD_LEN 116
+#define MAX_PAYLOAD_LEN 105 //116 with short address
 #define IEEE802154_ADDR_LEN 8
 /* Set the dispatch header to not 6lowpan for compat */
 #define NOT_A_6LOWPAN_FRAME 0x00
-- 
2.4.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-19  7:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-18  8:37 [PATCH wpan-tools 1/3] wpan-ping: adjust maximal packet length for extended addresses Stefan Schmidt
2015-06-18  8:37 ` [PATCH wpan-tools 2/3] wpan-ping: allow usage of extended addressing scheme Stefan Schmidt
2015-06-18  8:37 ` [PATCH wpan-tools 3/3] wpan-ping: switch server indicator variable to bool Stefan Schmidt
2015-06-19  7:50 ` [PATCH wpan-tools 1/3] wpan-ping: adjust maximal packet length for extended addresses Alexander Aring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox