Jose Alamos
4bd77183a3
ieee802154/submac: call confirm_set_trx_state after initialization
2021-07-12 16:47:15 +02:00
Jose Alamos
9d754a6ed4
ieee802154/submac: fix default SubGHz page
2021-07-12 16:47:15 +02:00
benpicco
c2e9bc5c73
Merge pull request #16595 from fjmolinas/pr_init_timers_before_random
...
sys/auto_init: init ztimer/xtimer before random
2021-07-11 21:20:44 +02:00
José Alamos
9eb05b0ce6
Merge pull request #16631 from jia200x/pr/fix_gnrc_netif_cmd_lora_dep
...
shell_commands/gnrc_netif: fix gnrc_netif_cmd_lora dependency
2021-07-10 18:00:22 +02:00
Jose Alamos
c8f9d85002
shell_commands/gnrc_netif: fix gnrc_netif_cmd_lora dependency
...
This commit fixes the dependency resolution of `gnrc_netif_cmd_lora`.
As it was, this module was pulled by the driver if `gnrc` was used.
Besides pulling an extra dependency in applications that don't use
`shell_commands` or `gnrc_lorawan`, this hardcodes the module
resolution in the drivers.
This commit pulls `gnrc_netif_cmd_lora` if `shell_commands` and
`gnrc_lorawan` are present.
2021-07-09 13:29:07 +02:00
Jose Alamos
c225eaa74b
sys/fuzzing: avoid explicit cast to netdev
2021-07-09 11:35:22 +02:00
Jose Alamos
5e3f7e35f1
gnrc_netif/auto_init_*: avoid explicit cast to netdev
2021-07-09 11:35:21 +02:00
Jose Alamos
b483d1f809
netdev_test: avoid explicit cast to netdev
2021-07-09 11:35:19 +02:00
Jose Alamos
d33008483e
gnrc_netif_ieee802154: avoid explicit cast to netdev
2021-07-09 11:35:19 +02:00
Jose Alamos
fef46029be
link_layer/lwmac: avoid explicit cast to netdev
2021-07-09 11:35:18 +02:00
Jose Alamos
5de141227b
link_layer/gomach: avoid explicit cast to netdev
2021-07-09 11:35:18 +02:00
Jose Alamos
eebf5de051
auto_init/loramac: avoid explicit cast to netdev
2021-07-09 11:35:18 +02:00
Jose Alamos
650be4fdaf
netdev_test: inherit from netdev_ieee802154_t
2021-07-09 10:08:45 +02:00
Francisco
79ee4fd489
Merge pull request #16459 from brummer-simon/gnrc_tcp-rewrite_passive_open
...
gnrc_tcp: rewrite passive open
2021-07-08 12:08:52 +02:00
0d8070fc42
suit: Guard flashwrite interaction in suit_transport_coap
2021-07-08 10:22:37 +02:00
44dc4dcbac
suit: Move riotboot dependency to suit_storage_flashwrite
2021-07-08 10:22:14 +02:00
cb9a1fcc8e
suit/storage/ram: Make prefix and separator configurable
2021-07-08 10:22:14 +02:00
Simon Brummer
88a0273434
gnrc_tcp: add listen/accept
2021-07-08 09:40:02 +02:00
benpicco
eacbaf5295
Merge pull request #15549 from janosbrodbeck/gcoap/pr/dtls
...
net/gcoap: support DTLS
2021-07-07 15:34:55 +02:00
János Brodbeck
23a8659bdf
net/gcoap: support DTLS
2021-07-07 14:45:30 +02:00
János Brodbeck
5567f13258
net/dtls/dsm: add DTLS session management module
2021-07-07 14:45:28 +02:00
fe22ba428d
Merge pull request #16348 from fjmolinas/pr_pkg_mynewt_core
...
pkg/mynewt-core: initial commit
2021-07-07 10:55:53 +02:00
José Alamos
ed1692033f
Merge pull request #16617 from jia200x/pr/gnrc_lorawan_fix_release
...
gnrc_lorawan: fix gnrc_pktbuf_release_error (introduced by #16080 )
2021-07-07 10:15:33 +02:00
Francisco Molina
0cdc5826fd
pkg/mynewt-core: initial commit
2021-07-06 14:52:24 +02:00
Jose Alamos
13274da74a
gnrc_lorawan: fix gnrc_pktbuf_release_error
2021-07-06 14:14:27 +02:00
Francisco
daeac91aea
Merge pull request #16604 from jia200x/pr/lora/fix_rx_timeout_size
...
netdev/lora: fix size of NETOPT_RX_SYMBOL_TIMEOUT
2021-07-06 12:15:00 +02:00
Martine Lenders
b034ccaaa3
Merge pull request #16422 from janosbrodbeck/pr/tinydtls/reset_session
...
pkg/tinydtls: handling of close_notify
2021-07-06 00:25:20 +02:00
János Brodbeck
c016b843d6
pkg/tinydtls: destroy session after sending close notification
2021-07-05 23:45:20 +02:00
c8c632f485
Merge pull request #16610 from kaspar030/netstats_cibh
...
netstats: add missing cib.h include
2021-07-05 14:36:12 +02:00
017d33825f
sys/shell/commands: gnrc_icmpv6_echo: use msg_avail()
2021-07-05 10:35:40 +02:00
031d8b75bd
netstats: add missing cib.h include
2021-07-05 10:32:50 +02:00
MrKevinWeiss
214b19551d
sys/ztimer: Fix stm32f1 naming for kconfig
2021-07-02 15:11:11 +02:00
MrKevinWeiss
652e4f41c1
cpp: Use modules for cpp and libstdcpp
...
Also add better error message when kconfig or make includes a .cpp without cpp module.
2021-07-02 15:11:10 +02:00
MrKevinWeiss
630f7a2102
sys/arduino: Add Kconfig model
2021-07-02 15:11:09 +02:00
MrKevinWeiss
6884927c3f
sys/arduino: Remove option
...
There is no clear reason why this should be configurable and causes an abstraction of USEMODULE.
The true reason is to make Kconfig easier but it seems having a variable in USEMODULE is a bit strange.
2021-07-02 15:11:09 +02:00
Jose Alamos
94d46e756e
cpu/fe310: fix RTT frequency
2021-07-02 14:53:22 +02:00
Jose Alamos
e791a86971
net/gnrc_lorawan: use uint8_t for NETOPT_RX_SYMBOL_TIMEOUT
2021-07-01 11:59:39 +02:00
Martine Lenders
c5a1012695
Merge pull request #16596 from JKRhb/aac-flags
...
sys/net/gnrc/netif: Make aac_mode a flag field
2021-06-30 13:29:44 +02:00
Jan Romann
672a86d58e
sys/net/gnrc/netif: Make aac_mode a flag field
2021-06-29 19:06:22 +02:00
Francisco Molina
a9b104ca22
sys/auto_init: init ztimer/xtimer before random
2021-06-29 13:12:18 +02:00
Kevin "Tristate Tom" Weiss
25c871ed9a
Merge pull request #16576 from jia200x/pr/netdev/migrate_dst_filter
...
ieee802154: migrate `netdev_ieee802154_dst_filter` to a common ieee802154
2021-06-29 10:50:08 +02:00
Martine Lenders
0fd22d4c61
Merge pull request #16326 from vera/emcute-retain
...
net/emcute: Allow RETAIN flag to be set on incoming PUBLISHs
2021-06-28 15:50:09 +02:00
Francisco
bc5810ea33
Merge pull request #16573 from kfessel/p-convert-ztimer-require-no-pm
...
sys/ztimer: convert clock do not require pm
2021-06-28 10:03:27 +02:00
Vera Clemens
b0f4781e15
net/emcute: Allow RETAIN flag to be set on incoming PUBLISHs
2021-06-25 18:32:53 +02:00
Kevin "Tristate Tom" Weiss
d9973d4bf8
Merge pull request #16586 from jia200x/pr/fix_gnrc_lorawan_psdu_null
...
gnrc_lorawan: fix undefined state when PSDU is NULL
2021-06-25 13:42:39 +02:00
Kevin "Tristate Tom" Weiss
05b61e84ae
Merge pull request #16584 from jia200x/pr/fix_gnrc_lorawan_memory_leak
...
gnrc_netif/lorawan: drop netif header on send
2021-06-25 10:25:01 +02:00
Martine Lenders
4deb15cb6f
dhcpv6_client: add DNS recursive name server option handling
...
Signed-off-by: Martine Lenders <m.lenders@fu-berlin.de>
2021-06-24 16:01:59 +02:00
Jose Alamos
a90e5e6fc4
gnrc_lorawan: update gnrc_lorawan_radio_rx_done function
2021-06-24 15:56:23 +02:00
Jose Alamos
71ddd3bd61
gnrc_lorawan: fix undefined state when PSDU is NULL
2021-06-24 15:51:04 +02:00
Jose Alamos
5808a16f23
gnrc_netif/lorawan: drop netif header on send
2021-06-24 15:21:05 +02:00
Jose Alamos
8f2be7b486
ieee802154: add ieee802154_dst_filter
2021-06-23 16:44:07 +02:00
Martine Lenders
270ea83c0f
Merge pull request #16531 from benpicco/drivers/slipdev-l2
...
drivers/slipdev: report NETOPT_ADDRESS to simulate l2 address
2021-06-22 20:15:31 +02:00
Martine Lenders
23fef51cae
Merge pull request #16569 from benpicco/gnrc_ipv6_nib-all_ifs
...
gnrc_ipv6_nib: consider all local interfaces when looking for address
2021-06-22 16:01:52 +02:00
Benjamin Valentin
8871b929ab
gnrc_ipv6_nib: consider all local interfaces when looking for address
...
If a node has two interfaces A with 2001:16b8:45b5:9af8:5884:3bff:fe4f:a903
and B with 2001:16b8:45b5:9afa:5884:3bff:fe4f:a902 and receives a neighbor
solicitation on A for an address configured on interface B, answer the neighbor
solicitation instead of bailing out with
> Target address 2001:16b8:45b5:9afa:5884:3bff:fe4f:a902 is not assigned
> to the local interface
2021-06-22 15:05:09 +02:00
benpicco
cf688774e5
Merge pull request #16527 from benpicco/gnrc_netif_create-race
...
sys/net/gnrc/netif: make gnrc_netif_create() blocking to avoid race condition
2021-06-21 15:48:18 +02:00
Benjamin Valentin
d7c377f400
sys/net/gnrc/netif: make gnrc_netif_create() blocking
...
Make gnrc_netif_create() block until the interface is created and
registered.
This avoids a race condition where after calling gnrc_netif_init_devs()
not all interfaces are available yet when iterating through the list
of interfaces with gnrc_netif_iter().
2021-06-21 14:04:06 +02:00
Karl Fessel
a6a53c98f7
sys/ztimer: convert clock do not require pm
...
avoid blocking and unblocking of power_mode 0 for convert clocks
2021-06-21 13:56:03 +02:00
Benjamin Valentin
c1eead925d
drivers/slipdev: register with netdev
2021-06-21 12:42:03 +02:00
Benjamin Valentin
9fbab8f0f8
drivers/slipdev: report NETOPT_ADDRESS to simulate l2 address
...
A lot of things break if `GNRC_NETIF_FLAGS_HAS_L2ADDR` is not set.
In order to handle router advertisements and auto-configureation,
generate a faux l2 address based on the netdev ID.
2021-06-21 12:42:03 +02:00
Francisco Molina
beee6fdffb
sys/ztimer: use highest frequency for nrf51 as well
2021-06-18 14:14:09 +02:00
Benjamin Valentin
68afd9d900
gnrc_ndp: add route information option
2021-06-18 00:13:08 +02:00
Benjamin Valentin
f5d5ff3794
gnrc/nib: honor CONFIG_GNRC_IPV6_NIB_ADV_ROUTER option
...
This option was unused before, honor it to make it possible to start
with router advertisements disabled and enable them at run time.
The defaults remain unchanged by that.
2021-06-17 18:45:38 +02:00
Benjamin Valentin
e74ba8f92d
gnrc/nib: don't define _set_rtr_adv() twice
...
It's already defined in `_nib-router.h`, defining it to no-op
in `_nib-6lr.h` makes it impossible to run-time enable advertisements
on non 6lo nodes.
2021-06-17 18:45:38 +02:00
Martine Lenders
7cad799afe
Merge pull request #15468 from jia200x/pr/rh/rev.13.11
...
ieee802154/hal: adapt frame filter and source address matching changes
2021-06-17 16:18:57 +02:00
Francisco
a012a0849f
Merge pull request #15317 from aabadie/pr/sys/arduino_ztimer
...
sys/arduino: replace xtimer by ztimer as high-level background timer
2021-06-17 15:56:04 +02:00
Leandro Lanzieri
ae81b808a1
Merge pull request #16080 from jia200x/pr/gnrc_lorawan_netif
...
gnrc_lorawan: encode LoRaWAN port in netif header
2021-06-17 11:30:09 +02:00
746f56cc3f
sys/arduino: use ztimer as backend high-level timer
2021-06-17 10:23:21 +02:00
Jose Alamos
7d14fb3571
ieee802154/hal: remove set_rx_mode
2021-06-17 10:07:43 +02:00
Jose Alamos
6d64b537ef
ieee802154/hal: remove set_hw_addr_filter
2021-06-17 10:07:43 +02:00
Francisco
a20790b0ef
Merge pull request #16530 from benpicco/gnrc_dhcpv6_client_6lbr-generic
...
gnrc_dhcpv6_client_6lbr: choose downstream if as !upstream
2021-06-17 08:37:30 +02:00
Francisco
629cecb625
Merge pull request #14558 from jia200x/pr/gnrc_lorawan_rtt_support
...
gnrc_lorawan: add support for RTT (ztimer)
2021-06-17 08:34:59 +02:00
Hauke Petersen
7c6b72d3b4
net/gnrc/rpl: use ztimer_msec if available
2021-06-16 20:39:32 +02:00
Jose Alamos
dca0b366ac
gnrc_lorawan: drop frame if port exceeds max app port
2021-06-16 14:50:48 +02:00
Jose Alamos
9dce6eba14
ieee802154: add Auto ACK compile time config
2021-06-16 14:19:39 +02:00
Jose Alamos
70815e012b
ieee802154/hal: add set config addr filter
2021-06-16 14:19:39 +02:00
Jose Alamos
eb7282db0a
ieee802154/hal: add set frame filter
2021-06-16 14:19:38 +02:00
Jose Alamos
e13aac3909
ieee802154/hal: add config src address match
2021-06-16 14:19:38 +02:00
Jose Alamos
7343c1c503
gnrc_netif_lorawan: add netif hdr support
2021-06-16 13:18:04 +02:00
Jose Alamos
dfacff9568
gnrc_lorawan: add support for RTT
2021-06-16 13:13:37 +02:00
Jose Alamos
2f680eaf01
gnrc_lorawan: remove xtimer and msg dependency
...
This commit removes the dependency to xtimer and RIOT messages.
This step is required to use other sources of events (e.g event_queue)
and timers (RTT)
2021-06-16 13:03:28 +02:00
José Alamos
9954ac8166
Merge pull request #16553 from fjmolinas/pr_ztimer_enable_rtt
...
ztimer: pull ztimer_periph_rtt for ZTIMER_MSEC if available
2021-06-16 13:01:39 +02:00
Francisco Molina
3e4e664071
ztimer: remove duplicate dependencies
2021-06-16 11:18:25 +02:00
Francisco Molina
c80390f28b
ztimer: pull ztimer_periph_rtt for ZTIMER_MSEC if available
2021-06-16 11:18:25 +02:00
Jose Alamos
7fd0364d59
net/netopt: deprecate NETOPT_LORAWAN_TX_PORT
2021-06-15 16:25:03 +02:00
benpicco
c7d12733ea
Merge pull request #16523 from benpicco/boards/same54-xpro-lock_eui
...
boards: lock EUI provider to interface type
2021-06-15 16:16:12 +02:00
Benjamin Valentin
056dcd8ae1
gnrc_dhcpv6_client_6lbr: choose downstream if as !upstream
2021-06-15 15:35:10 +02:00
Martine Lenders
35e40ce245
Merge pull request #16548 from benpicco/gnrc_ipv6_nib-nce_switch
...
gnrc_ipv6_nib: get node from proper interface
2021-06-15 12:00:42 +02:00
Leandro Lanzieri
fee045d3e9
Merge pull request #16515 from fabian18/ieee802154_security_kconfig
...
Kconfig: expose IEEE 802.15.4 Security to Kconfig
2021-06-15 11:21:41 +02:00
3eb6b602a4
Merge pull request #16544 from benpicco/drivers/ethos-multi
...
drivers/ethos: enable multiple instances
2021-06-15 10:14:41 +02:00
Benjamin Valentin
ae4165b374
gnrc_ipv6_nib: get node from proper interface
...
If we switch the interface in gnrc_ipv6_nib_get_next_hop_l2addr()
we must also re-get the nib entry from the 'proper' interface.
Otherwise we will always find the host unreachable on the 'wrong'
interface.
2021-06-14 16:56:15 +02:00
Hauke Petersen
1fb34b364b
sys/shell/sc_gnrc_rpl: do not print tricke TC
2021-06-14 11:22:49 +02:00
Hauke Petersen
c5d1a34b83
sys/trickle: migrate to ZTIMER_MSEC
2021-06-14 09:04:25 +02:00
Benjamin Valentin
2467c84634
drivers/ethos: enable multiple instances
2021-06-11 12:31:37 +02:00
Benjamin Valentin
118e08607a
net/eui_provider: prohibit use of NETDEV_ANY for EUI device type
...
The EUI provider function only gets the index of a device within it's
device type.
Using NETDEV_ANY with two devices of different type causes the EUI
provider to be used for both (since both interfaces are index 0 of
their type).
To prevent this, require EUI providers to be locked to an interface type.
2021-06-08 14:30:40 +02:00
cfb10db9b7
Merge pull request #16507 from fjmolinas/pr_event_timeout_periodic
...
sys/event: add periodic timeout event
2021-06-08 13:07:40 +02:00
Benjamin Valentin
d2b6f79143
gnrc_ipv6_nib: consider all prefixes when deciding on-link next hop
...
Consider the following configuration:
nib prefix
2001:16b8:4569:88fc::/62 dev #7 expires 7081 sec deprecates 3481 sec
2001:16b8:4569:88fe::/63 dev #6
If `_on_link()` stops at the first match, a packet received from #7 with a
destination in the downstream subnet in #6 would always be sent back via #7
if this happens to be the first entry in the list.
Instead, consider all prefixes and return the one that is the closest match.
2021-06-07 12:58:42 +02:00
benpicco
029cc50e72
Merge pull request #16528 from janosbrodbeck/pr/dtls/auto_init_before_gcoap
...
sys/auto_init: move sock_dtls after network stack initialization
2021-06-05 14:54:32 +02:00
János Brodbeck
ae39ffd9f8
sys/auto_init: move sock_dtls after network stack initialization
2021-06-04 18:13:33 +02:00
János Brodbeck
2e523bf101
net/gcoap: change return type from gcoap_req_send() to ssize_t
2021-06-04 17:15:04 +02:00
Francisco Molina
b0396eec5a
sys/include/event/timeout: add missing DOXYGEN
...
Fix styling
2021-06-03 17:54:26 +02:00
Francisco Molina
4ddbac3be3
sys/event: add periodic event
2021-06-03 17:53:44 +02:00
benpicco
3ad85a380c
Merge pull request #16522 from benpicco/bit_check
...
sys/bit: add bit_checkXX() functions
2021-06-03 13:07:21 +02:00
Fabian Hüßler
93759a747b
ieee802154_security: adapt to Kconfig
2021-06-03 08:38:25 +02:00
Benjamin Valentin
3dd5f5c789
sys/bit: add bit_checkXX() functions
2021-06-02 14:07:17 +02:00
fde0bb7819
Merge pull request #16505 from fjmolinas/pr_event_timeout_ztimer
...
sys/event/timeout: add option to use ztimer as backend
2021-06-01 12:19:39 +02:00
Fabian Hüßler
d09ca43a84
Kconfig: Expose ieee802154 security configuration
2021-05-31 10:32:01 +02:00
Francisco
69368c32f8
Merge pull request #16470 from jan-mo/feat/20210512__schedstatistics_runtime_in_usec
...
sys/ps: enable runtime_usec output for the ps command
2021-05-28 16:12:13 +02:00
Jan Mohr
435796ccaa
sys/ps/ps.c: enabled runtime in usec for schedstatistics
2021-05-28 15:00:46 +02:00
Francisco Molina
4f34e50130
sys/event/timeout: add option to use ztimer as backend
2021-05-27 22:34:01 +02:00
ca60cc9f66
Merge pull request #16363 from haukepetersen/add_byteorder_letofrombuf
...
sys/byteorder: add little endian to/from buf functions
2021-05-21 13:35:42 +02:00
Marian Buschsieweke
c210975108
Merge pull request #16443 from maribu/tests/malloc
...
sys/malloc_thread_safety: fix potential overflow in multiplication
2021-05-13 14:38:59 +02:00
Jnae
b287d120ff
at86rf215: timestamp counter for rx frames
2021-05-12 15:27:36 +02:00
Marian Buschsieweke
eefed0e0cd
sys/malloc_thread_safety: fix overflow in calloc
...
some standard c libraries (e.g. newlib before 4.0.0) don't perform
proper overflow check in the multiplication. We just implement calloc
here ourselves on top of malloc with proper overflow check in place.
This might even safe a handful of ROM bytes.
2021-05-06 13:04:01 +02:00
Martine Lenders
4b4eaf3b76
gnrc_ipv6_nib: fix acquire race on gnrc_ipv6_nib_get_next_hop_l2addr()
...
When two threads use `gnrc_ipv6_nib_get_next_hop_l2addr()` to determine
a next hop (e.g. when there is both an IPv6 sender and a 6LoWPAN
fragment forwarder), a race condition may happen, where one thread
acquires the NIB and the other acquires the network interface resulting
in a deadlock. By releasing the NIB (if acquired) before trying to
acquire the network interface and re-acquiring the NIB after the network
interface is acquired, this is fixed.
2021-05-05 17:48:24 +02:00
Leandro Lanzieri
d36628d37e
Merge pull request #16183 from Ollrogge/aes_pr
...
sys/crypto: Enable support for AES-192, AES-256
2021-05-05 09:19:12 +02:00
Mumpfie
185570b034
gnrc tx-sync: add cast for c++ compatibility
2021-05-04 16:59:56 +02:00
Francisco
3cb3b5ab85
Merge pull request #16133 from miri64/congure_mock/enh/real-methods
...
congure_mock: add capability to provide actual methods
2021-05-04 11:06:35 +02:00
Ollrogge
f5ca90b007
sys/crypto, sys/random: Fix Kconfig files in response to AES changes
2021-05-03 17:34:53 +02:00
Ollrogge
b1a2d4787d
sys/crypto: Remove leftover code related to deprecated 3DES block cipher
2021-05-03 17:34:53 +02:00
Ollrogge
427d2bd06e
sys/crypto: Enable support for AES-192, AES-256
2021-05-03 17:34:49 +02:00
benpicco
2b6454a2d7
Merge pull request #16106 from fabian18/ieee802154_security_small_bugfix_and_stricter_names
...
net/ieee802154_security: small bugfix and stricter names
2021-05-03 11:29:43 +02:00
Leandro Lanzieri
a60b53005a
pkg/lvgl: model dependency resolution in Kconfig
2021-04-28 11:19:24 +02:00
Benjamin Valentin
d611a264fd
drivers/cc2420: register with netdev
2021-04-27 17:37:52 +02:00
Fabian Hüßler
346f92f663
sys/net/link_layer/ieee802154: stricter names for security types
...
stricter prefixing of security related types and constants with
"ieee802154_sec_"
2021-04-27 08:54:19 +02:00
Fabian Hüßler
9390b3072b
sys/net/link_layer/ieee802154: add missing const
2021-04-27 08:54:19 +02:00
Fabian Hüßler
1f0c62fbc8
sys/net/link_layer/ieee802154: move _set_key _sec_ecb _sec_cbc together
2021-04-27 08:54:19 +02:00
Fabian Hüßler
7036c2b9ee
sys/net/link_layer/ieee802154: fix small typos
2021-04-27 08:54:19 +02:00
Fabian Hüßler
43f1470abc
sys/net/link_layer/ieee802154: fix small copy paste bug
2021-04-27 08:54:19 +02:00
Martine Lenders
f7992bb588
Merge pull request #16268 from maribu/sys/Makefile.dep
...
sys/Makefile.dep: Some cleanup
2021-04-23 21:34:11 +02:00
Marian Buschsieweke
19d92cb455
sys/net/gnrc/Makefile.dep: split out of sys/Makefile.dep
2021-04-23 20:29:38 +02:00
Sebastiaan de Schaetzen
dee65e7ec6
xtimer: fix race condition in xtimer_msg_receive_timeout
2021-04-22 16:31:36 +02:00
Hauke Petersen
a7a3244b8f
Merge pull request #16367 from kaspar030/fix_ztimer_is_set
...
ztimer: fix `ztimer_is_set()`
2021-04-22 12:06:41 +02:00
88b509e56d
ztimer: correctly unset timer->next (fix ztimer_is_set())
...
ztimer's machinery depends on figuring out if a timer is currently set
or not. It does that using _is_set(), which is also exposed as
ztimer_is_set().
Now when a timer expired and got taken of the timer queue using
_now_next(), the `next` pointer wasn't unset. This caused _is_set() to
wrongly return `true` for that timer.
Internally in ztimer, this didn't cause breakage, just an unnecessary
iteration of the timer queue by _delete_timer_from_list().
But this also broke the public ztimer_is_set().
This commit fixes the issue by correctly NULLing the timer's `next`
pointer when the timer triggers.
2021-04-22 11:06:04 +02:00
Hauke Petersen
9f19152c5c
sys/byteorder: add little endian to/from buf funcs
2021-04-21 11:48:38 +02:00
chrysn
9ece00f10d
sys/shell/sc_gnrc_rpl: Err out early if RPL not even started
...
Closes: https://github.com/RIOT-OS/RIOT/issues/16357
2021-04-20 17:04:27 +02:00
Hauke Petersen
feeffb2b2e
sys/shell/sc_gnrc_6ctx: use ztimer if available
2021-04-16 11:38:54 +02:00
Hauke Petersen
75dbf65256
net/gnrc/sixlowpan/ctx: use ztimer if available
2021-04-16 11:38:54 +02:00
Hauke Petersen
d605cf4c15
shell/sc_nimble_netif: fix _connect_name scan dur
2021-04-15 12:42:41 +02:00
Hauke Petersen
01770fb9ae
sys/shell/sc_nimble_netif: use ztimer
2021-04-15 09:11:53 +02:00
Leandro Lanzieri
58ec967cc6
Merge pull request #16264 from MrKevinWeiss/pr/pkgupdate/kconfig
...
pkg/*/Kconfig: Model simple pkgs in Kconfig
2021-04-12 19:01:18 +02:00
Hauke Petersen
b339e91e18
sys/sema: allow to use ztimer and/or xtimer
2021-04-12 13:08:39 +02:00
MrKevinWeiss
008660fccf
sys/random: Fix typo in kconfig
2021-04-08 16:44:10 +02:00
Leandro Lanzieri
e7732d9a00
Merge pull request #16217 from fjmolinas/pr_driver_sm_pwm_01c
...
drivers/sm_pwm_01c: initial import
2021-04-08 09:04:38 +02:00
Francisco Molina
424192fbe7
sys/progress_bar: add Konfig configuration
2021-04-07 12:05:00 +02:00
04b562780f
Merge pull request #16160 from kfessel/p-block-required
...
sys/ztimer: rename required_pm_mode to block_pm_mode
2021-04-07 11:09:04 +02:00
Karl Fessel
951fa14d70
sys/ztimer: rename required_pm_mode to block_pm_mode
2021-04-06 16:57:53 +02:00
Martine Lenders
e3f398e3d3
Merge pull request #16279 from brummer-simon/gnrc_tcp-fix_data_race_on_status
...
gnrc_tcp: fix data race on fsm status
2021-04-06 15:53:08 +02:00
Simon Brummer
247f4d52bc
gnrc_tcp: fix warnings from static-tests
2021-04-06 14:13:34 +02:00
Peter Kietzmann
c8cb79c3cf
Merge pull request #16253 from Ollrogge/ciphers_PR
...
crypto/ciphers: remove unneeded max_key_size in cipher_interface_st
2021-04-06 11:18:30 +02:00
Peter Kietzmann
f3482071e1
Merge pull request #16179 from leandrolanzieri/dev/net/sock/dtls_multi_cred
...
net/sock/dtls: allow using multiple credentials
2021-04-06 10:04:45 +02:00
Simon Brummer
458cfb9994
gnrc_tcp: fix data race on fsm status
2021-04-04 17:47:53 +02:00
Ollrogge
650e69038c
crypto/ciphers: remove unneeded max_key_size in cipher_interface_st
2021-04-02 10:50:58 +02:00
Francisco
9d1d2f9e21
Merge pull request #16172 from kfessel/p-zimer-sec
...
sys/ztimer: add ZTIMER_SEC, improve auto_init
2021-04-02 08:32:38 +02:00
Karl Fessel
3f66735bde
ztimer/periph_rtc: intialize struct tm to avoid TZ and IDST problems
...
{ .elem = 0 } initializes the complete struct to 0
{} is not ISO C conform
2021-04-01 18:19:15 +02:00
Karl Fessel
9e7f1d0097
sys/ztimer: add ZTIMER_SEC to Kconfig
2021-04-01 18:19:15 +02:00
Karl Fessel
0b5709a853
ztimer/periph_rtc: count months from 0
...
contrary to the western civilised world struct tm requires
us to count months from 0
2021-04-01 18:19:15 +02:00
Karl Fessel
c9e17196de
sys/ztimer: enhance periph selection documentation
...
provide more information about the selection procedure to Doxygen
2021-04-01 18:19:15 +02:00
Karl Fessel
aa770fdd8c
ztimer/auto_init: restructure for flexibitily, pm for ZTIMER_SEC
...
MSEC and SEC are now usable on TIMER(0) without having USEC
pm is configured by used hardware
OLD configuration values are translated for backward compatibility
prefer rtt for ZTIMER_SEC
avoid doing partial ztimer setup if auto_init_ztimer is disabled
before this patch some const pointers might have been definend to values
that a user who disables auto_init for ztimer does not like.
2021-04-01 18:19:01 +02:00
Francisco
4b816916dc
Merge pull request #16269 from maribu/drivers/sht1x
...
drivers/sht1x: fix code style issues
2021-04-01 13:51:53 +02:00
Marian Buschsieweke
1454dc3566
sys/Makefile.dep: clean up
2021-04-01 11:06:22 +02:00
Marian Buschsieweke
78aa197ab8
sys/shell/commands/sc_sht1x.c: fix style
2021-04-01 10:19:30 +02:00
Leandro Lanzieri
6428505017
net/sock/dtls: allow CREDMAN_TAG_EMPTY on sock creation
2021-04-01 09:47:39 +02:00
Leandro Lanzieri
95fd4f947a
net/sock/dtls: add documentation on multi-credential
2021-04-01 09:47:37 +02:00
Leandro Lanzieri
8b57b87258
net/sock/dtls: add RPK callback for credential selection
2021-04-01 09:47:37 +02:00
Leandro Lanzieri
81892ee389
net/sock/dtls: add client PSK callback for credential selection
2021-04-01 09:47:37 +02:00
Leandro Lanzieri
62fb9ad69f
net/sock/dtls: allow to register multiple credentials into a sock
2021-04-01 09:47:36 +02:00
Leandro Lanzieri
d7440ce1e3
net/sock/dtls: allow to set PSK Identity hint
2021-04-01 09:47:36 +02:00
Francisco
9a5657a2bc
Merge pull request #15789 from haukepetersen/add_event_timeoutztimer
...
sys/event: add event_wait_timeout_ztimer()
2021-03-31 11:38:56 +02:00
Hauke Petersen
91859fc261
sys/event: add event_wait_timeout_ztimer()
2021-03-31 10:11:29 +02:00
Hauke Petersen
91bf7bc376
Merge pull request #15920 from haukepetersen/add_nimble_netifscchanmap
...
pkg/nimble/netif: allow to read used channel map
2021-03-31 10:10:35 +02:00
efdaf9225f
sys/net/gnrc: disable sx126x auto init with loramac
2021-03-30 19:03:34 +02:00
ba9b626b6d
sys/auto_init/loramac: add support for sx126x radio
2021-03-30 19:03:34 +02:00
18a0889bc4
Merge pull request #16177 from aabadie/driver_llcc68
...
drivers: add support for sx1261/2 and llcc68 radio devices
2021-03-30 19:02:27 +02:00
bede0cd98c
sys/net/auto_init: add sx126x auto_init logic
2021-03-30 16:12:40 +02:00
Francisco
8ebe4f608b
Merge pull request #16226 from jnohlgard/devfs-submodule
...
devfs: Split devfs-random into two files using submodules
2021-03-30 16:03:06 +02:00
Francisco
c9f8836a9f
Merge pull request #16227 from rgrunbla/fix-doc-random
...
sys/include/random: generate documentation for random double generation
2021-03-30 15:54:25 +02:00
Marian Buschsieweke
5a7dd703e3
Merge pull request #16194 from maribu/pm_layered_atomic_utils
...
sys/pm_layered: use atomic_utils
2021-03-30 15:41:28 +02:00
Jnae
b1aaa974bd
sys/ztimer: add periph_ptp backend
2021-03-28 15:50:19 +02:00
Rémy Grünblatt
3e8dacde41
sys/include/random: generate documentation for random double generation
2021-03-24 14:34:19 +01:00
Joakim Nohlgård
f941782442
devfs: Split devfs-random into two files using submodules
2021-03-24 11:57:44 +01:00
chrysn
5b44d7e5b0
Merge pull request #16219 from chrysn-pull-requests/saul-shell-no-null-percents
...
sys/shell/saul: Don't print from NULL
2021-03-23 19:11:43 +01:00
chrysn
9eaaa68641
sys/shell/saul: Don't print from NULL
...
SAUL devices can legitimately be unnamed; catching all attempts to read
their names with a generic "(no name)" name.
2021-03-22 21:53:49 +01:00
Marian Buschsieweke
bcc899f2db
Merge pull request #16100 from maribu/netopt_tx_end_irq
...
sys/net/netopt: make NETOPT_TX_END_IRQ and friends read-only
2021-03-22 21:17:45 +01:00
José Alamos
c5d620add8
Merge pull request #16206 from akshaim/lorawan-netif_dr_fix
...
gnrc_netif_lorawan: Validate DR
2021-03-22 11:03:30 +01:00
Marian Buschsieweke
80d56488cc
sys/net/gnrc/netif: update use of NETOPT_TX_END_IRQ and friends
...
With the API change, it is no longer possible to enable these IRQs at
run time. Instead, query if the needed events are supported (with DEVELHELP).
2021-03-22 08:15:52 +01:00
Marian Buschsieweke
ff08139263
sys/net/gnrc/lwmac: update use of NETOPT_TX_END_IRQ and friends
...
With the API change, it is no longer possible to enable these IRQs at
run time. Instead, query if those are supported (with DEVELHELP).
2021-03-22 08:14:28 +01:00
Marian Buschsieweke
94e0ef47c7
sys/net/gnrc/gomach: update use of NETOPT_TX_END_IRQ and friends
...
With the API change, it is no longer possible to enable these IRQs at
run time. Instead, query if those are supported (with DEVELHELP).
2021-03-22 08:14:27 +01:00
Marian Buschsieweke
d86df5b217
sys/net/netopt: make NETOPT_TX_END_IRQ and friends read-only
...
Reasoning:
- Many drivers already just generate these events regardless of configuration.
This will make behavior more consistent
- Run time configuration increases ROM, complexity and maintaining
effort
- At least NETOPT_TX_END_IRQ is now de facto mandatory, as the new
netdev driver API requires NETDEV_EVENT_TX_COMPLETE to always be
generated.
2021-03-22 08:14:27 +01:00
Leandro Lanzieri
99c7ec57cf
Merge pull request #15943 from jia200x/pr/gnrc_lorawan_channel_mask
...
net/gnrc_lorawan: implement channel mask support
2021-03-19 16:23:13 +01:00
Akshai M
efdefaa7db
gnrc_netif_lorawan: Validate DR
...
Co-authored-by: José Alamos <jialamos@uc.cl>
2021-03-19 12:17:44 +01:00
Jose Alamos
166ee57a5a
net/gnrc_lorawan: implement funcion to set channel mask
2021-03-19 12:15:03 +01:00
Martine Lenders
214fdf007d
Merge pull request #16193 from miri64/gnrc_netif_pktq/feat/usage
...
gnrc_netif_pktq: add function to check usage
2021-03-18 23:05:27 +01:00
a53cbbfa91
sys/net/sock_util: zero out temporary buffer
...
Otherwise, the following strncpy() leaves strtol() with a non-terminated
buffer.
2021-03-18 14:58:35 +01:00
José Alamos
21390849bf
Merge pull request #16188 from aabadie/semtech-loramac_netdev
...
pkg/semtech-loramac: refactor to use netdev API only
2021-03-18 13:11:32 +01:00
benpicco
8ca676aa6e
Merge pull request #15907 from benpicco/gnrc_netif-register
...
sys/net/gnrc/netif: only register netif after init was successful
2021-03-16 16:26:06 +01:00
Benjamin Valentin
545497e970
net/netif: make netif_register() thread safe
2021-03-16 14:49:04 +01:00
Marian Buschsieweke
635151dc20
sys/pm_layered: use atomic_utils
2021-03-15 21:17:17 +01:00
Martine S. Lenders
db8415b5b6
gnrc_netif_pktq: add function to check usage
2021-03-15 15:13:27 +01:00
Martine Lenders
fd36c626a3
Merge pull request #15950 from MrKevinWeiss/pr/turo/initial
...
sys/test_utils/result_output: Initial implementations and API of turo
2021-03-15 11:35:01 +01:00
MrKevinWeiss
38884d24b2
sys/result_output: Add kconfig
2021-03-15 10:36:46 +01:00
05224adc96
sys/net/loramac: move lora time on air compute helper in loramac.h
2021-03-14 11:09:39 +01:00
MrKevinWeiss
6a3eb46d5e
sys/result_output: Expose result output
2021-03-12 16:20:33 +01:00
MrKevinWeiss
2c2be2636d
sys/result_output: Add initial structure check
2021-03-12 16:17:12 +01:00
MrKevinWeiss
d17829311c
sys/result_output: Add initial text implementation
2021-03-12 16:16:28 +01:00
MrKevinWeiss
3cbd8a356b
sys/result_output: Add initial json implementation
2021-03-12 16:15:07 +01:00
e4c54de2a6
sys/auto_init/loramac: initialize sx127x radio there
2021-03-12 14:40:12 +01:00
Leandro Lanzieri
e47727fb16
treewide: remove unneeded ieee802154_radio_hal pseudomodule
2021-03-10 14:18:13 +01:00
Leandro Lanzieri
fe5c982fa6
drivers/Makefile.dep: don't pull netdev on netdev_default
...
netdev_default should enable the network devices, which do not
necessarily use netdev.
2021-03-10 14:18:12 +01:00
010ba56174
Merge pull request #16061 from kaspar030/xfa_shell
...
sys/shell: add XFA support
2021-03-09 14:47:43 +01:00
Kevin "Tristate Tom" Weiss
9d579a34d0
Merge pull request #16116 from leandrolanzieri/pr/sys/ztimer/kconfig_change_default_backend
...
sys/ztimer/kconfig: add defaults for backends
2021-03-09 12:22:10 +01:00
Francisco
fc82e3916e
Merge pull request #15931 from haukepetersen/add_dbgpin3
...
sys: add `dbgpin` module for debugging and profiling (take 2)
2021-03-09 10:26:37 +01:00
Leandro Lanzieri
37419b2b3e
Merge pull request #16157 from MrKevinWeiss/pr/kconfig/posixinet
...
sys/posix/inet: Add posix_inet and dependencies to Kconfig
2021-03-09 10:00:09 +01:00
1588dd8e46
Merge pull request #16166 from fjmolinas/pr_flashpage_dep_riotbooty
...
sys/riotboot: remove remaining FLASHPAGE_SIZE dep
2021-03-09 09:43:43 +01:00
MrKevinWeiss
0fd3cbfa0b
sys/posix: Add posix_inet module to kconfig
2021-03-09 09:15:59 +01:00
MrKevinWeiss
223430f589
net/ipv*/addr: Add ipv*_addr modules to Kconfig
2021-03-09 09:08:50 +01:00
madokapeng
905723be59
sys/include/can: Add loopback operation mode
...
tests/candev: Add loopback mode for testing purpose
2021-03-08 12:13:15 -05:00
Marian Buschsieweke
da76ca68db
sys/ztimer: add ZTIMER_SEC
...
wire up ZTIMER_SEC to the existing RTC backend, or RTT backend, or periph_timer
backend (in this order of preference).
Update sys/ztimer/auto_init.c
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2021-03-08 15:11:53 +01:00
Francisco Molina
2f7abb637a
sys/riotboot: remove remaining FLASHPAGE_SIZE dep
2021-03-08 10:22:04 +01:00
Leandro Lanzieri
311ed225ae
sys/clif: fix attribute parsing and comply with tests
2021-03-05 16:47:53 +01:00
Silke Hofstra
5e9b531d33
sys/phydat: clarify use of phydat::scale in phydat_fit
2021-03-04 21:30:18 +01:00
Francisco
d369dffb4f
Merge pull request #14339 from aabadie/pr/sys/auto_init_screen
...
drivers: sys/auto_init: pkg/lvgl: setup disp_dev, touch_dev and lvgl auto_init
2021-03-04 19:23:32 +01:00
Marian Buschsieweke
cf05b39da5
sys/event: add missing precondition to doc
2021-03-04 12:21:07 +01:00
Leandro Lanzieri
6a0240d04b
sys/ztimer/kconfig: add defaults for backends
2021-03-04 10:48:27 +01:00
7f5d17da83
sys/event: fix possibly uninitialized return warning
2021-03-03 22:28:31 +01:00
4e09a54521
pkg/lvgl: add auto_init_screen by default + setup auto_init
2021-03-03 18:00:49 +01:00
f45d2c7b2a
sys/auto_init: add auto_init for stmpe811
2021-03-03 18:00:49 +01:00
7c26cf8e76
sys/auto_init: add auto_init for ili9341
2021-03-03 18:00:49 +01:00
bbe0c94167
sys/auto_init: add mechanism for auto_init_screen
2021-03-03 18:00:49 +01:00
Kevin "Tristate Tom" Weiss
bf93d85d4e
Merge pull request #16111 from miri64/congure_test/enh/shorter-shell-cmd
...
congure_test: make shell commands shorter
2021-03-03 14:09:49 +01:00
Martine Lenders
384df31946
congure_mock: add capability to provide actual methods
2021-03-03 13:30:35 +01:00
Marian Buschsieweke
9e55c2d9e9
sys/net/gnrc/lwmac: add missing const qualifier
...
The name of the thread running the MAC can be stored in ROM.
2021-03-02 17:12:01 +01:00
Marian Buschsieweke
f7f739046d
sys/net/gnrc/gomach: add missing const qualifier
...
The name of the thread running the MAC can be stored in ROM.
2021-03-02 17:10:58 +01:00
3eaa1beb56
sys/shell: initial XFA support
2021-03-02 14:57:29 +01:00
Leandro Lanzieri
7faa84ff56
Merge pull request #16110 from jia200x/pr/fix_gnrc_lorawan_pktbuf
...
gnrc_netif_lorawan: add missing NULL check
2021-03-01 14:46:44 +01:00
Martine Lenders
f19c8bad01
congure_test: make shell commands shorter
2021-03-01 14:41:31 +01:00
benpicco
b572e67846
Merge pull request #16112 from chrysn-pull-requests/cord-27
...
sys/net/app/cord: Update to RD draft -27
2021-03-01 14:13:33 +01:00
chrysn
049b5179a7
sys/net/app/cord and examples: Update references to -27
...
With all (the few necessary) changes done, this can claim -27
compatibility.
2021-03-01 11:59:57 +01:00
chrysn
6542f7008f
sys/net/app/cord: Use updated .well-known path from draft -26
2021-03-01 11:20:42 +01:00
Jose Alamos
275630289d
gnrc_netif_lorawan: add missing NULL check
2021-03-01 10:50:57 +01:00
benpicco
c007b00951
Merge pull request #15932 from jeandudey/2021_02_04-ieee802154-phy
...
net/ieee802154: add PHY modes caps for HAL
2021-02-26 23:09:37 +01:00
Hauke Petersen
47a031e483
cpu/cortexm_common: add dbgpin initialization
2021-02-26 11:34:52 +01:00
Hauke Petersen
2d582cdd2e
sys: initial import of dbgpin module
2021-02-26 11:34:52 +01:00
Jean Pierre Dudey
e99e2d222d
net/ieee802154/submac: select and save PHY mode on device init
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-26 11:16:27 +01:00
Jean Pierre Dudey
4ca37c96b3
net/ieee802154: add PHY mode capabilities
...
- Adds capabilities for each PHY mode. Converts the uint16_t caps field to an
uint32_t in order to hold all capability bits, size of the structure remains
unchanged due to alignment.
- Modifies the test application to configure the PHY mode using the shell
command. Also adds the PHY modes to the capabilities shell command.
- Updates the nrf802154 and cc2538 radio drivers to specify the PHY mode
supported.
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-26 11:16:27 +01:00
Jean Pierre Dudey
0cd3deb74c
net/ieee802154: add PHY mode configuration
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-26 11:16:27 +01:00
Jean Pierre Dudey
8183b1fe78
net/ieee802154: add type for PHY modes enum
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-26 11:16:27 +01:00
Hauke Petersen
18d6e122b5
sys/shell/nimble_netif: add list channel map cmd
2021-02-26 10:21:21 +01:00
Martine Lenders
f5bae1a8fb
congure_mock: initial import of a CongURE mock implementation
2021-02-26 10:08:12 +01:00
Martine Lenders
e65fee4587
congure_test: initial import of CongURE test framework
2021-02-26 10:08:12 +01:00
Martine Lenders
2f2a009e7a
congure: initial import of a congestion control framework
2021-02-26 10:08:11 +01:00