Akshai M
d2342b6e26
gnrc/gomach : Expose configurations to Kconfig
2020-06-18 21:21:50 +05:30
Akshai M
676a39cebb
gnrc/gomach : Move GNRC_GOMACH_MAX_T2U_RETYR_THRESHOLD to 'CONFIG_'
2020-06-18 21:21:50 +05:30
Akshai M
89360577a0
gnrc/gomach : Move GNRC_GOMACH_T2U_RETYR_THRESHOLD to 'CONFIG_'
2020-06-18 21:21:50 +05:30
Akshai M
b9773263c0
gnrc/gomach : Move GNRC_GOMACH_REPHASELOCK_THRESHOLD to 'CONFIG_'
2020-06-18 21:21:50 +05:30
Akshai M
6b10059b8a
gnrc/gomach : Move GNRC_GOMACH_MAX_ALLOC_SENDER_NUM to 'CONFIG_'
2020-06-18 21:21:50 +05:30
Akshai M
3274a6b83e
gnrc/gomach : Move GNRC_GOMACH_RX_DUPCHK_UNIT_LIFE to 'CONFIG_'
2020-06-18 21:21:50 +05:30
Akshai M
a8cad3715d
gnrc/gomach : Move GNRC_GOMACH_CP_EXTEND_THRESHOLD to 'CONFIG_'
2020-06-18 21:21:50 +05:30
Akshai M
62a3be9eee
gnrc/gomach : Move GNRC_GOMACH_TX_BUSY_THRESHOLD to 'CONFIG_'
2020-06-18 21:21:50 +05:30
Akshai M
025c1e0509
gnrc/gomach : Move GNRC_GOMACH_VTDMA_SLOT_SIZE_US to 'CONFIG_'
2020-06-18 21:21:50 +05:30
Akshai M
9b7b3fef42
gnrc/gomach : Move GNRC_GOMACH_BCAST_INTERVAL_US to 'CONFIG_'
2020-06-18 21:15:28 +05:30
Akshai M
6aa0418da4
gnrc/gomach : Move GNRC_GOMACH_PREAMBLE_INTERVAL_US to 'CONFIG_'
2020-06-18 21:15:28 +05:30
Akshai M
48a2fc57e0
gnrc/gomach : Move GNRC_GOMACH_MAX_PREAM_INTERVAL_US to 'CONFIG_'
2020-06-18 21:15:28 +05:30
Akshai M
a0a6dc0e4e
gnrc/gomach : Move GNRC_GOMACH_NO_TX_ISR_US to 'CONFIG_'
2020-06-18 21:15:28 +05:30
Akshai M
ae175987d5
gnrc/gomach : Move GNRC_GOMACH_WAIT_RX_END_US to 'CONFIG_'
2020-06-18 21:15:28 +05:30
Akshai M
588200f515
gnrc/gomach : Move GNRC_GOMACH_CP_MIN_GAP_US to 'CONFIG_'
2020-06-18 21:15:28 +05:30
Akshai M
1505ea8e11
gnrc/gomach : Move GNRC_GOMACH_CP_RANDOM_END_US to 'CONIFG_'
2020-06-18 21:15:28 +05:30
Akshai M
e6da0bab49
gnrc/gomach : Move GNRC_GOMACH_SUPERFRAME_DURATION_US to 'CONFIG_'
2020-06-18 21:15:28 +05:30
Akshai M
ab3e197c3f
gnrc/gomach : Move GNRC_GOMACH_CP_DURATION_US to 'CONFIG_'
2020-06-18 21:07:30 +05:30
Akshai M
517e7ff5f7
gnrc/gomach : Update documentation
...
Add configurations to compile time configurations.
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-06-18 21:04:02 +05:30
Martine Lenders
09d097c934
Merge pull request #14214 from btcven/2020_06_06-6lo-mtu
...
net/gnrc/netif: add option for non-std 6lo MTU
2020-06-18 15:25:01 +02:00
Jean Pierre Dudey
e1ef082d49
net/gnrc/netif: disable 6lo fragmentation when unneeded
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-06-18 07:16:16 -05:00
Jean Pierre Dudey
d47f4a1caa
net/gnrc/netif: add option for non-std 6lo MTU
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-06-18 07:16:16 -05:00
Leandro Lanzieri
3ce8efd4cb
Merge pull request #14138 from akshaim/Kconfig_mac
...
gnrc/mac : Expose configurations to Kconfig
2020-06-17 18:12:40 +02:00
56962f86fb
Merge pull request #14293 from kaspar030/fix_ztimer_frac_slowdown_max_value
...
ztimer: convert_frac: use self->scale_now for max_value
2020-06-16 19:30:54 +02:00
80023c408a
Merge pull request #14259 from fjmolinas/pr_rtt_min_offset
...
drivers/periph/rtt: introduce RTT_MIN_OFFSET
2020-06-16 16:22:04 +02:00
Martine Lenders
1f2c3f7547
Merge pull request #12604 from maribu/luid-doc
...
sys/luid: Added postcondition to luid_get()
2020-06-16 15:24:51 +02:00
1ff609167e
ztimer: convert_frac: use self->scale_now for max_value
...
When using convert_frac to slow down a timer, the extension machinery is
used to prevent converting values that would be larger than, after
conversion, 2**32. In order to calculate the maximum value, UINT32_MAX
is converted.
Previously, this was mistakenly converted by multiplying with the
fraction used to scale up a value. E.g., when using convert_frac to
slow down a 1us timer to provide a 1ms timer, UINT32_MAX was multiplied
by 1000. As the result is used % UINT32_MAX, this lead to a wrong value
close to UINT32_MAX, as ((UINT32_MAX * N) % UINT32_MAX = (UINT32_MAX - N - 1)).
This PR fixes the calculation so max_value is determined by multiplying
with the fraction used to scale down a value.
2020-06-16 12:24:11 +02:00
Akshai M
383555c3de
gnrc/mac : Update documentation
...
Move non 'CONFIG_' macros away from 'net_gnrc_mac_conf' group
2020-06-15 12:29:00 +05:30
Akshai M
25f778b552
gnrc/mac : Expose to Kconfig
...
Expose configurations to Kconfig
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-06-15 12:28:57 +05:30
Akshai M
ba33686949
gnrc/mac : Model as bool GNRC_MAC_ENABLE_DUTYCYCLE_RECORD
...
Modelled GNRC_MAC_ENABLE_DUTYCYCLE_RECORD as bool. Introduced
CONFIG_GNRC_MAC_DISABLE_DUTYCYCLE_RECORD to invert the logic.
Tagged GNRC_MAC_ENABLE_DUTYCYCLE_RECORD for deprecation.
2020-06-15 12:19:37 +05:30
Akshai M
75e0632caf
gnrc/mac : Configure GNRC_MAC_TX_QUEUE_SIZE with exponent
2020-06-15 12:19:37 +05:30
Akshai M
9ddc9e0633
gnrc/mac : Move GNRC_MAC_NEIGHBOR_COUNT to 'CONFIG_'
2020-06-15 12:19:37 +05:30
Akshai M
b2550451a1
gnrc/mac : Configure GNRC_MAC_DISPATCH_BUFFER_SIZE with exponent
2020-06-15 12:19:37 +05:30
Akshai M
2c1aa8618b
gnrc/mac : Configure GNRC_MAC_RX_QUEUE_SIZE with exponent
2020-06-15 12:19:37 +05:30
Leandro Lanzieri
dbfe0d8ea1
gnrc/sock: Configure mbox size with exponent and add config doc group
...
This changes the configuration macro to be the exponent of 2^n, as the
mbox buffer size needs to be always power of 2. The macro now has the
GNRC prefix.
Also a compile configuration documentation group is created.
2020-06-15 07:30:54 +02:00
Leandro Lanzieri
d4cac38cc9
gnrc/tcp: Configure mbox size with exponent and add config doc group
...
This changes the configuration macro to be the exponent of 2^n, as the
mbox buffer size needs to be always power of 2.
Also a compile configuration documentation group is created.
2020-06-15 07:30:54 +02:00
Leandro Lanzieri
375cad38df
gnrc/sixlowpan: Configure queue size with exponent
...
This changes the configuration macro to be the exponent of 2^n, as the
message queue size needs to be always power of 2.
2020-06-15 07:30:52 +02:00
Leandro Lanzieri
05962fe3ef
gnrc/netif: Configure queue size with exponent
...
This changes the configuration macro to be the exponent of 2^n, as the
message queue size needs to be always power of 2.
2020-06-15 07:30:52 +02:00
Leandro Lanzieri
f62623caaf
gnrc/lwmac: Configure queue size with the exponent and add config group
...
This changes the configuration macro to be the exponent of 2^n, as the
message queue size needs to be always power of 2.
Also a compile configuration documentation group is created.
2020-06-15 07:30:52 +02:00
Leandro Lanzieri
148c918ba9
gnrc/gomach: Configure queue size with exponent and add config doc group
...
This changes the configuration macro to be the exponent of 2^n, as the
message queue size needs to be always power of 2.
Also a compile configuration documentation group is created.
2020-06-15 07:30:51 +02:00
Leandro Lanzieri
4998b90395
gnrc/udp: Configure queue size with exponent
...
This changes the configuration macro to be the exponent of 2^n, as the
message queue size needs to be always power of 2.
2020-06-15 07:30:51 +02:00
Leandro Lanzieri
3dc7865c4e
gnrc/rpl: Configure queue size with exponent
...
This changes the configuration macro to be the exponent of 2^n, as the
message queue size needs to be always power of 2.
2020-06-15 07:30:51 +02:00
Leandro Lanzieri
e02c338eff
gnrc/nettest: Configure queue size with exponent
...
This changes the configuration macro to be the exponent of 2^n, as the
message queue size needs to be always power of 2.
2020-06-15 07:30:50 +02:00
Leandro Lanzieri
b0168f5fdd
gnrc/ipv6: Configure queue size with exponent
...
This changes the configuration macro to be the exponent of 2^n, as the
message queue size needs to be always power of 2.
2020-06-15 07:30:50 +02:00
0e3ddd2b3b
Merge pull request #14231 from benemorius/pr/pingping6
...
sys/shell/commands: alias ping=ping6
2020-06-12 13:30:55 +02:00
Akshai M
6450d9989e
gnrc/pktbuf : Set Kconfig defaults and conditions
...
Set Kconfig defaults for CPU and conditions to avoid
conflict with CFLAGS
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-06-11 14:47:27 +05:30
Akshai M
cabcfae9e0
gnrc/pktbuf : Expose to Kconfig
...
Expose CONF_GNRC_PKTBUF_SIZE to Kconfig
2020-06-11 14:47:19 +05:30
Akshai M
5523d119b6
gnrc/pktbuf : Move 'GNRC_PKTBUF_SIZE' to 'CONFIG_'
2020-06-11 14:46:36 +05:30
Akshai M
7bd2a6f8c9
gnrc/pktbuf : Update documentation
...
Add compile configuration 'GNRC_PKTBUF_SIZE' to 'net_gnrc_conf'
group
2020-06-11 14:46:36 +05:30
Leandro Lanzieri
a3fa7e330d
Merge pull request #14252 from akshaim/Kconfig_csma
...
net/csma : Expose configurations to Kconfig
2020-06-11 10:47:55 +02:00