TSCH: keep track of Rx channel as packetbuf attribute

This commit is contained in:
Simon Duquennoy 2016-06-23 18:35:16 +02:00
parent a8989f9f1c
commit 1acb69e280
3 changed files with 7 additions and 2 deletions

View file

@ -89,7 +89,8 @@ struct input_packet {
uint8_t payload[TSCH_PACKET_MAX_LEN]; /* Packet payload */
struct asn_t rx_asn; /* ASN when the packet was received */
int len; /* Packet len */
uint16_t rssi; /* RSSI for this packet */
int16_t rssi; /* RSSI for this packet */
uint8_t channel; /* Channel we received the packet on */
};
/***** External Variables *****/