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
|
@ -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 *****/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue