pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-bts/+/31731 )
Change subject: pcu_sock: Submit all DATA.ind regardless of link quality
......................................................................
pcu_sock: Submit all DATA.ind regardless of link quality
osmo-pcu requires to get DATA.ind for all FN/TS it manages in order to
tick its internal FN clock and trigger timeouts. Without this, some
events are ticked in a delay fashion when osmo-pcu detects FN jumps.
Change-Id: I8f1856dd9061c1bfca8b15be30df7a51760231b0
---
M src/common/pcu_sock.c
1 file changed, 13 insertions(+), 6 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/31/31731/1
diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c
index 7e87f6d..849f3c3 100644
--- a/src/common/pcu_sock.c
+++ b/src/common/pcu_sock.c
@@ -475,12 +475,6 @@
LOGP(DPCU, LOGL_DEBUG, "Sending data indication: sapi=%s arfcn=%d block=%d
data=%s\n",
sapi_string[sapi], arfcn, block_nr, osmo_hexdump(data, len));
- if (lqual < bts->min_qual_norm) {
- LOGP(DPCU, LOGL_DEBUG, "Link quality %"PRId16" is below threshold %d,
dropping packet\n",
- lqual, bts->min_qual_norm);
- return 0;
- }
-
msg = pcu_msgb_alloc(PCU_IF_MSG_DATA_IND, bts->nr);
if (!msg)
return -ENOMEM;
--
To view, visit
https://gerrit.osmocom.org/c/osmo-bts/+/31731
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I8f1856dd9061c1bfca8b15be30df7a51760231b0
Gerrit-Change-Number: 31731
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange