Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
mac.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2015 Daniel Krebs
3
* 2016 INRIA
4
*
5
* This file is subject to the terms and conditions of the GNU Lesser
6
* General Public License v2.1. See the file LICENSE in the top level
7
* directory for more details.
8
*/
9
26
#include "
modules.h
"
27
28
#ifndef NET_GNRC_MAC_MAC_H
29
#define NET_GNRC_MAC_MAC_H
30
31
#ifdef __cplusplus
32
extern
"C"
{
33
#endif
34
47
#ifndef CONFIG_GNRC_MAC_RX_QUEUE_SIZE_EXP
48
#define CONFIG_GNRC_MAC_RX_QUEUE_SIZE_EXP (3U)
49
#endif
50
58
#ifndef CONFIG_GNRC_MAC_DISPATCH_BUFFER_SIZE_EXP
59
#define CONFIG_GNRC_MAC_DISPATCH_BUFFER_SIZE_EXP (3U)
60
#endif
61
65
#ifndef CONFIG_GNRC_MAC_NEIGHBOR_COUNT
66
#define CONFIG_GNRC_MAC_NEIGHBOR_COUNT (8U)
67
#endif
68
76
#ifndef CONFIG_GNRC_MAC_TX_QUEUE_SIZE_EXP
77
#define CONFIG_GNRC_MAC_TX_QUEUE_SIZE_EXP (3U)
78
#endif
79
83
#ifdef DOXYGEN
84
#define CONFIG_GNRC_MAC_DISABLE_DUTYCYCLE_RECORD
85
#endif
86
94
#ifndef GNRC_MAC_ENABLE_DUTYCYCLE_RECORD
95
#if IS_ACTIVE(CONFIG_GNRC_MAC_DISABLE_DUTYCYCLE_RECORD)
96
#define GNRC_MAC_ENABLE_DUTYCYCLE_RECORD (0)
97
#else
98
#define GNRC_MAC_ENABLE_DUTYCYCLE_RECORD (1U)
99
#endif
100
#endif
106
#ifndef GNRC_MAC_RX_QUEUE_SIZE
107
#define GNRC_MAC_RX_QUEUE_SIZE (1 << CONFIG_GNRC_MAC_RX_QUEUE_SIZE_EXP)
108
#endif
109
113
#ifndef GNRC_MAC_DISPATCH_BUFFER_SIZE
114
#define GNRC_MAC_DISPATCH_BUFFER_SIZE (1 << CONFIG_GNRC_MAC_DISPATCH_BUFFER_SIZE_EXP)
115
#endif
116
121
#ifndef GNRC_MAC_TX_QUEUE_SIZE
122
#define GNRC_MAC_TX_QUEUE_SIZE (1 << CONFIG_GNRC_MAC_TX_QUEUE_SIZE_EXP)
123
#endif
124
125
#ifdef __cplusplus
126
}
127
#endif
128
129
#endif
/* NET_GNRC_MAC_MAC_H */
modules.h
Common macros and compiler attributes/pragmas configuration.
Generated on Fri Nov 15 2024 22:46:38 by
1.9.8