aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-07-08 18:42:48 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2014-04-06 08:58:18 +0200
commit7ba9bf5efa0c050bb68ad2d81bef6664197f0335 (patch)
treec92297b92348df7922a4c8cf2f39efefba6c0114
parentc7bc0fec8a780691546f912653f8cbd2433bbaed (diff)
TRX: Do not send burst on IDLE channels at TRX != C0
This is required, so the transceiver transmits no power.
-rw-r--r--src/osmo-bts-trx/scheduler.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/osmo-bts-trx/scheduler.c b/src/osmo-bts-trx/scheduler.c
index bf5d7d96..3598d55c 100644
--- a/src/osmo-bts-trx/scheduler.c
+++ b/src/osmo-bts-trx/scheduler.c
@@ -2827,9 +2827,14 @@ static int trx_sched_fn(uint32_t fn)
/* get burst for FN */
bits = trx_sched_dl_burst(l1h, tn, fn);
if (!bits) {
+#if 0
/* if no bits, send dummy burst with no gain */
bits = dummy_burst;
gain = 128;
+#else
+ /* if no bits, send no burst */
+ continue;
+#endif
} else
gain = 0;
trx_if_data(l1h, tn, fn, gain, bits);