summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-10-31 05:46:03 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-10-31 20:24:44 +0700
commite94164d22e82759375b9497229124a491a2f6b7f (patch)
treeaf9645a8f4a112fb87a899af65a5d69a93490772 /library
parentb20b7e59f9894bcf71aab59c0c60dee93aac89ac (diff)
library: fix Repeated Page Info IE in PacketPagingReq
Diffstat (limited to 'library')
-rw-r--r--library/RLCMAC_CSN1_Types.ttcn10
-rw-r--r--library/RLCMAC_Templates.ttcn4
2 files changed, 9 insertions, 5 deletions
diff --git a/library/RLCMAC_CSN1_Types.ttcn b/library/RLCMAC_CSN1_Types.ttcn
index cc1ae22..5ef7c44 100644
--- a/library/RLCMAC_CSN1_Types.ttcn
+++ b/library/RLCMAC_CSN1_Types.ttcn
@@ -416,18 +416,22 @@ module RLCMAC_CSN1_Types {
} with {
variant "TAG(ps, presence = '0'B; cs, presence = '1'B)"
};
+ type record RepeatedPageInfoItem {
+ BIT1 presence,
+ PageInfo item
+ } with { variant "PRESENCE(presence = '1'B)" };
+ type record of RepeatedPageInfoItem RepeatedPageInfo;
type record PacketPagingReq {
PageMode page_mode,
BIT1 persistence_levels_present,
PersistenceLevels persistence_levels optional,
BIT1 nln_present,
uint2_t nln optional,
- BIT1 repeated_pageinfo_present,
- PageInfo repeated_pageinfo optional
+ RepeatedPageInfo repeated_pageinfo optional,
+ BIT1 repeated_pageinfo_term ('0'B)
} with {
variant (persistence_levels) "PRESENCE(persistence_levels_present = '1'B)"
variant (nln) "PRESENCE(nln_present = '1'B)"
- variant (repeated_pageinfo) "PRESENCE(repeated_pageinfo_present = '1'B)"
};
/* 12.26 Extension Bits IE */
diff --git a/library/RLCMAC_Templates.ttcn b/library/RLCMAC_Templates.ttcn
index 5bdc17d..edf6516 100644
--- a/library/RLCMAC_Templates.ttcn
+++ b/library/RLCMAC_Templates.ttcn
@@ -642,8 +642,8 @@ module RLCMAC_Templates {
persistence_levels := *,
nln_present := ?,
nln := *,
- repeated_pageinfo_present := ?,
- repeated_pageinfo := *
+ repeated_pageinfo := *,
+ repeated_pageinfo_term := '0'B
}
}
}