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

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Sun Mar 1 10:55:57 PST 2009


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





--- Comment #11 from Tom Henderson <tomh at tomh.org>  2009-03-01 13:55:57 EDT ---
I would just support closing this bug out with (In reply to comment #10)
> 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 ...
> 

I think we'll be able to fix the tap bridge another way, so I support closing
this out with the above.


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