Change in osmo-pcu[master]: bts: Store lac/rac/ci from info_ind

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
Wed Jan 20 12:50:09 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/22326 )


Change subject: bts: Store lac/rac/ci from info_ind
......................................................................

bts: Store lac/rac/ci from info_ind

Having those values at hand will be needed later for RIM / NACC related
purposes.

Change-Id: Ia3596e9e81cd71443be2cc6f2450bb7f91d2667d
---
M src/bts.h
M src/pcu_l1_if.cpp
2 files changed, 6 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/26/22326/1

diff --git a/src/bts.h b/src/bts.h
index d1881b2..841b12e 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -199,6 +199,9 @@
 	struct llist_head list; /* queued in pcu->bts_list */
 	bool active;
 	uint8_t bsic;
+	unsigned lac;
+	uint8_t rac;
+	unsigned cell_id;
 	uint8_t cs_mask; /* Allowed CS mask from BTS */
 	uint16_t mcs_mask;  /* Allowed MCS mask from BTS */
 	struct { /* information stored from last received PCUIF info_ind message */
diff --git a/src/pcu_l1_if.cpp b/src/pcu_l1_if.cpp
index 24080f3..bf7da0e 100644
--- a/src/pcu_l1_if.cpp
+++ b/src/pcu_l1_if.cpp
@@ -603,6 +603,9 @@
 	LOGP(DL1IF, LOGL_DEBUG, " cv_countdown=%d\n", info_ind->cv_countdown);
 	LOGP(DL1IF, LOGL_DEBUG, " dl_tbf_ext=%d\n", info_ind->dl_tbf_ext);
 	LOGP(DL1IF, LOGL_DEBUG, " ul_tbf_ext=%d\n", info_ind->ul_tbf_ext);
+	bts->lac = info_ind->lac;
+	bts->rac = info_ind->rac;
+	bts->cell_id = info_ind->cell_id;
 	bts->bsic = info_ind->bsic;
 
 	bts->cs_mask = 1 << 0; /* We need at least 1 CS, let's enable CS1 */

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Ia3596e9e81cd71443be2cc6f2450bb7f91d2667d
Gerrit-Change-Number: 22326
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/20210120/53c8bfe9/attachment.htm>


More information about the gerrit-log mailing list