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:
parent
6d9068f63d
commit
325abdbd02
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue