DescriptionThe implementation is still very rough on the edges and has lots of commented out code (please ignore it), and I will clean it up for inclusion.
What seems to work:
* realistic propagation delays
* carrier sense
What isn't tested:
* propagation delay and loss models (hopefully didn't break anything, but unlikely)
* large number of devices and applications (it shouldn't break)
What isn't implemented:
* jam signal (probably easy, just need to think about it a bit)
* collision detection (sort of, the code is partially there, will fix it before inclusion)
* tests (will do once I know it works)
Idea: the channel has it's delay (e.g. 2ms) and BooleanValue PositioningEnabled; false => old style csma, true => device positions on the wire are taken into account when computing delay.
Device Position is a number betwen 0.0 and 1.0, where those represent ends of the wire. (I started with length but in the end this approach made more sense).
Patch Set 1 #
Total comments: 3
Patch Set 2 : CSMA module improvements rebased on top of ns-3-dev as of 2014-06-10 #
Total comments: 1
MessagesTotal messages: 3
|