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/.
lynxis lazus gerrit-no-reply at lists.osmocom.orglynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15623 Change subject: pcu: add TC_paging_cs_from_bts ...................................................................... pcu: add TC_paging_cs_from_bts 1. BTS send a CS paging Request over pcu socket 2. Expect a CS paging frame Change-Id: Ia3ad503c243c9b3b162e204683fa4fa5447bbab3 --- M pcu/PCU_Tests_RAW.ttcn 1 file changed, 62 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/23/15623/1 diff --git a/pcu/PCU_Tests_RAW.ttcn b/pcu/PCU_Tests_RAW.ttcn index 7e6611d..6ac539c 100644 --- a/pcu/PCU_Tests_RAW.ttcn +++ b/pcu/PCU_Tests_RAW.ttcn @@ -696,6 +696,67 @@ } } +/* Test CS paging over the BTS socket. + * When a MS has an active TBF (or is on the PDCH), the MS + * can not react on CS paging over CCCH. + * Paging should be send on the AGCH. + * + * 1. Establish a UL TBF. + * 2. Send a Paging Request over PCU socket. + * 3. Send a Ready-To-Send message over PCU socket + * 4. Expect a Paging Frame + */ +testcase TC_paging_cs_from_bts() runs on RAW_PCU_Test_CT { + var GsmRrMessage rr_msg; + var boolean ok; + var uint8_t bts_nr := 0; + var OCT9 id_lv := '012345678901234567'O; + var uint8_t chan_needed := 0; + var PCUIF_Sapi sapi := PCU_IF_SAPI_PDTCH; + var PCUIF_Message pcu_msg; + timer T := 4.0; + timer R := 0.1; + + /* Initialize the PCU interface abstraction */ + f_init_raw(testcasename()); + + /* Establish an Uplink TBF */ + ok := f_establish_tbf(rr_msg); + + if (not ok) { + setverdict(fail, "Failed to establish an Uplink TBF"); + mtc.stop; + } + + /* Send paging request */ + BTS.send(ts_PCUIF_PAG_REQ(bts_nr, id_lv, chan_needed, sapi)); + BTS.send(ts_PCUIF_RTS_REQ(bts_nr := 0, trx_nr := 0, ts_nr := 7, + sapi := PCU_IF_SAPI_PDTCH, fn := 0, + arfcn := 871, block_nr := 0)); + + /* Expect paging on TS7/PDCH */ + T.start; + R.start; + alt { + [] BTS.receive(tr_PCUIF_DATA_REQ(bts_nr := bts_nr, trx_nr := 0, ts_nr := 7, sapi:= sapi)) + -> value pcu_msg { + /* FIXME: this never arrives! */ + } + [] BTS.receive { repeat; } + [] T.timeout { + setverdict(fail, "Timeout waiting for paging request"); + } + [] R.timeout { + BTS.send(ts_PCUIF_RTS_REQ(bts_nr := 0, trx_nr := 0, ts_nr := 7, + sapi := PCU_IF_SAPI_PDTCH, fn := 0, + arfcn := 871, block_nr := 0)); + R.start; + repeat; + } + } +} + + control { execute( TC_ns_reset() ); @@ -710,6 +771,7 @@ execute( TC_pcuif_suspend() ); execute( TC_ta_rach_imm_ass() ); execute( TC_cs_lqual_ul_tbf() ); + execute( TC_paging_cs_from_bts() ); } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15623 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: Ia3ad503c243c9b3b162e204683fa4fa5447bbab3 Gerrit-Change-Number: 15623 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lynxis at fe80.eu> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190929/dfa5106c/attachment.htm>