Use 802.15.4 frames v2 by default only for TSCH, else fall back to v1
This commit is contained in:
parent
df01ebc219
commit
48997bb3ad
@ -77,7 +77,13 @@
|
|||||||
#ifdef FRAME802154_CONF_VERSION
|
#ifdef FRAME802154_CONF_VERSION
|
||||||
#define FRAME802154_VERSION FRAME802154_CONF_VERSION
|
#define FRAME802154_VERSION FRAME802154_CONF_VERSION
|
||||||
#else /* FRAME802154_CONF_VERSION */
|
#else /* FRAME802154_CONF_VERSION */
|
||||||
|
/* Use frame v2 if TSCH is used, otherwise stick to v1 (more
|
||||||
|
frame-fileting-friendly on some platforms) */
|
||||||
|
#if MAC_CONF_WITH_TSCH
|
||||||
#define FRAME802154_VERSION FRAME802154_IEEE802154_2015
|
#define FRAME802154_VERSION FRAME802154_IEEE802154_2015
|
||||||
|
#else /* MAC_CONF_WITH_TSCH */
|
||||||
|
#define FRAME802154_VERSION FRAME802154_IEEE802154_2006
|
||||||
|
#endif /* MAC_CONF_WITH_TSCH */
|
||||||
#endif /* FRAME802154_CONF_VERSION */
|
#endif /* FRAME802154_CONF_VERSION */
|
||||||
|
|
||||||
#ifdef FRAME802154_CONF_SUPPR_SEQNO
|
#ifdef FRAME802154_CONF_SUPPR_SEQNO
|
||||||
|
Loading…
Reference in New Issue
Block a user