TSCH: keep track of Rx channel as packetbuf attribute
This commit is contained in:
parent
a8989f9f1c
commit
1acb69e280
3 changed files with 7 additions and 2 deletions
|
@ -361,6 +361,7 @@ tsch_rx_process_pending()
|
|||
/* Copy to packetbuf for processing */
|
||||
packetbuf_copyfrom(current_input->payload, current_input->len);
|
||||
packetbuf_set_attr(PACKETBUF_ATTR_RSSI, current_input->rssi);
|
||||
packetbuf_set_attr(PACKETBUF_ATTR_CHANNEL, current_input->channel);
|
||||
}
|
||||
|
||||
/* Remove input from ringbuf */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue