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/.
daniel gerrit-no-reply at lists.osmocom.orgdaniel has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22254 ) Change subject: gbproxy: Use g_parse.sgsn_idx for paging ...................................................................... gbproxy: Use g_parse.sgsn_idx for paging The ConnHdlr test stores the sgsn_idx in g_pars. Use that in the paging tests to the correct SGSN pages the MS. This is required for the paging reject test to pass. Change-Id: I34cfc047b36cd6c139a78a7f171a9a99cc974a79 Related: OS#4951 --- M gbproxy/GBProxy_Tests.ttcn 1 file changed, 8 insertions(+), 8 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/54/22254/1 diff --git a/gbproxy/GBProxy_Tests.ttcn b/gbproxy/GBProxy_Tests.ttcn index 9b883c7..8e6bd55 100644 --- a/gbproxy/GBProxy_Tests.ttcn +++ b/gbproxy/GBProxy_Tests.ttcn @@ -1621,7 +1621,7 @@ private function f_TC_paging_ps_sig_bss(charstring id) runs on BSSGP_ConnHdlr { /* we expect the paging to arrive on all three NSE */ - f_send_paging_ps_exp_multi(ts_BssgpP4BssArea, 0, {0, 1, 2}); + f_send_paging_ps_exp_multi(ts_BssgpP4BssArea, g_pars.sgsn_idx, {0, 1, 2}); } testcase TC_paging_ps_sig_bss() runs on test_CT { f_init(); @@ -1633,12 +1633,12 @@ private function f_TC_paging_ps_sig_lac(charstring id) runs on BSSGP_ConnHdlr { /* The first LAC (13135) is shared by all three NSEs */ - f_send_paging_ps_exp_multi(ts_BssgpP4LAC(pcu_bvc_cfg[0].cell_id.ra_id.lai), 0, {0, 1, 2}); + f_send_paging_ps_exp_multi(ts_BssgpP4LAC(pcu_bvc_cfg[0].cell_id.ra_id.lai), g_pars.sgsn_idx, {0, 1, 2}); /* Reset state */ g_roi := {}; /* Make LAC (13300) available on pcu index 2 */ f_connect_to_pcu_bvc(port_idx := 2, nse_idx := 2, bvc_idx := 1); - f_send_paging_ps_exp_multi(ts_BssgpP4LAC(pcu_bvc_cfg[2].cell_id.ra_id.lai), 0, {2}); + f_send_paging_ps_exp_multi(ts_BssgpP4LAC(pcu_bvc_cfg[2].cell_id.ra_id.lai), g_pars.sgsn_idx, {2}); } testcase TC_paging_ps_sig_lac() runs on test_CT { f_init(); @@ -1665,14 +1665,14 @@ private function f_TC_paging_ps_sig_rac(charstring id) runs on BSSGP_ConnHdlr { /* Only PCU index 0 has a matching BVC with the RA ID */ - f_send_paging_ps_exp_multi(ts_BssgpP4RAC(pcu_bvc_cfg[0].cell_id.ra_id), 0, {0}); + f_send_paging_ps_exp_multi(ts_BssgpP4RAC(pcu_bvc_cfg[0].cell_id.ra_id), g_pars.sgsn_idx, {0}); g_roi := {}; /* PCU index 1 and 2 have a matching BVC with the RA ID */ - f_send_paging_ps_exp_multi(ts_BssgpP4RAC(pcu_bvc_cfg[2].cell_id.ra_id), 0, {1, 2}); + f_send_paging_ps_exp_multi(ts_BssgpP4RAC(pcu_bvc_cfg[2].cell_id.ra_id), g_pars.sgsn_idx, {1, 2}); g_roi := {}; /* PCU index 2 has two matching BVCs with the RA ID */ f_connect_to_pcu_bvc(port_idx := 2, nse_idx := 2, bvc_idx := 1); - f_send_paging_ps_exp_multi(ts_BssgpP4RAC(pcu_bvc_cfg[2].cell_id.ra_id), 0, {2}); + f_send_paging_ps_exp_multi(ts_BssgpP4RAC(pcu_bvc_cfg[2].cell_id.ra_id), g_pars.sgsn_idx, {2}); } testcase TC_paging_ps_sig_rac() runs on test_CT { f_init(); @@ -1701,7 +1701,7 @@ /* PS-PAGING on SIG-BVC for BVCI (one cell) */ private function f_TC_paging_ps_sig_bvci(charstring id) runs on BSSGP_ConnHdlr { - f_send_paging_ps_exp_multi(ts_BssgpP4Bvci(pcu_bvc_cfg[0].bvci), 0, {0}); + f_send_paging_ps_exp_multi(ts_BssgpP4Bvci(pcu_bvc_cfg[0].bvci), g_pars.sgsn_idx, {0}); } testcase TC_paging_ps_sig_bvci() runs on test_CT { f_init(); @@ -1720,7 +1720,7 @@ private function f_TC_paging_ps_reject_sig_bvci(charstring id) runs on BSSGP_ConnHdlr { /* first send the PS-PAGING from SGSN -> PCU */ - f_send_paging_ps_exp_multi(ts_BssgpP4Bvci(pcu_bvc_cfg[0].bvci), 0, {0}); + f_send_paging_ps_exp_multi(ts_BssgpP4Bvci(pcu_bvc_cfg[0].bvci), g_pars.sgsn_idx, {0}); /* then simulate the PS-PAGING-REJECT from the PCU */ f_send_paging_ps_rej(use_sig:=true); -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22254 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: I34cfc047b36cd6c139a78a7f171a9a99cc974a79 Gerrit-Change-Number: 22254 Gerrit-PatchSet: 1 Gerrit-Owner: daniel <dwillmann at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210117/052ba413/attachment.htm>