MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / msDeassignChannels

Method msDeassignChannels

GPRS/MSInfo.cpp:647–663  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

645}
646
647void MSInfo::msDeassignChannels()
648{
649 TBF *tbf;
650 RN_MS_FOR_ALL_TBF(this,tbf) {
651 if (tbf->isTransmitting()) {
652 GLOG(ERR) << "DeassignChannels while TBF transmitting:"<<tbf;
653 // The caller was suppsed to prevent this.
654 // No recovery is possible; just kill it.
655 tbf->mtCancel(MSStopCause::Goof,TbfNoRetry);
656 }
657 }
658 // We dont call this if there are any active TBFs, but
659 // there could be attached TBFs that have not started yet.
660 // We must de-attach them to release the channels.
661 msPCHDowns.clear();
662 msPCHUps.clear();
663}
664
665// TODO:
666void MSInfo::msReassignChannels()

Callers 1

Calls 4

RN_MS_FOR_ALL_TBFFunction · 0.85
isTransmittingMethod · 0.80
mtCancelMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected