Kevin "Tristate Tom" Weiss
da60ba5fff
Merge pull request #17165 from leandrolanzieri/pr/sys/ztimer_kconfig_entry
...
sys/ztimer: rework Kconfig
To eliminate circular dependencies based in periph_rtc and xtimer_ztimer_compatibility the following changes are applied:
- Change entrypoint of ztimer as a specific backend is always required
- Add a non-module symbol for ztimer_usec that bring in the ztimer and ztimer_usec module which allows the xtimer ztimer compatibility layer to only select the ztimer_usec module preventing circular dependency issues
2021-11-11 09:21:33 +01:00
dba51edc69
net/uhcp[cd]: use modules to select client/server code
2021-11-09 21:42:45 +01:00
Leandro Lanzieri
703e66b4c1
sys/ztimer/kconfig: change entry point
2021-11-09 15:32:34 +01:00
Leandro Lanzieri
3837286750
sys/{x,z}timer/Kconfig: fix compatibility modules
2021-11-09 15:32:33 +01:00
Martine Lenders
4b2ca7a702
Merge pull request #16986 from benpicco/uhcp-debug
...
sys/net/uhcp: use LOG_DEBUG instead of LOG_INFO
2021-11-09 12:58:16 +01:00
Marian Buschsieweke
f7bed004ff
Merge pull request #17153 from maribu/sys/net/dns
...
sys/net/dns: mark dns_hdr_t as packed
2021-11-07 07:52:16 +01:00
Marian Buschsieweke
2e6eca1918
sys/net/dns: mark dns_hdr_t as packed
...
This structure is used to parse data from unaligned buffers, so make
sure the compiler issues instructions suitable for unaligned memory
access.
2021-11-06 20:16:56 +01:00
benpicco
1f11780c02
Merge pull request #17119 from spectraphilic/sdi12-remote
...
pkg/arduino_sdi_12: support the remote-revb board
2021-11-06 11:32:54 +01:00
J. David Ibáñez
77df3eedbd
sys/arduino: millis() expected to have C linkage
...
This fixes building tests/pkg_arduino_sdi_12 for the hifive1b board.
The problem is, in build/pkg/arduino_api/api/Common.h millis is defined
within an extern "C" block. While in sys/arduino/include/arduino.hpp it
was not.
2021-11-05 10:21:26 +01:00
eaa007d412
Merge pull request #17135 from bergzand/pr/usbdev/fix_cppcheck_vera
...
usb(dev|bus): Fix static-check issues
2021-11-05 08:36:53 +01:00
9f510fb1ab
usbus/cdc_acm: resolve vera++ issues
2021-11-04 13:49:35 +01:00
df39337ebf
usbopt: resolve vera++ issues
2021-11-04 13:49:34 +01:00
86aa665cbc
usbus_hid: Fix possible null pointer dereference
2021-11-04 13:45:19 +01:00
b0d5e9a027
Merge pull request #17128 from dylad/pr/usbus/dfu/fix_underflow_condition
...
usbus/dfu: fix underflow condition while updating firmware
2021-11-04 09:50:18 +01:00
Dylan Laduranty
64a82c9a78
usbus/dfu: fix underflow condition while updating firmware
...
Reports dfuERROR if underflow is detected or if flash write failed
Implement DFU control CLRSTATUS while at it to clear dfuERROR by the host
2021-11-03 17:06:27 +01:00
1fa8bcc9d2
Merge pull request #17123 from bergzand/pr/stdio_semihosting/ztimer
...
stdio_semihosting: Convert to ztimer
2021-11-03 16:22:45 +01:00
benpicco
47029055a6
Merge pull request #8954 from zhuoshuguo/gnrc_gomach/adapt_duty_recode_para_name
...
gnrc_gomach: adapt duty recording parameters' namings.
2021-11-03 12:56:39 +01:00
4cfb155397
stdio_semihosting: Add unit clarification to poll define
2021-11-03 11:39:26 +01:00
2b696fd770
stdio_semihosting: Convert to ztimer
2021-11-03 11:39:26 +01:00
Martine Lenders
67f67bfe62
Merge pull request #17076 from jenswet/feature/add-fff-package
...
pkg/fff: Add fake functions framework package
2021-11-03 11:00:56 +01:00
Francisco
8e0d5efaa2
Merge pull request #17113 from fjmolinas/pr_ztimer_sec_no_rtc
...
sys/ztimer: don't default to rtc for ztimer_sec
2021-11-02 22:08:37 +01:00
Jens Wetterich
14f90f3c5e
pkg/fff: Add fake functions framework package
2021-11-02 18:01:21 +01:00
Francisco
0bbcf4863f
Merge pull request #17006 from yarrick/ifconfig_help
...
sys/shell/gnrc_netif: Allow 'ifconfig help'
2021-11-02 16:32:59 +01:00
Francisco Molina
2e4dfa0aac
sys/ztimer: don't default to rtc for ztimer_sec
2021-11-02 15:31:04 +01:00
Francisco
1ef44844e0
Merge pull request #17085 from bergzand/pr/cdcacm/stall_on_no_line_coding
...
usbus/cdc_acm: Return stall on line coding not supported
2021-11-02 13:04:26 +01:00
Leandro Lanzieri
f64b166319
Merge pull request #16845 from MrKevinWeiss/pr/kconfig/supportstms
...
.murdock: Add nucleo boards to kconfig test
2021-11-01 09:55:22 +01:00
Leandro Lanzieri
4011bd9edf
Merge pull request #16780 from fjmolinas/pr_kconfig_uwb
...
pkg/uwb*: add Kconfig dependency modelling
2021-11-01 09:35:29 +01:00
6a509308fe
usbus/cdc_acm: Return stall on line coding not supported
...
The SetLineCoding request is optional to support (CDC PSTN subclass). No
need to claim to support it to the host and actually discard the data if
it is not supported by the implementation.
2021-10-30 11:56:42 +02:00
Benjamin Valentin
358aa11d48
ztimer/xtimer_compat: implement trivial functions
...
xtimer_ticks64_t / xtimer_ticks32_t is no longer a struct, so these are
even more trivial than on xtimer.
2021-10-29 00:45:01 +02:00
J. David Ibáñez
a651315fbe
sys/arduino: add interrupts/noInterrupts
...
This fixes the error:
$ BOARD=arduino-mega2560 make -C tests/pkg_arduino_sdi_12/
[...]
[...]/RIOT/build/pkg/arduino_sdi_12/src/SDI12.cpp:379:7: error: ‘interrupts’ was not declared in this scope
2021-10-28 15:59:48 +02:00
chrysn
a92cdb535e
Merge pull request #16378 from chrysn-pull-requests/gcoap-handle-truncation
...
sys/net/gcoap: Use socket _buf API to recognize truncated requests
2021-10-27 08:55:52 +02:00
Dylan Laduranty
aa4383104f
Merge pull request #17051 from bergzand/pr/riotboot_dfu/ztimer
...
riotboot_dfu: use ztimer instead of xtimer
2021-10-26 20:49:26 +02:00
5dfc4725c8
usbus_dfu: Use ztimer for reboot timeout
2021-10-26 14:14:46 +02:00
5c01e14b7a
riotboot_dfu: Add ztimer_msec dependency
2021-10-26 14:14:45 +02:00
261a615439
ztimer: Use auto_init for manual init in bootloaders
2021-10-25 22:24:07 +02:00
4bec2f0723
Merge pull request #17034 from fjmolinas/pr_turo_optional_space_after_symbol
...
sys/test_utils/result_output/json: optional space after symbol
2021-10-25 22:31:16 +03:00
benpicco
2aab2b83bc
Merge pull request #17046 from bergzand/pr/usb/deprecate_fail_report
...
usbdev/USBUS: deprecate transfer failure reporting report
2021-10-25 16:27:01 +02:00
0ce6bfc1a2
usbus: Deprecate USBUS_HANDLER_FLAG_TR_FAIL event
2021-10-24 19:33:29 +02:00
Erik Ekman
ccfe80c844
sys/shell/gnrc_netif: Allow 'ifconfig help'
...
Currently a valid netif name must be passed to show the usage
instructions:
```
> ifconfig help
error: invalid interface given
> ifconfig 6 help
usage: ifconfig
usage: ifconfig <if_id> [up|down]
[...]
```
`ifconfig --help` is also accepted.
2021-10-22 14:14:58 +02:00
4bee52a693
sys/test_utils/result_output: fix turo_float() precision value
...
`print_float()` only allows values from 0-7.
2021-10-22 12:49:16 +02:00
Francisco Molina
720338b304
sys/test_utils/result_output/json: optional space after symbol
2021-10-22 12:31:03 +02:00
Francisco
abbf798e8e
Merge pull request #17027 from kaspar030/turo_json_fixes
...
turo: some json fixes
2021-10-22 10:48:29 +02:00
99dbed9ce7
turo: fix json toru_float() precision value
2021-10-21 13:02:48 +02:00
1c8a8bf6c4
turo: add space after JSON comma
2021-10-21 13:02:21 +02:00
Karl Fessel
c9f4d11c52
Merge pull request #16966 from yarrick/net_v6
...
sys/net: Add ipv4/ipv6 pseudomodules
to ease code unification
2021-10-20 11:58:26 +02:00
b651b29751
sys/picolibc_syscalls_default: make stdin and stderr strong refs
2021-10-20 11:21:57 +02:00
0486c0dba7
Merge pull request #17001 from kaspar030/support_picolibc_stdio_globals
...
sys/picolibc_syscalls_default: support new picolibc stdio globals
2021-10-20 12:17:14 +03:00
Martine Lenders
44927b493f
Merge pull request #16967 from miri64/dsm/enh/peer-sync
...
dsm: rename DTLS_PEER_MAX and make it dependent on CONFIG_DTLS_PEER_MAX
2021-10-18 16:27:26 +02:00
27b9c6da06
sys/picolibc_syscalls_default: support new picolibc stdio globals
2021-10-18 12:02:33 +02:00
benpicco
525fe24576
Merge pull request #16992 from miri64/dhcpv6_client/bug/fix-retrans-calc
...
dhcpv6_client: keep integers in retransmission calculations signed
2021-10-16 17:47:34 +02:00
Martine Lenders
b1b0a9b4f5
dhcpv6_client: add comment on why the division is needed
2021-10-15 17:36:13 +02:00
Martine Lenders
d844de2263
dhcpv6_client: keep integers in retransmission calculations signed
2021-10-15 17:35:46 +02:00
Benjamin Valentin
9d5808d756
gnrc/ipv6_auto_subnets: set RIO priority to ZERO
...
This is required for Linux to accept the RIO
with this patch:
2001:db8:8000::/33 via fe80::d0e7:ffff:fe46:6b52 dev tap0 proto ra metric 1024 expires 86338sec pref medium
2001:db8::/32 dev tap0 proto kernel metric 256 pref medium
before:
2001:db8::/32 dev tap0 proto kernel metric 256 pref medium
2021-10-15 15:57:59 +02:00
Benjamin Valentin
0e7b8d09d5
gnrc_ipv6_nib: fix setting RIO flags
...
We have to use NDP_OPT_RI_FLAGS_MASK, not NDP_OPT_PI_FLAGS_MASK.
This fixes flags always being 0.
2021-10-15 15:49:13 +02:00
Benjamin Valentin
35b727c7be
sys/net/uhcp: cleanup
2021-10-14 14:20:46 +02:00
Benjamin Valentin
f74c795033
sys/net/uhcp: use LOG_DEBUG instead of LOG_INFO
...
uhcp is pretty noisy compared to DHCPv6 as INFO log level is enabled
by default.
Tone it down to LOG_DEBUG to keep the output clean.
2021-10-14 14:09:17 +02:00
MrKevinWeiss
9b6a63a951
drivers/kconfig: simplify shared rtt/rtc hardware in kconfig
2021-10-14 11:28:46 +02:00
MrKevinWeiss
c7820cf7e5
*/rtt|rtc: Fix Kconfig modeling
2021-10-14 11:28:44 +02:00
MrKevinWeiss
8140037e04
sys/arduino: Fix arduino_pwm Kconfig
2021-10-14 11:28:39 +02:00
benpicco
f8c8abf75d
Merge branch 'master' into gnrc_gomach/adapt_duty_recode_para_name
2021-10-13 17:36:21 +02:00
benpicco
94c852cfa7
Merge pull request #16963 from miri64/gcoap_dtls/fix/session-destroy-only-on-conn-errors
...
gcoap_dtls: destroy session in _tl_send only on connection errors
2021-10-12 13:35:16 +02:00
Erik Ekman
ff7bf09313
sys/net/sock: Set SOCK_HAS_IPV6 in one place
...
Based on ipv6 pseudomodule
2021-10-11 21:37:39 +02:00
Martine Lenders
e74b54d3ae
gcoap_dtls: destroy session in _tl_send only on connection errors
2021-10-08 12:24:57 +02:00
Martine Lenders
65ff161b3a
dsm: make CONFIG_DSM_PEER_MAX depend on CONFIG_DTLS_PEER_MAX
2021-10-08 12:15:53 +02:00
Martine Lenders
945b05886b
dsm: rename DTLS_PEER_MAX to CONFIG_DSM_PEER_MAX
...
To make avoid confusion with tinydtls's `DTLS_PEER_MAX` and
`CONFIG_DTLS_PEER_MAX`
2021-10-08 12:15:16 +02:00
Martine Lenders
a2cd5ed903
dtls: set CONFIG_DTLS_PEER_MAX in dtls.h header
2021-10-08 12:10:28 +02:00
Erik Ekman
3df56d576f
sys/net: Add ipv6 pseudomodule
...
Enabled when GNRC, lwIP or OpenWSN uses IPv6
2021-10-08 10:27:22 +02:00
Jose Alamos
d7f4d5b0bd
ieee802154/submac: avoid race condition between RX_DONE and ACK_TIMEOUT
2021-10-07 14:34:34 +02:00
Francisco Molina
9cb27b910a
sys/sema/Kconfig: fix inclusion of xtimer
...
sema currently does not depend on xtimer, but on xtimer or ztimer
2021-10-06 17:59:49 +02:00
Hauke Petersen
b985ad2330
sys/shell/sc_nimble_netif: add ping subcommand
2021-10-06 16:47:34 +02:00
Karl Fessel
fa1456ac99
Merge pull request #16951 from kfessel/p-fix-autoinit-indent
...
sys/auto_init: fix indention
2021-10-05 17:05:27 +02:00
Francisco
93bff48538
Merge pull request #16909 from leandrolanzieri/pr/cpu/riscv/model_kconfig
...
cpu/riscv: model Kconfig
2021-10-05 16:51:17 +02:00
Karl Fessel
47e83917c3
sys/auto_init: fix indention
2021-10-05 14:15:57 +02:00
Martine Lenders
e804a738de
Merge pull request #16947 from miri64/gnrc_ipv6_nib/fix/queue-pkts-on-6lbr
...
gnrc_ipv6_nib: queue packets that trigger probing on border router
2021-10-05 14:01:17 +02:00
Martine Lenders
96eb2c5050
Merge pull request #16731 from JKRhb/dhcp-stateless
...
sys/net/dhcpv6: Add stateless DHCPv6
2021-10-05 10:13:22 +02:00
benpicco
88b495906b
Merge pull request #16936 from mtausig/update_tinyasn1
...
Update tiny-asn1 package
2021-10-05 00:04:23 +02:00
Mathias Tausig
279c584335
module/credman: Adapt to tiny-asn1 changes
2021-10-04 21:43:13 +02:00
Jan Romann
ff42d6749b
sys/net/gnrc/dhcpv6: Set stateful configuration mode
2021-10-04 21:41:50 +02:00
Jan Romann
c62d6eb834
sys/net/dhcpv6: Implement stateless DHCPv6
2021-10-04 17:40:56 +02:00
Martine Lenders
b8691842fb
gnrc_ipv6_nib: queue packets that trigger probing on border router
2021-10-04 17:25:36 +02:00
Francisco
193ebb51e7
Merge pull request #16913 from jia200x/pr/test/hal/l2util
...
test/ieee802154_hal: general cleanup and cosmetic fixes
2021-10-04 10:06:15 +02:00
Leandro Lanzieri
9557a9dfc4
sys/libc: model Kconfig
2021-10-01 11:26:15 +02:00
Leandro Lanzieri
34259e1e29
sys/ztimer: add dependencies for ztimer_sec
2021-10-01 11:26:12 +02:00
Jose Alamos
d64f073df7
net/link_layer/l2util: initial Kconfig modeling
2021-09-30 17:30:16 +02:00
benpicco
df52b076d3
Merge pull request #16914 from miri64/dns_msg/fix/id-byteorder
...
dns_msg: Use correct byteorder for ID
2021-09-29 17:13:09 +02:00
José Alamos
280c756c7a
Merge pull request #16826 from jia200x/pr/submac/test/remove_netdev
...
tests/ieee802154_submac: remove netdev dependency
2021-09-29 15:05:43 +02:00
Martine Lenders
e0ac9d3f45
dns_msg: Use correct byteorder for ID
2021-09-29 13:32:12 +02:00
benpicco
a39c0e1010
Merge pull request #16750 from benpicco/gnrc_ipv6_auto_subnets
...
gnrc/ipv6_auto_subnets: relax topology requirements
2021-09-28 19:07:21 +02:00
Benjamin Valentin
6742fb8076
gnrc/ipv6_auto_subnets: relax topology requirements
2021-09-28 16:57:10 +02:00
Leandro Lanzieri
0129cbe954
Merge pull request #16594 from fjmolinas/pr_sys_fortuna_reseed_ms
...
sys/random/fortuna: change interval ressed to ms
2021-09-27 20:46:06 +02:00
Francisco Molina
1af2462404
sys/fortuna: remove need for now64
...
Use a timer to required a reseed, enable use of plain ztimer (no now64)
2021-09-27 17:30:05 +02:00
José Alamos
1ee57f80a0
Merge pull request #15030 from jia200x/pr/lora/remove_xtimer
...
drivers/sx127x: remove ZTIMER_USEC dependency
2021-09-27 11:41:22 +02:00
benpicco
01b255ee7d
Merge pull request #16888 from fjmolinas/pr_event_thread_stacktest
...
sys/event/thread: add STACKSTEST flag
2021-09-25 01:23:55 +02:00
Francisco Molina
ae5e10bc26
sys/event/thread: add STACKSTEST flag
2021-09-24 16:20:35 +02:00
benpicco
01dacc1fe5
Merge pull request #16883 from kaspar030/riotboot_inttypes_include
...
sys/riotboot: add missing "inttypes.h" include
2021-09-23 00:19:51 +02:00
benpicco
b1af25d4c6
Merge pull request #16743 from benpicco/net/sock/tcp-doc_fix
...
sock: tcp: fix sock_tcp_read() example
2021-09-22 20:58:49 +02:00
136f59bc2c
sys/riotboot: add missing "inttypes.h" include
2021-09-22 20:47:12 +02:00
mariem
9b9048af86
sys/auto_init: change gnrc ipv6 and tcp types.
2021-09-22 14:01:41 +02:00
Leandro Lanzieri
9980aa35b3
sys/net/credman: add key loading functions
...
This allows to load private and public keys encoded in DER format.
2021-09-20 08:10:59 +02:00
chrysn
b6dee72161
Merge pull request #16869 from chrysn-pull-requests/802154_submac-docs-syntax
...
ieee802154_submac doc: Make readable in doxygen builds
2021-09-19 11:11:22 +02:00
chrysn
eaf6219af3
ieee802154_submac doc: Make readable in doxygen builds
2021-09-18 21:32:26 +02:00
Hauke Petersen
8ac2ad8531
shell/sc_nimble_netif: adapt to scanner API change
2021-09-17 14:46:05 +02:00
benpicco
ea80df1780
Merge pull request #16824 from benpicco/gnrc_netif_ipv6_wait_for_prefix
...
gnrc/netif: add gnrc_netif_ipv6_wait_for_global_address()
2021-09-17 14:32:53 +02:00
Martine Lenders
75c9aaceb4
Merge pull request #15946 from jia200x/pr/gnrc_lorawan_redundancy
...
net/gnrc_lorawan: implement unconfirmed uplink redundancy
2021-09-17 13:38:10 +02:00
Benjamin Valentin
9c783ac7c4
gnrc/netif: accept const addr in gnrc_netif_ipv6_addr_add/remove()
2021-09-17 13:00:15 +02:00
Benjamin Valentin
4bd53e70fa
gnrc/netif: add gnrc_netif_ipv6_wait_for_global_address()
...
This adds a function to wait until a global address becomes available.
2021-09-17 13:00:14 +02:00
Martine Lenders
913573a200
Merge pull request #16702 from miri64/ut_process/feat/initial
...
ut_process: initial import of a URI template processor
2021-09-17 09:43:20 +02:00
Martine Lenders
7c60f6031c
ut_process: initial import of a URI template processor
2021-09-16 18:18:48 +02:00
Martine Lenders
e16925aab3
Merge pull request #16838 from haukepetersen/opt_nimblenetif_errno
...
pkg/nimble/netif: migrate to use errno return values
2021-09-16 16:53:43 +02:00
6c739935d8
Merge pull request #16818 from kaspar030/core_ps_interface
...
core/thread: add getters for thread_t
2021-09-15 14:52:32 +03:00
f0d8f1295f
sys/ps: use getters for thread_t fields
2021-09-15 10:16:45 +02:00
benpicco
abeb9c871d
Merge pull request #16745 from jia200x/pr/gnrc_netif_pktq/fix_deschedule
...
gnrc_netif_pktq: schedule immediately if timer us is equal to zero
2021-09-15 00:16:42 +02:00
benpicco
bfe64fe66a
Merge pull request #16849 from HendrikVE/pr/wolfmqtt_split_1
...
sys/posix/socket: fix wrong member access
2021-09-14 17:50:08 +02:00
Jean Pierre Dudey
cd728e08c6
Merge pull request #16764 from brummer-simon/gnrc_tcp-experimental_dynamic_MSL
...
gnrc_tcp: experimental feature "dynamic msl"
2021-09-13 10:36:54 +02:00
chrysn
5710d5ff34
net/ieee802154_security doc: Shape security expectations
2021-09-12 20:20:00 +02:00
Hauke Petersen
a83b171330
shell/sc_nimble_netif: adapt to new return values
2021-09-10 21:10:53 +02:00
Hauke Petersen
32212df463
Merge pull request #16603 from haukepetersen/add_nimble_diradv
...
pkg/nimble/netif: add nimble_netif_accept_direct()
2021-09-09 23:29:43 +02:00
Karl Fessel
be28c537b3
gnrc/sock: recv avoid spinning xtimer
2021-09-09 22:41:39 +02:00
Hauke Petersen
9106c56810
sc/nimble_netif: add cmd for diricted advertising
2021-09-09 15:19:10 +02:00
Sören Tempel
71f933312d
ipv6: fix typo in ipv6_addr_to_str documentation
...
It doesn't make any sense that `result_len` should specify the length of
`result_len`. Instead, `result_len` should specify the length of the
`result` parameter.
2021-09-09 03:56:39 +02:00
Kevin "Tristate Tom" Weiss
4c6dc973c8
Merge pull request #16719 from MrKevinWeiss/pr/kconfig/cc2538
...
cpu/cc2538: Add Kconfig support
2021-09-09 08:21:09 +02:00
Peter Kietzmann
b98fa6d9d0
Merge pull request #16489 from Ollrogge/fido2_pr
...
FIDO2 support in RIOT
2021-09-08 21:14:52 +02:00
Jose Alamos
b9da266820
ieee802154/submac: add missing dependency to random
2021-09-08 17:29:44 +02:00
Ollrogge
e127a4d865
FIDO2 support in RIOT
2021-09-08 15:22:40 +02:00
MrKevinWeiss
99d43a7223
drivers/netdev,sys/net: Add kconfig for netdev
2021-09-08 12:40:31 +02:00
benpicco
86f42068ae
Merge pull request #16823 from jia200x/pr/submac/fix_rx_continuous
...
ieee802154/submac: fix leftovers of #16746
2021-09-07 21:28:11 +02:00
Jose Alamos
8e6895352e
ieee802154/submac: add missing state transitions if radio doesn't stay in RX
2021-09-07 16:09:22 +02:00
Hendrik van Essen
93604f3181
sys/posix/socket: fix ip member access
2021-09-07 15:39:06 +02:00
Hendrik van Essen
bf47e436d8
sys/posix/socket: fix tcp member access
2021-09-07 15:39:06 +02:00
Benjamin Valentin
9a6fc85b16
treewide: replace gnrc_netdev_default with netdev_default
2021-09-06 15:43:40 +02:00
Benjamin Valentin
459f3987d0
gnrc: select gnrc_netif if netdev_default is selected
...
A generic application might select netdev_default instead of
gnrc_netdev_default to pull in the default network interface.
So pull in gnrc_netif if netdev_default is selected with GNRC.
2021-09-06 15:43:40 +02:00
chrysn
7381fb638a
Merge pull request #16113 from chrysn-pull-requests/cord-extraargs
...
sys/net/app/cord: Support the addition of extra registration arguments
2021-09-04 16:43:16 +02:00
Simon Brummer
1870e8a3ce
gnrc_tcp: experimental feature "dynamic msl"
2021-09-04 07:37:53 +02:00
benpicco
c98c488559
Merge pull request #16746 from jia200x/pr/hal/fb_lock
...
ieee802154/submac: reimplement using FSM
2021-09-03 18:13:58 +02:00
Jose Alamos
8f97f73453
ieee802154/submac: reimplement using FSM
2021-09-03 15:00:47 +02:00
Jose Alamos
3c1909b443
ieee802154/radio: update FB Lock handle
2021-09-03 11:00:45 +02:00
Jose Alamos
56a8fece01
ieee802154/radio: add IEEE802154_CAP_RX_CONTINUOUS
2021-09-03 11:00:45 +02:00
Benjamin Valentin
73b929b3b9
test_utils: add UDP benchmark
2021-09-02 23:12:31 +02:00
chrysn
2e70f29d4f
sys/net/gcoap: Use socket _buf API to recognize truncated requests
...
Closes: https://github.com/RIOT-OS/RIOT/issues/14167
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2021-09-02 16:49:46 +02:00
chrysn
0ff56f284d
sys/net/app/cord: Support the addition of extra registration arguments
2021-09-02 16:40:19 +02:00
benpicco
9ac9b41a57
Merge pull request #16536 from benpicco/gnrc_ipv6_nib_subnets
...
gnrc_ipv6_simple_subnets: auto-configuration for nested subnets on a simple tree topology
2021-09-02 16:24:53 +02:00
Benjamin Valentin
b208db0f27
gnrc_ipv6_auto_subnets: auto-configuration for nested subnets
...
If we get a large (e.g. /62) prefix from e.g. DHCPv6, we can split it
into subnets automatically to configure downstream interfaces.
This allows for automatic configuration of daisy-chained nodes or
nodes connected in a tree topology.
To enable the feature, a new pseudo-module `gnrc_ipv6_auto_subnets` is
provided.
2021-09-02 15:35:14 +02:00
Benjamin Valentin
f4828cc7ae
gnrc_ipv6_nib: add hook for Prefix Information Option
2021-09-02 15:35:14 +02:00
Francisco
a1cbcc9ede
Merge pull request #15902 from maribu/spi-api-change-1
...
drivers/periph_spi: let spi_acquire return void
2021-09-02 08:50:56 +02:00
Marian Buschsieweke
2efc50be97
sys/arduino: update SPI class to new API
2021-09-01 21:38:40 +02:00
Martine Lenders
0850061124
Merge pull request #16728 from JKRhb/dhcp-refactor
...
sys/net/dhcpv6: Refactor DHCPv6 client
2021-09-01 16:47:25 +02:00
Jan Romann
507d39c054
sys/net/dhcpv6: Reformat parsing of IA_NA
2021-09-01 01:24:56 +02:00
Martine Lenders
eace9495b4
Merge pull request #16729 from benpicco/_nib_offl_remove_prefix
...
gnrc/nib: consolidate prefix removal code in _nib_offl_remove_prefix()
2021-08-26 19:17:21 +02:00
benpicco
0b69747389
Merge pull request #16023 from maribu/max_pdu_size
...
sys/net/netopt: Drop deprecated NETOPT_MAX_PACKET_SIZE
2021-08-26 14:40:18 +02:00
benpicco
149de73160
Merge pull request #16741 from benpicco/net_lwip_netif_get_name
...
pkg/lwip: implement netif_get_name()
2021-08-26 14:37:58 +02:00
Benjamin Valentin
4464999259
sys/shell: lwIP: make use of netif_get_name()
2021-08-26 13:20:24 +02:00
Benjamin Valentin
10887ebb19
gnrc/nib: consolidate prefix removal code in _nib_offl_remove_prefix()
2021-08-25 17:23:21 +02:00
benpicco
025770968b
Merge pull request #16036 from bergzand/pr/gd32vf103/initial
...
gd32v/seeedstudio-gd32: Initial support
2021-08-25 00:38:00 +02:00
3d470b0c12
cpu/gd32v: Initial include of the GD32VF103 device
...
This adds support for the gd32v class devices from Gigadevice. The
gd32vf103 contains an 108 MHz RISC-V core with similar peripherals as
the stm32f1 devices
Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2021-08-24 14:30:23 +02:00
Hauke Petersen
f5f28347c2
net/gnrc/rpl: add hooks for nimble_rpble
2021-08-24 11:33:13 +02:00
benpicco
3d0e5509dc
Merge pull request #16734 from benpicco/_handle_rio-ltime
...
gnrc_ipv6_nib: handle route information option with ltime = 0
2021-08-24 10:20:02 +02:00
Erik Ekman
2816ade5f8
pkg/lwip: Start rework of netif initialisation
...
Use separate files with auto_init
Proof of concept with only moving netdev_tap
2021-08-20 14:56:46 +02:00
Jose Alamos
ddc9c7c686
ieee802154/radio_hal: detach hal descriptor from driver
2021-08-18 15:24:10 +02:00
Jan Romann
18dd056f8a
sys/net/dhcpv6: Add missing IA_NA IS_USED check
2021-08-18 02:03:56 +02:00
Jan Romann
192e09b7bf
sys/net/dhcpv6: Refactor update of leases
2021-08-18 02:00:12 +02:00
Jan Romann
d0dd12cf25
sys/net/dhcpv6: Refactor parsing of IA_PD
2021-08-18 02:00:11 +02:00
Jan Romann
1daa4b6e30
sys/net/dhcpv6: Refactor message composition
2021-08-18 02:00:08 +02:00
Jan Romann
bbce04f854
sys/net/dhcpv6: Refactor mrd calculation
2021-08-18 02:00:08 +02:00
Jose Alamos
e9a2f186ba
gnrc_netif_pktq: send schedule msg directly if dequeue timer is zero
2021-08-16 14:42:56 +02:00
Benjamin Valentin
c3849ed9f9
sock: tcp: fix sock_tcp_read() example
...
sock_tcp_read() will return 0 if the connection was closed, we
need to check for this.
2021-08-16 12:55:12 +02:00
Simon Brummer
6fba0d970c
gnrc_sock_tcp: integrate gnrc_tcp
2021-08-14 21:27:34 +02:00
benpicco
a76bc58d9b
Merge pull request #16738 from brummer-simon/gnrc_tcp-handle_zero_size_buffers
...
gnrc_tcp: handle zero size buffers
2021-08-14 18:44:29 +02:00
benpicco
6d7fdfccd6
Merge pull request #16736 from brummer-simon/gnrc_tcp-document_internal_defines
...
gnrc_tcp: Document internal defines
2021-08-14 17:42:58 +02:00
Simon Brummer
11d73fbf30
gnrc_tcp: handle zero size buffers
2021-08-14 17:04:57 +02:00
benpicco
84413a3e6e
Merge pull request #16735 from brummer-simon/gnrc_tcp-add_GNRC_TCP_NO_TIMEOUT
...
gnrc_tcp: Add GNRC_TCP_NO_TIMEOUT
2021-08-14 17:00:11 +02:00
benpicco
6eacb41e23
Merge pull request #16664 from jia200x/pr/gnrc/lorawan/random
...
net/gnrc_lorawan: fix pick channel
2021-08-14 16:35:14 +02:00
Simon Brummer
41bafdd928
gnrc_tcp: Document internal defines
2021-08-14 15:49:42 +02:00
Simon Brummer
6b24601ee9
gnrc_tcp: Add GNRC_TCP_NO_TIMEOUT
2021-08-14 15:28:14 +02:00
Benjamin Valentin
0ead10e79a
gnrc_ipv6_nib: handle route information option with ltime = 0
2021-08-13 21:35:48 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02:00
benpicco
1fd645ebcd
Merge pull request #16725 from JKRhb/cocinelle-fixes
...
ci: fix coccinelle warnings
2021-08-12 23:15:37 +02:00
Martine Lenders
febb07c64e
Merge pull request #16704 from fjmolinas/pr_block_finish_return_more
...
sys/net/nanocoap: block_finish returns if more are expected
2021-08-12 19:16:46 +02:00
Jan Romann
415c6acc1a
usbus/hid: fix ENABLE_DEBUG definitions
2021-08-12 17:30:46 +02:00
Jan Romann
e7a24fe136
gnrc_netif/lorawan: fix ENABLE_DEBUG definition
2021-08-12 17:30:46 +02:00
Jan Romann
b3d32fbc28
sys/arduino: fix ENABLE_DEBUG definition
2021-08-12 17:30:45 +02:00
Jan Romann
441afca9fe
drivers/nrf24l01p_ng: fix ENABLE_DEBUG definitions
2021-08-12 17:30:45 +02:00
Jan Romann
ad0096cde6
sys/net/dhcpv6: Refactor IA_NA implementation
2021-08-11 22:19:59 +02:00
Martine Lenders
f2f6700865
Merge pull request #16228 from JKRhb/dhcp-ia-na
...
sys/net/dhcpv6: Add IA_NA support to the DHCPv6 client
2021-08-11 20:50:01 +02:00
Jan Romann
234a71870a
sys/net/dhcpv6: Add IA_NA implementation
2021-08-11 19:15:35 +02:00
Martine Lenders
057aba8f61
Merge pull request #16606 from miri64/dhcpv6_relay/feat/init
...
dhcpv6_relay: initial import of a lightweight DHCPv6 relay agent
2021-08-11 17:16:06 +02:00
Martine Lenders
67b4acdc95
Merge pull request #15622 from benpicco/gnrc_icmpv6_echo-corruption
...
sys/shell/commands/gnrc_icmpv6_echo: test for ICMPv6 reply corruption
2021-08-11 15:23:22 +02:00
Martine Lenders
2d7c613948
tests/gnrc_dhcpv6_relay: initial import
2021-08-11 14:30:37 +02:00
Martine Lenders
4afc65688f
dhcpv6_relay: initial import of a lightweight DHCPv6 relay agent
2021-08-11 13:19:06 +02:00
Martine Lenders
6da2f0fab3
Merge pull request #16669 from miri64/sock_dns/enh/factor-out-msg-parsing
...
sock_dns: factor out message parsing and composition
2021-08-11 12:43:26 +02:00
Martine Lenders
de3e5f964a
Merge pull request #16671 from benpicco/gnrc/nib-_nib_onl_get-fix
...
gnrc/nib: gnrc_ipv6_nib_get_next_hop_l2addr(): only assume neighbor cache entries to always be on-link
2021-08-11 12:17:38 +02:00
Benjamin Valentin
3b40ca2b26
shell/gnrc_icmpv6_echo: test for ICMPv6 echo reply corruption
...
The Linux ping utility has the nice feature that fills the ICMPv6 echo
request payload with a pattern `payload_index & 0xFF`.
Then the ICMPv6 echo response payload is checked to verify that the pattern
is still intact.
This way corrupted messages can be detected.
In the past that revealed some 6lo-fragmentation bugs in Linux when
corrupted replies arrived.
This feature is also useful for RIOT, so implement it in RIOTs `ping`
command.
2021-08-11 12:04:22 +02:00
Martine Lenders
7920ab2b95
dns_msg: make parsing input buffer const
2021-08-11 11:55:29 +02:00
Martine Lenders
e8cbc6da85
dns: move message parsing and composition to own module
2021-08-11 11:55:29 +02:00
benpicco
7991e71384
Merge pull request #16721 from benpicco/sock/tcp-fix_doc
...
sock: tcp: fix Echo Server example
2021-08-10 14:41:42 +02:00
Benjamin Valentin
091e013ff0
sock: tcp: fix Echo Server example
...
The example has two errors:
- `sock_tcp_accept()` expects a timeout parameter
- `sock_tcp_stop_listen()` expects a pointer
with these fixed, the example actually compiles.
2021-08-10 13:45:56 +02:00
Martine Lenders
c86bd7454c
Merge pull request #16557 from benpicco/gnrc_ipv6_nib-fib_on-link
...
gnrc_ipv6_nib: consider largest prefix match when deciding if host on-link
2021-08-09 18:53:40 +02:00
Benjamin Valentin
452500b3eb
gnrc_ipv6_nib: consider largest prefix match when deciding if host on-link
...
If the fib contains a route to a subnet via another host, it can not
be on-link.
Consider fib entries when deciding whether an address is on-link.
If a route via another host is a stronger match than an on-link
prefix, the address must be off-link.
2021-08-09 16:57:14 +02:00
Benjamin Valentin
f4fa197951
gnrc_netif: properly initialize address in gnrc_netif_ipv6_add_prefix()
...
Initialize addr with 0 first.
Otherwise if prefix is < 64 there will be random bits of stack memory
in the bits of the address that are neither touched by ipv6_addr_set_aiid()
nor ipv6_addr_init_prefix().
2021-08-09 16:50:21 +02:00
Martine Lenders
6e0c8db99f
Merge pull request #16706 from miri64/gnrc_ipv6_nib/enh/offset-time-functions
...
gnrc_ipv6_nib: provide functions to get offset of public timestamps
2021-08-08 02:28:12 +02:00
Martine Lenders
c33e40cce1
gnrc_ipv6_nib: provide functions to get offset of public timestamps
2021-08-07 14:04:44 +02:00