diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2013-07-08 18:44:44 +0200 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2014-04-06 08:58:19 +0200 |
commit | 838a2043a0131f0964ce9bb05637ea1aa7037fec (patch) | |
tree | c6d9fa609c99f9976ca6e7a7a312cc49e05178d5 /src/osmo-bts-trx/l1_if.c | |
parent | 7ba9bf5efa0c050bb68ad2d81bef6664197f0335 (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; } |