Review at  https://gerrit.osmocom.org/6771

host/trxcon/scheduler: send stored tx_power to transceiver

Previously a fixed fake value (10) was used.

Change-Id: I8ba70bbda6c8c9249f8eb4294aeb41ab8769a19a
---
M src/host/trxcon/sched_lchan_rach.c
M src/host/trxcon/sched_lchan_xcch.c
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/71/6771/1

diff --git a/src/host/trxcon/sched_lchan_rach.c 
b/src/host/trxcon/sched_lchan_rach.c
index e923672..613f644 100644
--- a/src/host/trxcon/sched_lchan_rach.c
+++ b/src/host/trxcon/sched_lchan_rach.c
@@ -86,7 +86,7 @@
        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 2db0bec..afaacac 100644
--- a/src/host/trxcon/sched_lchan_xcch.c
+++ b/src/host/trxcon/sched_lchan_xcch.c
@@ -197,7 +197,7 @@
                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");
 

-- 
To view, visit https://gerrit.osmocom.org/6771
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8ba70bbda6c8c9249f8eb4294aeb41ab8769a19a
Gerrit-PatchSet: 1
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <lafo...@gnumonks.org>

Reply via email to