[Ns-bugs] [Bug 679] channel switching causes error

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Thu Feb 11 12:44:47 PST 2010


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


Josh Pelkey <jpelkey at gatech.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jpelkey at gatech.edu




--- Comment #4 from Josh Pelkey <jpelkey at gatech.edu>  2010-02-11 15:44:46 EDT ---
(In reply to comment #3)
> I think this may have been a case of trying to change channels when the sender
> was sending.  As far as I can tell, that will still cause an assert error in
> the code.  I'm not sure if there is a way to allow channel switching to be
> scheduled even when a node is sending, even if you let the node finish sending
> and then switch the channel.
> 
> Michael

Michael,

Can you verify that this is still a problem?  Based on your first post, I can't
reproduce the assert either.  After looking at the code (again), it seems like
the asserts are correct.  In wifi-phy-state-helper, the assert is making sure
that we are in the switching state, since that is the task of the method. In
yans-wifi-phy, the assert is making sure that we *aren't* in the switching
state as we are trying to switch now (and trying to switch in the middle of
switching, I guess isn't a good idea).

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