net: openthread: Set information about ACK FPB on receive
Set information about Frame Pending Bit from the ACK response in the frame passed to OpenThread. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
parent
c39d0b6914
commit
6afdd613d1
1 changed files with 2 additions and 0 deletions
|
@ -281,6 +281,8 @@ static void openthread_handle_received_frame(otInstance *instance,
|
|||
recv_frame.mChannel = platformRadioChannelGet(instance);
|
||||
recv_frame.mInfo.mRxInfo.mLqi = net_pkt_ieee802154_lqi(pkt);
|
||||
recv_frame.mInfo.mRxInfo.mRssi = net_pkt_ieee802154_rssi(pkt);
|
||||
recv_frame.mInfo.mRxInfo.mAckedWithFramePending =
|
||||
net_pkt_ieee802154_ack_fpb(pkt);
|
||||
|
||||
#if defined(CONFIG_NET_PKT_TIMESTAMP)
|
||||
struct net_ptp_time *time = net_pkt_timestamp(pkt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue