path: root/src/gprs/gprs_sgsn.c
diff options
authorPau Espin Pedrol <pespin@sysmocom.de>2018-07-13 15:14:15 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-07-16 15:16:53 +0200
commit89895b027d57d2352afb56bdfef72c3e106168d6 (patch)
tree1076c59adeee763200fee4c3428c7ad0ada3f714 /src/gprs/gprs_sgsn.c
parenta83850c7fdd6f4a2cfbd5267bc64fd12cd8dd2b5 (diff)
Add optional TearDownInd IE in PDP DEACT REQ towards PCU
According to 3GPP TS 24.008 Section, the tear down indicator IE maybe included in the DEACTIVATE PDP CONTEXT REQUEST message in order to indicate whether only the PDP context associated with this specific TI or all active PDP contexts sharing the same PDP address and APN as the PDP context associated with this specific TI shall be deactivated. As we don't permit/support establishing multiple PDP contexts using the same APN and PDP address, it shouldn't really make any difference. Nevertheless, we want to clear everything, so let's include it. Change-Id: Ia9bc2d0e93362a8473eac5cf4c7e8ffa41c79e5b
Diffstat (limited to 'src/gprs/gprs_sgsn.c')
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gprs/gprs_sgsn.c b/src/gprs/gprs_sgsn.c
index ab5e79ab..35479fb0 100644
--- a/src/gprs/gprs_sgsn.c
+++ b/src/gprs/gprs_sgsn.c
@@ -703,7 +703,7 @@ failed:
static void drop_one_pdp(struct sgsn_pdp_ctx *pdp)
if (pdp->mm->gmm_state == GMM_REGISTERED_NORMAL)
- gsm48_tx_gsm_deact_pdp_req(pdp, GSM_CAUSE_NET_FAIL);
+ gsm48_tx_gsm_deact_pdp_req(pdp, GSM_CAUSE_NET_FAIL, true);
else {
/* FIXME: GPRS paging in case MS is SUSPENDED */
LOGPDPCTXP(LOGL_NOTICE, pdp, "Hard-dropping PDP ctx due to GGSN "
@@ -954,4 +954,3 @@ void sgsn_inst_init()
osmo_timer_setup(&sgsn->llme_timer, sgsn_llme_check_cb, NULL);
osmo_timer_schedule(&sgsn->llme_timer, GPRS_LLME_CHECK_TICK, 0);