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/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/17616 ) Change subject: PCU: also test GSGN originated PS Paging containing TMSI ...................................................................... PCU: also test GSGN originated PS Paging containing TMSI This additional couple of test cases reveals a bug in OsmoPCU. For some reason, it encodes a erroneous Packed Paging Request message when P-TMSI is present, so TITAN fails to decode it. Change-Id: I7fbec5b2c5c3943a7413417b623f55c135c152d7 --- M pcu/PCU_Tests_RAW.ttcn 1 file changed, 19 insertions(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/16/17616/1 diff --git a/pcu/PCU_Tests_RAW.ttcn b/pcu/PCU_Tests_RAW.ttcn index 505592c..7aa92e8 100644 --- a/pcu/PCU_Tests_RAW.ttcn +++ b/pcu/PCU_Tests_RAW.ttcn @@ -1477,12 +1477,14 @@ /* Test PS paging over Gb (SGSN->PCU->BTS[CCCH]). */ -private function f_tc_paging_ps_from_sgsn(Nsvci bvci) runs on RAW_PCU_Test_CT { +private function f_tc_paging_ps_from_sgsn(Nsvci bvci, boolean use_ptmsi := false) +runs on RAW_PCU_Test_CT { var GsmRrMessage rr_pag_req1; var OCT4 tlli := '00000001'O; var integer imsi_suff_rx; var integer imsi_suff_tx := 423; var hexstring imsi := f_gen_imsi(imsi_suff_tx); + var GsmTmsi tmsi := oct2int(f_rnd_octstring(4)); /* Initialize NS/BSSGP side */ f_init_bssgp(); @@ -1494,8 +1496,12 @@ f_bssgp_establish(); f_bssgp_client_llgmm_assign('FFFFFFFF'O, tlli); - /* Send paging request */ - BSSGP[0].send(ts_BSSGP_PS_PAGING_IMSI(bvci, imsi)); + /* Send paging request with or without TMSI */ + if (use_ptmsi) { + BSSGP[0].send(ts_BSSGP_PS_PAGING_PTMSI(bvci, imsi, tmsi)); + } else { + BSSGP[0].send(ts_BSSGP_PS_PAGING_IMSI(bvci, imsi)); + } /* Receive it on BTS side towards MS */ f_pcuif_rx_pch_pag_req1(imsi_suff_rx, rr_pag_req1); @@ -1515,6 +1521,14 @@ f_tc_paging_ps_from_sgsn(mp_gb_cfg.bvci); } +testcase TC_paging_ps_from_sgsn_sign_ptmsi() runs on RAW_PCU_Test_CT { + f_tc_paging_ps_from_sgsn(0, use_ptmsi := true); +} + +testcase TC_paging_ps_from_sgsn_ptp_ptmsi() runs on RAW_PCU_Test_CT { + f_tc_paging_ps_from_sgsn(mp_gb_cfg.bvci, use_ptmsi := true); +} + control { execute( TC_pcuif_suspend() ); execute( TC_ta_ptcch_idle() ); @@ -1534,6 +1548,8 @@ execute( TC_paging_cs_from_sgsn_ptp() ); execute( TC_paging_ps_from_sgsn_sign() ); execute( TC_paging_ps_from_sgsn_ptp() ); + execute( TC_paging_ps_from_sgsn_sign_ptmsi() ); + execute( TC_paging_ps_from_sgsn_ptp_ptmsi() ); } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/17616 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: I7fbec5b2c5c3943a7413417b623f55c135c152d7 Gerrit-Change-Number: 17616 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <axilirator at gmail.com> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200325/ac4ada51/attachment.htm>