Loading...
Searching...
No Matches

Configuration macros for 6LoWPAN. More...

Detailed Description

Configuration macros for 6LoWPAN.

Author
Martine Lenders m.len.nosp@m.ders.nosp@m.@fu-b.nosp@m.erli.nosp@m.n.de

Definition in file config.h.

#include "modules.h"
#include "timex.h"
+ Include dependency graph for config.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GNRC_SIXLOWPAN_STACK_SIZE   ((THREAD_STACKSIZE_DEFAULT) - 64)
 Default stack size to use for the 6LoWPAN thread.
 
#define GNRC_SIXLOWPAN_PRIO   (THREAD_PRIORITY_MAIN - 4)
 Default priority for the 6LoWPAN thread.
 
#define CONFIG_GNRC_SIXLOWPAN_MSG_QUEUE_SIZE_EXP   (3U)
 Default message queue size to use for the 6LoWPAN thread (as exponent of 2^n).
 
#define CONFIG_GNRC_SIXLOWPAN_FRAG_FB_SIZE   (1U)
 Number of datagrams that can be fragmented simultaneously.
 
#define CONFIG_GNRC_SIXLOWPAN_FRAG_RBUF_SIZE   (4U)
 Size of the reassembly buffer.
 
#define CONFIG_GNRC_SIXLOWPAN_FRAG_RBUF_TIMEOUT_US   (3U * US_PER_SEC)
 Timeout for reassembly buffer entries in microseconds.
 
#define CONFIG_GNRC_SIXLOWPAN_FRAG_RBUF_DO_NOT_OVERRIDE
 Do not override oldest datagram when reassembly buffer is full.
 
#define CONFIG_GNRC_SIXLOWPAN_FRAG_RBUF_DEL_TIMER   (0U)
 Deletion timer for reassembly buffer entries in microseconds.
 
#define CONFIG_GNRC_SIXLOWPAN_ND_AR_LTIME   (15U)
 Registration lifetime in minutes for the address registration option.
 
#define CONFIG_GNRC_SIXLOWPAN_FRAG_VRB_SIZE   (16U)
 Size of the virtual reassembly buffer.
 
#define CONFIG_GNRC_SIXLOWPAN_FRAG_VRB_TIMEOUT_US   (CONFIG_GNRC_SIXLOWPAN_FRAG_RBUF_TIMEOUT_US)
 Timeout for a VRB entry in microseconds.
 
#define GNRC_SIXLOWPAN_MSG_QUEUE_SIZE   (1 << CONFIG_GNRC_SIXLOWPAN_MSG_QUEUE_SIZE_EXP)
 Message queue size to use for the 6LoWPAN thread.
 

Selective fragment recovery configuration

See also
[RFC 8931, section 7.1] (https://tools.ietf.org/html/rfc8931#section-7.1)
Note
Only applicable with gnrc_sixlowpan_frag_sfr module
#define CONFIG_GNRC_SIXLOWPAN_SFR_MIN_FRAG_SIZE   96U
 Default minimum value for fragment size (MinFragmentSize)
 
#define CONFIG_GNRC_SIXLOWPAN_SFR_MAX_FRAG_SIZE   112U
 Default maximum value for fragment size (MaxFragmentSize)
 
#define CONFIG_GNRC_SIXLOWPAN_SFR_OPT_FRAG_SIZE   CONFIG_GNRC_SIXLOWPAN_SFR_MAX_FRAG_SIZE
 Default value for fragment size that the sender should use to start with (OptFragmentSize)
 
#define CONFIG_GNRC_SIXLOWPAN_SFR_MIN_WIN_SIZE   1U
 Indicates whether the sender should react to Explicit Congestion Notification (UseECN)
 
#define CONFIG_GNRC_SIXLOWPAN_SFR_MAX_WIN_SIZE   16U
 Default maximum value of window size that the sender can use (MaxWindowSize)
 
#define CONFIG_GNRC_SIXLOWPAN_SFR_OPT_WIN_SIZE   16U
 Default value of window size that the sender should start with (OptWindowSize)
 
#define CONFIG_GNRC_SIXLOWPAN_SFR_INTER_FRAME_GAP_US   100U
 Default minimum amount of time between transmissions in microseconds (InterFrameGap)
 
#define CONFIG_GNRC_SIXLOWPAN_SFR_MIN_ARQ_TIMEOUT_MS   350U
 Minimum RFRAG-ACK timeout in msec before a node takes a next action (MinARQTimeOut)
 
#define CONFIG_GNRC_SIXLOWPAN_SFR_MAX_ARQ_TIMEOUT_MS   700U
 Maximum RFRAG-ACK timeout in msec before a node takes a next action (MaxARQTimeOut)
 
#define CONFIG_GNRC_SIXLOWPAN_SFR_OPT_ARQ_TIMEOUT_MS    CONFIG_GNRC_SIXLOWPAN_SFR_MAX_ARQ_TIMEOUT_MS
 Default RFRAG-ACK timeout in msec before a node takes a next action (OptARQTimeOut)
 
#define CONFIG_GNRC_SIXLOWPAN_SFR_FRAG_RETRIES   2U
 The maximum number of retries for a particular fragment (MaxFragRetries)
 
#define CONFIG_GNRC_SIXLOWPAN_SFR_DG_RETRIES   0U
 The maximum number of retries from scratch for a particular datagram (MaxDatagramRetries)
 
#define CONFIG_GNRC_SIXLOWPAN_SFR_ECN_IF_IN_NUM   1U
 The numerator for the factor for when to mark ECN on incoming netif queue state.
 
#define CONFIG_GNRC_SIXLOWPAN_SFR_ECN_IF_IN_DEN   2U
 The denominator for the factor for when to mark ECN on incoming netif queue state.
 
#define CONFIG_GNRC_SIXLOWPAN_SFR_ECN_IF_OUT_NUM   1U
 The numerator for the factor for when to mark ECN on the outgoing netif's output queue state.
 
#define CONFIG_GNRC_SIXLOWPAN_SFR_ECN_IF_OUT_DEN   2U
 The denominator for the factor for when to mark ECN on the outgoing netif output queue state.
 
#define CONFIG_GNRC_SIXLOWPAN_SFR_ECN_FQUEUE_NUM   1U
 The numerator for the factor for when to mark ECN on frame queue state.
 
#define CONFIG_GNRC_SIXLOWPAN_SFR_ECN_FQUEUE_DEN   2U
 The denominator for the factor for when to mark ECN on frame queue state.
 
#define CONFIG_GNRC_SIXLOWPAN_SFR_MOCK_ARQ_TIMER   0U
 Deactivate automatic handling of ARQ timer.