Commit graph

5934 commits

Author SHA1 Message Date
adamdunkels 37adf130b4 Rewrite of the congestion logic. A node now report it being congested
when half the transmission queue is full. When a neighbor is heard to
be congested, the rtmetric of that node is inflated to avoid sending
more traffic in its direction.

Fixed problems with beacon intervals: intervals are now not reduced
when a path gets significantly worse, only when they get better.
2010-10-11 23:42:01 +00:00
adamdunkels d821ba5e22 Added a lifetime for link estimates: if they are too old, they are
reset so that a new probing period can produce more up-to-date
estimates. Added a congestion mechanism whereby a neighbor can be
marked as being congested for a period of time, during which the ETX
for the neighbor will be artificially inflated.
2010-10-11 23:38:46 +00:00
adamdunkels 5eb4a0fe8d Rewrote the initial link estimate logic: link estimates are now
computed only over the actual samples, not over the entire
buffer. Also, the initial link estimate is much more conservative now
(16 transmissions) to favor links that have been probed, and which
therefore are likely to have better ETXs.
2010-10-11 23:34:02 +00:00
nifi 98702b2e85 Simple plugin to connect the CollectView demo to COOJA 2010-10-11 09:29:05 +00:00
nifi febb07a71b Added simple spring layout that attracts connected nodes in node visualizer 2010-10-10 22:39:09 +00:00
nifi 5988b06bd1 Readded support for Sentilla platforms that was accidentally lost in previous version 2010-10-08 05:54:51 +00:00
nifi e770e87995 Added more options to send and receive data (via command, file, standard in) 2010-10-07 21:13:00 +00:00
nifi 20e04b5c23 Added parsing of COOJA logs 2010-10-07 21:01:46 +00:00
nifi 54692bf62a ETX 1.0 is 8, not 16, in the new collect code 2010-10-07 20:59:48 +00:00
adamdunkels 0cabe483c3 Don't call sink recv function for zero-size packets, since these most likely are link estimate probes or keepalive packets. Explicitly set eseqno to zero when opening a new connection. 2010-10-07 15:52:28 +00:00
joxe f78fd63fd7 fixed bug in serial printout related to TinyOS-mode 2010-10-07 13:09:28 +00:00
joxe a5aa083fa4 update version of mspsim - optimized flash read 2010-10-07 13:07:44 +00:00
oliverschmidt 35f7b6046e Fixed 'Modulo operation with zero' error by making sure that NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE is not smaller than CLOCK_CONF_SECOND. 2010-10-06 19:48:26 +00:00
oliverschmidt d1a75f73b3 Made cfs-based webserver example compatible with 8.3 file systems. 2010-10-06 19:28:57 +00:00
adamdunkels 14940b65b8 Added the total power consumption to each powertrace printout; updated powertrace scripts to reflect this change 2010-10-06 18:40:21 +00:00
adamdunkels ad35c54473 Bugfix: when a node's rtmetric was lower than SIGNIFICANT_RTMETRIC_PARENT_CHANGE, its beacon timers would always be bumped to its lowest value 2010-10-05 20:06:47 +00:00
adamdunkels 52e9a6f1fb Turned the DRAW_TREE debug flag off by default 2010-10-04 22:36:47 +00:00
nifi db5667ac8d Ignore access control problems when looking up debug info 2010-10-04 22:33:58 +00:00
oliverschmidt 5feb646462 Call Makefiles to build binaries before creating the images. 2010-10-04 22:13:45 +00:00
adamdunkels 65d640ac53 Several bugfixes to the proactive link estimate maintenance code, which is now enabled by default. Simplified DRAW_TREE code for drawing routing graph in Cooja. Added routing metric penalty to parents that are congested or that drop packets. 2010-10-04 20:27:50 +00:00
adamdunkels 212e73faa6 Removed old netsim code. Added a function for obtaining the packet attributes of a queuebuf packet. 2010-10-04 20:26:01 +00:00
joxe 67c76649d9 small optimizations and cleanups 2010-10-04 12:54:01 +00:00
nifi 63c685c852 bug fix 2010-10-04 10:52:26 +00:00
nifi 5172027bae minor optimization: avoids multiple checks and only check simulation thread when assertions are enabled 2010-10-04 10:11:55 +00:00
fros4943 e4e892bc49 added methods for saving radio connections to file from test scripts, as suggested on the develop mailing list 2010-10-04 08:14:55 +00:00
joxe 4f3fc1c404 fixed xmac to use new channel check define name 2010-10-03 22:46:53 +00:00
adamdunkels 93f6fda353 Updated configuration options to reflect recent changes. Increased number of queuebufs. Corrected the name of the collection neighbors option. 2010-10-03 20:40:42 +00:00
adamdunkels ceebd7020a Bugfix: the return value sometimes was wrong when a collision was detected. 2010-10-03 20:39:24 +00:00
adamdunkels ae88ed04f1 Moved the definition of the channel check rate used by the radio duty
cycling layer. This definition was previously held in net/mac/mac.h,
with the name MAC_CONF_CHANNEL_CHECK_RATE. But since the rate is used
by the radio duty cycling layer, it makes more sense to change its
name to reflect this. Also, the configuration option should be tied to
the netstack configuration instead.

So the new configuration option is called
NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE.
2010-10-03 20:37:32 +00:00
adamdunkels d70783528f Increased number of retransmissions from 15 to 31 2010-10-03 20:22:18 +00:00
adamdunkels 7fcad36c43 Updated scripts to new output 2010-10-03 20:21:46 +00:00
adamdunkels cd7bbae9cc Added a 'retransmits' field 2010-10-03 20:19:37 +00:00
adamdunkels c0fb601354 Added the number of neighbors to the collection view app 2010-10-03 20:19:12 +00:00
adamdunkels f9687e8f5f Added a neighbor number field to the sky-alldata command. The parent fields now correctly specify the parent neighbor, not just the currently best neighbor. 2010-10-03 20:16:57 +00:00
adamdunkels 40583fe112 Removed the polite announcement code, since it was not used, and enabled the broadcast announcement code by default. Increased the default intervals for broadcast announcements. 2010-10-03 20:10:22 +00:00
adamdunkels 605392522f Bugfixes and improvements: rtmetrics are now 16-bit clean. Added experimental feature that proactively probes neighbors that have not yet been tried out, in order to get an initial ETX for them. 2010-10-03 20:08:44 +00:00
adamdunkels d0579c8a81 Cleaned up the collect neighbor management code 2010-10-03 20:07:10 +00:00
adamdunkels b23a364397 rtmetric values should always be computed as 16-bit values 2010-10-03 20:06:25 +00:00
oliverschmidt 3c733a0c4e Added section on 'dir2atr' now that there's an "official" download. 2010-10-03 11:01:32 +00:00
oliverschmidt 828378ab47 Replaced "retro" color scheme with ergonomic color scheme. 2010-10-03 10:30:53 +00:00
oliverschmidt 23aea9df35 On the Atari it seems reasonable to start on a clear b&w screen even for non-CTK apps. 2010-10-02 22:07:24 +00:00
oliverschmidt 1e7cf9865e Added Breadbox64 to the Atari Makefile (now that I ported BB64 to that target). This made three disk images necessary. 2010-10-01 22:38:39 +00:00
oliverschmidt 5d54b6aba8 Now that I understand that the Atari is in fact monochrome using black & white seems the logical consequence. 2010-10-01 20:27:06 +00:00
nvt-se 909569f834 Must check if load_file succeeded 2010-10-01 20:14:14 +00:00
adamdunkels d8165d30d5 Fix: ETX 1.0 is 8, not 16, in the new collect code 2010-09-30 23:09:25 +00:00
nifi 2642a55174 Added Routing Metric and ETX 2010-09-30 22:24:45 +00:00
oliverschmidt 3851548684 Added support for the Atari to the Contiki download page.
The Atari disk image tools don't allow to place contiki.cfg at a fixed location. Therefore the byte offset of the contiki.cfg content isn't constant :-( However using the tool adir with the option -r allows to learn the block number of the contiki.cfg content. So this block number is stored for each Atari disk image in the PHP code (in the array $blk) and translated into the correct byte offset.
2010-09-30 20:32:07 +00:00
oliverschmidt d59e65a8f2 Added (preliminary) Atari support to the disk image Makefile. 2010-09-29 22:41:37 +00:00
oliverschmidt a40594b7ce Display correct name of statically loaded driver. 2010-09-29 21:48:54 +00:00
oliverschmidt 7c7e126a2d Reduced number of concurrent connections to five (like on the Apple II) to have the web server fit into RAM. 2010-09-29 21:45:29 +00:00