From 750faef5ba49b799521e39c47aaf80fde9354516 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Thu, 19 Dec 2019 18:17:01 +0100 Subject: mobile: Send correct ARFCN in UL gsmtap Change-Id: I9f677866095413a0efeb8a336ce15a2dbca2228c --- src/host/layer23/src/common/l1ctl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/host/layer23/src/common/l1ctl.c b/src/host/layer23/src/common/l1ctl.c index ddde7d26..96645612 100644 --- a/src/host/layer23/src/common/l1ctl.c +++ b/src/host/layer23/src/common/l1ctl.c @@ -298,8 +298,9 @@ int l1ctl_tx_data_req(struct osmocom_ms *ms, struct msgb *msg, /* send copy via GSMTAP */ rsl_dec_chan_nr(chan_nr, &chan_type, &chan_ss, &chan_ts); gsmtap_chan_type = chantype_rsl2gsmtap(chan_type, link_id); - gsmtap_send(gsmtap_inst, 0|0x4000, chan_ts, gsmtap_chan_type, - chan_ss, 0, 127, 255, msg->l2h, msgb_l2len(msg)); + gsmtap_send(gsmtap_inst, ms->rrlayer.cd_now.arfcn | GSMTAP_ARFCN_F_UPLINK, + chan_ts, gsmtap_chan_type, chan_ss, 0, 127, 255, + msg->l2h, msgb_l2len(msg)); /* prepend uplink info header */ l1i_ul = (struct l1ctl_info_ul *) msgb_push(msg, sizeof(*l1i_ul)); -- cgit v1.2.3