1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

5799 Commits

Author SHA1 Message Date
Marian Buschsieweke
d180339e5a
sys/shell: Removed fragments of old driver
The shell handlers of the old, depreciated and removed LTC4150 driver are still
in place. This commit removes them
2019-01-28 13:33:14 +01:00
Martine Lenders
28204e0a4f sc_gnrc_ipv6_nib: check interface existence
Currently an interface's existence is not checked when it is supplied
by the user with the `nib` command. This can lead to assertion errors
as soon as the generated entry tries to resolve an address or route
generated with that command and the network interface not being found.
2019-01-28 09:16:51 +01:00
Martine Lenders
bdd2d52fd5
Merge pull request #10797 from kaspar030/add_unaligned
sys: add unaligned.h (header for alignment safe value-from-pointer functions)
2019-01-26 13:09:20 +01:00
344af9c479 sys/checksum/fletcher32: make use of unaligned.h 2019-01-25 22:22:45 +01:00
c85d33f305 sys/include/unaligned: initial commit 2019-01-25 22:22:45 +01:00
Martine Lenders
2d54069f59
Merge pull request #10869 from gschorcht/gnrc_icmpv6_echo_fix
gnrc_icmpv6_echo: avoid crashing when pktbuf full
2019-01-25 18:33:07 +01:00
b8565e492d
Merge pull request #10851 from miri64/tests/feat/gnrc_sixlowpan_frag-tests
tests: provide unittests for gnrc_sixlowpan_frag/rbuf
2019-01-25 17:55:28 +01:00
Gunar Schorcht
c88838f391 gnrc_icmpv6_echo: avoid crashing when pktbuf full
Once the packet buffer is full on heavy network load, gnrc_netif_hdr_build may return NULL. In that case, the following unchecked access to hdr->data leads to a crash.
2019-01-25 17:10:57 +01:00
Martine Lenders
7d9ef9f78c gnrc_sixlowpan_frag/rbuf: add offset assertion to rbuf_add()
`gnrc_sixlowpan_frag` internally derives the offset value directly
from the fragment header, so for normal usage within GNRC this
assertion is redundant, but to make the tests of `rbuf_add` 100%
water-tide I added it.
2019-01-25 16:57:09 +01:00
cee830bd97
Merge pull request #10868 from jia200x/pr/pkg_loramac_calibration
pkg/semtech-loramac: add timer calibration
2019-01-25 15:55:03 +01:00
Martine Lenders
892c7a5430
Merge pull request #10866 from miri64/gnrc_sixlowpan/fix/type-finding-loop
gnrc_sixlowpan: stop type-finding loop when type is found
2019-01-25 14:38:34 +01:00
Jose Alamos
6c1c420164 loramac: add macros for default timer calibration values 2019-01-25 14:18:06 +01:00
Martine Lenders
879321d68a gnrc_sixlowpan: stop type-finding loop when type is found
Currently the loop just continues to run after a viable type is found.
In #10851 this lead to a crash of the tests, when the dependency of
`gnrc_sixlowpan` to `gnrc_ipv6` was removed.
2019-01-25 12:04:30 +01:00
Martine Lenders
b0beba3c1c gnrc_ipv6_nib: release when not queuable on AR
When a new queue entry is tried to be allocated for a neighbor who's
address is currently tried to be resolved there was no error case
before. The packet that was tried to be put in the queue was thus not
released and stayed in the packet buffer for ever.
2019-01-25 00:13:21 +01:00
Martine Lenders
8c1cf53d28 gnrc_icmpv6: release when received packet too short 2019-01-24 15:50:18 +01:00
Martine Lenders
bbde73eb81 gnrc_icmpv6: release on wrong checksum 2019-01-24 14:57:36 +01:00
Sebastian Meiling
a65fede8c4
Merge pull request #10855 from kb2ma/nanocoap/simple_reply_safety
net/nanocoap: verify simple reply buffer
2019-01-24 12:08:31 +01:00
Sebastian Meiling
43d772ce63
Merge pull request #10847 from jia200x/pr/fix_netreg_macros
net/netreg: fix static netreg init macros
2019-01-24 12:05:30 +01:00
Jose Alamos
65e985d649 net/netreg: fix static netreg init macros 2019-01-24 11:44:17 +01:00
danpetry
6e21c92418
Merge pull request #10796 from leandrolanzieri/pr/sys/base64_size_macros
sys/base64: Add size estimation functions
2019-01-24 11:43:13 +01:00
Gunar Schorcht
d90d546053
Merge pull request #10824 from miri64/gnrc_ipv6_nib/fix/br-slaac
gnrc_ipv6_nib: activate SLAAC on border router
2019-01-24 11:20:36 +01:00
Ken Bannister
3343ed3674 net/nanocoap: verify reply length before write 2019-01-24 05:18:12 -05:00
Sebastian Meiling
44234783da
Merge pull request #10823 from kb2ma/nanocoap/verify_before_write_option
net/nanocoap: validate option length
2019-01-24 09:23:26 +01:00
Leandro Lanzieri
c5cd71fb72 sys/base64: Add size estimation macros 2019-01-24 08:35:22 +01:00
Ken Bannister
e35bcb6853 net/nanocoap: fix remaining space calculation
The space calculation must use the same length as the eventual
return value.
2019-01-23 16:36:20 -05:00
Ken Bannister
e1bebed512 net/nanocoap: make reply doc more specific 2019-01-23 16:36:20 -05:00
Martine Lenders
1370099435 gnrc_sixlowpan_frag/rbuf: provide helper functions for testing 2019-01-23 20:00:07 +01:00
Martine Lenders
4c1d1424c0 gnrc_sixlowpan_frag: release for fragment too big error case
The fragment is released for all other error cases, just not this one.
2019-01-23 18:05:37 +01:00
Ken Bannister
7e77ac7ace
Merge pull request #10845 from kb2ma/nanocoap/server_debug_msg
net/nanocoap: add debug message for server
2019-01-23 11:41:47 +00:00
33c43626e3
Merge pull request #10785 from kaspar030/aes_fix_integer_promotion_ub
sys/crypto/aes: avoid UB by explicit unsigned integer promotion
2019-01-22 21:32:52 +01:00
Martine Lenders
55c0694da6
Merge pull request #10841 from miri64/gnrc_sixlowpan/enh/doc-i8511
gnrc_sixlowpan: document submodules according to #8511
2019-01-22 15:50:31 +01:00
Martine Lenders
20e92dfe5e
Merge pull request #8942 from zhuoshuguo/gnrc_lwmac/enable-dutycycle-print
gnrc_lwmac: enable radio duty-cycle printing.
2019-01-22 14:59:51 +01:00
Ken Bannister
b4f8b7a10b net/nanocoap: add debug message for server 2019-01-22 08:42:16 -05:00
shuguo
4a4e552cca gnrc_lwmac: enable duty-cycle printing. 2019-01-22 21:24:00 +08:00
Sebastian Meiling
9d3f1107c9
Merge pull request #10791 from kb2ma/gcoap/options_buf_macros_config
net/gcoap: make options buf macros configurable
2019-01-22 14:20:33 +01:00
Martine Lenders
b2d724cc60 gnrc_sixlowpan: document submodules according to #8511 2019-01-22 14:15:13 +01:00
Martine Lenders
d3f8739a1e
Merge pull request #5949 from zhuoshuguo/add_timeout_module_to_gnrc_mac
gnrc_mac: add timeout module.
2019-01-22 10:34:30 +01:00
zhuoshuguo
79e5586d0c gnrc_mac: add timeout module.
Co-Authored-By: zhuoshuguo <zhuosgzju@gmail.com>
2019-01-21 22:46:10 +08:00
e29adedfc5 sys/crypto/aes: avoid UB by explicit unsigned integer promotion 2019-01-21 14:01:22 +01:00
Martine Lenders
002494f789 gnrc_ipv6_nib: activate SLAAC on border router 2019-01-19 11:15:38 +01:00
Ken Bannister
85a658634f net/nanocoap: validate option length before write 2019-01-18 12:34:55 -05:00
Ken Bannister
b9f6354067 net/nanocoap: document function that writes option header 2019-01-18 12:34:55 -05:00
Sebastian Meiling
f9a3bdf1a7
Merge pull request #10671 from kb2ma/nanocoap/retry_qty
net/nanocoap: fix confirmable retry countdown
2019-01-18 17:49:00 +01:00
Martine Lenders
7e4d13c2be eui48: fix type alignment 2019-01-18 17:03:33 +01:00
Ken Bannister
27ba81eed0 net/nanocoap: improve debug messages 2019-01-18 05:47:43 -05:00
Cenk Gündoğan
82f30fd8c4
Merge pull request #10514 from miri64/pkg/enh/nordic-softdevice-ble-mac48
pkg/nordic_softdevice_ble: Use MAC48 as hardware address
2019-01-17 19:22:36 +01:00
Martine Lenders
7f7bc8fc20 pkg/nordic_softdevice_ble: Use MAC48 as hardware address
This is just a compatibility issue waiting to happen as soon as there
is support for a more standard-compliant implementation of BLE (like
e.g. NimBLE ;-)).
2019-01-17 18:08:55 +01:00
Martine Lenders
b6eb12c6d4
Merge pull request #10795 from kaspar030/fix_sha256_update_with_zero_length
hashes/sha256: don't call memcpy if len==0
2019-01-17 11:28:55 +01:00
Martine Lenders
aef03e620a
Merge pull request #10784 from kaspar030/fix_fmt_signed_conversion
fmt: fix fmt_s32_dec() and fmt_s64_dec() sign bit handling
2019-01-17 11:28:00 +01:00
d6390b3685 hashes/sha256: don't call memcpy if len==0 2019-01-17 10:56:34 +01:00