Attention is currently required from: lynxis lazus.
pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/40976?usp=email )
Change subject: ranap: Create iu_rnc upon rx RESET ......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
Not about this patch, but what should the RNC lifecycle be? […]
I'm basically taking what osmo-msc does as a reference here, which has already a way better code logic and data domain tan osmo-sgsn.
"iu_rnc" in osmo-sgsn is the equivalent to "ran_peer" in omso-msc.
It makes sense to create an iu_rnc the first time a RANAP RESET is received (which should be in any case the first valid message). There's no need to free iu_rnc peers, we will simply mark them as unavailable when signalled by SCCP layer (this will happen once I introduce the iu_rnc_fsm in a follow-up patch, which will be the counterpart of "ran_peer_fsm" in osmo-msc).