netopt: provide option to (de-)activate 6Lo

This commit is contained in:
Martine Lenders 2018-12-27 20:29:13 +01:00
parent def3aa9b65
commit 59366022ca
2 changed files with 8 additions and 0 deletions

View File

@ -519,6 +519,13 @@ typedef enum {
*/
NETOPT_IQ_INVERT,
/**
* @brief (@ref netopt_enable_t) 6Lo support
*
* @see [RFC 4944](https://tools.ietf.org/html/rfc4944)
*/
NETOPT_6LO,
/**
* @brief (@ref netopt_enable_t) header compression
*

View File

@ -88,6 +88,7 @@ static const char *_netopt_strmap[] = {
[NETOPT_FIXED_HEADER] = "NETOPT_FIXED_HEADER",
[NETOPT_IQ_INVERT] = "NETOPT_IQ_INVERT",
[NETOPT_TX_RETRIES_NEEDED] = "NETOPT_TX_RETRIES_NEEDED",
[NETOPT_6LO] = "NETOPT_6LO",
[NETOPT_6LO_IPHC] = "NETOPT_6LO_IPHC",
[NETOPT_BLE_CTX] = "NETOPT_BLE_CTX",
[NETOPT_CHECKSUM] = "NETOPT_CHECKSUM",