tbf: Do not kill DL TBF on Packet Resource Request
Currently all active TBF of an MS are killed if a Packet Resource
Request is received from the MS. In general this happens after a RACH
request. This does not happen after a resource request that has been
included into a Downlink Ack/Nack.
Sometimes an UL TBF is requested by an MS via RACH while a DL TBF is
running for instance to send a TCP Ack. This can happen, if a former
request via PACCH did not work.
This commit removes the killing of the DL TBF from
gprs_rlcmac_pdch::rcv_resource_request().
Sponsored-by: On-Waves ehf
diff --git a/src/bts.cpp b/src/bts.cpp
index 5b62a18..141431a 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -941,14 +941,11 @@
ul_tbf = NULL;
}
- if (dl_tbf) {
- LOGP(DRLCMACUL, LOGL_NOTICE, "Got RACH from "
- "TLLI=0x%08x while %s still exists. "
- "Killing pending DL TBF\n", tlli,
- tbf_name(dl_tbf));
- tbf_free(dl_tbf);
- dl_tbf = NULL;
- }
+ if (dl_tbf)
+ LOGP(DRLCMACUL, LOGL_INFO, "Got RACH from "
+ "TLLI=0x%08x while %s still exists.\n",
+ tlli, tbf_name(dl_tbf));
+
LOGP(DRLCMAC, LOGL_DEBUG, "MS requests UL TBF "
"in packet resource request of single "
"block, so we provide one:\n");