[Ns-developers] Block ack Timeout

Mirko Banchi mk.banchi at gmail.com
Sun May 24 11:00:02 PDT 2009


Hi all, on these days i'm completing 802.11n block ack
implementation...i think that within a week i'll ready to publish the
repository on code.nsnam.org for first feedbacks. I've a question about
calculation of timeout value for block ack. Method
ns3::MacLow::StartDataTxTimers now has also lines like these:

...
else if (m_txParams.MustWaitBlockAck ())
    {
      Time timerDelay = txDuration + GetBlockAckTimeout ();
      NS_ASSERT (m_blockAckTimeoutEvent.IsExpired ());
      m_blockAckTimeoutEvent = Simulator::Schedule (timerDelay,
&MacLow::BlockAckTimeout, this);
    }
  else if (m_txParams.MustWaitCompressedBlockAck ())
    {
      Time timerDelay = txDuration + GetBlockAckTimeout ();
      NS_ASSERT (m_blockAckTimeoutEvent.IsExpired ());
      m_blockAckTimeoutEvent = Simulator::Schedule (timerDelay,
&MacLow::BlockAckTimeout, this);
    }
...

The two implemented variants are basic block ack with a 128 bytes bitmap
and compressed block ack with a 64 bits bitmap. How we should calculate
timeout value for the two variants? In the standard i haven't found that .

I've looked to method ns3::WifiMac::GetDefaultCtsAckTimeout. How should
be defined a similar method GetDefaultBlockAckTimeout?

Thanks,
Mirko

-- 
Mirko Banchi

e-mail:    mk.banchi at gmail.com
e-mail:    mk.banchi at virgilio.it
id-jabber: mk.banchi at jabber.org
id-msn:    mb11684 at hotmail.com

PGP key fingerprint:

308F BFB1 4E67 2522 C88E
DC69 7631 52ED 32A5 6456

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3410 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mailman.isi.edu/pipermail/ns-developers/attachments/20090524/5e56cade/smime.bin


More information about the Ns-developers mailing list