[PATCH] openbsc[master]: DTX: add flag for AMR HR P*

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
Mon Oct 3 16:41:00 UTC 2016


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

DTX: add flag for AMR HR P*

Add flag to explicitly track the state of DTX DL for AMR HR whe
SID_FIRST_P1 has been sent to L1 already but no next frame available
yet: this can be followed by SID_FIRST_P2 or SID_FIRST_INH depending on
arrival of voice frame within next 60 ms.

Change-Id: Id28b07b8e83cfe5e84de48a2f124084036580cd4
---
M openbsc/include/openbsc/gsm_data_shared.h
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/01/1001/1

diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h
index 368ac6b..d8f651c 100644
--- a/openbsc/include/openbsc/gsm_data_shared.h
+++ b/openbsc/include/openbsc/gsm_data_shared.h
@@ -300,9 +300,14 @@
 			uint32_t fn;
 			bool is_update;
 		} last_sid;
+		/* FIXME: 2 flags below are mutually exclusive - is it worth it
+		   to merge them? */
 		/* set for each SID frame to detect talkspurt for codecs without
 		   explicit ONSET event */
 		bool ul_sid;
+		/* set for each SID_FIRST_P1 sent to L1 but not followed by
+		   either of _P2 or InH */
+		bool dl_fst;
 		uint8_t last_cmr;
 		uint32_t last_fn;
 		/* indicates if DTXd was active during DL measurement period */

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

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



More information about the gerrit-log mailing list