Hi all

 I am quite new to ns and have been reading up more than actually
 coding. So the whole "how it fits together" thing is still a bit
 vague.

 I have some questions that I cant seem to get answers to:

I am trying to simulate an underwater wireless channel. Now I know
about the two different
   code versions available for the underwater channel, namely the one
in ns-miracle and then the
   unsupported code for basic ns. The thing is I dont know which way
to go, ns-miracle or
   basic ns.

 In ns-miracle the documentation claims that the underwater channel
works and that some basic MACs are provided, but in one of the mails
in the mailing list I read that some of the routing protocols are not
yet supported?  Also if I go the basic ns way I have to fix the code
myself. It has some errors at the moment. Doesnt seem too difficult to
fix though.

1. In the underwater-phy.cc of the unsupported underwater code, lambda
is defined as:
    lambda_ = SPEED_OF_LIGHT / freq_;
    Considering that its an underwater channel, should it not then be
the speed of sound??

 I want to implement my own MAC for the underwater environment. I am
looking to use the RTS, CTS, DATA, ACK handshake to implement MACAW.
Some of this is already implemented in the 802.11 MAC. So I will try
to port that to MACAW. So basically I want to try and use the
framework supplied by the 802.11 code and just change what is
necessarry to implement my MAC (MACAW). The problem is I dont have
enough experience with ns to write my own MAC
 from scratch, so im doing it this way.

2. Now would it be easier to go with ns-miracle, or try to integrate
the unsupported code for the
    basic ns and use that to keep the routing modules intact?

3. And lastly, can the 802.11 MAC run on the underwater physical layer
as it is? Just for
   starters, I will try to port it eventually to the MACAW protocol...

 Im sorry, I know its a lot of questions and some are very vague..but
Im desperate. Doing my thesis and running out of time...

 Thanx a lot

 Dewald

Reply via email to