packet_queue: allow max. 15 packets to be queue (transmit window)

16 is not allowed because it leads to an overflow in sequence numbers, making
them ambiguous.
This commit is contained in:
Thomas Kolb 2024-08-09 22:22:01 +02:00
parent 6d9068f63d
commit 325abdbd02

View file

@ -3,7 +3,7 @@
#include "packet_structs.h"
#define PACKET_QUEUE_SIZE 16
#define PACKET_QUEUE_SIZE 15
typedef struct packet_queue_entry_s {
layer2_packet_header_t header;