aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/osmo-bts-virtual/l1_if.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-bts-virtual/l1_if.c b/src/osmo-bts-virtual/l1_if.c
index 0e776518..acd8ea2b 100644
--- a/src/osmo-bts-virtual/l1_if.c
+++ b/src/osmo-bts-virtual/l1_if.c
@@ -124,6 +124,7 @@ static void virt_um_rcv_cb(struct virt_um_inst *vui, struct msgb *msg)
/* we don't really know which RACH burst type the virtual MS is using, as this field is not
* part of information present in the GSMTAP header. So we simply report all of them as 0 */
l1sap.u.rach_ind.burst_type = GSM_L1_BURST_TYPE_ACCESS_0;
+ l1sap.u.rach_ind.lqual_cb = 10 * signal_dbm; /* Link quality in centiBel = 10 * dB. */
break;
case GSMTAP_CHANNEL_TCH_F:
case GSMTAP_CHANNEL_TCH_H: