Linux IEEE 802.15.4 and 6LoWPAN development
 help / color / mirror / Atom feed
From: Stefan Schmidt <stefan@osg.samsung.com>
To: linux-wpan@vger.kernel.org
Cc: Alexander Aring <alex.aring@gmail.com>,
	Stefan Schmidt <stefan@osg.samsung.com>
Subject: [PATCH wpan-tools 1/3] wpan-ping: adjust maximal packet length for extended addresses
Date: Thu, 18 Jun 2015 10:37:34 +0200	[thread overview]
Message-ID: <1434616656-16209-1-git-send-email-stefan@osg.samsung.com> (raw)

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


             reply	other threads:[~2015-06-18  8:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-18  8:37 Stefan Schmidt [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1434616656-16209-1-git-send-email-stefan@osg.samsung.com \
    --to=stefan@osg.samsung.com \
    --cc=alex.aring@gmail.com \
    --cc=linux-wpan@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox