[PATCH] openbsc[master]: DTX: store time instead of fn

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
Wed Sep 14 15:37:29 UTC 2016


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

DTX: store time instead of fn

As SID needs to be repeated every 160 milliseconds there's no point in
storing GSM Fn with it. Store time in milliseconds instead.

Change-Id: Ia46836d20357b3cfb3ad94596f1c28e3159fe394
Fixes: OS#1799
---
M openbsc/include/openbsc/gsm_data_shared.h
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/46/846/1

diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h
index ce2e9b7..d50ae84 100644
--- a/openbsc/include/openbsc/gsm_data_shared.h
+++ b/openbsc/include/openbsc/gsm_data_shared.h
@@ -297,7 +297,7 @@
 		struct {
 			uint8_t buf[16];
 			uint8_t len;
-			uint32_t fn;
+			time_t msec; /* time in milliseconds */
 			bool is_update;
 		} last_sid;
 		/* set for each SID frame to detect talkspurt for codecs without

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

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



More information about the gerrit-log mailing list