Bug 896 - Application traffic stops after changing channel with WifiPhy::SetChannelNumber(uint32_t number)
Application traffic stops after changing channel with WifiPhy::SetChannelNumb...
Status: RESOLVED INVALID
Product: ns-3
Classification: Unclassified
Component: wifi
ns-3-dev
All Linux
: P3 major
Assigned To: ns-bugs
: bug
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-26 23:20 EDT by Glenn Evans
Modified: 2010-05-16 09:01 EDT (History)
0 users

See Also:


Attachments
A sample testcase that shows this bug (6.47 KB, text/x-c++src)
2010-04-26 23:20 EDT, Glenn Evans
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Glenn Evans 2010-04-26 23:20:35 EDT
Created attachment 848 [details]
A sample testcase that shows this bug

This bug presents itself as the OnOffApplication traffic "stopping" transmission after the AP and clients switch to another channel using the WifiPhy::SetChannelNumber function.

Currently, I am using changeset:5933:2fc170de5400 (which I realize is not the most up-to-date but the newest has caused additional problems with my simulations) for my simulations. I am implementing an algorithm for channel-hopping to improve channel use in 802.11 networks, and ran into this bug when running basic simulations.

The attach file is a basic demonstration of this bug, which appears in the PCAP file as if the OnOffApplication never restarts after the channel is switched; despite the fact that the clients and AP still communicate for the rest of the simulation.

To run the simulation: "./waf --run "channelHopping hopping=0/1", where 0 is a non-hopping simulation and 1 is for the buggy simulation.

The expected behavior if this bug was not present would be for the simulation to have a brief period of no application traffic while the AP and clients reconnected/associated, but then for normal operation to resume.

Thank you for your help,

Glenn Evans
Comment 1 Glenn Evans 2010-05-16 09:01:29 EDT
Bug is not present with the newest ns-3-dev branch (changeset: 6302:e9b6963f1959)