Change in osmo-bsc[master]: allocate larger lchans if no SDCCH are available

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/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon Jul 23 01:00:27 UTC 2018


Neels Hofmeyr has uploaded this change for review. ( https://gerrit.osmocom.org/10105


Change subject: allocate larger lchans if no SDCCH are available
......................................................................

allocate larger lchans if no SDCCH are available

Related: OS#3332
Change-Id: I2fcf9e9baa7d03974a367763f3f52f59dfc2cc51
---
M src/osmo-bsc/abis_rsl.c
1 file changed, 16 insertions(+), 0 deletions(-)



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

diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c
index 7ab97a9..7ca6750 100644
--- a/src/osmo-bsc/abis_rsl.c
+++ b/src/osmo-bsc/abis_rsl.c
@@ -1394,6 +1394,22 @@
 			gsm_lchant_name(lctype));
 		lchan = lchan_select_by_type(bts, lctype);
 	}
+	if (!lchan && lctype == GSM_LCHAN_SDCCH) {
+		LOGP(DRSL, LOGL_NOTICE, "(bts=%d) CHAN RQD: no resources for %s "
+			"0x%x, retrying with %s\n",
+			msg->lchan->ts->trx->bts->nr,
+			gsm_lchant_name(GSM_LCHAN_SDCCH), rqd_ref->ra,
+			gsm_lchant_name(GSM_LCHAN_TCH_H));
+		lchan = lchan_select_by_type(bts, GSM_LCHAN_TCH_H);
+	}
+	if (!lchan && lctype == GSM_LCHAN_SDCCH) {
+		LOGP(DRSL, LOGL_NOTICE, "(bts=%d) CHAN RQD: no resources for %s "
+			"0x%x, retrying with %s\n",
+			msg->lchan->ts->trx->bts->nr,
+			gsm_lchant_name(GSM_LCHAN_SDCCH), rqd_ref->ra,
+			gsm_lchant_name(GSM_LCHAN_TCH_F));
+		lchan = lchan_select_by_type(bts, GSM_LCHAN_TCH_F);
+	}
 	if (!lchan) {
 		LOGP(DRSL, LOGL_NOTICE, "(bts=%d) CHAN RQD: no resources for %s 0x%x\n",
 		     msg->lchan->ts->trx->bts->nr, gsm_lchant_name(lctype), rqd_ref->ra);

-- 
To view, visit https://gerrit.osmocom.org/10105
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2fcf9e9baa7d03974a367763f3f52f59dfc2cc51
Gerrit-Change-Number: 10105
Gerrit-PatchSet: 1
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180723/23b8370b/attachment.htm>


More information about the gerrit-log mailing list