[MERGED] osmo-bts[master]: DTX: fix "unexpected burst" error

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Feb 1 14:25:15 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: DTX: fix "unexpected burst" error
......................................................................


DTX: fix "unexpected burst" error

Fix error during FACCH interruption of DTX for AMR HR.

Max's note: added fix for sysmobts.

Change-Id: Ib064952331b4f89676ee68a3d8078b1d9debe570
Related: OS#1801
---
M src/osmo-bts-litecell15/l1_if.c
M src/osmo-bts-sysmo/l1_if.c
2 files changed, 2 insertions(+), 0 deletions(-)

Approvals:
  jfdionne: Looks good to me, but someone else must approve; Verified
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo-bts-litecell15/l1_if.c b/src/osmo-bts-litecell15/l1_if.c
index 0c5ef6b..e1dcecf 100644
--- a/src/osmo-bts-litecell15/l1_if.c
+++ b/src/osmo-bts-litecell15/l1_if.c
@@ -417,6 +417,7 @@
 			if (sapi == GsmL1_Sapi_FacchH) {
 				sapi = GsmL1_Sapi_TchH;
 				subCh = L1SAP_CHAN2SS_TCHH(chan_nr);
+				u8BlockNbr = (u32Fn % 13) >> 2;
 			}
 			if (sapi == GsmL1_Sapi_TchH || sapi == GsmL1_Sapi_TchF) {
 				/* FACCH interruption of DTX silence */
diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c
index 490264f..ef965d4 100644
--- a/src/osmo-bts-sysmo/l1_if.c
+++ b/src/osmo-bts-sysmo/l1_if.c
@@ -412,6 +412,7 @@
 			if (sapi == GsmL1_Sapi_FacchH) {
 				sapi = GsmL1_Sapi_TchH;
 				subCh = L1SAP_CHAN2SS_TCHH(chan_nr);
+				u8BlockNbr = (u32Fn % 13) >> 2;
 			}
 			if (sapi == GsmL1_Sapi_TchH || sapi == GsmL1_Sapi_TchF) {
 				/* FACCH interruption of DTX silence */

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib064952331b4f89676ee68a3d8078b1d9debe570
Gerrit-PatchSet: 2
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jean-Francois Dionne <jf.dionne at nutaq.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: jfdionne <jf.dionne at nutaq.com>


More information about the gerrit-log mailing list