Benjamin Valentin
ff4c738e2d
sys/vfs: add vfs_unmount_by_path()
2022-05-16 11:11:11 +02:00
benpicco
1e315c7308
Merge pull request #16748 from jia200x/pr/gnrc_netif/remove_netdev_event_isr_msg
...
gnrc_netif: use event loops by default to process ISR
2022-05-13 18:49:01 +02:00
Martine Lenders
dbed2b48ea
nanocoap_cache: add helper function to check if entry is stale
2022-05-13 12:14:55 +02:00
Martine Lenders
310ed649ae
gcoap: reflect truncation with caching
2022-05-13 12:14:55 +02:00
Martine Lenders
70d0d7f624
gcoap_forward_proxy: only leave upstream validation for caching
...
Most of the caching operation was moved to the client code. Since the
forward proxy is using that code for upstream messaging, interacting
with the cache directly is not necessary anymore.
The only cache-related thing necessary for the proxy is validating ETags
from upstream. However, that can be done by just looking at the ETags
from the upstream response (which may or may not have come from the
cache).
2022-05-13 12:14:55 +02:00
Martine Lenders
728c7d6088
gcoap: add nanocoap_cache support for clients
2022-05-13 12:14:54 +02:00
Martine Lenders
cbbde07cc6
gcoap: add helper function to get request header from a request memo
2022-05-12 15:22:05 +02:00
Cenk Gündoğan
820ca617fd
Merge pull request #17801 from miri64/gcoap_forward_proxy/enh/etag
...
gcoap_forward_proxy: provide cache validation mechanism
2022-05-12 14:50:12 +02:00
Martine Lenders
73bcd83543
nanocoap_cache, forward_proxy: add ETag validation support
2022-05-12 13:22:41 +02:00
Benjamin Valentin
b13b942e18
gnrc/ipv6_auto_subnets: allow to join multiple subnets
2022-05-12 00:44:18 +02:00
Benjamin Valentin
aae9bb0a91
net/netopt: remove NETOPT_RX_END_IRQ
2022-05-11 23:44:24 +02:00
1f08e2e2c8
sys/uri_parser: enforce maximum port length
2022-05-11 21:15:55 +02:00
Benjamin Valentin
83d7d05885
gnrc/link_layer: don't set NETOPT_RX_END_IRQ
2022-05-11 13:58:06 +02:00
Benjamin Valentin
03a669c407
gnrc_netif: remove warning about NETOPT_RX_END_IRQ
2022-05-11 13:56:47 +02:00
Cenk Gündoğan
c5eb53095d
gcoap: integrate nanocoap cache
2022-05-10 18:43:57 +02:00
Cenk Gündoğan
8750605d26
nanocoap: add cache for response messages
2022-05-10 18:43:56 +02:00
Jose Alamos
869c5f37a7
link_layer/lwmac: use event queue for ISR offload
2022-05-10 17:48:43 +02:00
Jose Alamos
6040747f33
link_layer/gomach: use event queue for ISR offload
2022-05-10 17:48:43 +02:00
Jose Alamos
081dfe0e64
gnrc_netif: use event queue for ISR offload
2022-05-10 17:48:42 +02:00
Jose Alamos
38798cb877
gnrc_netif: use events instead of msg queue for ISR offload
2022-05-10 17:48:42 +02:00
Benjamin Valentin
1c1cb481da
gnrc/ipv6_auto_subnets: only use prefix meant for address configuration
2022-05-10 16:41:20 +02:00
Marian Buschsieweke
eadd282cf4
Merge pull request #18026 from benpicco/gcoap_add_fix
...
gcoap: ensure response address is the same as request address
2022-05-10 10:49:56 +02:00
Marian Buschsieweke
3dad6740da
Merge pull request #17990 from benpicco/nanocoap-void
...
nanocoap: use void * for payload bytes
2022-05-10 10:49:05 +02:00
benpicco
3771c06914
Merge pull request #18075 from kaspar030/drop_shell_buildin_commands_define
...
sys/shell: drop `_builtin_cmds` define
2022-05-10 10:10:23 +02:00
Benjamin Valentin
e621afb2dc
gcoap: ensure response address is the same as request address
...
If a node has multiple addresses we must reply to a request with the
same address on which the request was received.
2022-05-10 09:24:56 +02:00
Benjamin Valentin
cc8b4f52aa
grnc_sock_udp: implement SOCK_AUX_SET_LOCAL
2022-05-10 09:24:56 +02:00
Benjamin Valentin
2197f9c16a
grnc_sock_ip: implement SOCK_AUX_SET_LOCAL
2022-05-10 09:24:56 +02:00
Benjamin Valentin
6e1fb4c3aa
sys/net/sock: introduce SOCK_AUX_SET_LOCAL
2022-05-10 09:24:56 +02:00
Benjamin Valentin
f11899f6bb
sys/net: add local to sock_udp_aux_tx_t
2022-05-10 09:24:56 +02:00
Benjamin Valentin
bcd58bfd10
sys/net: add local to sock_ip_aux_tx_t
2022-05-10 09:24:56 +02:00
Martine Lenders
beb65f8e53
Merge pull request #18078 from benpicco/gnrc_netif_ipv6_addrs_get
...
net/gnrc_netif: clarify documentation of gnrc_netif_ipv6_addrs_get()
2022-05-10 09:22:48 +02:00
benpicco
cb1aea03a0
Merge pull request #18065 from benpicco/gnrc_sock-implicit_netif
...
gnrc_sock: implicitly set netif if there is only a single one
2022-05-10 00:16:42 +02:00
Benjamin Valentin
79987483e4
net/gnrc_netif: clarify documentation of gnrc_netif_ipv6_addrs_get()
...
Reformulate the documentation to make it clear that this returns the
*size* of the addresses, not the number of addresses.
2022-05-09 21:46:01 +02:00
b8fef54724
sys/shell: drop _builtin_cmds
define
2022-05-09 15:24:34 +02:00
Benjamin Valentin
4295104866
vfs: fix dir detection in vfs_sysop_stat_from_fstat()
...
`vfs_sysop_stat_from_fstat()` is a fallback implementation of `stat()`
based on `fstat()`.
It will open a file and call `fstat()`.
This fails if the target is not a file but a directory, which means that
directories are not recognized as such.
To fix this, try to open the path as a directory if opening it as a file
fails. If this succeeds, set the `S_IFDIR` flag.
2022-05-08 23:04:26 +02:00
benpicco
6b0a105344
Merge pull request #18034 from laurin/arpa-inet-restrict
...
sys/posix/include/arpa: use `__restrict` instead of `restrict`
2022-05-07 17:32:04 +02:00
Laurin Wolf
550f5ea1b1
sys/posix: use __restrict instead of restrict
2022-05-07 16:10:01 +02:00
Benjamin Valentin
cbd48c23aa
gnrc_sock: implicitly set netif if there is only a single one
2022-05-06 12:11:13 +02:00
benpicco
de23ba0d04
Merge pull request #18046 from benpicco/nanocoap-minor
...
nanocoap: minor fixes
2022-05-05 14:56:47 +02:00
a32b01a0af
Merge pull request #18032 from aabadie/pr/sys/quad_math_remove
...
sys/quad_math: remove unused module for quad arithmetic
2022-05-05 12:57:25 +02:00
Marian Buschsieweke
08ae9bd771
sys/include/time_units.h: add more constants
...
Added all sensible conversion factors up to days and ordered them.
2022-05-05 11:31:45 +02:00
Karl Fessel
3680198619
ztimer: deprecate ztimer_now64 and ztimer_now_t
2022-05-04 15:57:57 +02:00
1b16ad1e9a
sys/auto_init: model auto_init_security in Kconfig
2022-05-03 16:06:22 +02:00
Benjamin Valentin
0847c18a18
nanocoap: use size_t for payload_len
2022-05-03 11:32:20 +02:00
Benjamin Valentin
cabb2c912d
nanocoap: use void * for payload bytes
2022-05-03 11:32:20 +02:00
Benjamin Valentin
76090d98d4
nanocoap: fix doc of coap_blockwise_cb_t return code
...
see 04a8a36734
2022-05-03 03:54:17 +02:00
Benjamin Valentin
d03c6390c8
nanocoap_sock: release rx buffer on RESET
...
We must not return without calling sock_udp_recv_buf() again.
2022-05-03 03:53:56 +02:00
Benjamin Valentin
e55f0f8831
sys/net/grnc: make use of iolist_to_buffer()
2022-05-02 23:23:52 +02:00
Benjamin Valentin
42e5d0d402
sys/vfs: add vfs_write_iol()
2022-05-02 23:23:52 +02:00
Benjamin Valentin
501ca7e34d
sys/iolist: introduce iolist_to_buffer()
2022-05-02 23:23:52 +02:00
benpicco
1b92fb9858
Merge pull request #17350 from benpicco/gnrc_rpl/auto_init_on_prefix
...
gnrc/ipv6_auto_subnets: init RPL root when adding a prefix
2022-05-02 21:38:21 +02:00
Benjamin Valentin
a881af8b08
gnrc/ipv6_auto_subnets: bail out early if prefix stays the same
2022-05-01 21:37:32 +02:00
Benjamin Valentin
5785856fe7
gnrc/ipv6_auto_subnets: bail out early if adding prefix fails
2022-04-29 22:56:35 +02:00
Benjamin Valentin
3993fd75d0
gnrc/ipv6_auto_subnets: auto init RPL root
2022-04-29 22:56:35 +02:00
Benjamin Valentin
878596d393
gnrc_netif: improve documentation of gnrc_netif_ipv6_add_prefix()
2022-04-29 22:56:35 +02:00
Benjamin Valentin
04a8a36734
nanocoap_sock: only abort nanocoap_sock_get_blockwise() on negative error
...
Some user callbacks might just return the result of some other operation
that returns written bytes or negative error.
Let's not break those, only consider negative callback returns an error.
2022-04-29 21:29:36 +02:00
Teufelchen1
4f60140014
net/gnrc: Fixing whitespace in the documentation
2022-04-29 14:19:25 +02:00
Laurin Wolf
2d9a7e27c3
/net/sock/udp: designated iolist_t intializer
2022-04-28 23:47:45 +02:00
Kevin "Tristate Tom" Weiss
7731e6ab62
Merge pull request #17995 from aabadie/pr/tests/pkg_utensor_kconfig
...
tests/pkg_utensor: model in Kconfig + fix utensor package dependencies
2022-04-28 17:25:56 +02:00
7ca86edec5
sys/quad_math: remove unused module for quad arithmetic
2022-04-28 14:48:10 +02:00
benpicco
42f0d0d24c
Merge pull request #18013 from kfessel/p-coap_pkt-token-deprecate
...
net/nanocoap: deprecate coap_pkt token ptr
2022-04-28 11:25:47 +02:00
dcbcc53343
sys/posix/pthread: improve Kconfig dependency resolution
2022-04-28 08:49:54 +02:00
Martine Lenders
b167d6931c
Merge pull request #17774 from fjmolinas/pr_nimble_auto_adv_extended
...
pkg/nimble/autoadv: add support for ext_adv
2022-04-27 16:44:46 +02:00
Leandro Lanzieri
82726a2b2b
sys/random/kconfig: remove HWRNG default in backend choice
...
For now we match the Makefile.dep default, ignoring if the platform
presents a Hardware RNG.
2022-04-27 15:41:23 +02:00
e9faabd018
Merge pull request #18020 from fjmolinas/pr_suit_storage_flashwrite_log
...
sys/suit/storage: change log to LOG_DEBUG
2022-04-27 15:10:25 +02:00
Karl Fessel
dcac22eebb
net/nanocoap: deprecate coap_pkt token ptr
2022-04-27 12:31:28 +02:00
Francisco Molina
fc616a9916
sys/stdio_nimble: fiter conn_handle
2022-04-27 10:10:32 +02:00
Francisco Molina
8114974ea7
sys/suit/storage: change log to LOG_DEBUG
2022-04-27 09:52:16 +02:00
cdf1d43e15
Merge pull request #17984 from fjmolinas/pr_suit_install_once
...
sys/suit: avoid installing payload twice
2022-04-27 09:44:58 +02:00
Martine Lenders
aa5a18f833
Merge pull request #16974 from yarrick/lwip_netif
...
pkg/lwip: Add netif_t struct, register all netifs
2022-04-26 23:49:49 +02:00
chrysn
0a72fc9255
Merge pull request #16812 from chrysn-pull-requests/cord-doc-discoverability
...
net/cord doc: Usability fixes
2022-04-26 21:10:52 +02:00
Alexandre Moguilevski
17afe9cb1f
sys/include/ztimer64: fix for xtimer_msg_receive_timeout64 in xtimer_compat.h
2022-04-25 17:12:11 +02:00
Francisco Molina
e66ad95c4c
sys/suit: avoid installing payload twice
2022-04-25 15:21:22 +02:00
Francisco Molina
da9a37a984
pkg/nimble/autoadv: prefix configurations with CONFIG_
2022-04-25 08:43:51 +02:00
1db89df391
sys: add Kconfig support for cpp11-compat module
2022-04-24 21:23:34 +02:00
c38eb27fe0
sys/posix: add Kconfig file for pthread module
2022-04-24 21:23:33 +02:00
cbcda7c2bf
sys: make MODULE_LIBC_GETTIMEOFDAY prompt visible
2022-04-24 21:23:33 +02:00
677871d717
suit/transport/coap: Use generic subtree handler
...
The SUIT CoAP code can make use of the generic subtree handler. This
commit removes the obsolete code to make use of the more generic
nanocoap subtree handlers.
2022-04-23 10:21:37 +02:00
eecac6945b
nanocoap: Add handler for resource-based subtrees
...
This adds a coap_handler_t function that can be used to parse new
subtrees. The subtree information is included in the context pointer of
the call and must be of type coap_resource_subtree_t. This object then
contains the pointer and length of a different coap_resource_t instance.
2022-04-23 10:12:18 +02:00
e56f86d594
Merge pull request #17989 from benpicco/ztimer64-msleep-fix
...
ztimer64_xtimer_compat: fix ztimer_msleep()
2022-04-23 07:40:05 +02:00
Benjamin Valentin
6113b79bdb
ztimer64_xtimer_compat: fix ztimer_msleep()
2022-04-22 18:12:45 +02:00
Benjamin Valentin
bb4c597681
nanocoap_sock: document (ab)use of sock_udp_recv_buf(), add asssert()
2022-04-22 11:34:19 +02:00
Benjamin Valentin
b20f89976d
nanocoap_sock: pass on error code from user callback
2022-04-22 10:35:52 +02:00
Benjamin Valentin
85833ab58c
nanocoap_sock: clean up the request function
2022-04-22 10:35:52 +02:00
Benjamin Valentin
bd7fe3bc5c
nanocoap_sock: calculate deadline from interval
...
So we don't have to wait a full interval again if we got a wrong
message without resend.
2022-04-22 10:35:52 +02:00
Benjamin Valentin
e2fe9d0268
nanocoap_sock: compare response token
2022-04-22 10:35:52 +02:00
Benjamin Valentin
c22b1242ae
nanocoap_sock: ensure ctx is reset before receiving new frame
2022-04-22 10:35:52 +02:00
Benjamin Valentin
3ac258ccdf
nanocoap_sock: set more false if response was not blockwise
2022-04-22 10:12:27 +02:00
Benjamin Valentin
a5bc3cc069
nanocoap_sock: pass on error code
2022-04-22 10:12:27 +02:00
benpicco
c032e40fba
Merge pull request #17976 from benpicco/coap_get_token
...
nanocoap: add coap_get_token()
2022-04-22 10:08:30 +02:00
Francisco
21be49a16a
Merge pull request #17973 from fjmolinas/pr_examples_suit_seq_no
...
examples/suit_update/test: use 'suit seq_no' to get version
2022-04-22 08:47:32 +02:00
Francisco
7307923703
Merge pull request #17960 from benpicco/sock_urlpath
...
nanocoap_sock: add nanocoap_sock_url_connect()
2022-04-22 08:26:12 +02:00
Francisco Molina
ee9bf559fe
sys/sc_suit: aligh seq_no format with riotboot_hdr
2022-04-21 16:59:32 +02:00
Benjamin Valentin
e627d25752
nanocoap: constify get functions
2022-04-21 15:39:25 +02:00
Benjamin Valentin
5c1ff580d6
nanocoap_sock: don't decrement retries twice
2022-04-21 15:39:25 +02:00
Benjamin Valentin
845a757eed
nanocoap: don't set lastonum if no option was added
2022-04-21 15:39:25 +02:00
Benjamin Valentin
76e2500b7d
nanocoap_sock: use random message IDs
2022-04-21 15:39:25 +02:00
Benjamin Valentin
c4f6249992
nanocoap: make use of coap_get_token()
2022-04-21 15:34:31 +02:00
Benjamin Valentin
3d0c1d09c4
gcoap: make use of coap_get_token()
2022-04-21 15:34:31 +02:00
Benjamin Valentin
328d46277d
nanocoap: add coap_get_token()
2022-04-21 15:34:31 +02:00
Benjamin Valentin
8d391a4f5f
nanocoap_sock: use random timeout
2022-04-21 15:03:31 +02:00
df95c6ca83
Merge pull request #17945 from fjmolinas/pr_mcp2515_cleanups
...
drivers/mcp2515: fixes and cleanups
2022-04-20 10:42:08 +02:00
Francisco Molina
4edf33c16d
sys/auto_init_mcp2515: fix auto_init
2022-04-20 09:23:50 +02:00
646fb1135a
Merge pull request #17925 from aabadie/pr/drivers/lcd_params_rework
...
drivers/lcd: slightly rework params to expose offset values to ili9341 driver
2022-04-19 16:21:42 +02:00
718b1e350d
Merge pull request #17459 from aabadie/pr/drivers/cst816s_enh
...
drivers/cst816s: add touch_dev interface + add Kconfig + migrate to ztimer
2022-04-19 11:43:34 +02:00
56fdc90ef4
Merge pull request #17952 from leandrolanzieri/pr/sys/event/add_doc_and_assert
...
sys/event: Add documentation and enforce waiter on wait
2022-04-19 09:24:53 +02:00
fabian18
5643b52879
Merge pull request #17814 from fabian18/bugfix_nib_sllao_in_NS_6LR
...
ipv6/nib: bugfix handle SLLAO on 6LR if ARO is not present
2022-04-18 17:54:04 +02:00
Benjamin Valentin
2ea6c81217
nanocoap_sock: add nanocoap_sock_url_connect()
2022-04-18 01:53:23 +02:00
Benjamin Valentin
f6be7d6ffe
sys/net/sock_util: add sock_urlpath()
2022-04-18 01:36:50 +02:00
Fabian Hüßler
560e43ae56
ipv6/nib: bugfix handle SLLAO on 6LR if ARO is not present
2022-04-18 00:09:53 +02:00
benpicco
0e5900d597
Merge pull request #17941 from fjmolinas/pr_suit_seq_no_cmd
...
sys/sc_suit: add seq_no command
2022-04-17 23:44:20 +02:00
benpicco
c610b1fa2f
Merge pull request #17939 from fjmolinas/pr_suit_manifest_ram_seq_no
...
sys/suit: save seq_number when parsing manifest
2022-04-15 14:22:57 +02:00
Francisco
0a83d5e415
Merge pull request #17942 from fjmolinas/pr_riotboot_hdr_log
...
sys/riotboot/hdr: change header validation log to DEBUG
2022-04-15 08:37:51 +02:00
benpicco
4bad5a10bc
Merge pull request #17944 from fjmolinas/pr_gcoap_deps_fixes
...
gcoap: small dependencies fixes
2022-04-14 18:34:45 +02:00
Leandro Lanzieri
b3b76bf6f3
sys/event: ensure that a queue has a waiter before waiting for flags
...
Document and enforce that a queue has a waiter (i.e. it is claimed)
before waiting for thread flags.
2022-04-14 17:10:24 +02:00
Leandro Lanzieri
d3ee32fe97
sys/event: add queue initialization pre-cond to event_post
...
Document that a queue should have been initialized before posting events
to it.
2022-04-14 17:08:42 +02:00
benpicco
2acbb5ebea
Merge pull request #17947 from fjmolinas/pr_proxy_use_gcoap_port
...
sys/net/application_layer/gcoap: use COAP_PORT
2022-04-14 16:05:28 +02:00
benpicco
2790e361d8
Merge pull request #17946 from fjmolinas/pr_net_af_cleanup_doc
...
sys/include/net/af: fix doc comment
2022-04-14 13:46:29 +02:00
Francisco Molina
ec4a96b108
sys/riotboot/hdr: change header validation log to DEBUG
2022-04-14 11:53:31 +02:00
a2fc925a0e
drivers/cst816s: add touch_dev interface
2022-04-14 11:31:35 +02:00
Francisco Molina
c67a2086de
sys/net/application_layer/gcoap: use COAP_PORT
2022-04-14 09:24:35 +02:00
Francisco Molina
7e520b1194
sys/include/net/af: fix doc comment
2022-04-14 09:23:27 +02:00
Francisco Molina
34eb65642c
sys/Makefile.dep: cleanup gcoap deps
...
- GCOAP requires random functions
- openwsn_sock_udp is elected if openwsn stack is used and sock_udp
as well, so remove redundant dependency
2022-04-14 09:05:08 +02:00
Francisco Molina
14b3659699
sys/net/gnrc: fix alignment
2022-04-14 09:04:44 +02:00
Francisco Molina
180be1d6ee
sys/sc_suit: add seq_no command
2022-04-14 08:39:28 +02:00
Francisco Molina
73d71a6dd5
sys/suit/sotarge/ram: on install set seq_no
2022-04-14 08:27:42 +02:00
Francisco Molina
6a1b472a06
sys/suit: save seq_number when parsing manifest
2022-04-14 08:27:30 +02:00
benpicco
32790eb8f2
Merge pull request #17509 from benpicco/nanocoap-rework
...
sys/net/nanocoap: refactor to remove work-buffer requirement
2022-04-14 01:17:30 +02:00
benpicco
a39a4a3077
Merge pull request #17934 from Enoch247/fix-typos
...
Fix typos
2022-04-13 23:58:46 +02:00
Benjamin Valentin
d1fe77e6de
suit/transport/coap: adapt to new API
2022-04-13 19:33:00 +02:00
Benjamin Valentin
dbbb602522
net/coap: refactor nanocoap_request for zero-copy operation
...
This removes the need for a user provied work buffer from nanocoap.
Instead we let the user operate directly on network stack internal
memory and provide a callback mechanism to make sure the memory is
properly freed again.
2022-04-13 19:33:00 +02:00
benpicco
3e03fe669a
Merge pull request #17600 from benpicco/gnrc/nib-ra_on_ra
...
gnrc/nib: only enable RTR_ADV on RA if MULTIHOP_P6C is enabled
2022-04-13 18:44:10 +02:00
Joshua DeWeese
7f8bf30b70
sys/can: fix typo in documentation
...
The documentation mentions the can module's interaction with the can
tranciver driver (can_trx), but incorrectly calls it trx_can. This patch
fixes the documentation.
2022-04-13 11:48:43 -04:00
81cf5dba53
drivers/lcd: apply offset parameters to ili9341
2022-04-13 12:55:16 +02:00
Peter Kietzmann
5a8654ecab
Merge pull request #17096 from Ollrogge/fido2_follow_up
...
Fido2 follow up
2022-04-13 12:14:43 +02:00
benpicco
4d400307bf
Merge pull request #17920 from dp1/fix-loramac-argument-type
...
Fix argument type of lora_time_on_air to avoid errors in C++
2022-04-13 07:03:23 +02:00
Fabian Hüßler
2139b51cb5
gnrc/nib: only enable RTR_ADV on RA if MULTIHOP_P6C is enabled
...
If multihop distribution is not done using RA messages, then the
routers follow [RFC4861], which states that they merely do some
consistency checks; in this case, nothing in Section 8.1 applies.
- https://datatracker.ietf.org/doc/html/rfc6775#section-8.1
2022-04-13 00:20:52 +02:00
Benjamin Valentin
21cba5771d
nanocoap: constify helper functions
2022-04-12 16:07:32 +02:00
Ollrogge
deeea2b5f2
sys/fido2: documentation changes && code cleanup
2022-04-12 16:01:50 +02:00
Francisco Molina
62904fa611
sys/auto_init/screen: add common lcd auto_init
...
- use auto_init_screen if disp_dev is used
2022-04-12 12:39:00 +02:00
Dario Petrillo
f5e6268418
net/loramac: use enum type in lora_time_on_air()
2022-04-12 12:16:44 +02:00
Benjamin Valentin
4fae412027
sys/shell: enable RTC commands with rtt_rtc
2022-04-11 14:26:08 +02:00
Ollrogge
3306dffe23
sys/fido2: update flash handling && bug fixes
2022-04-11 13:03:41 +02:00
Martine Lenders
0f1674379a
congure_reno: initial import of TCP Reno congestion control
2022-04-08 14:37:47 +02:00
Oleg Hahm
755ea30da7
Merge pull request #17871 from HendrikVE/pr/sock_dns_mock
...
sys/net/application_layer/sock_dns_mock: add module for mocking sock_dns
2022-04-08 14:20:17 +02:00
Oleg Hahm
f3ffe134b0
Merge pull request #17895 from benpicco/pm_blocker_array
...
sys/pm_layered: use array representation, get rid of implicit IDLE mode
2022-04-08 14:04:46 +02:00
Oleg Hahm
a687552ac9
Merge pull request #17794 from fabian18/auto_init_using_xfa_simple
...
sys/auto_init: custom auto-initialization sequence (simple)
2022-04-07 12:32:01 +02:00
Benjamin Valentin
7fb8f3b7c5
sys/pm_layered: rename val_u8 -> blockers
2022-04-06 12:29:25 +02:00
Benjamin Valentin
79de7ea5e5
sys/pm_layered: use array representation, get rid of implicit IDLE mode
2022-04-06 12:29:25 +02:00
Francisco
c07a11c8cd
Merge pull request #17892 from kfessel/p-ztimer-conversions
...
sys: some simple xtimer->ztimer conversions
2022-04-04 09:17:46 +02:00
benpicco
e97ef479d6
Merge pull request #17778 from fabian18/bugfix_ndp_override_flag_for_non_anycast
...
gnrc/ndp: bugfix set O-flag if target is not anycast
2022-04-04 01:09:51 +02:00
Hendrik van Essen
a9fb3388ca
sys/net/application_layer/sock_dns_mock: add module for mocking sock_dns
2022-04-03 17:29:10 +02:00
3a83c380f7
Merge pull request #17824 from geonnave/set_channels_mask
...
pkg/semtech-loramac: enable setting channels mask
2022-04-02 18:56:11 +02:00
Karl Fessel
eabdf45b30
net/csma_sender: convert to ztimer_usec
2022-03-31 23:37:54 +02:00
Karl Fessel
ddbf64ccca
sys/suit_transport_coap: convert to ztimer_msec, rm unused deadline_fns
2022-03-31 23:37:15 +02:00
Marian Buschsieweke
3977ff6304
Merge pull request #17891 from kaspar030/print_stack_usage_fmt
...
sys/test_utils/print_stack_usage: work with small stacks
2022-03-31 19:11:26 +02:00
chrysn
d6115e3505
Merge pull request #17881 from miri64/nanocoap/enh/opt_remove
...
nanocoap: introduce coap_opt_remove()
2022-03-31 14:50:48 +02:00
0199bab468
sys/.../print_stack_usage: optionally use fmt, handle too small stacks
2022-03-31 14:48:02 +02:00
Karl Fessel
5fe9e9e2ab
posix/sockets: do not require timer
...
timer is required by the sock implemetation
2022-03-31 12:50:37 +02:00
Karl Fessel
a42c39dbea
net/uhcp: convert to ztimer
2022-03-31 12:50:31 +02:00
Martine Lenders
00fdd8a146
nanocoap: introduce coap_opt_remove()
2022-03-31 09:47:57 +02:00
benpicco
b20a300fe7
Merge pull request #17887 from benpicco/drivers/atwinc15x0-register
...
drivers/atwinc15x0: register with netdev
2022-03-31 01:44:17 +02:00
Benjamin Valentin
d800cca1c3
drivers/atwinc15x0: register with netdev
2022-03-30 16:07:29 +02:00
Fabian Hüßler
8d7a7593e8
sys/auto_init: use XFA to insert custom modules
2022-03-30 15:00:21 +02:00
fd7c185653
Merge pull request #17706 from kaspar030/add_stack_usage_metrics
...
tests: add stack usage metrics
2022-03-29 23:09:45 +02:00
ba86f51b26
sys/test_utils/print_stack_usage: add Kconfig support
2022-03-29 21:49:35 +02:00
fbe57de85e
sys/test_utils: add print_stack_usage
...
This commit adds a module that can print stack metrics in the format as
understood by CI.
2022-03-29 21:49:35 +02:00
benpicco
6849e33854
Merge pull request #17736 from benpicco/dhcpv6-tweaks
...
sys/net/dhcpv6: miscellaneous tweaks
2022-03-29 13:52:41 +02:00
benpicco
9ca3dd5d4b
Merge pull request #17656 from benpicco/vfs_default-test
...
vfs_default: add compile test and add default mount for more boards
2022-03-29 13:47:08 +02:00
benpicco
cdffc8f0ca
Merge pull request #17859 from benpicco/use_sock_tl_name2ep
...
treewide: use sock_tl_name2ep() class of functions where applicable
2022-03-29 12:31:51 +02:00
fabian18
c0f26fcaaa
Merge pull request #17803 from benpicco/gnrc/ipv6/nib-adv_address
...
gnrc/nib: don't advertise single address for auto-configuration
2022-03-29 10:49:54 +02:00
Benjamin Valentin
79f0354608
sys/net/sock_util: don't request AF in DNS which is not enabled
2022-03-29 10:44:22 +02:00
Benjamin Valentin
7ba58d4461
sys/vfs: add vfs_default.h
2022-03-29 10:24:01 +02:00
Martine Lenders
ef7329f85c
Merge pull request #17855 from miri64/ztimer/fix/init-unitialized
...
treewide: initialize several stack-allocated, but uninitialized timer structs
2022-03-28 20:05:47 +02:00
benpicco
1133d04de1
Merge pull request #17813 from leandrolanzieri/pr/tests/eth_drivers_rework
...
tests: rework eth drivers
2022-03-28 18:15:27 +02:00
Martine Lenders
a81c5a527e
ztimer: initialized un-initialized timer objects
2022-03-28 16:57:20 +02:00
Benjamin Valentin
37a4fffb17
sys/net/dhcpv6: consider option 0 an end marker
...
The REPLY of a TP-Link router (WR400 v4.20) ends with a 0 option
that has a bogus length.
When subtracting the length from the remaining length, we get an
underflow (remaining `len` is 3, option len is 4).
To get a working DHCP response, consider 0 (Reserved) an end marker.
2022-03-28 14:53:00 +02:00
Benjamin Valentin
922a1d7c9a
sys/net/dhcpv6: make sanity check more lenient
...
If we did not enable downstream interfaces yet but have IA_PD enabled
or if we did not configure an interface for IA_NA but have the module
enabled, don't discard the DHCP reply.
If a server does not support an option it will respond with an error
code.
2022-03-28 14:52:59 +02:00
Marian Buschsieweke
a20d8f67f5
Merge pull request #17856 from miri64/gnrc_netif/fix/null-ptr
...
gnrc_netif: fix potential null pointer dereference
2022-03-26 20:49:48 +01:00
Francisco
a10b1572aa
Merge pull request #17627 from benpicco/mtd_flashpage_t
...
drivers/mtd_flashpage: add mtd_flashpage_t type
2022-03-25 16:24:04 +01:00
fabian18
09b98ea4fc
Merge pull request #17850 from fabian18/bugfix_nib_6LN_context_option_length
...
ipv6/nib: bugfix of 6CO length checking
2022-03-24 22:07:18 +01:00
Benjamin Valentin
bb8def8b3e
cord_ep: replace sock_udp_str2ep() with sock_udp_name2ep()
2022-03-24 17:10:51 +01:00
Benjamin Valentin
9cab45931a
nanocoap: replace sock_udp_str2ep() with sock_udp_name2ep()
2022-03-24 17:09:16 +01:00
Martine Lenders
76935ddbf5
Merge pull request #17510 from benpicco/sock_tl_str2ep-dns
...
sys/net/sock_util: add sock_tl_name2ep() to optionally perform DNS lookups
2022-03-24 15:59:59 +01:00
Martine Lenders
624e8099ec
gnrc_netif: fix potential null pointer dereference
2022-03-24 15:53:23 +01:00
Martine Lenders
5aefb8d5dc
gnrc_sock: initialized un-initialized timer objects
2022-03-24 15:23:50 +01:00
Francisco
b91b984e38
Merge pull request #17733 from fjmolinas/pr_gettimeofday_64_bit
...
sys/syscalls: make gettimeofday() implementation optional
2022-03-24 15:22:27 +01:00
Francisco
d53f37546f
Merge pull request #17852 from fjmolinas/pr_gnrc_sock_ztimer_alt
...
sys/net/gnrc/sock: use ztimer_usec or xtimer for timeout
2022-03-24 14:22:55 +01:00
Francisco Molina
0819660303
sys/syscalls: add libc_gettimeofday
...
Conditionally implement gettimeofday() if module is included, this
avoids including ztimer64 even when not needed
2022-03-24 11:36:49 +01:00
Fabian Hüßler
77cbe15b1d
ipv6/nib: bugfix of 6CO length checking
2022-03-24 10:06:56 +01:00
Leandro Lanzieri
48ae24b545
sys/test_utils: add netdev Ethernet minimal processing
2022-03-24 09:44:52 +01:00
Leandro Lanzieri
a2e5934ec9
drivers/encx24j600: introduce setup function with index
2022-03-24 09:32:10 +01:00
Leandro Lanzieri
5f7a906b95
drivers/w5100: introduce setup with index
2022-03-24 09:30:42 +01:00
Francisco Molina
66d87fccf9
sys/net/gnrc/sock: use ztimer_usec or xtimer for timeout
2022-03-24 08:06:05 +01:00
benpicco
858e4b6f46
Merge pull request #17833 from benpicco/nanocoap_get_blockwise_url_to_buf
...
nanocoap: add nanocoap_get_blockwise_url_to_buf() function
2022-03-22 21:22:07 +01:00
Benjamin Valentin
15f210e4e4
gnrc/nib: don't advertise /128 prefix for auto-configuration
...
A single IP address will be added as a /128 prefix.
It makes sense to advertise it, as neighbors can then know that
the address/prefix is on-link.
It does however not make sense to advertise the prefix as suitable
for auto-configuration.
Co-authored-by: Fabian Hüßler <fabian.huessler@st.ovgu.de>
2022-03-22 20:52:38 +01:00
Fabian Hüßler
bc3dfd4fda
gnrc/ndp: bugfix set O-flag on non anycast target
2022-03-22 13:03:28 +01:00
Benjamin Valentin
3f95f39d88
sys/net/sock_util: add sock_{udp,tcp}_name2ep() wrapper
2022-03-22 11:03:12 +01:00
Benjamin Valentin
1ef6da7de4
sys/net/sock_util: add sock_tl_name2ep()
2022-03-22 11:03:12 +01:00
Benjamin Valentin
a6a8356385
nanocoap: add nanocoap_get_blockwise_url_to_buf() function
...
This moves the internal convenience function suit_coap_get_blockwise_url_buf()
into nanocoap to make it globally available.
2022-03-22 10:36:50 +01:00
Geovane Fedrecheski
eabeee0ebe
sys/shell+pkg/semtech-loramac: add get ch_mask
...
Also, set LORAMAC_CHANNELS_MASK_LEN based on the
selected LORA_REGION configuration.
2022-03-18 14:26:01 -03:00
Geovane Fedrecheski
26c55a91bd
sys/shell: add 'loramac set ch_mask' command
2022-03-18 10:48:18 -03:00
Francisco Molina
20e68fbb68
sys/xtimer: switch default backend to ztimer
...
With this commit xtimer will always be implemented with ztimer.
The default compat layer will be ztimer_xtimer_compat, so xtimer
calls will be inlined to ZTIMER_USEC, or ZTIMER64_USEC when the
64bit xtimer API is required.
This can be reverted by adding 'xtimer_no_ztimer_default' module
to a build.
2022-03-18 08:23:00 +01:00
Leandro Lanzieri
202fb261fe
Merge pull request #17811 from fjmolinas/pr_xtimer_dep_rework_simple
...
sys/*timer: rework dependecies to ease backend switch, prefer ztimer_xtimer_compat over xtimer_on_ztimer
2022-03-18 08:17:24 +01:00
benpicco
299e960eb4
Merge pull request #17816 from leandrolanzieri/pr/sys/fido2/ctap/fix_parsing_validation
...
sys/fido2/ctap: fix parsing validation
2022-03-17 22:04:54 +01:00
Francisco Molina
9260cfb4f0
sys/xtimer: prefer ztimer_xtimer_compat
2022-03-17 14:37:40 +01:00
Francisco Molina
0b1453667e
sys/xtimer-ztimer: rework dependecies to ease backend switch
...
This adds a xtimer_no_ztimer_default that is currently always
selected in Makefile, but that can be switched off in Kconfig.
Removing its inclusion will allow switching the default xtimer
backend to ztimer, while allowing for an easy way back.
2022-03-17 14:37:40 +01:00
Francisco Molina
7227d1bb77
sys/xtimer: move dependencies to xtimer/Makefile.dep
2022-03-17 14:37:40 +01:00
Francisco Molina
be6a76a3c0
sys/sc_gnrc_udp: fix *timer include
2022-03-17 14:37:40 +01:00
Francisco Molina
2cc5af664e
treewide: make all modules use Kconfig ZTIMER_USEC indirection
2022-03-17 14:33:07 +01:00
Francisco
114e61c111
Merge pull request #17786 from fjmolinas/pr_ztimer_rtt_sam3
...
sys/ztimer: auto-select ztimer_no_periph_rtt only for samd21
2022-03-17 12:32:29 +01:00
Leandro Lanzieri
9bb6449a1e
sys/fido2/ctap: fix parsing validation
2022-03-17 09:43:42 +01:00
Francisco Molina
53c3e38cb9
sys/ztimer: select ztimer_periph_no_rtt only for samd21
2022-03-15 08:15:22 +01:00
Martine Lenders
bec2868223
Merge pull request #17676 from benpicco/revert-gnrc_ipv6_nib-all_ifs
...
Revert "gnrc_ipv6_nib: consider all local interfaces when looking for…
2022-03-14 10:31:16 +01:00
Kevin "Tristate Tom" Weiss
5acf19118c
Merge pull request #17791 from leandrolanzieri/pr/sys/bus/model_kconfig
...
sys/bus: model Kconfig
2022-03-14 09:24:41 +01:00
benpicco
9f73630ed9
Merge pull request #17798 from benpicco/pkg/fatfs-exfat
...
pkg/fatfs: enable exFAT support
2022-03-11 22:02:28 +01:00
Martine Lenders
3fbf0e35e6
Merge pull request #13790 from cgundogan/coap_proxy_server
...
gcoap: add simple forward-proxy
2022-03-11 20:54:45 +01:00
Cenk Gündoğan
9746c3a830
nanocoap: add COAP_IGNORE for when method parsing is not important
2022-03-11 14:53:17 +01:00
Cenk Gündoğan
fa19b62cdb
gcoap/forward_proxy: add submodule
2022-03-11 14:53:17 +01:00
Benjamin Valentin
805bfc754a
pkg/fatfs: enable exFAT support
...
Enabling exFAT requires enabling long file names, so enable LFN if
exFAT is enabled.
exFAT (and LFN) also requires bumping the per-file/per-dir buffer.
Can be tested with
CFLAGS += -DFATFS_FFCONF_OPT_FS_EXFAT=1
2022-03-11 13:21:46 +01:00
Leandro Lanzieri
fc555a6702
sys/bus: model Kconfig
2022-03-11 09:24:12 +01:00
Leandro Lanzieri
171c20b03a
sys/od/kconfig: add od_string
2022-03-11 09:20:24 +01:00
b29a658555
Merge pull request #17719 from fjmolinas/pr_sys_posix_convert
...
sys/sema: add sema_ztimer64 to implement old api, deprecate sema
2022-03-10 15:36:06 +01:00
Francisco Molina
0fa1551500
sys/posix: convert to ztimer64_usec
2022-03-10 14:24:57 +01:00
Francisco Molina
f6e9609363
treewide: use sema_deprecated when required
2022-03-10 14:24:46 +01:00
Francisco Molina
2e2daae5d0
sys/sema: use sema_ztimer64 to implement old sema api
...
This PR removes the old xtimer based implementation for sema. Since
this implementation used 64bit timeout, backweard compatibility is
kept by having `sema_wait_timed` be implemented by `ztimer64_usec`
which is enabled by selecting `sema_deprecated`
With this 64bit `sema` api is now deprecated.
2022-03-10 14:19:44 +01:00
Marian Buschsieweke
f298d0a585
Merge pull request #17780 from benpicco/gnrc_sock-iolist
...
net/gnrc_sock: depend on iolist
2022-03-10 11:38:14 +01:00
Francisco
8fa2687880
Merge pull request #17753 from fjmolinas/pr_fido2_all_ztimer
...
sys/fido2: use ztimer instead of xtimer
2022-03-10 08:08:30 +01:00
benpicco
9896071bb9
Merge pull request #17493 from HendrikVE/pr/auto_init_sock_dns
...
sys/net/application_layer/sock_dns: add pseudomodule auto_init_sock_dns
2022-03-10 00:53:32 +01:00
Benjamin Valentin
32cf05b110
net/gnrc_sock: depend on iolist
2022-03-09 22:42:01 +01:00
benpicco
60fb36eb1e
Merge pull request #17710 from benpicco/sys/bitfield-ops
...
sys/bitfield: add support for bit-wise bitfield operations
2022-03-09 22:09:34 +01:00
Hendrik van Essen
0b0910f82a
sys/net/application_layer/sock_dns: add pseudomodule auto_init_sock_dns
2022-03-09 20:05:20 +01:00
benpicco
f83fa88ccd
Merge pull request #17764 from HendrikVE/pr/netutils_netutils_get_ipv4
...
sys/net/netutils: add netutils_get_ipv4()
2022-03-09 11:30:38 +01:00
benpicco
948e8d9463
Merge pull request #17766 from HendrikVE/pr/sock_util_fix_compilation_ipv4
...
sys/net/sock_util: fix compilation for IPv4-only mode
2022-03-09 01:47:40 +01:00
benpicco
34ea5c31d1
Merge pull request #17758 from chrysn-pull-requests/ztimer_periodic_callback_t
...
sys/ztimer: Name callback types
2022-03-08 17:23:01 +01:00
Hendrik van Essen
ffd93c9b1b
sys/net/netutils: add netutils_get_ipv4()
2022-03-08 13:35:32 +01:00
benpicco
888b2aa098
Merge pull request #17762 from HendrikVE/pr/const_ipv4_addr_t_pointer
...
sys/net/ipv4: ipv4_addr_t pointer should be const
2022-03-08 12:10:42 +01:00
Benjamin Valentin
d406f12028
sys/bitfield: improve documentation of bf_get_unset()
2022-03-08 10:28:31 +01:00
Benjamin Valentin
f3e519e27a
sys/bitfield: add support for bitfield operations
2022-03-08 10:28:16 +01:00
chrysn
f3e462d039
sys/ztimer: Name callback types
2022-03-08 09:12:20 +01:00
benpicco
2d89399047
Merge pull request #17745 from leandrolanzieri/cpu/esp32/esp-eth/move_auto_init
...
cpu/esp32/esp-eth: move GNRC auto_init to init_devs
2022-03-07 20:25:06 +01:00
Dylan Laduranty
9d459b8a14
Merge pull request #17746 from leandrolanzieri/cpu/sam0_common/eth/expose_correct_setup
...
cpu/sam0_common/eth: expose correct setup function
2022-03-07 18:42:08 +01:00
benpicco
8a67aaba91
Merge pull request #17744 from leandrolanzieri/sys/chunked_ringbuffer/kconfig
...
sys/chunked_ringbuffer: model Kconfig
2022-03-07 18:20:38 +01:00
benpicco
8281dc21bc
Merge pull request #17752 from benpicco/ipv6_addr_init
...
sys/net/ipv6: add ipv6_addr_init() helper function
2022-03-07 15:13:19 +01:00
benpicco
a9456b6935
Merge pull request #17741 from fabian18/bugfix-NIB_handle_rtr_timeout
...
ipv6/nib: fix memcpy() bug in _handle_rtr_timeout()
2022-03-07 13:39:05 +01:00
Hendrik van Essen
73431b398d
sys/net/sock_util: fix compilation for IPv4-only mode
2022-03-07 02:58:17 +01:00
Hendrik van Essen
a3faa79612
sys/net/netutils: add missing string.h include
2022-03-07 02:57:50 +01:00
Hendrik van Essen
60153eed4c
sys/net/ipv4: ipv4_addr_t pointer should be const
2022-03-05 14:39:50 +01:00
benpicco
f31fdfd12d
Merge pull request #17747 from leandrolanzieri/drivers/encx24j600/default_params
...
drivers/encx24j600: define default parameters
2022-03-05 10:29:48 +01:00
Francisco Molina
8e3422781d
sys/fido2: use ztimer instead of xtimer
...
- for ctap hid timeouts xtimer was used, use ztimer64_msec instead
since the code is using absolute times, an already using ztimer_msec
- use event_timeout_ztimer instead of event_timeout to not pull in
xtimer
2022-03-04 17:04:28 +01:00