[PATCH] gsm48: Added 'Network Daylight Saving Time' info element

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Jacob Erlbeck jerlbeck at sysmocom.de
Mon Sep 16 08:29:57 UTC 2013


This information element has been added to the MM Information
message in GSM24.008. This patch adds it to the tlv_definition
to keep the TLV parser from breaking.

Ticket: OW#978
---
 include/osmocom/gsm/protocol/gsm_04_08.h |    1 +
 src/gsm/gsm48.c                          |    1 +
 2 files changed, 2 insertions(+)

diff --git a/include/osmocom/gsm/protocol/gsm_04_08.h b/include/osmocom/gsm/protocol/gsm_04_08.h
index bd6d707..8fa5d9a 100644
--- a/include/osmocom/gsm/protocol/gsm_04_08.h
+++ b/include/osmocom/gsm/protocol/gsm_04_08.h
@@ -925,6 +925,7 @@ struct gsm48_rr_status {
 #define GSM48_IE_UTC		0x46	/* 10.5.3.8 */
 #define GSM48_IE_NET_TIME_TZ	0x47	/* 10.5.3.9 */
 #define GSM48_IE_LSA_IDENT	0x48	/* 10.5.3.11 */
+#define GSM48_IE_NET_DST	0x49	/* 10.5.3.12 [24.008] */
 
 #define GSM48_IE_BEARER_CAP	0x04	/* 10.5.4.5 */
 #define GSM48_IE_CAUSE		0x08	/* 10.5.4.11 */
diff --git a/src/gsm/gsm48.c b/src/gsm/gsm48.c
index 313d9a3..80f7502 100644
--- a/src/gsm/gsm48.c
+++ b/src/gsm/gsm48.c
@@ -131,6 +131,7 @@ const struct tlv_definition gsm48_mm_att_tlvdef = {
 		[GSM48_IE_UTC]			= { TLV_TYPE_TV },
 		[GSM48_IE_NET_TIME_TZ]		= { TLV_TYPE_FIXED, 7 },
 		[GSM48_IE_LSA_IDENT]		= { TLV_TYPE_TLV },
+		[GSM48_IE_NET_DST]		= { TLV_TYPE_TLV },
 
 		[GSM48_IE_LOCATION_AREA]	= { TLV_TYPE_FIXED, 5 },
 		[GSM48_IE_PRIORITY_LEV]		= { TLV_TYPE_SINGLE_TV },
-- 
1.7.9.5





More information about the OpenBSC mailing list