TSCH: add option to not to turn off radio during active TSCH timeslots

This commit is contained in:
Atis Elsts 2016-04-25 17:40:36 +03:00
parent 723c7e1117
commit 45510f57fa
2 changed files with 125 additions and 34 deletions

View file

@ -184,4 +184,11 @@
#define TSCH_HW_FRAME_FILTERING 1
#endif /* TSCH_CONF_HW_FRAME_FILTERING */
/* Keep radio always on within TSCH timeslot (1) or turn it off between packet and ACK? (0) */
#ifdef TSCH_CONF_RADIO_ON_DURING_TIMESLOT
#define TSCH_RADIO_ON_DURING_TIMESLOT TSCH_CONF_RADIO_ON_DURING_TIMESLOT
#else
#define TSCH_RADIO_ON_DURING_TIMESLOT 0
#endif
#endif /* __TSCH_CONF_H__ */