Simon Duquennoy
d008bf8a76
Fix rpl_select_parent in the non-probing case
2016-06-03 16:44:14 +02:00
Simon Duquennoy
43b01b3236
RPL: if the best parent is not fresh, use the best fresh instead and utilize urgent probing to update link estimates
2016-06-03 16:44:14 +02:00
Simon Duquennoy
b42b12d7c8
Adsjut dao_ack_callback to new OFs
2016-06-03 16:44:13 +02:00
Simon Duquennoy
f18a4fdd7b
Adjust RPL neighbor policy to new OF interface
2016-06-03 16:44:12 +02:00
Simon Duquennoy
75967438e3
RPL ext header: check if sender is closer only after updating its rank
2016-06-03 16:44:11 +02:00
Simon Duquennoy
36dd282eb7
RPL: reset Trickle timer on incoming DIOs with INFINITE_RANK only if the DIO is from the preferred parent
2016-06-03 16:44:10 +02:00
Simon Duquennoy
65b854fcee
RPL: trigger a local repair only the first time no parent is found in a DODAG
2016-06-03 16:44:09 +02:00
Simon Duquennoy
b176991a06
Compile out code related to RPL probing when probing is disabled
2016-06-03 16:44:09 +02:00
Simon Duquennoy
6349019384
Fine tuning of link stats and RPL OFs
2016-06-03 16:44:08 +02:00
Simon Duquennoy
0d7e1e8be4
Fix PRINTF statement in rpl-timers.c
2016-06-03 16:44:07 +02:00
Simon Duquennoy
64679642f2
Saving ROM and RAM
2016-06-03 16:44:06 +02:00
Simon Duquennoy
7855ba20ba
RPL: Check acceptable_rank even after first obtaining a parent. Added comment on a slight departure from RFC6550.
2016-06-03 16:44:05 +02:00
Simon Duquennoy
d53a3a3df2
RPL: logging fixes
2016-06-03 16:43:58 +02:00
Simon Duquennoy
cd76b4b1c2
RPL: support for run-time selection of the OF. RPL_OF_OCP defines the OF to be advertised at the root, while RPL_SUPPORTED_OFS defines the set of supported OFs
2016-06-03 15:46:08 +02:00
Simon Duquennoy
c5cf8608e9
RPL probing: now using link-stats to first prioritize probing of non-fresh parents, and to support urgent probing (fast probing of a potential new preferred parent
2016-06-03 15:46:07 +02:00
Simon Duquennoy
426e10c3ed
Rehauling of RPL OFs, both MRHOF and OF0. Fixed compliance with RFC6551, 6552, 6719. Now using the link-stats module.
2016-06-03 15:46:06 +02:00
Simon Duquennoy
4e9b027141
rpl.h: updated constants and comments to match the standard
2016-06-03 15:46:03 +02:00
Nicolas Tsiftes
70abb211e3
Merge pull request #1635 from simonduq/pr/dao-no-k-flag-in-nopath
...
RPL: do not add K flag to no-path DAO as we discard the ACK anyway
2016-04-28 14:45:01 +02:00
Antonio Lignan
6afd56e0ee
Merge pull request #1634 from simonduq/pr/daoack-fix
...
DAO ACK fix
2016-04-27 23:47:07 +02:00
Simon Duquennoy
ace607a32d
Fix RPL default lifetime
2016-04-27 17:04:29 +02:00
Simon Duquennoy
4392507019
RPL: do not add K flag to no-path DAO as we discard the ACK anyway
2016-04-27 14:20:39 +02:00
Simon Duquennoy
0379398d7c
RPL DAO ACK: increment DAO seqno before storing it to my_dao_seqno
2016-04-27 14:05:16 +02:00
Simon Duquennoy
f47c0f579d
RPL DAO ACK: improve logging
2016-04-27 14:05:08 +02:00
Simon Duquennoy
f8c4d1155f
Disable RPL DAO ACK by default
2016-04-23 07:54:32 +02:00
Joakim Eriksson
12a75c3e43
fixed codestyle, improved APIs, and cleaned up comments
2016-03-26 20:12:52 +01:00
Joakim Eriksson
12ac02650b
fixed a bug in nbr policy and DAO retransmission handling and added new wismote simulation
2016-03-26 09:45:39 +01:00
Simon Duquennoy
e1f9369a09
RPL DAO-ACK: move initialization of current ougoing DAO from da_output to dao_output_target_seq
2016-03-26 09:45:38 +01:00
Simon Duquennoy
19b04098d5
Improved RPL debug logs
2016-03-26 09:45:38 +01:00
Simon Duquennoy
6fa3479aa8
RPL: improved debug messages for No-Path DAOs
...
Conflicts:
core/net/rpl/rpl-icmp6.c
2016-03-26 09:45:38 +01:00
Joakim Eriksson
09c624dcd3
fixed clearing of state flag and avoid starting retransmission timer
2016-03-26 09:45:38 +01:00
Joakim Eriksson
8afe3fb9b7
fixed so that DAO NACK now is either for the path or for RPL root - if from root then do not try to switch parent since that will not help
2016-03-26 09:45:38 +01:00
Joakim Eriksson
13b8c04c6f
fixed so that nbr policy for RPL Root do not save room for parents
2016-03-26 09:45:38 +01:00
Joakim Eriksson
1fcef0f90d
added function for checking downward route and added configuration for DAO NACK repair - default off
2016-03-26 09:45:38 +01:00
Joakim Eriksson
444015df67
refactored the rpl-nbr-policy to be called from nbr-table module
2016-03-26 09:45:37 +01:00
Joakim Eriksson
be81d1d2c6
added uip_clear_buf to avoid the risk of sending received packets
2016-03-26 09:45:37 +01:00
Joakim Eriksson
01930d4a64
changed default configuration of RPL route lifetime
2016-03-26 09:45:37 +01:00
Joakim Eriksson
cd98b8b40e
added periodic debug printout of number of used neighbors and routes
2016-03-26 09:45:36 +01:00
Joakim Eriksson
fa1b70b723
added configuration of DAO route refresh for broadcast DIOs
2016-03-26 09:45:36 +01:00
Joakim Eriksson
3fd8c4db2d
added nbr policy for Contiki RPL that avoids thrashing the nbr table with new entries all the time
2016-03-26 09:45:36 +01:00
Joakim Eriksson
946be77248
Added support for end-to-end DAO ACK for Contiki RPL.
...
This is a fix for Contiki RPL so that it fully supports DAO ACK in
an end-to-end fashion. When DAO is sent it will be forwarded upwards
as before. DAO ACK will be forwarded downwards until it reach the node
that initiated the DAO ACK and unlike before it is not a single-hop
DAO ACK but it is fully reaching the RPL ROOT before any DAO ACK is
sent back. DAO ACK also now fully support different status messages
(success / fail).
2016-03-26 09:28:08 +01:00
Simon Duquennoy
5e5904d10e
Merge pull request #1387 from simonduq/pr/ndfree-rpl-fix
...
NDP disabled: also disable uip_ds6_neighbor_periodic
2016-03-14 16:42:45 +01:00
Simon Duquennoy
cd981b23d5
Merge pull request #1297 from simonduq/pr/default-prefix
...
Change the default IPv6 prefix from aaaa::/64 to fd00::/64
2016-03-13 20:39:16 +01:00
Yasuyuki Tanaka
f83e498978
Fix typos in debug messages
2016-03-09 11:32:24 +01:00
Simon Duquennoy
dea04c67d7
Change the default IPv6 prefix from aaaa::/64 to fd00::/64
2016-03-07 17:47:44 +01:00
Joakim Nohlgård
d7d836fda0
core/net/rpl/rpl.h: fix warning: function declaration isn't a prototype
2016-03-02 07:00:57 +01:00
Joakim Nohlgård
52e7ea9cc4
core/net/rpl/rpl-dag.c: fix warning: function declaration isn't a prototype
2016-03-02 07:00:57 +01:00
Simon Duquennoy
521cc7600d
Minor debug output fixes
2016-02-03 17:10:24 +01:00
Simon Duquennoy
08bcfd6972
RPL: added callback for parent switches
2015-12-04 15:21:46 +01:00
Simon Duquennoy
b6d599b712
RPL: added callback for DIO interval update
2015-12-04 15:21:45 +01:00
Nicolas Tsiftes
35fb0614de
Merge pull request #1406 from simonduq/pr/fix-rpl-multi-dag
...
RPL multiple DAG bugfix
2015-12-02 11:19:37 +01:00