Skip to content
Success

Changes

Summary

  1. mgw: Move endpoint/conn updating logic to helper function (details)
  2. mgw: iuup: Trigger Init on CN-side CRCX if RAN-side was already (details)
Commit b317b0056a4eb48763dfbcde2bd68632d3346843 by Pau Espin Pedrol
mgw: Move endpoint/conn updating logic to helper function

Move code logic doing actions based on endpoint state (and its conns)
out of the CRCX/MDCX MGCP handlers.
Most of that logic present in CRCX and MDCX is actually the same and can
be merged.
This way we can also make the updating logic more complex without
extending the CRCX/MDCX handlers for and more adding spaghetti code.

Change-Id: I24dd15ec76bd6e949a178a3b998b76a44ddbab50
The file was modifiedinclude/osmocom/mgcp/mgcp_endp.h
The file was modifiedsrc/libosmo-mgcp/mgcp_endp.c
The file was modifiedsrc/libosmo-mgcp/mgcp_e1.c
The file was modifiedsrc/libosmo-mgcp/mgcp_protocol.c
The file was modifiedinclude/osmocom/mgcp/mgcp_e1.h
Commit 12c45577bb83f636fe1041a29d46a951b850720c by Pau Espin Pedrol
mgw: iuup: Trigger Init on CN-side CRCX if RAN-side was already initialized

Prior to this patch, osmo-mgw would wait until first IuUP Data frame
would be received on RAN-side (from HNB) to trigger active
initialization (Tx IuUP-Init) on CN-side conn towards CN.
With this patch, this happens ASAP, whenever the CN-side conn is created
by HNBGW when it receives the RAB-ASS-RESP from HNB.

Related: OS#6685
Change-Id: Iab0af88852994e73bfe6c3b27fe196fd655cce03
The file was modifiedsrc/libosmo-mgcp/mgcp_iuup.c
The file was modifiedsrc/libosmo-mgcp/mgcp_endp.c
The file was modifiedinclude/osmocom/mgcp/mgcp_iuup.h