Change in osmo-ttcn3-hacks[master]: hnodeb: Test passing unordered list of RFCIs
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@sysmocom.de> Gerrit-MessageType: newchange
participants (1)
-
pespin