| 125 | } |
| 126 | |
| 127 | static bool queueFrontExistsAndIsNotTlliChangeCommand(MSInfo *ms) |
| 128 | { |
| 129 | SGSN::GprsSgsnDownlinkPdu *dlmsg = ms->msDownlinkQueue.front(); |
| 130 | if (!dlmsg) { return false; } |
| 131 | if (dlmsg->mTlli != ms->msTlli) { |
| 132 | // We will terminate the downlink TBF and leave this new TBF with |
| 133 | // the TLLI change command sitting in the queue to handle |
| 134 | // at the next time we talk to this MS. |
| 135 | LOGWATCHF("TLLI change command from %x to %x\n",(unsigned)ms->msTlli,(unsigned)dlmsg->mTlli); |
| 136 | return false; |
| 137 | } |
| 138 | return true; |
| 139 | } |
| 140 | |
| 141 | // We leave persistent mode when mDownFinished is set. |
| 142 | bool RLCDownEngine::dlPersistentMode() { return !mDownFinished && (gL2MAC.macDownlinkPersist > 0); } |
no test coverage detected