This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15681
Change subject: WIP
......................................................................
WIP
Change-Id: I3be5123ff5294e5851652ec14d54589442082b28
---
M pcu/PCU_Tests_RAW.ttcn
1 file changed, 55 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/81/15681/1
diff --git a/pcu/PCU_Tests_RAW.ttcn b/pcu/PCU_Tests_RAW.ttcn
index 0771cf9..e9003d3 100644
--- a/pcu/PCU_Tests_RAW.ttcn
+++ b/pcu/PCU_Tests_RAW.ttcn
@@ -1017,6 +1017,60 @@
f_rx_rlcmac_dl_block_exp_dummy(dl_block);
}
+/* pespin */
+testcase TC_pespin() runs on RAW_PCU_Test_CT {
+ var PCUIF_info_ind info_ind;
+ var GsmRrMessage rr_imm_ass;
+ var PacketUlAssign ul_tbf_ass;
+ var RlcmacDlBlock dl_block;
+ var PCUIF_Message pcu_msg;
+ var octetstring data;
+ var boolean ok;
+ var OCT4 tlli := '00000001'O;
+
+ /* Initialize NS/BSSGP side */
+ f_init_bssgp();
+
+ info_ind := valueof(ts_PCUIF_INFO_default);
+ /* Set timer to 1 sec (default 5) to speedup test: */
+ info_ind.t3169 := 1;
+
+ /* Initialize the PCU interface abstraction */
+ f_init_raw(testcasename(), info_ind);
+
+ /* Establish BSSGP connection to the PCU */
+ f_bssgp_establish();
+ f_bssgp_client_llgmm_assign('FFFFFFFF'O, tlli);
+
+ /* Establish an Uplink TBF */
+ ok := f_establish_tbf(rr_imm_ass);
+ if (not ok) {
+ setverdict(fail, "Failed to establish TBF");
+ mtc.stop;
+ }
+
+ ok := f_imm_ass_verify_ul_tbf_ass(rr_imm_ass, ul_tbf_ass);
+ if (not ok) {
+ setverdict(fail, "Immediate Assignment not an Uplink TBF");
+ mtc.stop;
+ }
+
+ /* Send one UL block and make sure it is ACKED fine */
+ f_tx_rlcmac_ul_n_blocks(ul_tbf_ass, 1);
+ f_rx_rlcmac_dl_block_exp_ack_nack(dl_block);
+ /* UL block should be received in SGSN */
+ BSSGP[0].receive(tr_BSSGP_UL_UD(tlli, mp_gb_cfg.cell_id));
+
+ /* Wait until T3169 fires (plus 1 extra sec to make sure) */
+ f_sleep(int2float(info_ind.t3169) + 1.0);
+
+ /* Send an UL block once again, the TBF should be gone by now so no ACK */
+ f_tx_rlcmac_ul_n_blocks(ul_tbf_ass, 1);
+ f_rx_rlcmac_dl_block_exp_dummy(dl_block);
+
+ f_sleep(10.0);
+}
+
control {
execute( TC_ns_reset() );
@@ -1034,6 +1088,7 @@
execute( TC_ta_ptcch_ul_multi_tbf() );
execute( TC_cs_lqual_ul_tbf() );
execute( TC_t3169() );
+ execute( TC_pespin() );
}
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15681
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I3be5123ff5294e5851652ec14d54589442082b28
Gerrit-Change-Number: 15681
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191007/82d6c228/attachment.htm>