diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2017-08-05 02:22:12 +0600 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2017-11-19 17:35:07 +0700 |
commit | 14d0f670640e4084d20ee9093dc0d2b74c8985a8 (patch) | |
tree | a7e1c60415ea94f830be303751241c8d315e946f | |
parent | 17a773c7345fae9e4b28801898fb0d2093218c22 (diff) |
host/trxcon/scheduler: send stored tx_power to transceiver
Previously a fixed fake value (10) was used.
Change-Id: I8ba70bbda6c8c9249f8eb4294aeb41ab8769a19a
-rw-r--r-- | src/host/trxcon/sched_lchan_rach.c | 2 | ||||
-rw-r--r-- | src/host/trxcon/sched_lchan_xcch.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/host/trxcon/sched_lchan_rach.c b/src/host/trxcon/sched_lchan_rach.c index e9236725..613f644d 100644 --- a/src/host/trxcon/sched_lchan_rach.c +++ b/src/host/trxcon/sched_lchan_rach.c @@ -86,7 +86,7 @@ int tx_rach_fn(struct trx_instance *trx, struct trx_ts *ts, LOGP(DSCH, LOGL_DEBUG, "Transmitting RACH fn=%u\n", fn); /* Send burst to transceiver */ - rc = trx_if_tx_burst(trx, ts->index, fn, 10, burst); + rc = trx_if_tx_burst(trx, ts->index, fn, trx->tx_power, burst); if (rc) { LOGP(DSCH, LOGL_ERROR, "Could not send burst to transceiver\n"); return rc; diff --git a/src/host/trxcon/sched_lchan_xcch.c b/src/host/trxcon/sched_lchan_xcch.c index 2db0becc..afaacac7 100644 --- a/src/host/trxcon/sched_lchan_xcch.c +++ b/src/host/trxcon/sched_lchan_xcch.c @@ -197,7 +197,7 @@ send_burst: lchan_desc->name, fn, ts->index, bid); /* Send burst to transceiver */ - rc = trx_if_tx_burst(trx, ts->index, fn, 10, burst); + rc = trx_if_tx_burst(trx, ts->index, fn, trx->tx_power, burst); if (rc) { LOGP(DSCH, LOGL_ERROR, "Could not send burst to transceiver\n"); |