From a21545e3742dc93c566e63a3e940880e8dca97cd Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 7 Mar 2023 17:58:10 +0100 Subject: 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 --- src/common/pcu_sock.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c index 7e87f6d3..849f3c36 100644 --- a/src/common/pcu_sock.c +++ b/src/common/pcu_sock.c @@ -475,12 +475,6 @@ int pcu_tx_data_ind(struct gsm_bts_trx_ts *ts, uint8_t sapi, uint32_t fn, 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; -- cgit v1.2.3