diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2013-07-08 18:44:44 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-09-22 16:41:29 +0200 |
commit | ef6eb5442c865a42615d8dab4fc5c99decf4b4a8 (patch) | |
tree | 8cc3ea8cf71c3949fa2717a831eb84ae57506b05 /src/osmo-bts-trx/l1_if.c | |
parent | f0072a8de82b48bb8927994a07efec7218f91640 (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.c | 7 |
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; } |