From 37a03a15c7c68b9c533eedc432437e0d8fe30e30 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Sun, 16 Aug 2020 13:05:53 -0500 Subject: [PATCH] Reduced default I frame body to 127 bytes Reduced default I frame info field to 127 bytes so as to hopefully better coincide with common TNC firmware; it is suspected (but not confirmed that they do include the protocol identifier as part of the info field length --- include/patty/ax25/sock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/patty/ax25/sock.h b/include/patty/ax25/sock.h index 6a44f50..965d1bb 100644 --- a/include/patty/ax25/sock.h +++ b/include/patty/ax25/sock.h @@ -17,7 +17,7 @@ | PATTY_AX25_PARAM_HDLC_XADDR | PATTY_AX25_PARAM_HDLC_MODULO_8 \ | PATTY_AX25_PARAM_HDLC_TEST | PATTY_AX25_PARAM_HDLC_SYNC_TX) -#define PATTY_AX25_SOCK_DEFAULT_I_LEN 128 +#define PATTY_AX25_SOCK_DEFAULT_I_LEN 127 /* I field total, minus proto */ #define PATTY_AX25_SOCK_DEFAULT_WINDOW 4 #define PATTY_AX25_SOCK_DEFAULT_RETRY 10 #define PATTY_AX25_SOCK_DEFAULT_ACK 3000