Change in libosmocore[master]: gsm: Support converting to cgi-ps in gsm0808_cell_id_from_cgi()

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

pespin gerrit-no-reply at lists.osmocom.org
Mon Feb 15 15:47:28 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/22924 )


Change subject: gsm: Support converting to cgi-ps in gsm0808_cell_id_from_cgi()
......................................................................

gsm: Support converting to cgi-ps in gsm0808_cell_id_from_cgi()

This is not really used nowadays, but added for completeness in case
someone wants to use it.

Change-Id: I1361b044bd897d04133cda6fd62c16852700b17a
---
M src/gsm/gsm0808_utils.c
1 file changed, 8 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/24/22924/1

diff --git a/src/gsm/gsm0808_utils.c b/src/gsm/gsm0808_utils.c
index c1b0a00..292b248 100644
--- a/src/gsm/gsm0808_utils.c
+++ b/src/gsm/gsm0808_utils.c
@@ -1787,6 +1787,14 @@
 		cid->id.global = *cgi;
 		return;
 
+	case CELL_IDENT_WHOLE_GLOBAL_PS:
+		cid->id.global_ps = (struct osmo_cell_global_id_ps){
+			.rai = {
+				.lac = cgi->lai,
+			},
+			.cell_identity = cgi->cell_identity,
+		};
+		return;
 	case CELL_IDENT_LAC_AND_CI:
 		cid->id.lac_and_ci = (struct osmo_lac_and_ci_id){
 			.lac = cgi->lai.lac,

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I1361b044bd897d04133cda6fd62c16852700b17a
Gerrit-Change-Number: 22924
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210215/3c589269/attachment.htm>


More information about the gerrit-log mailing list