Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28254
to look at the new patch set (#2).
Change subject: hnodeb: Test passing unordered list of RFCIs
......................................................................
hnodeb: Test passing unordered list of RFCIs
This feature is available since Audio SAPI version 1, which was
recently added. Let's update the test to cover this feature.
Related: SYS#5516
Change-Id: Ib8961630a1ebe6f6bfee5af0889aa129e491cb2b
---
M hnodeb/HNB_Tests.ttcn
1 file changed, 27 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/54/28254/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28254
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: Ib8961630a1ebe6f6bfee5af0889aa129e491cb2b
Gerrit-Change-Number: 28254
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-MessageType: newpatchset
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28255 )
Change subject: hnodeb: Fix passing pars to f_start_handler()
......................................................................
hnodeb: Fix passing pars to f_start_handler()
isvalue() returns false when the template is not omit, which is
unexpected in this code path. Let's explicitly test against "omit" here.
Change-Id: I05bb47dc12b4544a6f2d4fc1fadc9e68da374f8b
---
M hnodeb/HNB_Tests.ttcn
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/55/28255/1
diff --git a/hnodeb/HNB_Tests.ttcn b/hnodeb/HNB_Tests.ttcn
index a58e203..24feab8 100644
--- a/hnodeb/HNB_Tests.ttcn
+++ b/hnodeb/HNB_Tests.ttcn
@@ -174,10 +174,10 @@
function f_start_handler(void_fn fn, template (omit) TestHdlrParams pars_tmpl := omit)
runs on test_CT return HNBGW_ConnHdlr {
var TestHdlrParams pars;
- if (isvalue(pars)) {
- pars := valueof(pars_tmpl);
- } else {
+ if (istemplatekind(pars_tmpl, "omit")) {
pars := valueof(f_gen_test_hdlr_pars());
+ } else {
+ pars := valueof(pars_tmpl);
}
return f_start_handler_run(f_start_handler_create(pars), fn, pars);
}
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28255
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: I05bb47dc12b4544a6f2d4fc1fadc9e68da374f8b
Gerrit-Change-Number: 28255
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28254 )
Change subject: hnodeb: Test passing unordered list of RFCIs
......................................................................
hnodeb: Test passing unordered list of RFCIs
This feature is available since Audio SAPI version 1, which was
recently added. Let's update the test to cover this feature.
Related: SYS#5516
Change-Id: Ib8961630a1ebe6f6bfee5af0889aa129e491cb2b
---
M hnodeb/HNB_Tests.ttcn
1 file changed, 9 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/54/28254/1
diff --git a/hnodeb/HNB_Tests.ttcn b/hnodeb/HNB_Tests.ttcn
index 3925e60..82b34d1 100644
--- a/hnodeb/HNB_Tests.ttcn
+++ b/hnodeb/HNB_Tests.ttcn
@@ -300,6 +300,13 @@
timer Tu;
var uint32_t audio_conn_id;
var IuUP_FQC fqc := IuUP_FQC_GOOD;
+ var HNBLLIF_AUDIO_RFCIs rfcis;
+
+ /* generate some unordered RFCI list of 3 elements (the default): */
+ rfcis[0] := 1; rfcis[1] := 2; rfcis[2] := 0;
+ for (var integer i := 3; i < HNBLLIF_MAX_RFCIS; i := i + 1) {
+ rfcis[i] := 0;
+ }
rtp_payload := f_rnd_octstring(6);
f_HNBGW_rtpem_activate(rtp_payload);
@@ -323,7 +330,8 @@
/* Now LLSK provides the remote TransportLayerAddress from RabAssReq and asks SUT to provide a local address: */
LLSK.send(f_llsk_tx(ts_HNBLLIF_AUDIO_CONN_ESTABLISH_REQ(context_id, g_pars.hnbgw_rtp_port, HNBLL_IF_ADDR_TYPE_IPV4,
- f_HNBLLIF_Addr(HNBLL_IF_ADDR_TYPE_IPV4, g_pars.hnbgw_addr))));
+ f_HNBLLIF_Addr(HNBLL_IF_ADDR_TYPE_IPV4, g_pars.hnbgw_addr),
+ rfci := rfcis)));
LLSK.receive(f_llsk_rx(tr_HNBLLIF_AUDIO_CONN_ESTABLISH_CNF(context_id, ?, 0, ?, HNBLL_IF_ADDR_TYPE_IPV4, ?))) -> value sd;
audio_conn_id := sd.data.u.audio.u.conn_establish.u.cnf.audio_conn_id;
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28254
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: Ib8961630a1ebe6f6bfee5af0889aa129e491cb2b
Gerrit-Change-Number: 28254
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange
Attention is currently required from: osmith, fixeria.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc-nat/+/28249 )
Change subject: subscr_conn_fsm: refactor timeouts
......................................................................
Patch Set 3:
(1 comment)
File src/osmo-bsc-nat/bsc_nat.c:
https://gerrit.osmocom.org/c/osmo-bsc-nat/+/28249/comment/1f14ef6f_79bc4717
PS2, Line 31: struct osmo_tdef g_bsc_nat_tdefs[] = {
> Done
@fixeria it cannot be static const since it is initialized. In the case where there are several instances of this tdef it indeed makes sense to have one const and then duplicate it in memory for each instance (we do that in several places), but in here there's no use in doing that since anyway there's only 1 instance, so it's fine resetting/changing values in it directly.
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc-nat/+/28249
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc-nat
Gerrit-Branch: master
Gerrit-Change-Id: Ib34e6ccc34901ebc37d2dbe347d9644cb70921ca
Gerrit-Change-Number: 28249
Gerrit-PatchSet: 3
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 09 Jun 2022 10:01:01 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: osmith <osmith(a)sysmocom.de>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: osmith, pespin.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-bsc-nat/+/28249
to look at the new patch set (#3).
Change subject: subscr_conn_fsm: refactor timeouts
......................................................................
subscr_conn_fsm: refactor timeouts
Use osmo_tdef_state_timeout instead of passing timers every time. Rename
g_mgw_tdefs to g_bsc_nat_tdefs and add the new TDEF_ASS_COMPL there, so
the TDEF_MGCP can be used in subscr_conn_fsm and by mgcp client without
duplicating it.
Related: SYS#5560
Change-Id: Ib34e6ccc34901ebc37d2dbe347d9644cb70921ca
---
M include/osmocom/bsc_nat/bsc_nat.h
M src/osmo-bsc-nat/bsc_nat.c
M src/osmo-bsc-nat/subscr_conn_fsm.c
3 files changed, 42 insertions(+), 28 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc-nat refs/changes/49/28249/3
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc-nat/+/28249
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc-nat
Gerrit-Branch: master
Gerrit-Change-Id: Ib34e6ccc34901ebc37d2dbe347d9644cb70921ca
Gerrit-Change-Number: 28249
Gerrit-PatchSet: 3
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newpatchset