From f0072a8de82b48bb8927994a07efec7218f91640 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Mon, 8 Jul 2013 18:42:48 +0200 Subject: TRX: Do not send burst on IDLE channels at TRX != C0 This is required, so the transceiver transmits no power. --- src/osmo-bts-trx/scheduler.c | 5 +++++ 1 file changed, 5 insertions(+) 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); -- cgit v1.2.3