diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2013-07-08 18:42:48 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-09-22 16:41:29 +0200 |
commit | f0072a8de82b48bb8927994a07efec7218f91640 (patch) | |
tree | 8632445324bdbd8700f5b8147e2bfbdea439f57e /src/osmo-bts-trx/scheduler.c | |
parent | 3cf28aa9240a43dcd4745bc82e27d1802cf63245 (diff) |
TRX: Do not send burst on IDLE channels at TRX != C0
This is required, so the transceiver transmits no power.
Diffstat (limited to 'src/osmo-bts-trx/scheduler.c')
-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); |