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.orgHarald Welte has submitted this change and it was merged. Change subject: RSL_Types: Handle IPA specific messages in tr_RSL_MsgTypeDR() ...................................................................... RSL_Types: Handle IPA specific messages in tr_RSL_MsgTypeDR() They all are related to a dedicated channel and carry a channel number as first information element. Change-Id: Ic3fdc029a96c34a9d2d9ec669b789526c8325637 --- M library/RSL_Types.ttcn 1 file changed, 28 insertions(+), 1 deletion(-) Approvals: Harald Welte: Looks good to me, approved Jenkins Builder: Verified diff --git a/library/RSL_Types.ttcn b/library/RSL_Types.ttcn index 7aef17a..46fa669 100644 --- a/library/RSL_Types.ttcn +++ b/library/RSL_Types.ttcn @@ -244,6 +244,11 @@ payload := pl } + template RSL_L16V tr_RSL_L16V(template octetstring pl) := { + len := ?, + payload := pl + } + type record RSL_IE_V { uint8_t val } @@ -680,7 +685,7 @@ /* dedicated channel or RLL */ template RSL_Message tr_RSL_MsgTypeDR(template RSL_MessageType msg_type) modifies tr_RSL_MsgType := { - msg_disc := ({RSL_MDISC_DCHAN,?}, {RSL_MDISC_RLL,true}) + msg_disc := ({RSL_MDISC_DCHAN,?}, {RSL_MDISC_RLL,true}, {RSL_MDISC_IPACCESS,false}) } @@ -694,6 +699,19 @@ t_RSL_IE(RSL_IE_L3_INFO, RSL_IE_Body:{l3_info := ts_RSL_L16V(l3_info)}) } } + + template RSL_Message tr_RSL_DATA_REQ(template RslChannelNr chan_nr :=?, + template RslLinkId link_id := ?, + template octetstring l3_info := ?) := { + msg_disc := ts_RSL_MsgDisc(RSL_MDISC_RLL, true), + msg_type := RSL_MT_DATA_REQ, + ies :={ + tr_RSL_IE(RSL_IE_Body:{chan_nr := chan_nr}), + tr_RSL_IE(RSL_IE_Body:{link_id := link_id}), + tr_RSL_IE(RSL_IE_Body:{l3_info := tr_RSL_L16V(l3_info)}) + } + } + /* 8.3.2 BTS -> BSC */ template RSL_Message ts_RSL_DATA_IND(RslChannelNr chan_nr, RslLinkId link_id, octetstring l3_info) := { @@ -834,6 +852,15 @@ } } + /* 8.4.10 BTS -> BSC */ + template RSL_Message ts_RSL_MODE_MODIFY_ACK(RslChannelNr chan_nr) := { + msg_disc := ts_RSL_MsgDisc(RSL_MDISC_DCHAN, false), + msg_type := RSL_MT_MODE_MODIFY_ACK, + ies := { + t_RSL_IE(RSL_IE_CHAN_NR, RSL_IE_Body:{chan_nr := chan_nr}) + } + } + /* 8.4.11 BTS -> BSC */ template RSL_Message ts_RSL_MODE_MODIFY_NACK(RslChannelNr chan_nr, RSL_Cause cause) modifies ts_RSL_CHAN_ACT_NACK := { -- To view, visit https://gerrit.osmocom.org/5447 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ic3fdc029a96c34a9d2d9ec669b789526c8325637 Gerrit-PatchSet: 3 Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Owner: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Jenkins Builder