Francisco Molina
2761bba370
sys/shell/commands/sc_openwsn: update components
2020-12-11 09:07:49 +01:00
Francisco Molina
5c26f53828
pkg/openwsn: add openwsn_sock_udp module
...
Co-authored-by: Timothy Claeys <timothy.claeys@inria.fr>
2020-12-11 09:07:48 +01:00
benpicco
8dc0b01e21
Merge pull request #15577 from Hxinrong/cord_common_add_qstringBranch
...
add error check of cord_common_add_qstring()
2020-12-11 08:38:43 +01:00
benpicco
c5b5788eb7
Merge pull request #15570 from benpicco/sys/bit.h
...
sys/bit: move bit.h header to sys/
2020-12-11 08:36:36 +01:00
Martine Lenders
08d86295d2
Merge pull request #15560 from maribu/gnrc-aux-rx-timestamps
...
net/gnrc/sock: Implement sock_aux_timestamp for RX
2020-12-10 19:20:16 +01:00
Marian Buschsieweke
d95192e97b
sys/net/gnrc/sock: Add support for RX timestamp
2020-12-10 17:43:11 +01:00
Francisco
7bbe36ff6b
Merge pull request #15588 from benpicco/native/pm_layered
...
cpu/native: pm: fix build with pm_layered
2020-12-10 13:05:45 +01:00
Marian Buschsieweke
76cc81880e
sys/ztimer: increase xtimer_compat coverage
...
- add some xtimer specific defines some tests rely on
- provide the following missing functions:
- xtimer_ticks()
- xtimer_set_timeout_flag()
- xtimer_set_timeout_flag64()
- xtimer_spin()
2020-12-09 20:59:30 +01:00
Martine Lenders
eafa026db2
Merge pull request #15599 from benpicco/byteorder_htoll
...
follow-up: use byteorder_htoll()
2020-12-09 18:24:18 +01:00
Marian Buschsieweke
e3ecb74765
Merge pull request #15592 from maribu/ztimer_mutex_lock_timeout
...
sys/ztimer: add ztimer_mutex_lock_timeout()
2020-12-09 17:48:51 +01:00
1eb30f1cd7
Merge pull request #15566 from dylad/pr/usbus/string_descr_for_alt_if
...
usbus: add optional string descriptor for alt interface
2020-12-09 14:52:40 +01:00
f9c40e31bc
Merge pull request #15565 from dylad/pr/usbus/add_interface_alt_helper
...
usbus: add usbus_add_interface_alt() helper function
2020-12-09 14:52:21 +01:00
Benjamin Valentin
2ddfc46234
gnrc/lorawan: use byteorder_htoll()
2020-12-09 14:21:56 +01:00
Benjamin Valentin
b0c626a2a7
ieee802154/security: use byteorder_htoll()
2020-12-09 14:17:46 +01:00
benpicco
1477a340fe
Merge pull request #15150 from fabian18/ieee802154_security
...
Initial implementation of IEEE 802.15.4 security
2020-12-09 14:14:27 +01:00
Marian Buschsieweke
7364f1b451
sys/ztimer: compat for xtimer_mutex_lock_timeout
2020-12-09 13:26:37 +01:00
Marian Buschsieweke
599252652d
Merge pull request #15590 from maribu/xtimer_mutex_lock_timeout
...
sys/xtimer: clean up xtimer_mutex_lock_timeout
2020-12-09 13:23:55 +01:00
dylad
4b438c2cc0
usb/cdc_ecm: use add_interface_alt helper function
2020-12-09 09:38:15 +01:00
dylad
7b8feef326
usbus: add usbus_add_interface_alt helper function
2020-12-09 09:38:15 +01:00
Marian Buschsieweke
d48fac278b
sys/ztimer: drop unused internal typedef
2020-12-08 22:54:39 +01:00
Marian Buschsieweke
71a0c53df2
sys/ztimer: Add ztimer_mutex_lock_timeout()
2020-12-08 22:54:39 +01:00
Marian Buschsieweke
4f36d21957
sys/xtimer: clean up xtimer_mutex_lock_timeout
...
Use `mutex_lock_cancelable()` and `mutex_cancel()` to implement
`xtimer_mutex_lock_timeout()`.
2020-12-08 22:03:57 +01:00
Martine Lenders
81dd58c7af
Merge pull request #15589 from benpicco/gnrc_ipv6_nib-nce_exhaustion
...
gnrc_ipv6_nib: prevent NULL pointer dereference on nib exhaustion
2020-12-08 22:03:33 +01:00
Benjamin Valentin
120b1485e0
gnrc_ipv6_nib: prevent NULL pointer dereference on nib exhaustion
...
If the NIB is full, `_nib_onl_get()` returns NULL.
`_reg_addr_upstream()` will then dereference the result without if
it is valid.
2020-12-08 20:41:06 +01:00
Martine Lenders
1feacd1b88
Merge pull request #15583 from benpicco/byteorder_htols
...
drivers, sys: use byteorder_htols()
2020-12-08 20:15:19 +01:00
Martine Lenders
23eb4d4e18
Merge pull request #15581 from janosbrodbeck/pr/dtls/remove_session_create
...
sock/dtls: remove sock_dtls_session_create due to deprecation
2020-12-08 20:08:20 +01:00
Benjamin Valentin
d7ed3418b5
cpu/native: pm: fix build with pm_layered
2020-12-08 18:24:02 +01:00
Benjamin Valentin
e300dfe47e
sys/bit: move bit.h from cortexm_common/ to sys/
...
The bit access functions are not tied to Cortex-M CPUs, here they only
provide optimisations via bit-banding.
But the functions are generally useful - so move them to an arch independent
location.
2020-12-08 17:07:41 +01:00
benpicco
c15001d33a
Merge pull request #15584 from fjmolinas/pr_submac_state_type
...
sys/net/link_layer/ieee802154/submac: fix type
2020-12-08 16:42:46 +01:00
Benjamin Valentin
518c95e0ee
gnrc_netif_ieee802154_create: use byteorder_htols()
2020-12-08 16:31:20 +01:00
Benjamin Valentin
ec5e45defb
gnrc/lwmac: use byteorder_htols()
2020-12-08 16:30:43 +01:00
Benjamin Valentin
dd87737ca0
gnrc/gomach: use byteorder_htols()
2020-12-08 16:30:17 +01:00
Benjamin Valentin
129e9ae8a3
sys/gnrc_lorawan: use byteorder_htols()/byteorder_htoll()
2020-12-08 16:29:10 +01:00
dylad
dde5e94233
usbus: add optional string descriptor for alt interface
2020-12-08 15:39:14 +01:00
Leandro Lanzieri
06a06c32e3
Merge pull request #15573 from akshaim/Kconfig_rn2xx3_update
...
drivers/rn2xx3 : Kconfig updates.
2020-12-08 15:20:25 +01:00
Francisco Molina
7bf2263507
sys/net/link_layer/ieee802154/submac: fix type
2020-12-08 14:22:09 +01:00
Han Xinrong
44762971c2
sys/net/application_layer/cord: add error check to cord_ep_register()
2020-12-08 20:37:15 +08:00
71f6b73251
Merge pull request #15519 from benpicco/byteorder_letoh
...
sys/byteorder: add helpers to convert from little endian to host byte order
2020-12-08 12:52:32 +01:00
János Brodbeck
126d363cea
sock/dtls: remove sock_dtls_session_create
...
due to deprecation
2020-12-08 12:04:14 +01:00
János Brodbeck
c191f3b1a7
sock/dtls: doc: fix wrong numbering in client operations
2020-12-08 12:04:14 +01:00
Akshai M
bfd3a903fb
drivers/rn2xx3 : r/LORAMAC_DEFAULT_AR/CONFIG_RN2XX3_DEFAULT_AR
...
Move 'LORAMAC_DEFAULT_AR' to drivers/rn2xx3 i.e
'RN2XX3_DEFAULT_AR'
Move 'RN2XX3_DEFAULT_AR' to 'CONFIG_' namespace
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-12-08 11:33:44 +01:00
Francisco
1d8c541b32
Merge pull request #15548 from benpicco/suit/transport/coap_blocksize
...
suit/transport/coap: make blocksize configurable
2020-12-08 10:14:34 +01:00
Martine Lenders
ba89d8641e
Merge pull request #14704 from maribu/sock-aux-gnrc
...
net/gnrc/sock: Implement sock_aux_local
2020-12-04 13:55:27 +01:00
Marian Buschsieweke
1d69f067d1
sys/net/gnrc: Implement sock_aux_local
...
Provide address the IP packet / UDP datagram was received on in the auxiliary
data, if module sock_aux_local is used.
2020-12-04 12:47:59 +01:00
Fabian Hüßler
7b5391b7ce
sys/net/gnrc/netif/init_devs: IEEE802154_STACKSIZE_DEFAULT
2020-12-04 09:40:55 +01:00
Fabian Hüßler
6123e87e64
sys/include/net/ieee802154: Add sec ops to radio HAL
2020-12-04 09:40:55 +01:00
Fabian Hüßler
dc16c14b3d
sys: Add IEEE 802.15.4 security
2020-12-04 09:40:55 +01:00
benpicco
1a25df9d34
Merge pull request #15471 from maribu/event-threads-multi
...
sys/event: Allow single event_thread handling all queues
2020-12-03 21:04:36 +01:00
Marian Buschsieweke
c6211cc6c2
sys/event: Allow shared thread for multiple queues
...
Allow using `event_loop_multi()` to handle event queues of multiple priorities
in an single thread. In the extreme case, all three event queues are handled
by a single thread (thus saving two stacks). This comes for the price of
increased worst case latency, as already running event handlers will no longer
be preempted by higher priority events.
With this, all three event queue priorities are always provided. Using modules,
the old behavior of one thread per event queue can be restored for better worst
case latency at the expense of additional thread size.
2020-12-03 15:28:35 +01:00
János Brodbeck
18fb081d50
sock/dtls: remove usage of sock_dtls_session_create in documentation
2020-12-03 14:45:38 +01:00
Marian Buschsieweke
9d46bc7d7f
Merge pull request #14703 from maribu/sock-aux-api
...
net/sock: Add access to auxiliary data (API only)
2020-12-03 12:08:49 +01:00
Benjamin Valentin
191c91ce18
suit/transport/coap: make blocksize configurable
...
When using SUIT over a link-layer that supports larger PDU, a larger
CoAP blocksize is desirable to speed up firmware downloads.
To support this, make the CoAP blocksize used by SUIT configurable.
2020-12-03 10:51:42 +01:00
benpicco
a80631a297
Merge pull request #15074 from maribu/ptp-clock
...
drivers/periph/ptp_clock
2020-12-03 09:59:07 +01:00
benpicco
72621bcfcf
Merge pull request #15525 from firas-hamdi/fix/suit_coap_wo_progressbar
...
sys/suit: fix use w/o progress bar
2020-12-03 09:34:38 +01:00
Marian Buschsieweke
152ffe6db9
net/sock_dtls: Extend API for auxiliary data
2020-12-02 17:56:14 +01:00
Marian Buschsieweke
893bfd13d0
net/sock_udp: Extend API for auxiliary data
2020-12-02 17:56:13 +01:00
Marian Buschsieweke
ebcf1c0ab4
net/sock_ip: Extend API for auxiliary data
2020-12-02 17:56:13 +01:00
Marian Buschsieweke
d59607ddb7
sys/timex: change type of NS_PER_SEC
...
Having NS_PER_SEC defined as `1000000000U` is quite a foot gun, as
multiplication even with small numbers in 32 bit quickly overflows. Using the
`1000000000LLU` instead forces 64 bit math.
2020-12-02 17:53:00 +01:00
benpicco
665c07eb53
Merge pull request #15120 from benpicco/driver/at86rf215-trim
...
driver/at86rf215: add functions to configure trim & clock output at run-time
2020-12-02 16:53:02 +01:00
Benjamin Valentin
b866b5ef2b
sys/net/gnrc/netif: add gnrc_netif_get_netdev()
...
Add a function to retrieve a netdev from the list of interfaces.
2020-12-02 14:59:17 +01:00
Firas Hamdi
398889cafa
sys/suit: fix use w/o progress bar
...
apply change
2020-12-02 10:51:36 +01:00
Leandro Lanzieri
25917b1986
sys/fmt/Kconfig: make module available only for testing
2020-12-02 10:14:43 +01:00
Leandro Lanzieri
5ab04a28b9
sys/embunit/Kconfig: make module available only for testing
2020-12-02 10:14:43 +01:00
Leandro Lanzieri
14ea7a676d
sys/Kconfig.stdio: add printf_float module
2020-12-02 10:13:10 +01:00
Leandro Lanzieri
3741fc8b92
sys/auto_init/multimedia: add module to Kconfig
2020-12-02 10:12:17 +01:00
Francisco
c9720d16ca
Merge pull request #15515 from leandrolanzieri/pr/kconfig/drivers_ghij
...
drivers/{g,h,i,j}*: add Kconfig modules
2020-12-02 10:03:02 +01:00
Francisco
0a064806e3
Merge pull request #15443 from benpicco/l2util_addr
...
replace netif_addr_to/from_str() with l2util_addr_to/from_str()
2020-12-02 09:21:16 +01:00
Marian Buschsieweke
5c70345aa6
Merge pull request #15537 from fabian18/sx127x_netdev_register
...
drivers/sx127x: use netdev_register()
2020-12-01 21:38:38 +01:00
benpicco
b18cbd8c2a
Merge pull request #11068 from miri64/gnrc_sixlowpan_frag/new/minfwd
...
gnrc_sixlowpan_frag: initial import of minimal forwarding
2020-12-01 18:55:51 +01:00
benpicco
c22bba5cac
Merge pull request #15526 from miri64/gnrc_ipv6_ext_frag/fix/i15521
...
gnrc_ipv6_ext_frag: check return value of msg_try_send()
2020-12-01 17:58:17 +01:00
Leandro Lanzieri
2fc12c8252
Merge pull request #14324 from PeterKietzmann/pr_add_entropy_source
...
sys/entropy_source: add new module for entropy sources
2020-12-01 16:58:42 +01:00
Fabian Hüßler
c526a34770
sx127x: make use of netdev_register()
...
Call netdev_register() in sx127x_setup()
and pass the index in auto_init_sx127x()
and semtech_loramac_init()
2020-12-01 16:34:11 +01:00
Martine Lenders
27e123608f
gnrc_sixlowpan_iphc: forward received fragments
2020-12-01 16:25:30 +01:00
Martine Lenders
d9be79b266
gnrc_sixlowpan_iphc/minfwd: put only IPHC dispatch in first fragment
...
This is only the case when minfwd is compiled in.
2020-12-01 16:25:29 +01:00
Martine Lenders
7fe07e35a3
gnrc_sixlowpan_frag_rb: add VRB and use minfwd handling
...
When a VRB entry exists use minfwd to forward.
When a route exist for the first fragment received in reassembly create
a virtual reassembly buffer entry.
2020-12-01 16:25:29 +01:00
Martine Lenders
df1171a069
gnrc_sixlowpan_frag_rb: make rbuf pointer generic
2020-12-01 16:25:29 +01:00
Marian Buschsieweke
56cf30172f
Merge pull request #15532 from fabian18/cc110x_netdev_register
...
drivers/cc110x: use netdev_register
2020-12-01 16:17:37 +01:00
PeterKietzmann
aec75b55fe
sys/entropy_source: add new module for entropy sources
2020-12-01 15:51:40 +01:00
Martine Lenders
4ce2d01cb9
gnrc_sixlowpan_frag: initial import of minimal forwarding
...
See https://tools.ietf.org/html/draft-ietf-6lo-minimal-fragment-04
2020-12-01 15:08:08 +01:00
Fabian Hüßler
39adf908ce
cc110x: make use of netdev_register()
...
Call netdev_register() in cc110x_setup()
and pass the index in auto_init_cc110x()
2020-12-01 12:11:20 +01:00
Benjamin Valentin
eb199d4c78
netdev: move definition of NETDEV_INDEX_ANY to netdev
2020-12-01 11:55:06 +01:00
benpicco
333fce44b4
Merge pull request #14973 from benpicco/driver/at86rf215-batmon
...
drivers/at86rf215: implement battery monitor, add power bus
2020-12-01 11:52:46 +01:00
Martine Lenders
3295c833ca
gnrc_ipv6_ext_frag: propagate error up the stack on _snd_buf_free()
2020-12-01 11:32:18 +01:00
Francisco
f23c616eb1
Merge pull request #15422 from benpicco/pkg/fatfs-r0.14
...
pkg/fatfs: bump version to r0.14
2020-12-01 10:46:54 +01:00
Martine Lenders
c44d77e528
Merge pull request #15508 from namib-project/dhcp-mud-support
...
Add MUD URL option to DHCPv6 client
2020-12-01 10:33:51 +01:00
Leandro Lanzieri
4b7bb8719f
Merge pull request #15240 from akshaim/Kconfig_EMCute_1
...
MQTT-SN Clients ( Emcute/ Asymcute) : Kconfig Updates
2020-12-01 09:47:09 +01:00
Jan Romann
9823e45a93
net/dhcpv6: Introduce buffer size check
2020-11-30 22:46:33 +01:00
Jan Romann
2a570cb957
net/dhcpv6: Add DHCPv6 option for MUD URL (RFC 8520)
...
Co-Authored-By: Jens Bücker <48720000+jbueck@users.noreply.github.com>
Co-Authored-By: mauspr <75017188+mauspr@users.noreply.github.com>
Co-Authored-By: schulztr <75017039+schulztr@users.noreply.github.com>
2020-11-30 22:46:33 +01:00
Martine Lenders
6303d962a3
gnrc_ipv6_ext_frag: check return value of msg_try_send()
2020-11-30 15:31:59 +01:00
Benjamin Valentin
04d86dbcae
core/byteorder: add helpers to convert from little endian to host byte order
...
This is usually a NOP, but a helper functions to allow for writing code
that would also work on mythical Big Endian machines.
2020-11-29 21:41:14 +01:00
Leandro Lanzieri
6bcb2f1b3d
sys/checksum: add module to Kconfig
2020-11-27 09:20:05 +01:00
ae053469d5
sys/xtimer: add missing msg.h include
2020-11-26 13:43:13 +01:00
7fe0d5cba8
sys/ztimer: add missing inttypes.h includes
2020-11-26 13:43:13 +01:00
benpicco
aabd5eaca5
Merge pull request #15506 from kaspar030/refactor_thread_info
...
core: refactor thread info
2020-11-26 13:01:09 +01:00
Francisco
47ed64fcfd
Merge pull request #15466 from leandrolanzieri/pr/kconfig_drivers_bc
...
drivers/{b,c}*: model modules in Kconfig
2020-11-26 10:44:28 +01:00
7e94050bbe
sys/ps: make use of thread_is_active()
2020-11-25 20:49:00 +01:00
57e79d6c24
all: add missing sys/types.h includes
2020-11-25 17:52:34 +01:00
c1874c8d89
all: add missing limits.h includes
...
Removal of kernel_types.h make these necessary.
2020-11-25 17:52:34 +01:00
1d5e2e9cd9
all: remove traces of kernel_types.h
...
Automatically removed using:
$ git grep -l kernel_types | xargs sed -i '/^#include .kernel_types/d'
2020-11-25 17:52:34 +01:00
848a5a4e7a
sys/ps: make use of thread_get_status()
2020-11-25 14:39:47 +01:00