summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2013-09-16 10:29:57 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-09-16 14:11:36 +0200
commit1c3f088c1fee825946c4e9607d7f39a18775164c (patch)
tree8ff39686a533623217951a7d5dfff36f750e385a
parentb3657e121645977a494c48950838129cb5fd0cd5 (diff)
gsm48: Added 'Network Daylight Saving Time' info element
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
-rw-r--r--include/osmocom/gsm/protocol/gsm_04_08.h1
-rw-r--r--src/gsm/gsm48.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_04_08.h b/include/osmocom/gsm/protocol/gsm_04_08.h
index bd6d707a..8fa5d9a1 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 313d9a31..80f75024 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 },