aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-trx/l1_if.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-07-08 18:44:44 +0200
committerHarald Welte <laforge@gnumonks.org>2015-09-22 16:41:29 +0200
commitef6eb5442c865a42615d8dab4fc5c99decf4b4a8 (patch)
tree8cc3ea8cf71c3949fa2717a831eb84ae57506b05 /src/osmo-bts-trx/l1_if.c
parentf0072a8de82b48bb8927994a07efec7218f91640 (diff)
trx: Add option to set transmit power reduction via OML (BSC)
Diffstat (limited to 'src/osmo-bts-trx/l1_if.c')
-rw-r--r--src/osmo-bts-trx/l1_if.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/osmo-bts-trx/l1_if.c b/src/osmo-bts-trx/l1_if.c
index 0575a429..a135d442 100644
--- a/src/osmo-bts-trx/l1_if.c
+++ b/src/osmo-bts-trx/l1_if.c
@@ -330,6 +330,13 @@ static uint8_t trx_set_trx(struct gsm_bts_trx *trx)
l1if_provision_transceiver_trx(l1h);
}
+ if (l1h->config.power_oml) {
+ l1h->config.power = trx->max_power_red;
+ l1h->config.power_valid = 1;
+ l1h->config.power_sent = 0;
+ l1if_provision_transceiver_trx(l1h);
+ }
+
return 0;
}