Commit Graph

2296 Commits

Author SHA1 Message Date
Simon Duquennoy
d19df3b59d rpl-lite: minor improvements 2017-06-29 18:27:23 +02:00
Simon Duquennoy
e7385ab2c0 rpl-lite parent selection: if the preferred parent is still best but no longer fresh, stick to it and use urgent probing to get it fresh again 2017-06-29 18:27:22 +02:00
Simon Duquennoy
a791f46002 Link-stats: new option to compute ETX from Tx and ACK count. More stable than EWMA. 2017-06-29 18:27:10 +02:00
Simon Duquennoy
ac4558bea0 rpl-lite: minor modifications 2017-06-29 16:53:43 +02:00
Simon Duquennoy
7d2b9c5b63 rpl-lite: reset DOI timer in case of a significant rank update 2017-06-29 16:53:43 +02:00
Simon Duquennoy
a0b0ddbbea RPL-lite MRHOF: added time hysteresis 2017-06-29 16:53:43 +02:00
Simon Duquennoy
dd85a89fbd rpl-lite: forget all link-statistics when leaving DAG 2017-06-29 16:53:42 +02:00
Simon Duquennoy
5df65382b3 rpl-lite: added state to DAG and only start advertising once reachable, added poisoning and leaving after a delay, improved management of DAG expiration 2017-06-29 16:53:17 +02:00
Simon Duquennoy
0d357a5c84 RPL-MRHOF: when squaring etx, do so only in path/rank calculation, not in link_metric 2017-06-29 16:46:30 +02:00
Simon Duquennoy
f25b76bd43 Link-stats: use RSSI to initialize ETX by default 2017-06-29 16:46:30 +02:00
Simon Duquennoy
c297c89f8d TSCH: some rework on tsch-queue 2017-06-29 16:46:29 +02:00
Simon Duquennoy
bf5bea583e Disable TCP by default, homogenize UDP and TCP connections config 2017-06-29 16:46:29 +02:00
Simon Duquennoy
f64ec24c9b Rename CONTIKI_NETWORK_DENSITY and CONTIKI_NETWORK_SIZE to NBR_TABLE_CONF_MAX_NEIGHBORS and NETSTCK_ROUTING_STATE_SIZE 2017-06-29 16:46:23 +02:00
Simon Duquennoy
08ac18b4e9 TSCH and CSMA: consistent seqno handling 2017-06-29 16:46:18 +02:00
Simon Duquennoy
17309e42fc TSCH: remove pending rx packet from ringbuf only after processing it 2017-06-29 16:46:17 +02:00
Simon Duquennoy
8a71f8ac61 TSCH: use default MAX_BE 2017-06-29 16:46:17 +02:00
Simon Duquennoy
b6e24d9966 TSCH: logging fixes 2017-06-29 16:46:16 +02:00
Simon Duquennoy
207d166ce6 TSCH: logging, and code style fixes 2017-06-29 16:46:16 +02:00
Simon Duquennoy
eadc38ac1f TSCH: time-source recovery in case of failed keep-alive 2017-06-29 16:46:15 +02:00
Simon Duquennoy
89cbf87eee TSCH: be more picky in incoming frame filtering 2017-06-29 16:46:15 +02:00
Simon Duquennoy
076817faec rpl-lite: enable DAO-ACK by default. Various other improvements 2017-06-29 16:46:14 +02:00
Simon Duquennoy
821590c4b5 Logging: added feature for compact address logging (last 16 bits). Cleanup more logs in MAC layers, IPv6 and RPL 2017-06-29 16:46:13 +02:00
Simon Duquennoy
a78b4e32e9 Logging system: print the module name only on newlines 2017-06-29 16:46:12 +02:00
Simon Duquennoy
395e6dc819 RPL-lite: use logging module 2017-06-29 16:46:11 +02:00
Simon Duquennoy
250707c2d7 Use full include path for rpl and rpl-lite .h files, in core 2017-06-29 16:46:11 +02:00
Simon Duquennoy
7e9d68a2ef Fix tcpip.c next hop selection 2017-06-29 16:46:10 +02:00
Simon Duquennoy
0449187163 rpl-lite: fix variable name 2017-06-29 16:46:09 +02:00
Simon Duquennoy
c0cb4b8b45 rpl-lite: leave DAG on DAO NACK instead of attempting a repair, not useful in non-storing mode 2017-06-29 16:46:09 +02:00
Simon Duquennoy
03d703f188 rpl-lite: tailor rpl_icmp6_dao_output to non-storing mode 2017-06-29 16:46:09 +02:00
Simon Duquennoy
d4e08fafa6 rpl-lite: terminology: use 'neighbor' instead of 'parent', and distinguish candidate neighbors from parent set as per RFC 6550 2017-06-29 16:46:08 +02:00
Simon Duquennoy
a6643a9835 Added RPL-lite, a lightweight implementation of RPL. This is the new default. 2017-06-29 16:46:07 +02:00
Simon Duquennoy
fcc1778dc0 Remove all references to Rime 2017-06-22 18:31:13 +02:00
Nicolas Tsiftes
278edea32b Merge pull request #40 from simonduq/pr/ipv4-cleanup
Cleanup core/net/ip
2017-06-21 17:56:15 +02:00
Simon Duquennoy
830ac8a2da Logging fixes 2017-06-21 17:11:20 +02:00
Simon Duquennoy
9231d9f82d Logging module naming: LOG_MODULE_STR becomes LOG_MODULE 2017-06-21 17:09:39 +02:00
Simon Duquennoy
07765f8e70 Cleanup CSMA logging 2017-06-21 17:09:38 +02:00
Simon Duquennoy
1dcba2a700 Added logging example for regression testing with all logs enabled 2017-06-21 17:09:38 +02:00
Simon Duquennoy
4c68f68b07 Logging fixes 2017-06-21 17:09:37 +02:00
Simon Duquennoy
661f4c5023 Use logging module for MAC layers 2017-06-21 17:09:37 +02:00
Simon Duquennoy
9f0177570d Use logging module for IPv6 2017-06-21 17:09:36 +02:00
Simon Duquennoy
b9bd08c4a9 Added new logging module, used in tcpip and sicslowpan 2017-06-21 17:09:36 +02:00
Simon Duquennoy
145223181c Cleanup core/net/ip 2017-06-21 17:00:05 +02:00
Simon Duquennoy
265af96a55 Added new nbr-table reason for ND6 AUTOFILL 2017-06-21 16:53:53 +02:00
Simon Duquennoy
2031edb607 More comments on UIP_CONF_ND6_AUTOFILL_NBR_CACHE 2017-06-21 16:53:36 +02:00
Simon Duquennoy
0d0e065456 uIP ND6: added option to automatically fill the neighbor cache assuming autoconfigured IPv6 addresses 2017-06-21 16:53:29 +02:00
Billy Kozak
0b66f4e274 Refactor tcpip.c to reduce code size
- memset listenports to clear at tcpip_process init
- add setup_appstate function to initilize app state structs
2017-06-21 16:02:45 +02:00
Billy Kozak
6b40fcc125 refactored tcpip_ipv6_output
- brought out several sections of code into seperate helper functions
- reduced conditional nesting by adding new function exit points
- use gotos to eliminate some code duplication (the main goal here
  is to reduce code size so as to avoid compilation problems on some
  platforms).

Conflicts:
	core/net/ip/tcpip.c
2017-06-21 16:02:44 +02:00
Simon Duquennoy
d4a608cdad Merge pull request #39 from simonduq/pr/werror
Enable -Wall -Werror by default
2017-06-21 16:00:16 +02:00
Joakim Eriksson
795f646787 Merge pull request #34 from simonduq/pr/no-ipv4
Removing IPv4 stack
2017-06-21 14:31:58 +02:00
Simon Duquennoy
3d5ee21d69 Fix a number of compiler warnings 2017-06-21 12:06:57 +02:00