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

measurement: Fix reporting of ms timing offset

The ms timing offset (RSL_IE_MS_TIMING_OFFSET) is not included
in the rsl measurement report message. An incomplete code line,
marked with FIXME is present.

This commit completes the code. lchan->meas.ms_timing_offset is
now included in the rsl measurement report message.

Change-Id: I6cdc310497d9210013b257da91369c203c3c445f
---
M src/common/rsl.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/15/2415/1

diff --git a/src/common/rsl.c b/src/common/rsl.c
index 7db9939..6d5a0d3 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -2265,7 +2265,7 @@
                 * lchan_meas_update_ordered_TA() in measurement.c */
        }
        msgb_tl16v_put(msg, RSL_IE_L3_INFO, l3_len, l3);
-               //msgb_tv_put(msg, RSL_IE_MS_TIMING_OFFSET, FIXME);
+       msgb_tv_put(msg, RSL_IE_MS_TIMING_OFFSET, lchan->meas.ms_timing_offset);
 
        rsl_dch_push_hdr(msg, RSL_MT_MEAS_RES, chan_nr);
        msg->trx = lchan->ts->trx;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6cdc310497d9210013b257da91369c203c3c445f
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: dexter <[email protected]>

Reply via email to