[PATCH] 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/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Fri Jun 30 17:13:53 UTC 2017


Review at  https://gerrit.osmocom.org/3097

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(-)


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

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: newchange
Gerrit-Change-Id: Ie674c7ec40838af36308c6998f227fa452ace4b4
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list