Made the number of MAC sequence numbers to remember configurable
This commit is contained in:
parent
5cb49e8b07
commit
24af4888bc
1 changed files with 6 additions and 1 deletions
|
@ -72,7 +72,12 @@ struct seqno {
|
|||
uint8_t seqno;
|
||||
};
|
||||
|
||||
#define MAX_SEQNOS 8
|
||||
#ifdef NETSTACK_CONF_MAC_SEQNO_HISTORY
|
||||
#define MAX_SEQNOS NETSTACK_CONF_MAC_SEQNO_HISTORY
|
||||
#else /* NETSTACK_CONF_MAC_SEQNO_HISTORY */
|
||||
#define MAX_SEQNOS 16
|
||||
#endif /* NETSTACK_CONF_MAC_SEQNO_HISTORY */
|
||||
|
||||
static struct seqno received_seqnos[MAX_SEQNOS];
|
||||
#endif /* NULLRDC_802154_AUTOACK */
|
||||
|
||||
|
|
Loading…
Reference in a new issue