Change in ...osmo-bts[master]: virtual: set link quality for GSMTAP_CHANNEL_RACH

osmith gerrit-no-reply at lists.osmocom.org
Fri Aug 23 10:16:21 UTC 2019


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/15271


Change subject: virtual: set link quality for GSMTAP_CHANNEL_RACH
......................................................................

virtual: set link quality for GSMTAP_CHANNEL_RACH

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
---
M src/osmo-bts-virtual/l1_if.c
1 file changed, 1 insertion(+), 0 deletions(-)



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

diff --git a/src/osmo-bts-virtual/l1_if.c b/src/osmo-bts-virtual/l1_if.c
index 0e77651..454c2c1 100644
--- a/src/osmo-bts-virtual/l1_if.c
+++ b/src/osmo-bts-virtual/l1_if.c
@@ -124,6 +124,7 @@
 		/* 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.data.lqual_cb = 10 * signal_dbm; /* Link quality in centiBel = 10 * dB. */
 		break;
 	case GSMTAP_CHANNEL_TCH_F:
 	case GSMTAP_CHANNEL_TCH_H:

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ifcd576fed84346688e711a26a05c6d350588e83d
Gerrit-Change-Number: 15271
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190823/1e8f0b8c/attachment.html>


More information about the gerrit-log mailing list