View | Details | Raw Unified | Return to bug 2089
Collapse All | Expand All

(-)ns-allinone-3.22/ns-3.22/src/wimax/model/ss-net-device.cc (-2 / +2 lines)
 Lines 922-928   SubscriberStationNetDevice::DoReceive (P Link Here 
922
              // intended for base station, ignore
922
              // intended for base station, ignore
923
              break;
923
              break;
924
            case ManagementMessageType::MESSAGE_TYPE_RNG_RSP:
924
            case ManagementMessageType::MESSAGE_TYPE_RNG_RSP:
925
              NS_ASSERT_MSG (SS_STATE_WAITING_RNG_RSP,
925
              NS_ASSERT_MSG (GetState() == SS_STATE_WAITING_RNG_RSP,
926
                             "SS: Error while receiving a ranging response message: SS state should be SS_STATE_WAITING_RNG_RSP");
926
                             "SS: Error while receiving a ranging response message: SS state should be SS_STATE_WAITING_RNG_RSP");
927
              packet->RemoveHeader (rngrsp);
927
              packet->RemoveHeader (rngrsp);
928
              m_linkManager->PerformRanging (cid, rngrsp);
928
              m_linkManager->PerformRanging (cid, rngrsp);
 Lines 941-947   SubscriberStationNetDevice::DoReceive (P Link Here 
941
              // intended for base station, ignore
941
              // intended for base station, ignore
942
              break;
942
              break;
943
            case ManagementMessageType::MESSAGE_TYPE_RNG_RSP:
943
            case ManagementMessageType::MESSAGE_TYPE_RNG_RSP:
944
              NS_ASSERT_MSG (SS_STATE_WAITING_RNG_RSP,
944
              NS_ASSERT_MSG (GetState() == SS_STATE_WAITING_RNG_RSP,
945
                             "SS: Error while receiving a ranging response message: SS state should be SS_STATE_WAITING_RNG_RSP");
945
                             "SS: Error while receiving a ranging response message: SS state should be SS_STATE_WAITING_RNG_RSP");
946
              packet->RemoveHeader (rngrsp);
946
              packet->RemoveHeader (rngrsp);
947
              m_linkManager->PerformRanging (cid, rngrsp);
947
              m_linkManager->PerformRanging (cid, rngrsp);

Return to bug 2089