dlinknctu / OpenNet

A Simulator for Software-Defined Wireless Local Area Network
GNU General Public License v2.0
72 stars 44 forks source link

MaxScanningChannelNumber issue in ns3::StaWifiMac #102

Open nelson-cardona opened 7 years ago

nelson-cardona commented 7 years ago

Hi,

I was working with ns3 (without SDN platform) and your modifications to make handoff and I had this issue:

We I set the MaxScanningChannelNumber to 4 and 2, I have the next error:

error

Any idea about this?

Thanks in advance.

Nelson Cardona.

kansokusha commented 7 years ago

It seems that the emulation gets stuck at yans-wifi-phy.cc, line=442, because does not fit the assert.

NS-3 emulation result depends on emulation script and NS-3 libraries. Since we does not know the content of your emulation script, and your NS-3 libraries are not based on our version. We can say that maybe the problem is at YansWifiPhy, StaWifiMac, Emulation Setup, or something else. But we can not give a determined suggestion, may be running emulation with gdb and use backtrace to figure out what is going on is a good step.

nelson-cardona commented 7 years ago

Thanks for the answer.

If I attach the script, can you run it on your version of ns3 (3.22) and see if you have the same error?

Thanks un advance.

kansokusha commented 7 years ago

We suggest you to build environment and test by yourself. Since it is an NS-3 issue, post the issue with detailed description in ns-3-users may also help.