[Ns-developers] athstats in ns3

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Sun Jul 12 23:03:33 PDT 2009


hi,

On Fri, 2009-07-10 at 16:56 +0200, Nicola Baldo wrote:

> I am asking for this code to be reviewed for inclusion in ns-3-dev. The 
> code is divided into two parts:

All the information you need is already present in the
WifiRemoteStationManager so, there should be no need to duplicate this
information at the MAC layer itself. To minimize impact in the MAC layer
itself, all you have to do is to:

a) make all the WifiRemoteStation::Report* methods call corresponding
notify methods in the WifiRemoteStationManager before calling the
DoReport* methods.

b) implement the Notify methods in WifiRemoteStationManager like you did
in wifi-mac.cc

c) profit !

> 1) a new set of traces that I added to WifiMac in order to notify when a 
> RTS or DATA frames is to be retransmitted as well as when a frame is 
> dropped due to exceeded retry limit:
> http://codereview.appspot.com/91098

The API below looks good to me.

> 2) the implementation of AthstatsWifiTraceSink and its associated helper:
> http://codereview.appspot.com/88151


Mathieu



More information about the Ns-developers mailing list