aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-10-25 18:31:11 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-10-25 18:32:54 +0200
commitc2ae1df89035f0255969f0332ea1f4f27267d0f5 (patch)
tree6af29858d98d996e1d2ca54063cc6606b0fb38a9
parentfb905b8d235ff2efe6c1cd9fde2b488b311c1cd7 (diff)
bts-trx: sched: tx_pdtch_fn: Drop log line clogging logs
The burst is properly pre-filled to _sched_dummy_burst in bts_sched_init_buffers(), so we are fine doing nothing on C0. Related: SYS#5676 Related: SYS#4919 Fixes: 300e31ed135c674cd44526b7503d4664a45a9ec3 Change-Id: Ia7045724a1a3206f5890c0b12843711ad2360ed8
-rw-r--r--src/osmo-bts-trx/sched_lchan_pdtch.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/osmo-bts-trx/sched_lchan_pdtch.c b/src/osmo-bts-trx/sched_lchan_pdtch.c
index 4c63acb1..66be1164 100644
--- a/src/osmo-bts-trx/sched_lchan_pdtch.c
+++ b/src/osmo-bts-trx/sched_lchan_pdtch.c
@@ -162,7 +162,11 @@ int tx_pdtch_fn(struct l1sched_ts *l1ts, struct trx_dl_burst_req *br)
/* get mac block from queue */
msg = _sched_dequeue_prim(l1ts, br);
if (!msg) {
- LOGL1SB(DL1P, LOGL_INFO, l1ts, br, "No prim for transmit.\n");
+ /* It's totally fine to get no block here, since PCU may submit
+ * empty blocks when there's no MS listening. The scheduler will
+ * take care of filling C0 with dummy bursts to keep expected
+ * power transmit levels
+ */
goto no_msg;
}