[mesh-forwarder] verify data request is ack with fp=1 (#3785)

This commit is contained in:
Yakun Xu
2019-04-30 18:37:48 -07:00
committed by Jonathan Hui
parent d348ce2bbc
commit 617f8958dd
24 changed files with 92 additions and 16 deletions
+10 -8
View File
@@ -202,8 +202,12 @@ typedef struct otRadioFrame
*/
struct
{
int8_t mRssi; ///< Received signal strength indicator in dBm for received frames.
uint8_t mLqi; ///< Link Quality Indicator for received frames.
/**
* The timestamp when the frame was received (milliseconds).
* Applicable/Required only when raw-link-api feature (`OPENTHREAD_ENABLE_RAW_LINK_API`) is enabled.
*
*/
uint32_t mMsec;
/**
* The timestamp when the frame was received (microseconds, the offset to mMsec).
@@ -211,13 +215,11 @@ typedef struct otRadioFrame
*
*/
uint16_t mUsec;
int8_t mRssi; ///< Received signal strength indicator in dBm for received frames.
uint8_t mLqi; ///< Link Quality Indicator for received frames.
/**
* The timestamp when the frame was received (milliseconds).
* Applicable/Required only when raw-link-api feature (`OPENTHREAD_ENABLE_RAW_LINK_API`) is enabled.
*
*/
uint32_t mMsec;
// Flags
bool mAckedWithFramePending : 1; /// This indicates if this frame was acknowledged with frame pending set.
} mRxInfo;
} mInfo;
} otRadioFrame;