aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-12-04 21:05:10 +0100
committerlaforge <laforge@osmocom.org>2019-12-06 09:51:31 +0000
commit65bab9e3bc92e3c7e62174cd98be1fe65395f7a8 (patch)
tree4b5f13abc9514a00a8120b61128e04b959d06120 /library
parent6072725622a6e003b861150bc9efd91f32e3e424 (diff)
pcu: Support sending message to PCU at specific FN
Diffstat (limited to 'library')
-rw-r--r--library/RLCMAC_Types.ttcn10
1 files changed, 10 insertions, 0 deletions
diff --git a/library/RLCMAC_Types.ttcn b/library/RLCMAC_Types.ttcn
index 8e6942e6..3a1ecb10 100644
--- a/library/RLCMAC_Types.ttcn
+++ b/library/RLCMAC_Types.ttcn
@@ -31,6 +31,16 @@ module RLCMAC_Types {
RRBP_Nplus26_mod_2715648 ('11'B)
} with { variant "FIELDLENGTH(2)" };
+ function f_rrbp_fn_delay(MacRrbp rrbp) return uint32_t {
+ select (rrbp) {
+ case (RRBP_Nplus13_mod_2715648) { return 13; }
+ case (RRBP_Nplus17_or_18_mod_2715648) { return 17; }
+ case (RRBP_Nplus21_or_22_mod_2715648) { return 21; }
+ case (RRBP_Nplus26_mod_2715648) { return 26; }
+ }
+ return 0;
+ }
+
/* Partof DL RLC data block and DL RLC/MAC ctrl block */
type record DlMacHeader {
MacPayloadType payload_type,