Change in osmo-bsc[master]: gsm 04.08: fix encoding of LTE neighbors measurement bandwindth in Ch...

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

lynxis lazus gerrit-no-reply at lists.osmocom.org
Thu Sep 10 18:15:05 UTC 2020


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


Change subject: gsm 04.08: fix encoding of LTE neighbors measurement bandwindth in Channel Release
......................................................................

gsm 04.08: fix encoding of LTE neighbors measurement bandwindth in Channel Release

Correct the encoding of LTE neighbors meansurement bandwidth in
Cell selection indicator after release of all TCH and SDCCH value part
which is sent in the Channel Release.

Change-Id: I4847d840ba9d5ac56bd00e4f405dc47792008c0d
---
M src/osmo-bsc/gsm_04_08_rr.c
1 file changed, 8 insertions(+), 2 deletions(-)



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

diff --git a/src/osmo-bsc/gsm_04_08_rr.c b/src/osmo-bsc/gsm_04_08_rr.c
index 848f623..c2f4304 100644
--- a/src/osmo-bsc/gsm_04_08_rr.c
+++ b/src/osmo-bsc/gsm_04_08_rr.c
@@ -270,8 +270,14 @@
 		} else {
 			bitvec_set_bit(&bv, 1);
 			bitvec_set_uint(&bv, e->arfcn[i], 16);
-			/* No "Measurement Bandwidth" */
-			bitvec_set_bit(&bv, 0);
+
+			/* Measurement Bandwidth: 9.1.54 */
+			if (OSMO_EARFCN_MEAS_INVALID == e->meas_bw[i])
+				bitvec_set_bit(&bv, 0);
+			else {
+				bitvec_set_bit(&bv, 1);
+				bitvec_set_uint(&bv, e->meas_bw[i], 3);
+			}
 			/* No "Not Allowed Cells" */
 			bitvec_set_bit(&bv, 0);
 			/* No "TARGET_PCID" */

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I4847d840ba9d5ac56bd00e4f405dc47792008c0d
Gerrit-Change-Number: 20064
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200910/7b734157/attachment.htm>


More information about the gerrit-log mailing list