[Ns-bugs] [Bug 842] ns-3-dev crashes using block ack

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Tue Aug 3 11:17:28 PDT 2010


http://www.nsnam.org/bugzilla/show_bug.cgi?id=842





--- Comment #22 from Mirko Banchi <mk.banchi at gmail.com>  2010-08-03 14:17:27 EDT ---

> Mirko, I think we should take a decision based also on the code, not only on
> resulting behavior. In this case it should be very simple, because the only
> change in behavior introduced by your patch is the additional "else if" block
> that I am reporting below. Can you please explain us why you think this change
> is needed?
> 
> 
> --- a/src/devices/wifi/edca-txop-n.cc    Mon Aug 02 13:15:36 2010 +0200
> +++ b/src/devices/wifi/edca-txop-n.cc    Tue Aug 03 10:21:55 2010 +0200
> @@ -378,6 +376,10 @@
>        StartAccessIfNeeded ();
>        NS_LOG_DEBUG ("tx broadcast");
>      }
> +  else if (m_currentHdr.GetType() == WIFI_MAC_CTL_BACKREQ)
> +    {
> +      SendBlockAckRequest (m_currentBar);
> +    }
>    else
>      {

That change is needed because during retransmission of a bar
MacLowTransmissionParameters must be set correctly in order to wait for a block
ack and not for a normal ack. So, for me this bug is closed. Within few day
i'll push the change in ns-3-dev. Thank you Nicola.

-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list