aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2019-08-23 11:55:53 +0200
committerOliver Smith <osmith@sysmocom.de>2019-08-23 12:34:48 +0200
commitfc917d91bf0f52fb0fca9c750865001b6972e158 (patch)
tree24240016b2b8416ebde126235aef1d0682850a24
parent258856b329beff7571f9ab092f8c9e5d95ac50f6 (diff)
virtual: set link quality for GSMTAP_CHANNEL_RACHHEADmaster
Don't ignore all incoming RACH requests anymore: 000881/00/23/14/09 Ignoring RACH request: link quality (0) below the minimum (50) Related: OS#3925 Fixes: b777c0f3ecb8b770f032db449e947f0f9731de11 ("Move Access Burst link quality handling to L1SAP") Change-Id: Ifcd576fed84346688e711a26a05c6d350588e83d
-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 0e77651..acd8ea2 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: