80f9788324
cdc acm: add interface association descriptor
2019-10-20 15:55:23 +02:00
Dylan Laduranty
d9c240a2ff
Merge pull request #12429 from bergzand/pr/usbus/pre_descriptor
...
usbus: add descriptor prefix support
2019-10-20 15:52:29 +02:00
Martine Lenders
f228dedcf4
gnrc_sixlowpan_frag_rb: fix comment typo
2019-10-19 16:30:45 +02:00
Martine S. Lenders
5bf9892bb3
gnrc_sixlowpan_frag_rb: add new functions for SFR
2019-10-19 16:30:45 +02:00
Martine Lenders
78f04c9fd1
Merge pull request #12441 from miri64/gnrc_icmpv6_error/fix/not-send
...
gnrc_icmpv6_error: consider originator's destination address correctly
2019-10-19 15:18:50 +02:00
Martine Lenders
c32f1076f6
gnrc_icmpv6_error: consider originator's destination address correctly
...
While 485dbd1fda
(from #12175 ) was right
in assuming that the for most ICMPv6 error messages the originating
packet's destination address must not be a multicast, this is not the
case for _all_ ICMPv6 error messages (see [RFC 4443], section 2.4(e.3)).
Additionally, 485dbd1fda
removed the
check for the source address ([RFC 4443], section 2.4(e.6)), which this
PR re-adds.
[RFC 4443]: https://tools.ietf.org/html/rfc4443#section-2.4
2019-10-19 14:39:45 +02:00
bce70bfdfa
usbus: add descriptor prefix support
2019-10-18 22:39:39 +02:00
José Alamos
2fb4a79d9a
Merge pull request #12418 from Rotzbua/doc_sha3
...
sys/hashes/sha3: docu rename hashes to FIPS 202 standard
2019-10-18 15:59:26 +02:00
Martine S. Lenders
ae879bc2ba
gnrc_sixlowpan_frag_rb: add doc on rb_remove() NOP
2019-10-18 12:02:03 +02:00
Martine S. Lenders
184e91780a
gnrc_sixlowpan_frag_rb: explain second _rbuf_add() call more detailed
2019-10-18 11:14:13 +02:00
Martine S. Lenders
f8d75d7add
gnrc_sixlowpan_frag_rb: behavioral change to add()
...
Rather than dispatching the packet automatically once it is complete,
`gnrc_sixlowpan_frag_rb_add()` now only returns success, and leaves it
to the caller to dispatch the packet.
2019-10-18 09:02:32 +02:00
Martine S. Lenders
709baf8f1f
gnrc_sixlowpan_frag_rb: make NOPs static inline functions
2019-10-18 09:02:32 +02:00
Martine S. Lenders
a229755abe
gnrc_sixlowpan_frag_rb: return status on dispatch_when_complete()
2019-10-18 09:02:32 +02:00
Martine S. Lenders
b086453347
gnrc_sixlowpan_frag_rb: return pointer to entry on add()
2019-10-18 09:02:32 +02:00
Martine S. Lenders
3a4ebe98c3
gnrc_sixlowpan_frag_rb: get index instead of pointer with _rbuf_get()
2019-10-18 09:02:31 +02:00
Jannes
2df5d6048d
driver/mpu9x50: Rename mpu9150 to mpu9x50
...
Rename all files
Rename all variables, methods and methodcalls
Rename all folders
Add to the makefiles
Add to doc
2019-10-17 12:52:18 +02:00
MichelRottleuthner
851853b2f7
Merge pull request #12463 from JulianHolzwarth/pr/thread/thread_getstatus
...
core/thread.c: change thread_getstatus return type
2019-10-16 14:28:28 +02:00
Ken Bannister
fe8bb49e39
Merge pull request #12231 from kb2ma/coap/refine_api_purpose
...
net/nanocoap: rebalance application vs. option API doc
2019-10-15 18:25:50 -04:00
JulianHolzwarth
1d65b36402
sys/cpp11-compat/thread.cpp: remove cast to int
2019-10-15 21:22:42 +02:00
benpicco
97d5040525
Merge pull request #12272 from miri64/shell/enh/run-forever
...
shell: make shell_run run shell forever
2019-10-15 20:16:04 +02:00
Cenk Gündoğan
eb981fe8dd
Merge pull request #12444 from miri64/gnrc_sixlowpan_frag_rb/enh/factor-frag-out
...
gnrc_sixlowpan_frag_rb: seperate out classic frag specific code
2019-10-15 17:41:29 +02:00
Martine Lenders
2a74d32ea9
gnrc_sixlowpan_frag_rb: seperate out classic frag specific code
2019-10-15 10:40:50 +02:00
Martine Lenders
a7d082d9b8
sixlowpan: more helper functions
2019-10-15 10:40:50 +02:00
Martine Lenders
b5b52c74e8
gnrc_ipv6: only discard invalid source when assigned to interface
...
While it is correct to not use an invalid address as a source address,
it is incorrect to assume that addresses not assigned to the interface
(`idx == -1` in the respective piece of code) are invalid: Other than
classic forwarding via a FIB, forwarded packets utilizing a IPv6
routing header will pass this check, like any other packet sent by this
node. The source address for these is not on the given node, so e.g.
source routing is not possible at the moment.
2019-10-14 15:43:07 +02:00
Martine Lenders
a279228663
gnrc_rpl_srh: don't send error message on multicast error
...
A node is not supposed to send an ICMPv6 error message when the
destination or one of the addresses in the source route is multicast
but is supposed to be silently discarded (see [RFC4443] and [RFC6554]).
If we leave the `err_ptr` unset, the [node will not send an error
message][err_ptr set].
[RFC 4443]: https://tools.ietf.org/html/rfc4443#section-2.4
[RFC 6554]: https://tools.ietf.org/html/rfc6554#section-4.2
[err_ptr set]: https://github.com/RIOT-OS/RIOT/blob/9bc600a/sys/net/gnrc/network_layer/ipv6/ext/rh/gnrc_ipv6_ext_rh.c#L100-L105
2019-10-14 11:25:53 +02:00
Martine Lenders
c94de51e03
Merge pull request #12414 from miri64/gnrc_ipv6_ext_frag/fix/n-th-with-full-rbuf
...
gnrc_ipv6_ext_frag: fix release on rbuf creation for n-th fragment
2019-10-13 15:10:50 +02:00
benpicco
48f9ed48c9
Merge pull request #12421 from Rotzbua/doc_sha256
...
sys/hashes/sha256: fix typo in docu
2019-10-11 13:36:13 +02:00
Jose Alamos
8fd0c2b60f
gnrc_netif: adapt to new netif_t abstraction
2019-10-11 10:59:14 +02:00
Jose Alamos
77a7aed6e6
netif: introduce descriptor based netif
2019-10-11 10:59:14 +02:00
Rotzbua
e296f69743
sys/hashes/sha256: fix typo in docu
2019-10-11 00:02:36 +02:00
Rotzbua
5172e6bf2e
sys/hashes/sha3: docu rename hashes to FIPS 202 standard
2019-10-10 23:58:55 +02:00
Martine S. Lenders
095e966b73
gnrc_ipv6_ext_frag: fix release on rbuf creation for n-th fragment
...
The IPv6 (extension) headers of the first fragment received are re-used
for the reassembled packet, so when receiving a subsequent packet we
need to distinguish, if we just want to release the payload or all of
the packet after the packet data was added to the reassembly buffer.
2019-10-10 16:41:51 +02:00
5ab8d92702
Merge pull request #11818 from kaspar030/suit-pr
...
sys/suit: initial support for SUIT firmware updates
2019-10-10 10:38:01 +02:00
Martine S. Lenders
ada7c0b7db
gnrc_netif: avoid deprecated addresses, don't prefer them!
2019-10-09 15:18:14 +02:00
b899a9f362
examples/suit_update: add SUIT draft v4 example & test
...
This commit adds an example application showcasing SUIT draft v4
firmware updates.
It includes a test script suitable for local or CI testing.
Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
Co-authored-by: Koen Zandberg <koen@bergzand.net>
Co-authored-by: Francisco Molina <femolina@uc.cl>
2019-10-09 13:51:29 +02:00
fb12c4aa8d
sys/suit: add SUIT draft v4 firmware upgrade module
...
This commit adds a sys module implementing SUIT draft v4 compatible
firmware updates.
Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
Co-authored-by: Koen Zandberg <koen@bergzand.net>
Co-authored-by: Francisco Molina <femolina@uc.cl>
2019-10-09 11:05:01 +02:00
Hauke Petersen
eced473fb0
Merge pull request #12385 from miri64/gnrc_sixlowpan_frag_vrb/enh/route-to-vrb
...
gnrc_sixlowpan_frag_vrb: add gnrc_sixlowpan_frag_vrb_from_route()
2019-10-09 11:00:33 +02:00
7794c29650
Merge pull request #12396 from mtausig/codestyle
...
Fix code style of crypto code
2019-10-09 08:00:25 +02:00
Mathias Tausig
89db40b563
sys/crypto: Fix code style
2019-10-08 20:58:52 +02:00
benpicco
4489d51fb1
Merge pull request #12388 from aabadie/pr/sys/arduino_conditional_adc
...
sys/arduino: make ADC feature optional
2019-10-08 20:15:59 +02:00
1d8e86c570
sys/base64: fix return value when input data is empty
2019-10-08 15:38:27 +02:00
c4bb2a2e17
sys/arduino: make ADC feature optional
2019-10-08 10:26:23 +02:00
Martine Lenders
70dddfd775
Merge pull request #12354 from haukepetersen/opt_nimble_netifmaxconn
...
pkg/nimble/netif: set max conn explicitly
2019-10-07 19:18:40 +02:00
Martine S. Lenders
f6686e92f1
gnrc_sixlowpan_frag_vrb: add gnrc_sixlowpan_frag_vrb_from_route()
...
This adds a new VRB function that receives a header with forwarding
information and creates a VRB entry from it. Currently, only IPv6 is
supported.
2019-10-07 18:16:47 +02:00
Martine S. Lenders
900ca3ff9e
gnrc_sixlowpan_frag_vrb: add missing header include
2019-10-07 17:54:59 +02:00
Martine S. Lenders
c6781af281
gnrc_sixlowpan_frag_vrb: rename addr_str variable
2019-10-07 17:52:09 +02:00
Martine Lenders
9d0faa9e5f
Merge pull request #11957 from miri64/emcute/fix/payload-copy-error
...
emcute: fix payload copy error for emcute_pub
2019-10-07 17:17:44 +02:00
Martine Lenders
999a7714b0
Merge pull request #12382 from nmeum/pr/asymcute_continue
...
emcute: never return from receive loop
2019-10-07 16:28:09 +02:00
Sören Tempel
74e19d451c
emcute: never return from receive loop
...
Without this change an attacker would be able to stop the emcute server
by sending a crafted packet triggering this branch. The solution is
using `continue` instead of `return`.
2019-10-07 15:12:20 +02:00
Hauke Petersen
a595f89bbe
pkg/nimble/netif: set max conn explicitly
2019-10-07 14:50:57 +02:00