Change in osmo-bsc[master]: power_control: send default parameters from bootstrap_rsl()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Sat Dec 19 00:06:15 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/21793 )


Change subject: power_control: send default parameters from bootstrap_rsl()
......................................................................

power_control: send default parameters from bootstrap_rsl()

Change-Id: Ic99e61cc3eb5aa054964abbd777fff66588c4a9a
Related: SYS#4918
---
M src/osmo-bsc/osmo_bsc_main.c
1 file changed, 10 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/93/21793/1

diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c
index df5235e..4ab0430 100644
--- a/src/osmo-bsc/osmo_bsc_main.c
+++ b/src/osmo-bsc/osmo_bsc_main.c
@@ -310,6 +310,7 @@
 static void bootstrap_rsl(struct gsm_bts_trx *trx)
 {
 	unsigned int i;
+	int rc;
 
 	LOG_TRX(trx, DRSL, LOGL_NOTICE, "bootstrapping RSL "
 		"on ARFCN %u using MCC-MNC %s LAC=%u CID=%u BSIC=%u\n",
@@ -340,6 +341,15 @@
 		rsl_nokia_si_end(trx);
 	}
 
+	if (trx->bts->model->power_ctrl_send_def_params != NULL) {
+		rc = trx->bts->model->power_ctrl_send_def_params(trx);
+		if (rc) {
+			LOG_TRX(trx, DRSL, LOGL_ERROR, "Failed to send default "
+				"MS/BS Power control parameters (rc=%d)\n", rc);
+			/* TODO: should we drop RSL connection here? */
+		}
+	}
+
 	for (i = 0; i < ARRAY_SIZE(trx->ts); i++) {
 		struct gsm_bts_trx_ts *ts = &trx->ts[i];
 		generate_ma_for_ts(ts);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/21793
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ic99e61cc3eb5aa054964abbd777fff66588c4a9a
Gerrit-Change-Number: 21793
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201219/008b374e/attachment.htm>


More information about the gerrit-log mailing list