osmo-msc/openbsc/src/gprs
Jacob Erlbeck 78ecaf0561 sgsn: Send detach(re-attach) instead of gmm status if TLLI unknown
The osmo-sgsn sends Status messages (or nothing in case of non
GMM/GSM) when the TLLI is unknown. This prevents the MS from
reconnecting.

This patch adds the initiation of an MT detach procedure to force a
re-attach to set up a valid LLE context if an LLE or an MM context
cannot be found. Since this can also be triggered by non-GMM SAPI
messages, a GPRS application callback sgsn_force_reattach_oldmsg is
added which in turn calls the GMM layer to generate the GSM 04.08
specific messages.

Note that the MS can be left in REGISTERED state after initially
wanting to detach itself, since it will receive a Detach Req
(re-attach) when sending a DEACT PDP CTX REQ after the SGSN or
gbproxy (P-TMSI patching enabled) has been restarted. This same
behaviour has been observed with another SGSN.

Sponsored-by: On-Waves ehf
2014-10-27 10:50:36 +01:00
..
.gitignore update gitignore 2011-01-14 14:38:42 +01:00
Makefile.am gprs: Link gbproxy to -lrt for clock_gettime 2014-08-25 07:29:15 +02:00
crc24.c misc: Remove sys/types.h includes from the files 2011-04-18 17:31:39 +02:00
gb_proxy.c gbproxy: Discard UL PTP messages with an unknown BVCI 2014-10-27 09:44:29 +01:00
gb_proxy_main.c Use port number #defines for VTY and CTRL ports 2014-08-24 17:54:49 +02:00
gb_proxy_patch.c gbproxy: Use pointer to PTMSI value instead of MI 2014-10-09 18:12:27 +02:00
gb_proxy_peer.c gbproxy: Rename the field 'enabled_tllis' to 'logical_links' 2014-10-09 17:45:14 +02:00
gb_proxy_tlli.c gbproxy: Use pointer to PTMSI value instead of MI 2014-10-09 18:12:27 +02:00
gb_proxy_vty.c gbproxy: Fix segfault for VTY delete-gbproxy-link 2014-10-27 09:47:00 +01:00
gprs_gb_parse.c gbproxy: Pass the log level as argument to gprs_gb_log_parse_context 2014-10-09 18:16:22 +02:00
gprs_gmm.c sgsn: Send detach(re-attach) instead of gmm status if TLLI unknown 2014-10-27 10:50:36 +01:00
gprs_llc.c sgsn: Send detach(re-attach) instead of gmm status if TLLI unknown 2014-10-27 10:50:36 +01:00
gprs_llc_parse.c gprs: Separate LLC parsing from LLC state handling 2014-06-04 16:29:30 +02:00
gprs_llc_vty.c Fix build of bsc-nat and GPRS code after include path change 2011-03-23 18:33:26 +01:00
gprs_sgsn.c sgsn: Send detach(re-attach) instead of gmm status if TLLI unknown 2014-10-27 10:50:36 +01:00
gprs_sndcp.c sgsn: Prevent memory leak and double free 2014-10-10 17:43:40 +02:00
gprs_sndcp.h src: use namespace prefix osmo_timer* for timer functions 2011-05-06 12:11:06 +02:00
gprs_sndcp_vty.c gprs: Fix compiler warnings ini gprs_sndcp_vty.c 2014-04-04 12:49:38 +02:00
gprs_utils.c gbproxy: Use pointer to PTMSI value instead of MI 2014-10-09 18:12:27 +02:00
osmo_sgsn.cfg [GPRS] SGSN: specify the local bind address in the config file 2010-06-02 23:18:40 +02:00
sgsn_ctrl.c libctrl: Follow rename of controlif_setup -> ctrl_interface_setup 2014-08-21 15:34:28 +02:00
sgsn_libgtp.c sgsn: Delete PDP contexts properly 2014-10-27 10:25:13 +01:00
sgsn_main.c Use port number #defines for VTY and CTRL ports 2014-08-24 17:54:49 +02:00
sgsn_vty.c sgsn: Delete PDP contexts properly 2014-10-27 10:25:13 +01:00