diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2018-11-15 15:04:29 +0100 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2018-11-16 17:42:38 +0100 |
commit | 086b345414ef17b305b5c624fbdbc4bf0f855042 (patch) | |
tree | b407a453254a2856f89695bacb30c7cd62318910 /include/osmocom/gsm/protocol | |
parent | e63b8873586b575af433c0d4213fc71c746dd7e1 (diff) |
gsm29118: add value strings for SGSAP IEI
The value strings for the SGSAP IEI are missing, lets add a set of value
strings and a function to retrieve them.
Change-Id: I2787303174f74ffba86675bce2c12f680d8ea708
Related: OS#3615
Diffstat (limited to 'include/osmocom/gsm/protocol')
-rw-r--r-- | include/osmocom/gsm/protocol/gsm_29_118.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_29_118.h b/include/osmocom/gsm/protocol/gsm_29_118.h index c344f040..bf210ad0 100644 --- a/include/osmocom/gsm/protocol/gsm_29_118.h +++ b/include/osmocom/gsm/protocol/gsm_29_118.h @@ -74,7 +74,10 @@ enum sgsap_iei { SGSAP_IE_ADDL_PAGING_INDICATORS = 0x26, SGSAP_IE_TMSI_BASED_NRI_CONT = 0x27, }; - +const struct value_string sgsap_iei_names[]; +static inline const char *sgsap_iei_name(enum sgsap_iei iei) { + return get_value_string(sgsap_iei_names, iei); +} /* TS 29.118 Section 9.4.2 */ enum sgsap_eps_lu_type { |