[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ns: Collition handling in Channel?



Hi!

I have looked at the code for the class Channel (in the snapshot) and I 
saw that a lot of code is commented out. Among that code is the handling
of 
how packet collition is modeled. Why is this code commented out?

Is the code being moved to some other class? MacCsma::send() depends on
Channel::contention() but now that method is commented out together with
Channel::send().

Another thing: MacState and MacFrameType in mac.cc seems to assume that 
you are using a MACA (or is it MACAW?) protocol. I suppose that if you
want to model another protocol you will have to change these, is that
correct?

Best regards, Henrik Eriksson