[Ns-developers] NS-3 Wifi contributions

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Tue Mar 18 19:54:47 PDT 2008


On Mon, 2008-03-17 at 12:15 +0100, Federico Maguolo wrote:

> > Now that ns-3-param has been merged into ns-3-dev, I have looked again
> > at your Jakes and Composite propagation loss models. The patches look
> > nice but before being integrated, they would need to be updated to the
> > new API in ns-3-dev: do you think you could produce a new patch ?
> 
> An updated patch for jakes and composite propagation loss models is ready at
> 
> http://www.dei.unipd.it/wdyn/index.php?IDsezione=5517


The patch looks good, modulo a few comments:
  - can you remove the commented-out includes at the top of the .cc
file ?
  - can you split the file in two files :
composite-propagation-loss-model and jakes-propagation-loss-model ?
  - can you try to add some doxygen doc to your new classes ? i.e., you
need to add /** */ blocks at the top of each class together with a
\brief tag. There are some examples of this in src/core/object.h.

> 
> >
> > Another thing I was wondering about is whether we could rename
> > PropagationLossModel::GetRxPower (double,Ptr<MobilityModel> a,
> > Ptr<MobilityModel> b) to PropagationLossModel::GetLoss (
> > Ptr<MobilityModel> a, Ptr<MobilityModel> b) ? The latter would more
> > closely match the behavior of PropagationDelayModel which returns the
> > 'delay' rather than the time of expiration but I wonder if it would be
> > enough to express the semantics of a sufficient number of propagation
> > loss models. What do you think ?
> 
> Yes, the propagation loss is a coefficient which is independent from the 
> transmit power, thus I think you can change the interface as you suggest.


If you could also send another patch to do that, you would become my
hero of the day/week (month ?) and I would owe you yet another bear
[and/or beverage of your choice] the next time we meet in italy :)

[I hope it does not show too much that I am trying to get you to do my
job :)]

thanks again for your efforts,
Mathieu



More information about the Ns-developers mailing list