[ncp] add new spinel property SPINEL_PROP_MAC_CCA_FAILURE_RATE (#2500)

This commit adds new spinel property corresponding to the MAC CCA
failure rate, and its get handler in `NcpBase`.
This commit is contained in:
Abtin Keshavarzian
2018-01-23 17:10:13 +00:00
committed by Jonathan Hui
parent 39af476d70
commit 171c951eaf
6 changed files with 28 additions and 1 deletions
@@ -202,3 +202,9 @@ Structure Parameters:
* Packed-Encoding: `b`
* Required capability: `CAP_MAC_WHITELIST`
### PROP 4873: PROP_MAC_CCA_FAILURE_RATE {#prop-mac-cca-failure-rate}
* Type: Read Only
* Packed-Encoding: `S`
This property provides the current CCA (Clear Channel Assessment) failure rate.
Maximum value `0xffff` corresponding to 100% failure rate.