NcpBase: Add support for Blacklist (#1871)

This commit defines new spinel properties related to blacklist. It
also adds implementation of get/set/insert/remove handlers for the
new properties. The spinel draft documentation is also updated.
This commit is contained in:
Abtin Keshavarzian
2017-06-05 12:32:27 -07:00
committed by Jonathan Hui
parent 6d470c2fb1
commit 2debb19046
5 changed files with 267 additions and 8 deletions
+16 -1
View File
@@ -125,7 +125,7 @@ per scanned channel with following format:
### PROP 4864: PROP_MAC_WHITELIST {#prop-mac-whitelist}
* Type: Read-Write
* Packed-Encoding: `A(T(Ec))`
* **OPTIONAL**
* Required capability: `CAP_MAC_WHITELIST`
Structure Parameters:
@@ -139,6 +139,7 @@ Structure Parameters:
### PROP 4865: PROP_MAC_WHITELIST_ENABLED {#prop-mac-whitelist-enabled}
* Type: Read-Write
* Packed-Encoding: `b`
* Required capability: `CAP_MAC_WHITELIST`
### PROP 4867: SPINEL_PROP_MAC_SRC_MATCH_ENABLED {#prop-mac-src-match-enabled}
* Type: Write
@@ -171,3 +172,17 @@ Structure Parameters:
* `E`: EUI64 address for hardware generated ACKs
### PROP 4870: PROP_MAC_BLACKLIST {#prop-mac-blacklist}
* Type: Read-Write
* Packed-Encoding: `A(T(E))`
* Required capability: `CAP_MAC_WHITELIST`
Structure Parameters:
* `E`: EUI64 address of node
### PROP 4871: PROP_MAC_BLACKLIST_ENABLED {#prop-mac-blacklist-enabled}
* Type: Read-Write
* Packed-Encoding: `b`
* Required capability: `CAP_MAC_WHITELIST`