diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2013-07-08 18:42:48 +0200 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2014-01-21 15:54:42 +0100 |
commit | e33f140ae03b0c7305e35ea8a2b06c01ac7d2c77 (patch) | |
tree | fe9e7d5bdf10d4884fa345a15123b86c00a81748 | |
parent | e813648d9b71c058e794ba90d4a05f63bc4f6c73 (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.c | 5 |
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); |