[PATCH] openbsc[master]: Add MS time. offset to gsm_lchan

Max gerrit-no-reply at lists.osmocom.org
Fri Jan 27 18:45:29 UTC 2017


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

Add MS time. offset to gsm_lchan

Add MS TIMING OFFSET (3GPP TS 48.058 § 8.4.8) and P offset (3GPP TS
45.010 § 1.2) which can be used to compute it from known TA.

Change-Id: I8bda57c8d6c15bbb803eca708931556dae118a00
Related: OS#1574
---
M openbsc/include/openbsc/gsm_data_shared.h
1 file changed, 7 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/99/1699/1

diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h
index 9407b82..88a4f6c 100644
--- a/openbsc/include/openbsc/gsm_data_shared.h
+++ b/openbsc/include/openbsc/gsm_data_shared.h
@@ -327,6 +327,13 @@
 		uint8_t last_cmr;
 		uint32_t last_fn;
 	} tch;
+
+	/* 3GPP TS 45.010 § 1.2 MS TIMING OFFSET related data */
+	uint8_t ms_t_offs;
+	bool ms_t_offs_valid;
+	uint8_t p_offs;
+	bool p_offs_valid;
+
 	/* BTS-side ciphering state (rx only, bi-directional, ...) */
 	uint8_t ciph_state;
 	uint8_t ciph_ns;

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

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


More information about the gerrit-log mailing list