aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts/gsm_data_shared.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-02-27 19:39:24 +0100
committerHarald Welte <laforge@gnumonks.org>2018-02-27 20:00:16 +0100
commit916d508bf6312acbc29a3e3575151b9bc7bc66d2 (patch)
tree59dff5255e8c3e7f15d4949568ac86b0ba9222a8 /include/osmo-bts/gsm_data_shared.h
parentacefd0586e5d463b2e7a6a039131994bc12573fc (diff)
measurement: Keep average of high-accurate ToA value in lchan
At the end of a measurement processing window, we currently compute the ToA / timing offset at 1/256th symbol accuracy, but we only print it to the log. Let's store the value in the lchan to make it usable by other code in follow-up patches. Change-Id: I5f00a16ac966b627d9452a98b8fa70984bed684a
Diffstat (limited to 'include/osmo-bts/gsm_data_shared.h')
-rw-r--r--include/osmo-bts/gsm_data_shared.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmo-bts/gsm_data_shared.h b/include/osmo-bts/gsm_data_shared.h
index 770aea8b..2d6ead12 100644
--- a/include/osmo-bts/gsm_data_shared.h
+++ b/include/osmo-bts/gsm_data_shared.h
@@ -290,6 +290,7 @@ struct gsm_lchan {
/* last L1 header from the MS */
uint8_t l1_info[2];
struct gsm_meas_rep_unidir ul_res;
+ int16_t ms_toa256;
} meas;
struct {
struct amr_multirate_conf amr_mr;