aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-trx/main.c
diff options
context:
space:
mode:
authorIvan Klyuchnikov <kluchnikovi@gmail.com>2017-01-26 14:32:37 +0000
committerIvan Kluchnikov <kluchnikovi@gmail.com>2017-02-10 13:35:41 +0000
commite2e0ed5a8962cd465fd5394815af20a46a1d23d2 (patch)
treed4fef9c15d21007606097831e68e189d2cb2e22d /src/osmo-bts-trx/main.c
parentd5414cc30e1568ca18d8dd8bd25d3174567327ec (diff)
osmo-trx-bts: Fix incorrect setting of RXGAIN and POWER parameters on second channel (TRX1) of osmo-trx
Move rxgain and tx-attenuation (power) parameters from phy_link layer to phy_inst layer. Rxgain and tx-attenuation parameters should be set for each phy_inst and send for each osmo-trx channel accordingly via control commands. Change-Id: I4861a59d10d1ef91954e0c6ea265e66dec08844f
Diffstat (limited to 'src/osmo-bts-trx/main.c')
-rw-r--r--src/osmo-bts-trx/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/osmo-bts-trx/main.c b/src/osmo-bts-trx/main.c
index 62e8fe9a..dbd8fc4d 100644
--- a/src/osmo-bts-trx/main.c
+++ b/src/osmo-bts-trx/main.c
@@ -117,7 +117,6 @@ void bts_model_phy_link_set_defaults(struct phy_link *plink)
plink->u.osmotrx.base_port_remote = 5700;
plink->u.osmotrx.clock_advance = 20;
plink->u.osmotrx.rts_advance = 5;
- plink->u.osmotrx.power_oml = 1;
}
void bts_model_phy_instance_set_defaults(struct phy_instance *pinst)