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@xxxxxxxxxxxxxxx> --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html