osmo-msc/openbsc/tests/gbproxy
Jacob Erlbeck 2e2650f8f3 gprs: Parse PTMSI and update TLLI accordingly
This commit adds code to parse the PTMSI in network originated
messages

  - Attach Accept,
  - Routing Area Update Accept, and
  - P-TMSI Reallocation Command (see below)

to keep track of the TLLI identifying the LLC connection.

The P_TMSI Realloc Command specific code is not being tested yet, so
a corresponding notice is logged when such a message will be
received.

NOTE:
  The gbproxy will lose the TLLI when the MS doesn't receive/use
  the message (normally the SGSN remembers the old TLLI for some time
  to avoid this kind of problem). If this happens the MS will
  probably restart the procedure and the network will have to answer
  again eventually using one of the above messages which will
  re-associate the IMSI with the TLLI before the MS can send a
  PDP Context Request message.

Ticket: OW#1192
Sponsored-by: On-Waves ehf
2014-07-22 17:11:57 +02:00
..
Makefile.am gprs: Implement BSSGP MCC/MNC patching 2014-07-22 16:04:54 +02:00
gbproxy_test.c gprs: Add TLV parse functions 2014-07-22 17:08:10 +02:00
gbproxy_test.ok gprs: Parse PTMSI and update TLLI accordingly 2014-07-22 17:11:57 +02:00