21#ifndef NET_GNRC_SIXLOWPAN_CONFIG_H
22#define NET_GNRC_SIXLOWPAN_CONFIG_H
38#ifndef GNRC_SIXLOWPAN_STACK_SIZE
39#define GNRC_SIXLOWPAN_STACK_SIZE ((THREAD_STACKSIZE_DEFAULT) - 64)
45#ifndef GNRC_SIXLOWPAN_PRIO
46#define GNRC_SIXLOWPAN_PRIO (THREAD_PRIORITY_MAIN - 4)
56#ifndef CONFIG_GNRC_SIXLOWPAN_MSG_QUEUE_SIZE_EXP
57#define CONFIG_GNRC_SIXLOWPAN_MSG_QUEUE_SIZE_EXP (3U)
69#ifndef CONFIG_GNRC_SIXLOWPAN_FRAG_FB_SIZE
70#if IS_USED(MODULE_GNRC_SIXLOWPAN_FRAG_SFR)
71#define CONFIG_GNRC_SIXLOWPAN_FRAG_FB_SIZE (4U)
73#define CONFIG_GNRC_SIXLOWPAN_FRAG_FB_SIZE (1U)
83#ifndef CONFIG_GNRC_SIXLOWPAN_FRAG_RBUF_SIZE
84#define CONFIG_GNRC_SIXLOWPAN_FRAG_RBUF_SIZE (4U)
93#ifndef CONFIG_GNRC_SIXLOWPAN_FRAG_RBUF_TIMEOUT_US
94#define CONFIG_GNRC_SIXLOWPAN_FRAG_RBUF_TIMEOUT_US (3U * US_PER_SEC)
110#define CONFIG_GNRC_SIXLOWPAN_FRAG_RBUF_DO_NOT_OVERRIDE
124#ifndef CONFIG_GNRC_SIXLOWPAN_FRAG_RBUF_DEL_TIMER
125#define CONFIG_GNRC_SIXLOWPAN_FRAG_RBUF_DEL_TIMER (0U)
142#ifndef CONFIG_GNRC_SIXLOWPAN_ND_AR_LTIME
143#define CONFIG_GNRC_SIXLOWPAN_ND_AR_LTIME (15U)
156#ifndef CONFIG_GNRC_SIXLOWPAN_FRAG_VRB_SIZE
157#define CONFIG_GNRC_SIXLOWPAN_FRAG_VRB_SIZE (16U)
168#ifndef CONFIG_GNRC_SIXLOWPAN_FRAG_VRB_TIMEOUT_US
169#define CONFIG_GNRC_SIXLOWPAN_FRAG_VRB_TIMEOUT_US (CONFIG_GNRC_SIXLOWPAN_FRAG_RBUF_TIMEOUT_US)
182#ifndef CONFIG_GNRC_SIXLOWPAN_SFR_MIN_FRAG_SIZE
183#define CONFIG_GNRC_SIXLOWPAN_SFR_MIN_FRAG_SIZE 96U
193#ifndef CONFIG_GNRC_SIXLOWPAN_SFR_MAX_FRAG_SIZE
194#define CONFIG_GNRC_SIXLOWPAN_SFR_MAX_FRAG_SIZE 112U
205#ifndef CONFIG_GNRC_SIXLOWPAN_SFR_OPT_FRAG_SIZE
206#define CONFIG_GNRC_SIXLOWPAN_SFR_OPT_FRAG_SIZE CONFIG_GNRC_SIXLOWPAN_SFR_MAX_FRAG_SIZE
216#ifdef CONFIG_GNRC_SIXLOWPAN_SFR_USE_ECN
217#if IS_USED(MODULE_GNRC_SIXLOWPAN_FRAG_SFR_CONGURE)
218#define CONFIG_GNRC_SIXLOWPAN_SFR_USE_ECN 1U
220#define CONFIG_GNRC_SIXLOWPAN_SFR_USE_ECN 0U
228#ifndef CONFIG_GNRC_SIXLOWPAN_SFR_MIN_WIN_SIZE
229#define CONFIG_GNRC_SIXLOWPAN_SFR_MIN_WIN_SIZE 1U
238#ifndef CONFIG_GNRC_SIXLOWPAN_SFR_MAX_WIN_SIZE
239#define CONFIG_GNRC_SIXLOWPAN_SFR_MAX_WIN_SIZE 16U
250#ifndef CONFIG_GNRC_SIXLOWPAN_SFR_OPT_WIN_SIZE
251#define CONFIG_GNRC_SIXLOWPAN_SFR_OPT_WIN_SIZE 16U
266#ifndef CONFIG_GNRC_SIXLOWPAN_SFR_INTER_FRAME_GAP_US
267#define CONFIG_GNRC_SIXLOWPAN_SFR_INTER_FRAME_GAP_US 100U
274#ifndef CONFIG_GNRC_SIXLOWPAN_SFR_MIN_ARQ_TIMEOUT_MS
275#define CONFIG_GNRC_SIXLOWPAN_SFR_MIN_ARQ_TIMEOUT_MS 350U
282#ifndef CONFIG_GNRC_SIXLOWPAN_SFR_MAX_ARQ_TIMEOUT_MS
283#define CONFIG_GNRC_SIXLOWPAN_SFR_MAX_ARQ_TIMEOUT_MS 700U
294#ifndef CONFIG_GNRC_SIXLOWPAN_SFR_OPT_ARQ_TIMEOUT_MS
295#define CONFIG_GNRC_SIXLOWPAN_SFR_OPT_ARQ_TIMEOUT_MS \
296 CONFIG_GNRC_SIXLOWPAN_SFR_MAX_ARQ_TIMEOUT_MS
295#define CONFIG_GNRC_SIXLOWPAN_SFR_OPT_ARQ_TIMEOUT_MS \ …
303#ifndef CONFIG_GNRC_SIXLOWPAN_SFR_FRAG_RETRIES
304#define CONFIG_GNRC_SIXLOWPAN_SFR_FRAG_RETRIES 2U
311#ifndef CONFIG_GNRC_SIXLOWPAN_SFR_DG_RETRIES
312#define CONFIG_GNRC_SIXLOWPAN_SFR_DG_RETRIES 0U
324#ifndef CONFIG_GNRC_SIXLOWPAN_SFR_ECN_IF_IN_NUM
325#define CONFIG_GNRC_SIXLOWPAN_SFR_ECN_IF_IN_NUM 1U
337#ifndef CONFIG_GNRC_SIXLOWPAN_SFR_ECN_IF_IN_DEN
338#define CONFIG_GNRC_SIXLOWPAN_SFR_ECN_IF_IN_DEN 2U
350#ifndef CONFIG_GNRC_SIXLOWPAN_SFR_ECN_IF_OUT_NUM
351#define CONFIG_GNRC_SIXLOWPAN_SFR_ECN_IF_OUT_NUM 1U
363#ifndef CONFIG_GNRC_SIXLOWPAN_SFR_ECN_IF_OUT_DEN
364#define CONFIG_GNRC_SIXLOWPAN_SFR_ECN_IF_OUT_DEN 2U
375#ifndef CONFIG_GNRC_SIXLOWPAN_SFR_ECN_FQUEUE_NUM
376#define CONFIG_GNRC_SIXLOWPAN_SFR_ECN_FQUEUE_NUM 1U
387#ifndef CONFIG_GNRC_SIXLOWPAN_SFR_ECN_FQUEUE_DEN
388#define CONFIG_GNRC_SIXLOWPAN_SFR_ECN_FQUEUE_DEN 2U
398#ifndef CONFIG_GNRC_SIXLOWPAN_SFR_MOCK_ARQ_TIMER
399#define CONFIG_GNRC_SIXLOWPAN_SFR_MOCK_ARQ_TIMER 0U
406#ifndef GNRC_SIXLOWPAN_MSG_QUEUE_SIZE
407#define GNRC_SIXLOWPAN_MSG_QUEUE_SIZE (1 << CONFIG_GNRC_SIXLOWPAN_MSG_QUEUE_SIZE_EXP)
Common macros and compiler attributes/pragmas configuration.
Utility library for comparing and computing timestamps.