aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tbf/TbfTest.cpp
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-08-21 18:19:29 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-08-21 19:02:18 +0200
commite91bd3babd5c04a154f296607b401a5050dcba31 (patch)
treedb0b3ed52841b8ce10f0d8e28f5adc3cf0f72013 /tests/tbf/TbfTest.cpp
parentb139598b1c5bd271675386be77370899b5707d61 (diff)
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
Diffstat (limited to 'tests/tbf/TbfTest.cpp')
-rw-r--r--tests/tbf/TbfTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tbf/TbfTest.cpp b/tests/tbf/TbfTest.cpp
index 44d26b27..6f9a8ba7 100644
--- a/tests/tbf/TbfTest.cpp
+++ b/tests/tbf/TbfTest.cpp
@@ -871,11 +871,11 @@ static void test_tbf_dl_flow_and_rach_two_phase()
OSMO_ASSERT(ms2 == ms);
/* DL TBF should be the same */
- /* OSMO_ASSERT(ms->dl_tbf()); */
- /* OSMO_ASSERT(ms->dl_tbf() == dl_tbf); */
+ OSMO_ASSERT(ms->dl_tbf());
+ OSMO_ASSERT(ms->dl_tbf() == dl_tbf);
/* No queued packets should be lost */
- /* OSMO_ASSERT(ms->llc_queue()->size() == 1); */
+ OSMO_ASSERT(ms->llc_queue()->size() == 1);
printf("=== end %s ===\n", __func__);
}