Change in osmocom-bb[master]: mobile: Send correct ARFCN in UL gsmtap

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Thu Dec 19 17:17:06 UTC 2019


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmocom-bb/+/16658 )


Change subject: mobile: Send correct ARFCN in UL gsmtap
......................................................................

mobile: Send correct ARFCN in UL gsmtap

Change-Id: I9f677866095413a0efeb8a336ce15a2dbca2228c
---
M src/host/layer23/src/common/l1ctl.c
1 file changed, 3 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/58/16658/1

diff --git a/src/host/layer23/src/common/l1ctl.c b/src/host/layer23/src/common/l1ctl.c
index 5d6d9c0..ac9e76f 100644
--- a/src/host/layer23/src/common/l1ctl.c
+++ b/src/host/layer23/src/common/l1ctl.c
@@ -298,8 +298,9 @@
 	/* 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));

-- 
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/16658
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I9f677866095413a0efeb8a336ce15a2dbca2228c
Gerrit-Change-Number: 16658
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191219/3f49335e/attachment.htm>


More information about the gerrit-log mailing list