Change in osmo-bts[master]: [VAMOS] l1sap_chan_act(): handle Osmocom specific Training Sequence IE

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
Fri May 21 15:15:48 UTC 2021


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


Change subject: [VAMOS] l1sap_chan_act(): handle Osmocom specific Training Sequence IE
......................................................................

[VAMOS] l1sap_chan_act(): handle Osmocom specific Training Sequence IE

Change-Id: I717e5b2a6ca5b4faeaab9cae4bb971907945871b
Related: SYS#5315, OS#4940
---
M src/common/l1sap.c
1 file changed, 7 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/29/24329/1

diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 3a2bcfd..f2e2bde 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -1992,6 +1992,13 @@
 		lchan->tsc = cd->h0.tsc;
 	}
 
+	/* Osmocom specific IE indicating Training Sequence Code and Set */
+	if (tp && TLVP_PRES_LEN(tp, RSL_IE_OSMO_TRAINING_SEQUENCE, 2)) {
+		const uint8_t *ie = TLVP_VAL(tp, RSL_IE_OSMO_TRAINING_SEQUENCE);
+		lchan->tsc_set  = ie[0];
+		lchan->tsc      = ie[1];
+	}
+
 	lchan->s = trx->bts->radio_link_timeout.current;
 
 	rc = l1sap_chan_act_dact_modify(trx, chan_nr, PRIM_INFO_ACTIVATE, 0);

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I717e5b2a6ca5b4faeaab9cae4bb971907945871b
Gerrit-Change-Number: 24329
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/20210521/43031e30/attachment.htm>


More information about the gerrit-log mailing list