Add new mac counter mTxErrAbort to track number of tx abort failures. (#1241)

- Defines a new mac counter to track number of frame transmission
  failures due to abort error `kThreadError_Abort`.

- Adds a corresponding spinel property `CNTR_TX_ERR_ABORT` and its
  get handler.
This commit is contained in:
Abtin Keshavarzian
2017-02-01 11:26:03 -08:00
committed by Jonathan Hui
parent f000137674
commit 6558087d70
4 changed files with 14 additions and 0 deletions
+1
View File
@@ -855,6 +855,7 @@ typedef struct otMacCounters
uint32_t mTxOther; ///< The number of transmitted other types of frames.
uint32_t mTxRetry; ///< The number of retransmission times.
uint32_t mTxErrCca; ///< The number of CCA failure times.
uint32_t mTxErrAbort; ///< The number of frame transmission failures due to abort error.
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.