rework context/bearer handling to be reference point agnostic
RoadRunnr opened this issue · comments
Currently contexts are bound to a process that serves a protocol specific reference point and the protocol can no be changed.
A compliant P-GW implementation needs to support moving context from S5/S8 to Gn/Gp and vice versa (see 3GPP TS 23.401 Annex D (normative): Interoperation with Gn/Gp SGSNs).
Currently, during a handover, the new protocol handler would not know the TEI and simply drop this and any further message. This leaves the old tunnel dangling (since no future messages will arrive for it).
We therefore need to support both GTPv1 and GTPv2 in a P-GW implementation.
Implementation options:
- decouple context from v1/v2 specific processes and only execute changes to them in protocol specific call back handlers, or
- send and convert context states on protocol changes from the old handler process to a newly instantiated process
fixed in 1.5.0