Bug 1780

Summary: Distance between an SS and a BS greater 8km causes a crash.
Product: ns-3 Reporter: seantomashayes
Component: wimaxAssignee: Flavio Kubota <kubota>
Status: NEEDINFO ---    
Severity: normal CC: muni_es, ns-bugs, seantomashayes
Priority: P5    
Version: ns-3.18   
Hardware: PC   
OS: Linux   
Attachments: .cc file of error in action.

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