summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2020-05-10 13:13:46 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2020-05-10 21:14:12 +0700
commitd4f22aaf314f0b15eb0806841112e9f2a8e6b62d (patch)
tree61d198e15f04e0defe361b2bb6c873f78eb46531 /library
parent0a9b148d2c071c6b0682a1c152ac269f6c6e3717 (diff)
library: enrich tr_RLCMAC_DATA_RRBP, rename to tr_RLCMAC_DATA_GPRS
Let's make this template more flexible, so it can be used to match any GPRS DL data blocks, not only those with rrbp_valid == true. Note that behavior of f_rx_rlcmac_dl_block_exp_data() is intentionally left unchanged, and will be fixed later. Change-Id: I3940216368cdbb58fe89420675d1d8d5f5e49b05 Signed-off-by: Vadim Yanitskiy <axilirator@gmail.com>
Diffstat (limited to 'library')
-rw-r--r--library/RLCMAC_Templates.ttcn10
1 files changed, 6 insertions, 4 deletions
diff --git a/library/RLCMAC_Templates.ttcn b/library/RLCMAC_Templates.ttcn
index f2945eb..675a081 100644
--- a/library/RLCMAC_Templates.ttcn
+++ b/library/RLCMAC_Templates.ttcn
@@ -497,14 +497,16 @@ module RLCMAC_Templates {
}
}
- template RlcmacDlBlock tr_RLCMAC_DATA_RRBP := {
+ template RlcmacDlBlock tr_RLCMAC_DATA_GPRS(template (present) boolean rrbp_valid := ?,
+ template (present) MacRrbp rrbp := ?,
+ template (present) uint3_t usf := ?) := {
data := {
mac_hdr := {
mac_hdr := {
payload_type := MAC_PT_RLC_DATA,
- rrbp := ?,
- rrbp_valid := true,
- usf := ?
+ rrbp := rrbp,
+ rrbp_valid := rrbp_valid,
+ usf := usf
},
hdr_ext := ?
},