aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/l1sap.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-02-21 12:41:02 +0100
committerHarald Welte <laforge@gnumonks.org>2018-02-27 19:59:00 +0100
commitc092f4e1ded65447061198ea1c57458becc71574 (patch)
tree91fb420fda3a1e66df5934ad16e04e0b5b57a296 /src/common/l1sap.c
parentd5bbd8ccf79eaf13bc23cc71accbeb3ff638b6dd (diff)
measurement.c: higher-precision TA/TOA math
Diffstat (limited to 'src/common/l1sap.c')
-rw-r--r--src/common/l1sap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 50bd612d..e095417e 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -522,7 +522,7 @@ static int l1sap_info_meas_ind(struct gsm_bts_trx *trx,
return 0;
memset(&ulm, 0, sizeof(ulm));
- ulm.ta_offs_qbits = info_meas_ind->ta_offs_qbits;
+ ulm.ta_offs_256bits = info_meas_ind->ta_offs_qbits*(256/4);
ulm.ber10k = info_meas_ind->ber10k;
ulm.inv_rssi = info_meas_ind->inv_rssi;
ulm.is_sub = info_meas_ind->is_sub;