aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Ramadan <omar.ramadan93@gmail.com>2019-05-09 10:13:46 -0700
committerHarald Welte <laforge@gnumonks.org>2019-05-10 07:07:34 +0000
commit76bbcbc19ef28907f514a3bc0fb0846055051969 (patch)
tree0fb9860ab487a363118f8e33a17d9666459664f6
parentc9a28a67e606aff543a67ceaddbbbd65c46a9a22 (diff)
Add MO-FALLBACK-VALUE SGsAP IE
In testing against a particular EPC, the SGsAP-SERVICE-REQUEST can contain a MO fallback value TLV with T 0xF1 Change-Id: Ia2460af9673818d375e28c67f1631b5f7eacdaeb
-rw-r--r--include/osmocom/gsm/protocol/gsm_29_118.h1
-rw-r--r--src/gsm/gsm29118.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_29_118.h b/include/osmocom/gsm/protocol/gsm_29_118.h
index cfe772a..9adb90f 100644
--- a/include/osmocom/gsm/protocol/gsm_29_118.h
+++ b/include/osmocom/gsm/protocol/gsm_29_118.h
@@ -73,6 +73,7 @@ enum sgsap_iei {
SGSAP_IE_UE_EMM_MODE = 0x25,
SGSAP_IE_ADDL_PAGING_INDICATORS = 0x26,
SGSAP_IE_TMSI_BASED_NRI_CONT = 0x27,
+ SGSAP_IE_MO_FALLBACK_VALUE = 0xf1,
};
extern const struct value_string sgsap_iei_names[];
static inline const char *sgsap_iei_name(enum sgsap_iei iei) {
diff --git a/src/gsm/gsm29118.c b/src/gsm/gsm29118.c
index 56e7473..2c02b2f 100644
--- a/src/gsm/gsm29118.c
+++ b/src/gsm/gsm29118.c
@@ -89,6 +89,7 @@ const struct value_string sgsap_iei_names[] = {
{ SGSAP_IE_UE_EMM_MODE, "UE-EMM-MODE" },
{ SGSAP_IE_ADDL_PAGING_INDICATORS, "ADDL-PAGING-INDICATORS" },
{ SGSAP_IE_TMSI_BASED_NRI_CONT, "TMSI-BASED-NRI-CONT" },
+ { SGSAP_IE_MO_FALLBACK_VALUE, "MO-FALLBACK-VALUE" },
{ 0, NULL }
};
@@ -179,6 +180,7 @@ const struct tlv_definition sgsap_ie_tlvdef = {
[SGSAP_IE_UE_EMM_MODE] = { TLV_TYPE_TLV },
[SGSAP_IE_ADDL_PAGING_INDICATORS]={ TLV_TYPE_TLV },
[SGSAP_IE_TMSI_BASED_NRI_CONT] = { TLV_TYPE_TLV },
+ [SGSAP_IE_MO_FALLBACK_VALUE] = { TLV_TYPE_TLV },
},
};