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

3690 Commits

Author SHA1 Message Date
Martine Lenders
4a13324abb Merge pull request #5281 from authmillenon/gnrc_ipv6/fix/ext-fix-with-nhc
gnrc_ipv6: fix asserts for NHC
2016-04-27 08:39:39 +02:00
Oleg Hahm
b5bec6a58b doc: xtimer: be a bit more precise 2016-04-26 13:55:54 +02:00
Martine Lenders
b8787b64c4 Merge pull request #5267 from cgundogan/pr/gnrc_rpl/reduce_scope_now
gnrc_rpl: reduce scope of now
2016-04-22 18:23:37 +02:00
Martine Lenders
bf135c4750 Merge pull request #5362 from cgundogan/pr/gnrc_ipv6/remove_unnecessary_check
gnrc_ipv6: remove superfluous check for if_entry
2016-04-22 18:18:43 +02:00
Martine Lenders
82a3aae8be gnrc_ipv6: fix asserts for NHC 2016-04-22 10:11:38 +02:00
Yonezawa-T2
3e70191aee Merge pull request #2842 from FrancescoErmini/drivers_xbee_encryption
drivers/xbee: add optional AES encryption support
2016-04-21 10:26:06 +09:00
Oleg Hahm
f6e9a789ed random: doc: document generic PRNG interface
The header was still referring to the Mersenne Twister only
2016-04-20 18:47:04 +02:00
Francesco Ermini
9fa4684203 drivers/xbee: encryption support
add encryption to drivers

fix new line at the end of file

add shell command for enable encryption and set encryption key on a given device

modify _net_if_set_encrypt_key to support any key length

modify _net_if_set_encrypt_key to support any key length of the key

modify blank line

fix ace before tab in indent

fix ace before tab indent

fix ace before tab indent an error

fix trailing white space

drivers/xbee: encryption support

add encryption to drivers

fix new line at the end of file

add shell command for enable encryption and set encryption key on a given device

modify _net_if_set_encrypt_key to support any key length

modify _net_if_set_encrypt_key to support any key length of the key

modify blank line

fix ace before tab in indent

fix ace before tab indent

fix ace before tab indent an error

fix trailing white space

modify drivers/xbee/xbee.c

fix white spaces on xbee.c

Update xbee encryption driver

white line at end xbee.h

fix error

fix sc_netif.c

fix rebase master interactive

drivers/xbee: encryption support

add encryption to drivers

fix new line at the end of file

add shell command for enable encryption and set encryption key on a given device

modify _net_if_set_encrypt_key to support any key length

modify _net_if_set_encrypt_key to support any key length of the key

modify blank line

fix ace before tab in indent

fix ace before tab indent

fix ace before tab indent an error

fix trailing white space

drivers/xbee: encryption support

add encryption to drivers

fix new line at the end of file

add shell command for enable encryption and set encryption key on a given device

modify _net_if_set_encrypt_key to support any key length

modify _net_if_set_encrypt_key to support any key length of the key

modify blank line

fix ace before tab in indent

fix ace before tab indent

fix ace before tab indent an error

fix trailing white space

modify drivers/xbee/xbee.c

fix white spaces on xbee.c

Update xbee encryption driver

white line at end xbee.h

fix error

fix rebase  conflict 4

fix same missing in patches changes

fix ascii to hex index parser

fix syntax rules

fix syntax issue 2

add _netopt_strmap NETOPT_ENCRYPTION e NETOPT_ENCRYPTION_KEY

fix trailng white spaces
2016-04-20 17:43:09 +02:00
Martine Lenders
452fc917c6 Merge pull request #5352 from authmillenon/gnrc_netdev/doc/add-deprecation
gnrc_netdev: add deprecation note
2016-04-20 15:11:25 +02:00
kYc0o
d071b2a23d Merge pull request #5309 from authmillenon/gnrc_ndp/fix/gua-hack
gnrc_ndp: don't let addresses timeout
2016-04-20 14:36:51 +02:00
Hauke Petersen
4ace70199e Merge pull request #5326 from authmillenon/gnrc_ipv6/fix/revert5179
gnrc_ipv6: Revert #5179
2016-04-20 14:34:07 +02:00
Martine Lenders
6dbb51553b gnrc_netdev: add deprecation note 2016-04-20 14:00:58 +02:00
Martine Lenders
8968b7602f gnrc_ndp: don't let addresses timeout
This is a temporary quick-fix for #5122 to not have GUAs removed on an
interface.
It solves the issue by both not letting the registration run out on the router
and by not letting the lifetime of an auto-configured address expire.
2016-04-20 13:31:53 +02:00
Cenk Gündoğan
66507c8cfe gnrc_ipv6: remove superfluous check for if_entry 2016-04-20 09:41:45 +02:00
Martine Lenders
84a9ddb2db gnrc_sixlowpan_iphc: fix comparison signage 2016-04-20 06:55:24 +02:00
Oleg Hahm
5d65d59b34 Merge pull request #5232 from gebart/pr/jfischer-nhc-fix
gnrc_sixlowpan_iphc.c: handle forwarded GNRC_NETTYPE_IPV6 packet
2016-04-19 14:09:11 +02:00
Cenk Gündoğan
7b8e2d5231 Merge pull request #5330 from authmillenon/gnrc_rpl/fix/non-stack-ll
gnrc_rpl: use non-stack variable for link-local matching
2016-04-18 23:13:54 +02:00
Ian Martin
963f8a495d sys/xtimer: eliminate XTIMER_SHIFT_ON_COMPARE 2016-04-18 12:06:20 -04:00
Martine Lenders
f86bf8c9cd gnrc_rpl: use non-stack variable for link-local matching 2016-04-18 17:14:27 +02:00
Martine Lenders
f90b607180 Merge pull request #5320 from cgundogan/pr/shell/icmpv6_without_nc
shell: icmpv6_echo: guard call to *_nc_still_reachable
2016-04-17 16:32:19 +02:00
Oleg Hahm
8690a888f5 Merge pull request #5295 from OlegHahm/msg_init_queue_assert
core: assert correct msq queue size on creation
2016-04-17 14:49:54 +02:00
Martine Lenders
85dfed3249 Merge pull request #5283 from kaspar030/make_msg_use_list
core: msg: use new list instead of priority_queue
2016-04-17 14:48:50 +02:00
Martine Lenders
d64b922db0 Revert "gnrc ipv6: replace check by assert"
This reverts commit 856e1ee0d2.
2016-04-17 14:06:54 +02:00
Martine Lenders
9789eb249e Revert "doc: mandatory netif snip for gnrc_ipv6 receive()"
This reverts commit f15e038efe.
2016-04-17 14:06:41 +02:00
Oleg Hahm
bb35913840 core: assert correct msq queue size on creation
The return value was never checked. Hence, this runtime check was rather
pointless. Better assert the correct size during development.
2016-04-17 13:55:21 +02:00
Cenk Gündoğan
1e6b2bcd5d trickle: uses random.h and includes some enhancements 2016-04-15 15:30:28 +02:00
Hauke Petersen
190c144ac6 sys/saul_reg: fixed return value for rm() 2016-04-15 15:06:25 +02:00
Cenk Gündoğan
2d8c3b47df shell: icmpv6_echo: guard call to *_nc_still_reachable 2016-04-14 22:05:23 +02:00
592558ff33 sys: net: gnrc: fix IS_WIRED netopt call 2016-04-13 15:22:36 +02:00
Hauke Petersen
5fe57b4659 Merge pull request #4725 from kaspar030/ethos_br_hack
simplified border router setup
2016-04-12 17:39:07 +02:00
DipSwitch
21edec412a posix: Remove _t from struct names 2016-04-11 21:46:54 +02:00
DipSwitch
af96279c40 gnrc/nhdp: Remove _t from struct names 2016-04-11 21:46:54 +02:00
DipSwitch
4275e18c08 doc: Fix minior doxygen errors in fib 2016-04-11 21:46:53 +02:00
DipSwitch
54413ece9f fib: Remove _t from struct names 2016-04-11 21:46:53 +02:00
DipSwitch
7714133f7d universal_address: Remove _t from struct names 2016-04-11 21:46:53 +02:00
DipSwitch
cd04690070 saul: Remove _t from struct names 2016-04-11 21:46:53 +02:00
edb5f08e5f sys: net: gnrc_uhcpc: use IS_WIRED for border interface, fix log prefix 2016-04-11 17:03:28 +02:00
8f2e1d2a3f sys: net: gnrc: uhcp: consider non-ethernet device as wireless 2016-04-11 17:03:28 +02:00
228d642abe sys: net: gnrc: uhcpc: only start if multiple interfaces found 2016-04-11 17:03:28 +02:00
376b5646ea sys: net: gnrc: uhcpc: fix pedantic errors 2016-04-11 17:03:28 +02:00
4fb07a852d sys: net: add UHCP protocol code and gnrc client implementation 2016-04-11 17:03:28 +02:00
Hauke Petersen
7c02c616bd Merge pull request #4863 from gebart/pr/saul-adc
SAUL: Add periph/adc support
2016-04-11 13:13:25 +02:00
Cenk Gündoğan
c0790aaa52 gnrc_sixlowpan_ctx: use correct member for ctx id in debug 2016-04-11 01:26:18 +02:00
kYc0o
82696da9f1 Merge pull request #5191 from malosek/inet_csum_16bit_fix
sys: net: crosslayer: fixed inet csum for 16bit platforms
2016-04-10 18:00:09 +02:00
kYc0o
6df58ac767 gnrc: use correct l2addr print len 2016-04-10 16:31:38 +02:00
3f021d4db6 sys: cpp11-compat: add missing priority_queue.h include 2016-04-10 02:32:46 +02:00
Martine Lenders
627b80e4c3 netopt: fix typo in documentation 2016-04-09 13:25:36 +02:00
Cenk Gündoğan
8a07982645 seq: bitwise and instead of mod 2016-04-08 23:53:46 +02:00
Cenk Gündoğan
6f9d3a15ac gnrc_rpl: reduce scope of now 2016-04-08 19:55:07 +02:00
Joakim Nohlgård
50b48c28eb sys/saul: Add analog inputs to SAUL via periph/adc 2016-04-08 10:18:12 +02:00
Joakim Nohlgård
bc5ededbbe sys/newlib: Update _read_r and _write_r to match newlib prototypes in reent.h 2016-04-06 07:46:19 +02:00
Oleg Hahm
a59e100d41 ieee802154: replace literals for lengths by macros 2016-04-04 15:24:47 +02:00
Lotte Steenbrink
5f6cc67c23 Merge pull request #5222 from BytesGalore/fib_use_universal_address_return_values
fib: use return constants for `universal_address_compare()`
2016-04-03 13:46:03 +01:00
BytesGalore
8589e8f5bc fib: removed obsolete check for default route match 2016-04-02 23:15:33 +02:00
BytesGalore
2bbd2d14d3 fib: use return constants for universal_address_compare() 2016-04-02 10:02:09 +02:00
Johann Fischer
f405891b68 gnrc_sixlowpan_iphc.c: handle forwarded GNRC_NETTYPE_IPV6 packet 2016-04-02 07:52:47 +02:00
Cenk Gündoğan
909c018b24 Merge pull request #5131 from jia200x/newlib_makefile_fix
Makefile: Newlib: Added pattern to NEWLIB_INCLUDE_PATTERN
2016-04-01 15:16:32 +02:00
José Ignacio Alamos Aste
36a7d2962d Makefile: Newlib: Added pattern to NEWLIB_INCLUDE_PATTERN 2016-04-01 14:55:28 +02:00
Martine Lenders
8ab89c473a Merge pull request #4713 from authmillenon/pkg/port/emb6
pkg: initial import of emb6 stack
2016-04-01 00:35:54 +02:00
Martine Lenders
0620028e90 xtimer: doc: document required initialization of target fields 2016-03-31 19:08:53 +02:00
kYc0o
ecf7b46155 Merge pull request #4443 from Yonezawa-T2/native_tty_uart
native: add UART driver based on /dev/tty
2016-03-31 12:50:13 +02:00
Joakim Nohlgård
be8cf8b7fb sys/newlib: Fix function definitions to match newlib prototypes 2016-03-31 10:32:51 +02:00
Yonezawa-T2
c4bc42419b netdev2_tap: continue reading even if no spaces left in pktbuf
On OS X, `netdev2_tap` suspends monitoring file descriptor until `_recv` is
called. If no spaces in left in pktbuf, `gnrc_netdev2_eth` does not call `_recv`
that results in deadlock.

With this commit, `gnrc_netdev2_eth` calls `_recv` with NULL buffer and non-zero
length parameter, that indicates the driver to drop frame and resume working.
2016-03-31 16:59:12 +09:00
Martine Lenders
0ab8aae529 emb6: add conn_udp wrapper 2016-03-30 18:56:02 +02:00
Martine Lenders
4dbc26fd4e Merge pull request #3551 from authmillenon/pkg/port/lwip
lwIP: Initial import
2016-03-30 18:22:10 +02:00
Martine Lenders
c5dc5b2d24 Merge pull request #5208 from kaspar030/fix_ethos_compile
drivers: ethos: fix compile errors
2016-03-30 17:37:52 +02:00
Martine Lenders
5431df6a7e lwip: initial import of conn_udp wrapper 2016-03-30 17:35:51 +02:00
Martine Lenders
410f44f07d lwip: initial import of conn_ip wrapper 2016-03-30 17:35:50 +02:00
036e7f248d drivers: ethos: fix compile errors 2016-03-30 17:09:58 +02:00
Peter Kietzmann
dcafbb8d0c Merge pull request #4835 from authmillenon/netdev2_test/feat/init
netdev2_test: initial import
2016-03-30 16:59:08 +02:00
Martine Lenders
97de8aa52b netdev2_test: initial import
Imports a generic framework to test and experiment with netdev2-based
modules.
2016-03-30 15:56:25 +02:00
Toon Stegen
eae002c957 sys/include: include stdint when using uint8_t 2016-03-30 15:34:25 +02:00
Peter Kietzmann
3fa8a267b3 Merge pull request #5155 from OlegHahm/diskio_cleanup
doc diskio: RIOTized style and added doxygen
2016-03-30 15:14:25 +02:00
Oleg Hahm
230e105599 Merge pull request #4738 from authmillenon/gnrc_ipv6/fix/accept-dst-for-all-if
gnrc_ipv6: accept packets for global dst at all interfaces
2016-03-30 15:05:35 +02:00
Martine Lenders
5532f92057 gnrc_ipv6: accept packets for global dst at all interfaces 2016-03-30 14:54:48 +02:00
Oleg Hahm
1f4d73dde1 Merge pull request #4801 from OlegHahm/netstats
netstats: introduce L2 netstats
2016-03-30 14:42:49 +02:00
Oleg Hahm
3dfedd3fc7 Merge pull request #5198 from Yonezawa-T2/fix_compile_auto_init_slip
auto_init_slip: fix comparison between signed and unsigned
2016-03-30 13:41:06 +02:00
Oleg Hahm
0925737e28 doc diskio: RIOTized style and added doxygen 2016-03-30 12:54:51 +02:00
Yonezawa-T2
266ed4a2c8 auto_init_slip: fix comparison between signed and unsigned 2016-03-30 19:08:43 +09:00
Cenk Gündoğan
9dbfdcac0b Merge pull request #4279 from BytesGalore/fib_prefix_handling_change
fib: changed handling of the net prefix by the FIB
2016-03-30 11:19:49 +02:00
BytesGalore
38d5fc2476 universal_address: replaced returned literals by defined constants
* added and adjusted doxy for the new defined return values
* stripped whitespaces for statements in the compare functions
2016-03-30 10:29:00 +02:00
BytesGalore
1bc9c3bfd2 fib: changed handling of the net prefix
Until now the prefix length has been determined automatically by the FIB
This PR changes it to be provided as msb(yte) in the global_flags of an entry
2016-03-30 10:05:05 +02:00
Yonezawa-T2
35cf255330 rpl: fix compile error in DEBUG 2016-03-30 14:16:06 +09:00
Martine Lenders
932bec50ed lwip: add port for RIOT 2016-03-30 00:10:38 +02:00
malo
06f0d4ea17 sys: net: crosslayer: fixed inet csum for 16bit platforms
Signed-off-by: malo <malo@25cmsquare.io>
2016-03-29 23:31:10 +02:00
Oleg Hahm
4d70c0d52b shell: introduce parameter to reset netstats 2016-03-29 22:34:09 +02:00
Oleg Hahm
021e94ee6a netdev2: introduce linklayer netstats 2016-03-29 22:34:09 +02:00
Oleg Hahm
a8f2d2df67 netstats: netapi_get and shell command 2016-03-29 22:29:58 +02:00
f626ee5969 Merge pull request #4557 from kaspar030/introduce_intrusive_singly_linked_list
core: mutex: several optimizations
2016-03-29 22:25:43 +02:00
3d9020eb46 sys: cpp11-compat: adapt to changed mutex implementation 2016-03-29 21:50:18 +02:00
c0f39bb55f sys: posix: pthread: fix mutex usage 2016-03-29 21:50:17 +02:00
Martine Lenders
6504671a33 Merge pull request #5179 from OlegHahm/ipv6_recv_assert_instead_check
gnrc ipv6: replace check by assert
2016-03-29 19:42:00 +02:00
Oleg Hahm
376874284b Merge pull request #3721 from cgundogan/pr/rpl/gnrc_rpl_p2p
rpl: introducing P2P-RPL
2016-03-29 19:04:27 +02:00
Oleg Hahm
f15e038efe doc: mandatory netif snip for gnrc_ipv6 receive() 2016-03-29 18:42:58 +02:00
Cenk Gündoğan
ed208c2da8 Merge pull request #4668 from haukepetersen/add_phydat_ffp
sys/phydat: dump function can handle fixed floating points
2016-03-29 15:51:00 +02:00
Hauke Petersen
2a4b7cbc91 sys/phydat: dump function can handle fixed floats 2016-03-29 15:23:04 +02:00
Hauke Petersen
95d26d3b94 sys/fmt: added format for fixed floating points 2016-03-29 15:23:04 +02:00
kYc0o
87175905da Merge pull request #5144 from Yonezawa-T2/fix_pointer_debug_output
debug: fix compilation error for %p formatter
2016-03-29 13:44:29 +02:00
Yonezawa-T2
1ce140d910 debug: fix compilation error for %p formatter 2016-03-29 11:46:29 +09:00
Oleg Hahm
48735dc22c auto_init: fix typo 2016-03-28 23:00:50 +02:00