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

4710 Commits

Author SHA1 Message Date
Cenk Gündoğan
5b5c479043 rpl: replace fib with nib 2017-11-20 00:35:17 +01:00
Martine Lenders
c61a520c1a
Merge pull request #8084 from bergzand/shell/netif-add-mld
shell_commands: Add multicast groups to ifconfig command
2017-11-20 00:09:20 +01:00
Martine Lenders
2a899c45ac gnrc_ipv6_nib: make user added default route the primary one 2017-11-19 23:36:20 +01:00
20d050a42e shell_commands: Add multicast groups to ifconfig command 2017-11-19 22:32:47 +01:00
Cenk Gündoğan
ec671c0a32
Merge pull request #8077 from miri64/shell/fix/6ctx-no-rtr-adv
shell: do not advertise reactively in 6ctx command
2017-11-19 02:22:31 +01:00
Martine Lenders
c5fc7c44cd
shell: do not advertise reactively in 6ctx command
After thinking about it a bit, I decided to remove the reactive
advertisement of context information all together in the shell command.
RFC 6775 does not explicitly forbids, but it discourages multicast RAs,
which would be the alternative.
2017-11-17 16:32:14 +01:00
Martine Lenders
0f9d266af2
shell: adapt nib route command for route lifetime 2017-11-17 13:44:59 +01:00
Martine Lenders
e7bb0ed67f
gnrc_uhcpc: adapt for route lifetime 2017-11-17 13:44:18 +01:00
Martine Lenders
f62974207d
gnrc_ipv6_nib: add timeouts to routes 2017-11-17 13:43:18 +01:00
Martine Lenders
fb5851dde4
gnrc_ipv6_nib: actually timeout a default router
While the GNRC_IPV6_NIB_RTR_TIMEOUT is properly handled, it is actually
never fired. Moreover, the router lifetime is set, but never read.

This removes the router lifetime and switches it out for an evtimer
to does the GNRC_IPV6_NIB_RTR_TIMEOUT event.
2017-11-17 11:43:32 +01:00
Martine Lenders
f90a9a875f
gnrc_ndp2: rename to gnrc_ndp 2017-11-17 10:41:54 +01:00
Martine Lenders
31b1ceb440
gnrc_netif2: rename to gnrc_netif 2017-11-17 10:41:54 +01:00
Martine Lenders
636ef2a498
gnrc: remove legacy neighbor discovery code 2017-11-17 09:20:30 +01:00
Martine Lenders
71a7dbf918
gnrc: remove legacy network interface structures 2017-11-17 09:20:29 +01:00
Martine Lenders
7ecafb7909
Merge pull request #7961 from miri64/shell_commands/fix/sc_netif2
shell_commands: fix sc_gnrc_netif2 for MSP430
2017-11-17 06:21:11 +01:00
Martine Lenders
bf8465c650
Merge pull request #7479 from miri64/gnrc_ipv6_nib/feat/ndp-rd
gnrc_ipv6_nib: implement behavior for router discovery
2017-11-16 16:35:21 +01:00
Martine Lenders
ccb8462d94
gnrc_sixlowpan_nd: adapt for NIB 2017-11-16 15:49:21 +01:00
Martine Lenders
319c0f9d21
gnrc_ipv6_nib: implement behavior for router discovery 2017-11-16 15:49:20 +01:00
Martine Lenders
f21a828502
ndp: sixlowpan_nd: provide more constants for default values 2017-11-16 15:49:20 +01:00
Martine Lenders
fbb70315cb
lwmac: fix issues reported by cppcheck 2017-11-16 15:07:08 +01:00
Martine Lenders
62a1f0848f
gnrc_netif2: make more complexer functions not inline 2017-11-16 14:44:23 +01:00
2a177ea6c8 sys/ps: adapt to COREIF_NG removal 2017-11-16 14:40:16 +01:00
Hauke Petersen
86501e5e86 sys/shell: remove x86_lspci shell command 2017-11-16 13:45:32 +01:00
3e4e3d261f sys/posix: factor inet_*to* from header into .c file 2017-11-15 23:01:56 +01:00
Martine Lenders
e3ef42842e cc110x: port to gnrc_netif2 2017-11-15 22:57:02 +01:00
Martine Lenders
32318363a9
Merge pull request #7697 from aabadie/pr/lora_definitions
sys/net: add common lora phy definitions
2017-11-15 21:01:46 +01:00
Martine Lenders
90549108ca
gnrc_ipv6_nib: add exception in address resolution for SLIP 2017-11-15 20:03:30 +01:00
Martine Lenders
852cb5a791
gnrc_netif2: adapt setting of maximum packet size for slipdev 2017-11-15 16:19:15 +01:00
Martine Lenders
6038a7d3a5
gnrc_netif2: provide raw adaption layer (for e.g. SLIP) 2017-11-14 13:40:51 +01:00
Martine Lenders
546d05266e
xbee: port to gnrc_netif2 2017-11-14 12:01:16 +01:00
Peter Kietzmann
a2721c03c9 sys/od: add ASCII representation to memory dump 2017-11-14 09:22:02 +01:00
Dylan Laduranty
67048eafa2
Merge pull request #6900 from OTAkeys/pr/init_rtc
periph/rtc: move init from auto_init to periph_init
2017-11-13 21:22:22 +01:00
Vincent Dupont
012264cb0e shell/sc_rtc: remove rtc init command 2017-11-13 18:44:15 +01:00
Martine Lenders
01c21fa274
tests: make gnrc_ipv6_ext test compilable with gnrc_netif2
Test currently not working
2017-11-13 16:36:34 +01:00
Martine Lenders
bf19ce6d55
gnrc_mac: fix non-obvious recursive include 2017-11-13 12:48:39 +01:00
Peter Kietzmann
89994604af
Merge pull request #7954 from smlng/cpu/atmega/adc
cpu, atmega_common: add periph/adc
2017-11-13 11:44:56 +01:00
Martine Lenders
1a0f4940fd
Merge pull request #7940 from miri64/posix/enh/move-time-to-module
posix: move time functions to their own module
2017-11-12 20:05:50 +01:00
Martine Lenders
0a0bb86f4a posix: move time functions to their own module 2017-11-12 19:55:57 +01:00
Martine Lenders
c6428698b4
Revert "shell/ccnl: remove use of ccnl_wait_for chunk()" 2017-11-11 19:34:52 +01:00
Martine Lenders
b83bc1b763
Merge pull request #7456 from miri64/gnrc_ipv6_nib/feat/port-to-gnrc_netif2
gnrc_ipv6_nib: port to gnrc_netif2
2017-11-11 19:10:14 +01:00
Peter Kietzmann
69fe566a18 shell/ccnl: remove use of ccnl_wait_for chunk() 2017-11-10 15:27:47 +01:00
Laurent Navet
9de00af063 cpu/atmega_common: add adc driver 2017-11-10 14:19:08 +01:00
Martine Lenders
d2ccbc85b0
Merge pull request #7957 from PeterKietzmann/pr_ipv6_hdr_fix
net/ipv6/hdr: fix issue #5944
2017-11-10 11:07:29 +01:00
68976f8f17
Merge pull request #7547 from kaspar030/use_luid_for_random_init
sys: random: use luid for random seed initalization
2017-11-09 21:32:32 +01:00
Martine Lenders
72db5e48f0 gnrc_ipv6_nib: fix for 'holey' NIB
When there are holes in the NIB (e.g. when entries were removed)
currently the NIB crashes the system due to a failed assertion
(`DEVELHELP` needs to be activated to test this behavior).

This fixes this behavior by making the assertion a check that is always
compiled in.
2017-11-09 15:28:56 +01:00
Vincent Dupont
92dfd8a347 shell_commands: fix rtc shell command 2017-11-09 13:11:55 +01:00
Vincent Dupont
f2466fb8dc periph/rtc: move init from auto_init to periph_init 2017-11-09 12:56:43 +01:00
Martine Lenders
a7d2c65b36
gnrc_ipv6_nib: port to gnrc_netif2 2017-11-08 20:18:53 +01:00
Martine Lenders
c3141c46b6
gnrc_ndp2: port to gnrc_netif2 2017-11-08 20:18:53 +01:00
Martine Lenders
89ec411b79
Revert "gnrc_uhcpc: fix dependencies" 2017-11-08 19:23:39 +01:00
c44f269ba0 sys: include: random: fix RANDOM_SEED_DEFAULT defines 2017-11-08 17:18:26 +01:00
Martine Lenders
c52fde668b sys: random: make fallback seed configurable at compile time 2017-11-08 17:18:26 +01:00
ccf704bab8 sys: random: use luid to generate random seed 2017-11-08 17:18:26 +01:00
Martine Lenders
78985b4db2
gnrc_uhcpc: fix dependencies
\#7721 showed, that `posix` is required to include the `arpa/inet.h`
header into the include path of an application using the `uhcpc`
module.

Additionally this PR makes the FIB an optional dependency of
`gnrc_uhcpc`.

Backport of #7722
2017-11-08 14:49:53 +01:00
PeterKietzmann
d7e58d4800 net/ipv6/hdr: fix issue #5944 2017-11-08 10:37:09 +01:00
be9e8614ef sys/auto_init/saul: provide saul adaption to mpu9150 2017-11-08 09:09:21 +01:00
Martine Lenders
867aff211f
Merge pull request #7935 from zhuoshuguo/gnrc_lwmac_adjust_csma_flag
gnrc_lwmac: adjust error use of csma flag for transmit packet.
2017-11-07 23:13:44 +01:00
Martine Lenders
f6c9eb03c5
Merge pull request #7824 from Hyungsin/hamilton-tmp006
tmp006: optional raw values, low power mode, SAUL type
2017-11-07 22:51:56 +01:00
Martine Lenders
861035f22d gnrc: integrate gnrc_netif2
Not link-able, since NDP and NC are missing (intentionally)
2017-11-07 19:08:44 +01:00
Martine Lenders
b1e69a776f
Merge pull request #7910 from x3ro/fix-gnrc-ipv6-nib-test-on-macos
tests/gnrc_ipv6_nib: Fix unused function error w/ clang/macOS
2017-11-07 18:16:55 +01:00
Lucas Jenss
069849f002 WIP tests/gnrc_ipv6_nib: Fix unused function error w/ clang/macOS
In the case that GNRC_IPV6_NIB_CONF_ARSM is set but
GNRC_IPV6_NIB_CONF_6LN is not, clang complains about
the function _get_l2addr_from_ipv6 never being used.
I couldn't easily figure out why this passes in Murdock,
but I'm guessing that clang is simply being smarter than
GCC. Can someone comment on whether there is a better fix
for this?

Relates to #6473
2017-11-07 17:35:42 +01:00
Lucas Jenss
4bb12ba091 tests/gnrc_ipv6_nib_6ln: Fix error w/ clang on macOS
_is_reachable is only used when GNRC_IPV6_NIB_CONF_ARSM
is enabled, and as such it must be guarded so that clang
doesn't complain about a unused function in case
GNRC_IPV6_NIB_CONF_ARSM is not set

Similar to #7910
Relates to 6473
2017-11-07 17:33:15 +01:00
Martine Lenders
6da479a4dd
Merge pull request #7186 from miri64/gnrc_pktbuf/enh/assert-users-gt-0
gnrc_pktbuf_static: assert that users > 0 on release
2017-11-06 15:39:24 +01:00
Martine Lenders
f8c2078f94
gnrc_pktbuf_static: assert that users > 0 on release 2017-11-06 15:27:44 +01:00
Martine Lenders
0954dba17d
Merge pull request #6000 from kaspar030/add_event_system
sys: add asynchronous event system
2017-11-06 14:25:18 +01:00
0e09213e53 sys/event: initial commit of handler-based event system 2017-11-06 14:19:31 +01:00
Martine Lenders
046f30b918
Merge pull request #7722 from miri64/gnrc_uhcpc/fix/dep
gnrc_uhcpc: fix dependencies
2017-11-06 11:21:55 +01:00
Martine Lenders
772ee47e28
Merge pull request #7790 from OTAkeys/pr/fix_can_set_get_filters
can/device: wake up device before getting/setting filters
2017-11-06 11:01:53 +01:00
Hyungsin
3dbe604d96 tmp006: optional raw values, low power mode, SAUL type 2017-11-06 00:04:50 -08:00
6f43e98b95 drivers/si70xx: cleanup and use pseudomodules 2017-11-05 18:13:19 +01:00
zhuoshuguo
6c57999b2b gnrc_lwmac: adjust use of error CSMA flag for packet transmit. 2017-11-03 18:52:01 +01:00
b60bb03f2b
Merge pull request #7901 from kroesche/feature/ringbuf_doc_update
ringbuffer: add hint about tsrb to doc
2017-11-03 10:03:56 +01:00
Joe Kroesche
abb6913480 sys/include/tsrb.h: move usage doc to main API page.
Modified file doc header so that important info about usage and buffer
size show up on main API doc page instead of file doc page;
added comment in a couple of places to remind reader that buffer size
must be powewr of 2.
2017-11-02 21:59:37 -05:00
c02ee081d9
Merge pull request #7174 from miri64/gnrc_sock/fix/return-EINVAL-for-inval-sock
sock: specify invalid parameter error
2017-11-02 17:30:35 +01:00
Martine Lenders
ea27fe34d1
Merge pull request #7895 from zhuoshuguo/lwmac_port_to_netif2
gnrc_lwmac: port to gnrc_netif2
2017-11-01 16:10:56 +01:00
zhuoshuguo
c554d30b26 gnrc_lwmac: port to gnrc_netif2. 2017-11-01 15:40:47 +01:00
Martine Lenders
d8b7055008 Merge pull request #7870 from cgundogan/pr/trickle_timer_fix
trickle: correctly reset t
2017-10-26 15:48:07 +02:00
47bd74cb54 sys/net: add lora radio base definitions 2017-10-26 15:41:41 +02:00
Cenk Gündoğan
5852517614 trickle: correctly reset t 2017-10-26 15:13:11 +02:00
Martine Lenders
67179e6253 Merge pull request #7863 from roberthartung/pm_fix_pm_layered_conflict_set_lowest
pm_layered: make sure no conflict for pm_set_lowest exists
2017-10-26 14:31:37 +02:00
Cenk Gündoğan
0541fe3ceb Merge pull request #7849 from miri64/sys/fix/native-libc
sys: libc: only add include path on non-native boards
2017-10-26 13:58:50 +02:00
Robert Hartung
9678f13408 pm_layered: make sure no conflict for pm_set_lowest and periph_common exists 2017-10-26 10:09:09 +02:00
Martine Lenders
1964d156f0
sys: libc: only add include path on non-native boards 2017-10-25 17:58:47 +02:00
kYc0o
edb3178b86 sys/can/device.c: remove unused _can_event_error_to_msg function 2017-10-25 16:20:00 +02:00
kYc0o
00b9022bd1 sys/include/can/device.h: make CAN_DLL_NUMOF int 2017-10-25 16:18:51 +02:00
Francisco Acosta
a6cb09cfa6 Merge pull request #7783 from kYc0o/fix_cbor_arm
sys/cbor: fix compilation with newlib
2017-10-24 16:21:44 +02:00
kYc0o
4839a1cbbf sys/cbor/cbor.c: add <time.h> if ctime module is used 2017-10-24 16:03:31 +02:00
kYc0o
084aa48e21 sys/cbor/Makefile: align to two spaces 2017-10-24 16:02:58 +02:00
Vincent Dupont
b4d68e320d can/device: wake up device before getting/setting filters 2017-10-23 16:53:05 +02:00
167bd30453 all: fix my email address 2017-10-20 15:02:41 +02:00
416ac62fbf pm: unify and set safe default pm_blocker 2017-10-16 14:32:27 +02:00
Hauke Petersen
5920d99752 pm: fix weak-based default implementations
Instead of using `weak` function definitions, this PR handles
default implementations using `PROVIDES_x` defines, allowing
for cpus/pm realted modules to use their own implementations.
2017-10-16 14:27:35 +02:00
Martine Lenders
cb2a968a35
gnrc_uhcpc: fix dependencies
\#7721 showed, that `posix` is required to include the `arpa/inet.h`
header into the include path of an application using the `uhcpc`
module.

Additionally this PR makes the FIB an optional dependency of
`gnrc_uhcpc`.
2017-10-13 12:13:47 +02:00
52d08ca565 Merge pull request #7714 from OTAkeys/pr/conn_can_raw_fix
conn_can: fix conn_can_raw_send and improve doc
2017-10-13 12:09:40 +02:00
Martine Lenders
c30fea4638
shell_commands: fix sc_gnrc_netif2 for MSP430 2017-10-12 15:37:50 +02:00
Hauke Petersen
41f0864b67 saul_reg: make ptr to device descriptor non const 2017-10-12 11:51:24 +02:00
Vincent Dupont
4e832a7d7e can/device: improve bus-off management 2017-10-11 10:01:33 +02:00
Vincent Dupont
e8e20882ce conn_can_raw: improve doc 2017-10-11 09:52:44 +02:00
Vincent Dupont
d251456585 conn_can_raw: fix xtimer removal 2017-10-11 09:51:28 +02:00
Francisco Acosta
a82930cf60 Merge pull request #7381 from miri64/slipdev/api/slip-port-to-netdev
slip: port to be used with netdev
2017-10-10 23:23:01 +02:00