[Ns-bugs] [Bug 510] NqstaWifiMac Lies About SupportsSendFrom?

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Fri Feb 27 14:07:40 PST 2009


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





--- Comment #10 from Craig Dowell <craigdo at ee.washington.edu>  2009-02-27 17:07:39 EDT ---
I added this bug primarily due to an impedance mismatch regarding whether or
not STA nodes supported SendFrom.

I rather hazily remembered an issue with SendFrom, but I think the answer is
that the impedance in NqstaWifiMac is correct -- the resolution to this bug is
along the lines of,

bool
NqstaWifiMac::SupportsSendFrom (void) const
{
  //
  // The 802.11 MAC protocol has no way to support bridging outside of
  // infrastructure mode
  //
  return false;
}

void
NqstaWifiMac::Enqueue (Ptr<const Packet> packet, Mac48Address to, Mac48Address
from)
{
  NS_FATAL_ERROR ("Qsta does not support SendFrom");
}

And the tap-bridge just has to deal with it ...


-- 
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