[MERGED] osmo-bts[master]: sysmo, litecell15: Make sure all TCH events are triggered

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Jul 4 13:36:53 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: sysmo, litecell15: Make sure all TCH events are triggered
......................................................................


sysmo, litecell15: Make sure all TCH events are triggered

Change-Id: Ie674c7ec40838af36308c6998f227fa452ace4b4
---
M src/osmo-bts-litecell15/oml.c
M src/osmo-bts-sysmo/oml.c
2 files changed, 10 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo-bts-litecell15/oml.c b/src/osmo-bts-litecell15/oml.c
index d9f613d..7b728f9 100644
--- a/src/osmo-bts-litecell15/oml.c
+++ b/src/osmo-bts-litecell15/oml.c
@@ -1030,6 +1030,11 @@
 	case GsmL1_Sapi_TchH:
 	case GsmL1_Sapi_TchF:
 		lchan2lch_par(lch_par, lchan);
+		/*
+		 * Be sure that every packet is received, even if it
+		 * fails. In this case the length might be lower or 0.
+		 */
+		act_req->fBFILevel = -200.0f;
 		break;
 	case GsmL1_Sapi_Ptcch:
 		lch_par->ptcch.u8Bsic = lchan->ts->trx->bts->bsic;
diff --git a/src/osmo-bts-sysmo/oml.c b/src/osmo-bts-sysmo/oml.c
index e1264af..505a457 100644
--- a/src/osmo-bts-sysmo/oml.c
+++ b/src/osmo-bts-sysmo/oml.c
@@ -1047,6 +1047,11 @@
 	case GsmL1_Sapi_TchH:
 	case GsmL1_Sapi_TchF:
 		lchan2lch_par(lch_par, lchan);
+		/*
+		 * Be sure that every packet is received, even if it
+		 * fails. In this case the length might be lower or 0.
+		 */
+		act_req->fBFILevel = -200.0f;
 		break;
 	case GsmL1_Sapi_Ptcch:
 		lch_par->ptcch.u8Bsic = lchan->ts->trx->bts->bsic;

-- 
To view, visit https://gerrit.osmocom.org/3097
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie674c7ec40838af36308c6998f227fa452ace4b4
Gerrit-PatchSet: 3
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list