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/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26656 ) Change subject: IuUP_Emulation: Fix frame number wrap-around ...................................................................... IuUP_Emulation: Fix frame number wrap-around As seen when running a test: IuUP_Emulation.ttcn:150 Dynamic test case error: While RAW-encoding type '@IuUP_Types.IuUP_PDU': There are insufficient bits to encode '@IuUP_Types.IuUP_PDU_Type_0.frame_nr' Change-Id: Ic9e69115c49545a7b9797d8f85568d5e91dfb329 --- M library/IuUP_Emulation.ttcn 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: laforge: Looks good to me, approved fixeria: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/library/IuUP_Emulation.ttcn b/library/IuUP_Emulation.ttcn index 56384ee..b35602c 100644 --- a/library/IuUP_Emulation.ttcn +++ b/library/IuUP_Emulation.ttcn @@ -143,7 +143,7 @@ } else { pdu := valueof(ts_IuUP_Type1(st.tx_next_frame_nr, 0, payload)); } - st.tx_next_frame_nr := st.tx_next_frame_nr + 1; + st.tx_next_frame_nr := (st.tx_next_frame_nr + 1) mod 16; } } if (isvalue(pdu)) { -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26656 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: Ic9e69115c49545a7b9797d8f85568d5e91dfb329 Gerrit-Change-Number: 26656 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: daniel <dwillmann at sysmocom.de> Gerrit-Reviewer: dexter <pmaier at sysmocom.de> Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de> Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211222/bfcff516/attachment.htm>