From 3ae0be0f12c9b017c9aaa2761116bec4be4781b1 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Fri, 30 Jun 2017 18:48:53 +0200 Subject: sysmo, litecell15: Make sure all TCH events are triggered Change-Id: Ie674c7ec40838af36308c6998f227fa452ace4b4 --- src/osmo-bts-litecell15/oml.c | 5 +++++ src/osmo-bts-sysmo/oml.c | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'src') diff --git a/src/osmo-bts-litecell15/oml.c b/src/osmo-bts-litecell15/oml.c index d9f613db..7b728f9d 100644 --- a/src/osmo-bts-litecell15/oml.c +++ b/src/osmo-bts-litecell15/oml.c @@ -1030,6 +1030,11 @@ static int mph_send_activate_req(struct gsm_lchan *lchan, struct sapi_cmd *cmd) 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 e1264afd..505a457c 100644 --- a/src/osmo-bts-sysmo/oml.c +++ b/src/osmo-bts-sysmo/oml.c @@ -1047,6 +1047,11 @@ static int mph_send_activate_req(struct gsm_lchan *lchan, struct sapi_cmd *cmd) 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; -- cgit v1.2.3