diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-06-30 18:48:53 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-07-04 13:36:53 +0000 |
commit | 3ae0be0f12c9b017c9aaa2761116bec4be4781b1 (patch) | |
tree | 73999a1d479c84f8d37d12f340895c10a750b53a /src | |
parent | 523ae04e5efdf6310181963a8bb1f80dee9fac28 (diff) |
sysmo, litecell15: Make sure all TCH events are triggered
Change-Id: Ie674c7ec40838af36308c6998f227fa452ace4b4
Diffstat (limited to 'src')
-rw-r--r-- | src/osmo-bts-litecell15/oml.c | 5 | ||||
-rw-r--r-- | src/osmo-bts-sysmo/oml.c | 5 |
2 files changed, 10 insertions, 0 deletions
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; |