[PATCH] osmo-bts[master]: Use SID_FIRST_P1 to initiate DTX

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

Max gerrit-no-reply at lists.osmocom.org
Sat Aug 13 10:57:04 UTC 2016


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

Use SID_FIRST_P1 to initiate DTX

Some phone seems to not send SID_FIRST_P2 message which seems like a
different understanding of the DTX spec. Accommodate for that and use
any of P1 | P2 message to initiate DTX in case of AMR HR.

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


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

diff --git a/src/osmo-bts-litecell15/tch.c b/src/osmo-bts-litecell15/tch.c
index 67f430d..e7e054a 100644
--- a/src/osmo-bts-litecell15/tch.c
+++ b/src/osmo-bts-litecell15/tch.c
@@ -463,6 +463,7 @@
 	case GsmL1_TchPlType_Amr:
 		rmsg = l1_to_rtppayload_amr(payload, payload_len, lchan);
 		break;
+	case GsmL1_TchPlType_Amr_SidFirstP1:
 	case GsmL1_TchPlType_Amr_SidFirstP2:
 		/* L1 do not give us SID_FIRST data, just indication */
 		memcpy(sid_first, payload, payload_len);
diff --git a/src/osmo-bts-sysmo/tch.c b/src/osmo-bts-sysmo/tch.c
index a7c3eb8..fb68529 100644
--- a/src/osmo-bts-sysmo/tch.c
+++ b/src/osmo-bts-sysmo/tch.c
@@ -566,6 +566,7 @@
 	case GsmL1_TchPlType_Amr:
 		rmsg = l1_to_rtppayload_amr(payload, payload_len, lchan);
 		break;
+	case GsmL1_TchPlType_Amr_SidFirstP1:
 	case GsmL1_TchPlType_Amr_SidFirstP2:
 		/* L1 do not give us SID_FIRST data, just indication */
 		memcpy(sid_first, payload, payload_len);

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaf993b89caa0ad49b97d1c745dcaf039f867f018
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list