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/.
Harald Welte gerrit-no-reply at lists.osmocom.orgReview at https://gerrit.osmocom.org/5968 MSC_Tests: Implement early classmark sending in LU Change-Id: I019d51703c60203c7cb83a77dc7ca4b3d6623e24 --- M library/BSSMAP_Templates.ttcn M msc_tests/BSC_ConnectionHandler.ttcn 2 files changed, 46 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/68/5968/1 diff --git a/library/BSSMAP_Templates.ttcn b/library/BSSMAP_Templates.ttcn index 8227a14..925a8e6 100644 --- a/library/BSSMAP_Templates.ttcn +++ b/library/BSSMAP_Templates.ttcn @@ -762,6 +762,50 @@ } } +template BSSMAP_IE_ClassmarkInformationType2 ts_CM2_default := { + elementIdentifier := '12'O, + lengthIndicator := 0, /* overwritten */ + /* CM1 */ + rf_PowerCapability := '010'B, /* class3 */ + a5_1 := '0'B, /* supported */ + esind := '1'B, /* early classmark supported */ + revisionLevel := '10'B, /* R99 */ + spare1_1 := '0'B, + /* CM2 */ + fc := '1'B, /* E-GSM support */ + vgcs := '0'B, + vbs := '0'B, + sm_Capability := '1'B, + ss_ScreenIndicator := '00'B, + ps_Capability := '1'B, + spare2_1 := '0'B, + classmarkInformationType2_oct5 := { + a5_2 := '0'B, /* not available */ + a5_3 := '1'B, /* available */ + cmsp := '0'B, /* not supported */ + solsa := '0'B, /* not suported */ + ucs2 := '0'B, /* GSM alphabet preferred */ + lcsvacap := '0'B, /* not supported */ + spare := '0'B, + cm3 := '0'B /* no CM3 */ + } +} + +template PDU_BSSAP ts_BSSMAP_ClassmarkUpd(template BSSMAP_IE_ClassmarkInformationType2 cm2 := ts_CM2_default, + template BSSMAP_IE_ClassmarkInformationType3 cm3 := omit) +modifies ts_BSSAP_BSSMAP := { + pdu := { + bssmap := { + classmarkUpdate := { + messageType := '54'O, + classmarkInformationType2 := cm2, + classmarkInformationType3 := cm3, + talkerPriority := omit + } + } + } +} + } with { encode "RAW" }; diff --git a/msc_tests/BSC_ConnectionHandler.ttcn b/msc_tests/BSC_ConnectionHandler.ttcn index 2d6036f..a404ed3 100644 --- a/msc_tests/BSC_ConnectionHandler.ttcn +++ b/msc_tests/BSC_ConnectionHandler.ttcn @@ -142,6 +142,8 @@ /* Send BSSAP_Conn_Req with COMPL L3 INFO to MSC */ f_bssap_compl_l3(l3_lu); + BSSAP.send(ts_BSSMAP_ClassmarkUpd); + if (expect_auth) { /* FIXME */ } -- To view, visit https://gerrit.osmocom.org/5968 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I019d51703c60203c7cb83a77dc7ca4b3d6623e24 Gerrit-PatchSet: 1 Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Owner: Harald Welte <laforge at gnumonks.org>