aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc
diff options
context:
space:
mode:
authorJonathan Santos <jrsantos@jonathanrsantos.com>2011-06-22 12:13:59 -0400
committerJonathan Santos <jrsantos@jonathanrsantos.com>2011-07-21 15:30:41 -0400
commite5b7ad8119837f68b3bc1e53beb8f03deff21938 (patch)
tree2d4944d9747d5ad82fe6a2d386d2dc0e0bd4b94e /include/openbsc
parent5f7d3cd6d2c2790c186a6d83286b6f9ee68e5f71 (diff)
gprs: Reset LLC state when Timer 3350 expires
This works around a problem that occurs if a mobile loses packet data connectivity, e.g. moves out of coverage or switches over to a circuit-switched call, while a data transfer is occurring. The mobile would reset its LLC state, causing it to be unsynchronized with the SGSN. Therefore the SGSN would drop incoming frames until the sequence numbers matched. This workaround resets the LLC state in the SGSN if T3350 expires, indicating that Routing Area Updating Request, Attach Request, or P-TMSI Realloc Command has failed.
Diffstat (limited to 'include/openbsc')
-rw-r--r--include/openbsc/gprs_llc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openbsc/gprs_llc.h b/include/openbsc/gprs_llc.h
index 5949ac3b8..aa3b9ccbf 100644
--- a/include/openbsc/gprs_llc.h
+++ b/include/openbsc/gprs_llc.h
@@ -160,6 +160,7 @@ int gprs_llgmm_assign(struct gprs_llc_llme *llme,
int gprs_llgmm_suspend(struct gprs_llc_llme *llme);
int gprs_llgmm_resume(struct gprs_llc_llme *llme);
+void gprs_llgmm_reset_state(struct gprs_llc_llme *llme);
int gprs_llc_init(const char *cipher_plugin_path);
int gprs_llc_vty_init(void);