mgw: Move endpoint/conn updating logic to helper function (details)
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.
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.