jolly has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/33606 )


Change subject: ASCI: Do not wait for RLL establishment
......................................................................

ASCI: Do not wait for RLL establishment

A VGCS channel is established, even if there is no RLL establishmnt.
RLL connection can be established or released by the talker, while
the channel is kept in established state all the time.

Change-Id: I96390924736029b92e54590157e38093be749dd9
Related: OS#4852
---
M src/osmo-bsc/lchan_fsm.c
1 file changed, 19 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/06/33606/1

diff --git a/src/osmo-bsc/lchan_fsm.c b/src/osmo-bsc/lchan_fsm.c
index 8e9d698..816d4b5 100644
--- a/src/osmo-bsc/lchan_fsm.c
+++ b/src/osmo-bsc/lchan_fsm.c
@@ -1040,9 +1040,10 @@
        else if (requires_rtp_stream)
                lchan_rtp_fsm_start(lchan);

-       /* When activating a channel for VTY, skip waiting for activity from
+       /* When activating a channel for VTY or VGCS/VBS, skip waiting for 
activity from
         * lchan_rtp_fsm, but only if no rtp stream is required. */
-       if (lchan->activate.info.activ_for == ACTIVATE_FOR_VTY && 
!requires_rtp_stream) {
+       if ((lchan->activate.info.activ_for == ACTIVATE_FOR_VTY
+         || lchan->activate.info.activ_for == ACTIVATE_FOR_VGCS_CHANNEL) && 
!requires_rtp_stream) {
                lchan_fsm_state_chg(LCHAN_ST_ESTABLISHED);
        }
 }
@@ -1065,7 +1066,8 @@
                return;

        case LCHAN_EV_RTP_READY:
-               if (lchan->sapis[0] != LCHAN_SAPI_UNUSED)
+               /* If RLL was established or if it does not need to be 
establised, because of VGCS/VBS channel. */
+               if (lchan->sapis[0] != LCHAN_SAPI_UNUSED || 
lchan->activate.info.activ_for == ACTIVATE_FOR_VGCS_CHANNEL)
                        lchan_fsm_state_chg(LCHAN_ST_ESTABLISHED);
                return;


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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I96390924736029b92e54590157e38093be749dd9
Gerrit-Change-Number: 33606
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <[email protected]>
Gerrit-MessageType: newchange

Reply via email to