TSCH: reset now also flushes all queues and resets backoff exponents

This commit is contained in:
Simon Duquennoy 2016-03-15 16:10:01 +01:00
parent 4b4ea36e9b
commit 3057cb3363
3 changed files with 9 additions and 5 deletions

View file

@ -166,8 +166,8 @@ int tsch_queue_packet_count(const linkaddr_t *addr);
struct tsch_packet *tsch_queue_remove_packet_from_queue(struct tsch_neighbor *n);
/* Free a packet */
void tsch_queue_free_packet(struct tsch_packet *p);
/* Flush all neighbor queues */
void tsch_queue_flush_all(void);
/* Reset neighbor queues */
void tsch_queue_reset(void);
/* Deallocate neighbors with empty queue */
void tsch_queue_free_unused_neighbors(void);
/* Is the neighbor queue empty? */