aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorPravin Kumarvel <pmanohar@radisys.com>2016-12-12 17:20:39 +0530
committerPravin Kumarvel <pmanohar@radisys.com>2016-12-12 17:20:39 +0530
commit1611df5226199da2bf2fba3d22d93cc1a6c6c777 (patch)
tree9639b03380f63d70f50f8cbdcf2902999bbce7c9 /openbsc/include
parentb8e8d0a4023d6916a6b2042f81ef17d32e8675c4 (diff)
Support Deactivate PDP Context Request from network
Enable Deactivate PDP context based on the IMSI of the subscriber. When there are PDP contexts present for a MM context, PDP context will be deactivated along with GMM Detach(MM context deletion). If there are no PDP present, MM context will be deleted to avoid further PDP context request from the MS. Test cases is added to check this functionality. Change-Id: Ia0a41aa2218ec2fda4ea17a37c8cc55cba63dd13
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/gprs_sgsn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gprs_sgsn.h b/openbsc/include/openbsc/gprs_sgsn.h
index 24e286c70..b3f250dc5 100644
--- a/openbsc/include/openbsc/gprs_sgsn.h
+++ b/openbsc/include/openbsc/gprs_sgsn.h
@@ -369,6 +369,8 @@ void sgsn_inst_init(void);
* ottherwise lost state (recovery procedure) */
int drop_all_pdp_for_ggsn(struct sgsn_ggsn_ctx *ggsn);
+void drop_gmm_ctx_for_ms(const char *imsi);
+
char *gprs_pdpaddr2str(uint8_t *pdpa, uint8_t len);
/*