Bug 1780 - Distance between an SS and a BS greater 8km causes a crash.
Distance between an SS and a BS greater 8km causes a crash.
Product: ns-3
Classification: Unclassified
Component: wimax
PC Linux
: P5 normal
Assigned To: Flavio Kubota
Depends on:
  Show dependency treegraph
Reported: 2013-10-24 06:38 EDT by seantomashayes
Modified: 2014-05-27 07:05 EDT (History)
3 users (show)

See Also:

.cc file of error in action. (4.73 KB, text/x-c++src)
2013-10-24 06:38 EDT, seantomashayes

Note You need to log in before you can comment on or make changes to this bug.
Description seantomashayes 2013-10-24 06:38:03 EDT
Created attachment 1685 [details]
.cc file of error in action.

SS node starts simulation over 8km from BS. Tries to communicate with BS after around 10-20 seconds. An assertion fails instead and simulation stops.

1.Define a Wimax Topology of one SS and one BS. Set channel propagation model to FRIIS. SSNode travels by waypoints to the BS and beyond it. 

2. Setup client on SS and server on BS. Client should send packets to server at a half second interval. No tracing is enabled.

Expected result:SS node should communicate with BS.

Actual Result: Crashes after around 10 seconds with:

assert failed. cond="this->GetPhyType() == SimpleOfdmaWimaxPhy || ( m_state == PHY_STATE_IDLE || m_state == PHY_STATE_SCANNING)", msg="Error while scanning: The PHY state should be PHY_STATE_SCANNING or PHY_STATE_IDLE", file=../src/wimax/model/wimax-phy.cc, line=135