aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-litecell15/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bts-litecell15/main.c')
-rw-r--r--src/osmo-bts-litecell15/main.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/osmo-bts-litecell15/main.c b/src/osmo-bts-litecell15/main.c
index de175e34..e4f9a567 100644
--- a/src/osmo-bts-litecell15/main.c
+++ b/src/osmo-bts-litecell15/main.c
@@ -79,11 +79,6 @@ int bts_model_init(struct gsm_bts *bts)
exit(1);
}
- llist_for_each_entry(trx, &bts->trx_list, list) {
- trx->nominal_power = 40;
- trx->power_params.trx_p_max_out_mdBm = to_mdB(bts->c0->nominal_power);
- }
-
if (stat(LC15BTS_RF_LOCK_PATH, &st) == 0) {
LOGP(DL1C, LOGL_NOTICE, "Not starting BTS due to RF_LOCK file present\n");
exit(23);
@@ -104,6 +99,13 @@ int bts_model_init(struct gsm_bts *bts)
return 0;
}
+int bts_model_trx_init(struct gsm_bts_trx *trx)
+{
+ trx->nominal_power = 40;
+ trx->power_params.trx_p_max_out_mdBm = to_mdB(trx->bts->c0->nominal_power);
+ return 0;
+}
+
void bts_model_phy_link_set_defaults(struct phy_link *plink)
{
}