Benjamin Valentin
bb2b6adb7e
sys/evtimer: copy warning from xtimer
...
Callbacks from evtimer are still executed in interrupt context.
While xtimer warns about this, evtimer leaves the user unsuspecting.
Copy the warning from xtimer to keep users vigilant.
2020-09-24 11:52:56 +02:00
Francisco
f3a5ee69e0
Merge pull request #14936 from kaspar030/ztimer_sleep_adjust
...
sys/ztimer: allow compensation of ztimer_sleep() overhead
2020-09-22 14:56:56 +02:00
MichelRottleuthner
cdd1cd3ea2
Merge pull request #14978 from pokgak/xtimer/remove_set_absolute
...
xtimer: remove _xtimer_set_absolute
2020-09-21 10:03:25 +02:00
benpicco
aac05cb393
Merge pull request #15024 from chrysn-pull-requests/declare-ull-constant
...
ipv6: Declare unsigned long long literal
2020-09-15 16:57:24 +02:00
chrysn
7e371bb1e6
ipv6: Declare unsigned long long literal
2020-09-15 12:55:29 +02:00
fb7e285acd
ztimer: add ztimer_spin()
...
This adds a simple busy waiting function intended for blocking, but very
precise short delays.
2020-09-11 00:18:59 +02:00
benpicco
f75ca11968
Merge pull request #14802 from jia200x/pr/nrf52840_radio_hal
...
nrf52840: implement Radio HAL
2020-09-10 18:07:51 +02:00
Jose Alamos
c74ee68674
net/ieee802154.h: add IFS constants
2020-09-10 17:01:13 +02:00
Jose Alamos
4944d136c2
ieee802154_hal: add cap for register retention during off
2020-09-10 14:07:49 +02:00
Jose Alamos
4db4d44304
ieee802154_hal: remove misplaced note
2020-09-10 13:42:20 +02:00
2fbd85b798
sys/ztimer: allow compensation of ztimer_sleep() overhead
2020-09-09 12:50:51 +02:00
Jose Alamos
4ad75216dd
ieee802154_hal: add missing const qualifiers
2020-09-09 11:17:44 +02:00
M Aiman Ismail
bc8d55fde9
sys/xtimer: remove _xtimer_set_absolute
2020-09-08 14:21:40 +02:00
benpicco
a336fdc918
Merge pull request #11263 from miri64/gnrc_netif/new/pktq
...
gnrc_netif: add packet to queue when device is busy
2020-09-07 13:59:58 +02:00
Leandro Lanzieri
40b52e1d72
Merge pull request #14321 from akshaim/Kconfig_cord
...
net/cord : Expose configurations to Kconfig
2020-09-07 11:45:17 +02:00
Leandro Lanzieri
e24a64fd64
Merge pull request #14926 from akshaim/Kconfig_dtls
...
net/sock/dtls : Expose configuration to Kconfig
2020-09-04 14:49:23 +02:00
Akshai M
55fe4a464f
net/sock : Update documentation
...
Added net_sock_conf super group and updated sock_util to the super
group.
2020-09-04 16:29:13 +05:30
Akshai M
2cbf9de2eb
net/sock/dtls : Model 'DTLS_HANDSHAKE_BUFSIZE' with exponent
...
Introduced CONFIG_DTLS_HANDSHAKE_BUFSIZE_EXP to hold exponent and
update documentation
2020-09-04 16:28:29 +05:30
Jose Alamos
b7929bf6e6
net/ieee802154: add default CSMA-CA params
2020-09-03 18:22:08 +02:00
Jose Alamos
b582d5ee4e
ieee802154: add RSSI offset macro
2020-09-03 18:20:49 +02:00
benpicco
ffea8cdc14
Merge pull request #14938 from jia200x/pr/improve_radio_hal
...
net/ieee802154_hal: add const qualifiers and set pan_id with pointer
2020-09-03 18:17:27 +02:00
Jose Alamos
6cca6172ed
net/ieee802154_hal: set pan_id via pointer
2020-09-03 16:24:11 +02:00
Jose Alamos
857dbbe881
net/ieee802154_hal: add const qualifiers to read only args
2020-09-03 16:24:05 +02:00
Akshai M
58f6defb41
sys/net/cord : Update documentation
...
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-09-02 23:36:59 +05:30
Akshai M
536a99022c
sys/net/cord : Move 'CONFIG_CORD_EP' to 'CONFIG_'
2020-09-02 23:36:48 +05:30
Akshai M
e09063e7f1
sys/net/cord : Move 'CORD_UPDATE_INTERVAL' to 'CONFIG_'
2020-09-02 23:36:48 +05:30
Akshai M
de2d33f65b
sys/net/cord : Move 'CORD_LT' to 'CONFIG_'
2020-09-02 23:36:48 +05:30
b584a2dadf
Merge pull request #14930 from bergzand/pr/memarray/calloc
...
memarray: Add memarray_calloc
2020-09-02 19:48:54 +02:00
232237796a
memarray: Add memarray_calloc
...
The memarray_alloc can be error prone to use as the block returned can
contain data from previous uses. The memarray_calloc call added in this
commit always zeroes the block before returning it to the user.
2020-09-02 19:16:30 +02:00
Martine Lenders
a72d0ef3e8
gnrc_netif: add packet to queue when device is busy
...
... and also send on send error (i.e. when *medium* was busy)
2020-09-02 12:30:23 +02:00
Martine Lenders
7c7f667108
gnrc_netif: add a send queue
2020-09-02 12:30:22 +02:00
Francisco
6f84870c26
Merge pull request #14634 from benpicco/eui_provider
...
net/link_layer: implement EUI provider
2020-09-01 16:26:08 +02:00
c83b78a567
Merge pull request #14762 from maribu/move_byteorder
...
core/byteorder: Moved to sys
2020-09-01 15:02:11 +02:00
Martine S. Lenders
3b7bab1108
gnrc_ipv6_nib_nc: error on non-link-local address without ARSM
2020-09-01 11:12:55 +02:00
Benjamin Valentin
bca68ff484
net/link_layer: implement EUI provider
...
This adds the possibility to define EUI sources and assign them to
a network device.
2020-08-30 23:43:57 +02:00
Martine Lenders
4ba5367755
Merge pull request #7664 from zhuoshuguo/lwmac_radio_reinit
...
LWMAC: add re-initialize radio support.
2020-08-26 18:58:56 +02:00
benpicco
9f2475dc14
Merge pull request #14832 from maribu/sys-cleanup
...
sys: Cleanup access to internal variables
2020-08-26 17:07:19 +02:00
Akshai M
32af195281
net/skald : Update documentation
...
Add documentation and checks for 'DOXYGEN' defines to better
render documentation.
2020-08-26 15:13:45 +05:30
Akshai M
b210da4ef8
net/skald : Enable configuration of 'SKALD_ADV_CHAN'
...
Add macros to disable specific channels and move macros to
'CONFIG_' namespace
2020-08-26 15:13:08 +05:30
Akshai M
4219036727
net/skald : Move 'SKALD_INTERVAL' to 'CONFIG_'
2020-08-26 15:12:07 +05:30
benpicco
2eb6d752df
Merge pull request #14770 from benpicco/netif_addr_to_str
...
net/netif: move gnrc_netif_addr_to/from_str() to netif
2020-08-25 18:52:55 +02:00
Marian Buschsieweke
3b6fa61829
sys: Cleanup access to internal variables
...
Replace direct accesses to sched_active_thread and sched_active_pid with
the helper functions thread_getpid() and thread_get_active(). This serves
two purposes:
1. It makes accidental writes to those variable from outside core less likely.
2. Casting off the volatile qualifier is now well contained to those two
functions
2020-08-24 20:28:11 +02:00
Marian Buschsieweke
92ae260617
Merge pull request #14778 from benpicco/sys/luid_netdev
...
sys/luid: add luid_netdev_get_eui48() & luid_netdev_get_eui64()
2020-08-21 21:30:14 +02:00
Simon Brummer
5d67daebb2
evtimer: add mbox support
2020-08-21 15:19:22 +02:00
Francisco
70fc19258f
Merge pull request #14783 from maribu/xtimer_on_ztimer_fix
...
sys/{ztimer, xtimer}: Fix issues with xtimer_on_ztimer
2020-08-19 13:28:10 +02:00
benpicco
7f359612e9
Merge pull request #14371 from jia200x/pr/radio_hal
...
ieee802154/radio_hal: introduce Radio HAL for IEEE802.15.4 compatible radios
2020-08-19 13:07:52 +02:00
Jose Alamos
b6e3afe3d6
ieee802154/radio: add radio HAL definition
2020-08-19 12:06:04 +02:00
Marian Buschsieweke
d382bd6565
sys/xtimer: No tick conversion if xtimer_on_ztimer
...
When `xtimer_on_ztimer` is used, `xtimer` does not need to perform any clock
conversion. Especially undefined macros of `XTIMER_HZ` and `XTIMER_SHIFT` should
no longer result in compilation issues, as they are not used internally anyway.
2020-08-19 09:48:23 +02:00
Marian Buschsieweke
527c429f5f
sys/ztimer: Fix compilation without ztimer_extend
...
`ztimer_init_extend()` should only be defined when module `ztimer_extend` is
used, as otherwise the `struct` member `clock->max_value` is not available.
2020-08-19 07:02:19 +02:00
Benjamin Valentin
3b7351753b
sys/luid: add luid_netdev_get_eui48() & luid_netdev_get_eui64()
...
Add functions to generate an EUI based on the netdev ID.
This will always return the same EUI for the same netdev, so it is
stable across netdev resets.
2020-08-18 11:45:45 +02:00