From 05140b8dfea745cf5151f09118f8a8d2abffb363 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 13 Aug 2019 18:38:24 +0200 Subject: gprs_sgsn.h: Flag MM_CTX_T_GERAN_Iu as not supported Change-Id: I3b53a530ab25434e2b2f4d80ad70a8a5f22bfcac --- include/osmocom/sgsn/gprs_sgsn.h | 4 +++- src/gprs/sgsn_libgtp.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/include/osmocom/sgsn/gprs_sgsn.h b/include/osmocom/sgsn/gprs_sgsn.h index a0a056feb..10455d67e 100644 --- a/include/osmocom/sgsn/gprs_sgsn.h +++ b/include/osmocom/sgsn/gprs_sgsn.h @@ -108,8 +108,10 @@ enum sgsn_ran_type { MM_CTX_T_GERAN_Gb, /* UMTS via Iu */ MM_CTX_T_UTRAN_Iu, - /* GPRS/EDGE via Iu */ +#if 0 + /* GPRS/EDGE via Iu, not supported */ MM_CTX_T_GERAN_Iu, +#endif }; struct service_info { diff --git a/src/gprs/sgsn_libgtp.c b/src/gprs/sgsn_libgtp.c index e9fffd8c7..88b8d048a 100644 --- a/src/gprs/sgsn_libgtp.c +++ b/src/gprs/sgsn_libgtp.c @@ -279,7 +279,9 @@ struct sgsn_pdp_ctx *sgsn_create_pdp_ctx(struct sgsn_ggsn_ctx *ggsn, pdp->userloc.l = 8; switch (mmctx->ran_type) { case MM_CTX_T_GERAN_Gb: +#if 0 case MM_CTX_T_GERAN_Iu: +#endif pdp->rattype.v[0] = 2; /* User Location Information */ pdp->userloc_given = 1; -- cgit v1.2.3