Benjamin Valentin
d800cca1c3
drivers/atwinc15x0: register with netdev
2022-03-30 16:07:29 +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
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
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