mirror of
https://github.com/espressif/openthread.git
synced 2026-08-06 02:37:47 +00:00
Add separate counters for unicast and broadcast (#994)
* Added tx counts for unicast vs broadcast packets * Added counters for Rx broadcast vs unicast packets
This commit is contained in:
@@ -832,6 +832,8 @@ typedef struct otLeaderData
|
||||
typedef struct otMacCounters
|
||||
{
|
||||
uint32_t mTxTotal; ///< The total number of transmissions.
|
||||
uint32_t mTxUnicast; ///< The total number of unicast transmissions.
|
||||
uint32_t mTxBroadcast; ///< The total number of broadcast transmissions.
|
||||
uint32_t mTxAckRequested; ///< The number of transmissions with ack request.
|
||||
uint32_t mTxAcked; ///< The number of transmissions that were acked.
|
||||
uint32_t mTxNoAckRequested; ///< The number of transmissions without ack request.
|
||||
@@ -843,6 +845,8 @@ typedef struct otMacCounters
|
||||
uint32_t mTxRetry; ///< The number of retransmission times.
|
||||
uint32_t mTxErrCca; ///< The number of CCA failure times.
|
||||
uint32_t mRxTotal; ///< The total number of received packets.
|
||||
uint32_t mRxUnicast; ///< The total number of unicast packets received.
|
||||
uint32_t mRxBroadcast; ///< The total number of broadcast packets received.
|
||||
uint32_t mRxData; ///< The number of received data.
|
||||
uint32_t mRxDataPoll; ///< The number of received data poll.
|
||||
uint32_t mRxBeacon; ///< The number of received beacon.
|
||||
|
||||
Reference in New Issue
Block a user