diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-08-15 14:54:45 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-08-15 14:59:04 +0200 |
commit | 506a7f98b22076576ae3b438981250a97b6dd739 (patch) | |
tree | 3e91af84183907c38eb9b608c9b590ccac0b6276 /src/osmo-bts-trx/main.c | |
parent | fb78397cbdc652a24a7b9d0487f761ccde21728a (diff) |
osmo-bts-trx: Enable osmotrx tx-attenuation oml by default
There are currently two ways to specify power reductions to be sent to
osmo-trx from osmo-bts-trx:
* osmotrx tx-attenuation oml
* osmotrx tx-attenuation <0-50>
None of them is enabled by default, which means if none of them is
specified in the config file of osmo-bts-trx, SETPOWER cmd won't be sent
to osmo-trx, which in turn won't turn on the transciever.
Let's enable osmo tx-attenuation oml by default and leave it up to the
bsc to decide which power reduction to use. If the user wants to
configure a specific tx-attentuation, it can still do so in exactly the
same way he used to do it.
Change-Id: Ia8640751630ee37e5f5d1f470bad892a08e80654
Diffstat (limited to 'src/osmo-bts-trx/main.c')
-rw-r--r-- | src/osmo-bts-trx/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo-bts-trx/main.c b/src/osmo-bts-trx/main.c index da3dc608..283e5498 100644 --- a/src/osmo-bts-trx/main.c +++ b/src/osmo-bts-trx/main.c @@ -130,6 +130,8 @@ void bts_model_phy_instance_set_defaults(struct phy_instance *pinst) l1h = talloc_zero(tall_bts_ctx, struct trx_l1h); l1h->phy_inst = pinst; pinst->u.osmotrx.hdl = l1h; + + l1h->config.power_oml = 1; } int main(int argc, char **argv) |