aboutsummaryrefslogtreecommitdiffstats
path: root/pcu/GPRS_TBF.ttcn
diff options
context:
space:
mode:
Diffstat (limited to 'pcu/GPRS_TBF.ttcn')
-rw-r--r--pcu/GPRS_TBF.ttcn10
1 files changed, 6 insertions, 4 deletions
diff --git a/pcu/GPRS_TBF.ttcn b/pcu/GPRS_TBF.ttcn
index fb420972..3794410b 100644
--- a/pcu/GPRS_TBF.ttcn
+++ b/pcu/GPRS_TBF.ttcn
@@ -14,6 +14,7 @@ module GPRS_TBF {
import from GSM_Types all;
import from Osmocom_Types all;
import from General_Types all;
+import from Misc_Helpers all;
import from RLCMAC_CSN1_Types all;
import from RLCMAC_Types all;
import from RLCMAC_Templates all;
@@ -326,10 +327,10 @@ function f_ul_tbf_get_next_block(out RlcmacUlBlock blk, inout UlTbfState us, ino
/* include TLLI when needed */
if (tlli_needed) {
- blk := valueof(t_RLCMAC_UL_DATA_TLLI(us.tfi, cv, us.et.v_s,
+ blk := valueof(t_RLCMAC_UL_DATA_TLLI(CS_1, us.tfi, cv, us.et.v_s,
llc_blocks, false, mmctx.tlli));
} else {
- blk := valueof(t_RLCMAC_UL_DATA(us.tfi, cv, us.et.v_s, llc_blocks, false));
+ blk := valueof(t_RLCMAC_UL_DATA(CS_1, us.tfi, cv, us.et.v_s, llc_blocks, false));
}
/* Increment Block Sequence Number */
@@ -409,8 +410,9 @@ function f_dl_tbf_mod_sns(DlTbfState ds, integer val) return integer
}
function f_dl_tbf_is_in_window(integer bsn) return boolean {
- setverdict(fail, "pleaes implement me");
- mtc.stop;
+ Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail,
+ "please implement me");
+ return false;
}
function f_dl_tbf_is_received(inout DlTbfState ds, integer bsn) return boolean {