Project

General

Profile

Bug #3060

abis_rsl.c: properly handle a REL_IND from the MS

Added by neels about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
sysmocom
Category:
-
Target version:
-
Start date:
03/13/2018
Due date:
% Done:

0%

Spec Reference:

Description

currently our code flattens out the SAPI communicated by a REL IND from the MS, see e.g. abis_rsl.c:2228:

        case RSL_MT_REL_IND:
                /* BTS informs us of having received  DISC from MS */
                DEBUGPC(DRLL, "RELEASE INDICATION\n");
                msg->lchan->sapis[rllh->link_id & 0x7] = LCHAN_SAPI_UNUSED;  <--- overridden with zero
                rll_indication(msg->lchan, rllh->link_id,
                                  BSC_RLLR_IND_REL_IND);
                rsl_handle_release(msg->lchan);

In order to properly detect whether an lchan is completely released or some SAPIs are still active, this needs fixing and a slew of (ttcn3?) tests to verify that it works.

Also available in: Atom PDF