Change in osmo-ttcn3-hacks[master]: library/PCUIF_Types: fix wrong parameter type in ts_PCUIF_DATA_IND

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Wed May 26 13:24:55 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24415 )


Change subject: library/PCUIF_Types: fix wrong parameter type in ts_PCUIF_DATA_IND
......................................................................

library/PCUIF_Types: fix wrong parameter type in ts_PCUIF_DATA_IND

The 'lqual_cb' represents the link quality in centiBels, which
can be negative.  Use 'int16_t' instead of 'uint16_t'.

Change-Id: I038eec22928d831ddbc0a2704830d5e2eab2cb6b
---
M library/PCUIF_Types.ttcn
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/15/24415/1

diff --git a/library/PCUIF_Types.ttcn b/library/PCUIF_Types.ttcn
index b259cfc..9d6b023 100644
--- a/library/PCUIF_Types.ttcn
+++ b/library/PCUIF_Types.ttcn
@@ -438,7 +438,7 @@
 						 template (value) int8_t rssi := -80,
 						 template (value) uint16_t ber10k := 0,
 						 template (value) int16_t ta_offs_qbits := 0,
-						 template (value) uint16_t lqual_cb := 10) := {
+						 template (value) int16_t lqual_cb := 10) := {
 	msg_type := PCU_IF_MSG_DATA_IND,
 	bts_nr := bts_nr,
 	spare := '0000'O,

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24415
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: I038eec22928d831ddbc0a2704830d5e2eab2cb6b
Gerrit-Change-Number: 24415
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210526/f0ac0ffc/attachment.htm>


More information about the gerrit-log mailing list