summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-08-05 02:22:12 +0600
committerVadim Yanitskiy <axilirator@gmail.com>2017-10-23 22:05:49 +0330
commit1baca021272f031b9ce4d08c830a174d2740c821 (patch)
tree48df8e902329e8f651943fbead8c46d2b115c03e
parent6df90ae42e01d475ae07cd02ca5ae9d460bd1a76 (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.c2
-rw-r--r--src/host/trxcon/sched_lchan_xcch.c2
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");