[Ns-developers] CS mechanism

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Tue Mar 31 06:37:57 PDT 2009


On Tue, 2009-03-31 at 16:35 +0400, Denis Fakhriev wrote:

> I've looked thorough dcf-manager.cc and I have two 
> questions about it:
> 1. in DcfManager::IsBusy we assume that medium is busy, if 
> station
>      receive/transmit packet (PHY busy) or it is NAV busy. 
> Does it is means that
>      station can transmit not only in IDLE state, but also 
> in CcaBusy state?

Yes, I believe that there are cases where the specification explicitely
allows transmitting when ccabusy.


> 2. for what reason we declare variable
>      accessGrantStart = GetAccessGrantStart ();
>      in DcfManager::DoGrantAccess? I can't found where 
> this variable is used.

yes, it appears that you could delete this statement without changing
the behavior of the code. I have no idea why this code is there.

Mathieu



More information about the Ns-developers mailing list