summaryrefslogtreecommitdiff
path: root/serve_image.c
AgeCommit message (Collapse)Author
2007-08-14Switch multicast distribution system to round-robin modeDavid Woodhouse
Send one packet from each eraseblock in turn, rather than all packets for one eraseblock together. This means that bursts of loss are evenly spread between blocks. It also makes the client side a bit more complex if you can't assume that there's anywhere except the flash to store its intermediate data. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2007-08-14Rearrange serve_image.c to allow for easily sending one packet per blockDavid Woodhouse
in round-robin fashion rather than full blocks one at a time. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2007-08-14Import FEC code from Luigi Rizzo's RMDPDavid Woodhouse
Paper: http://info.iet.unipi.it/~luigi/mccr6.ps.gz Code: http://info.iet.unipi.it/~luigi/rmdp980703.tgz Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2007-08-11Fix timing calculations for serve_imageDavid Woodhouse
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2007-08-10Fine-tine the TX timing for serve_image.David Woodhouse
It just busy-waits until it's time to send the next packet now. Which sucks, but gives us good timing for debugging. Needs work (and actually if we have hrtimers we probably _can_ sleep and still have proper timing). Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2007-08-09Change multicast protocol to allow for a resending flagDavid Woodhouse
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2007-08-09Add utilities for multicast send/receive of MTD images.David Woodhouse
Signed-off-by: David Woodhouse <dwmw2@infradead.org>