aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-08-13 18:38:24 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-08-15 13:15:21 +0200
commit05140b8dfea745cf5151f09118f8a8d2abffb363 (patch)
treec165e85f5e33b721ea81d1eeecf85bf23ab9ebe8
parentc21be623807e58c3593838cfd21fe95fa2c21a69 (diff)
gprs_sgsn.h: Flag MM_CTX_T_GERAN_Iu as not supported
-rw-r--r--include/osmocom/sgsn/gprs_sgsn.h4
-rw-r--r--src/gprs/sgsn_libgtp.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/include/osmocom/sgsn/gprs_sgsn.h b/include/osmocom/sgsn/gprs_sgsn.h
index a0a056f..10455d6 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 e9fffd8..88b8d04 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;