From d0859cf8f0575e33d26018585550ffaf2533b6cb Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Wed, 30 Aug 2023 03:43:07 +0700 Subject: PCUIF: fix coding of 'lqual_cb' field in PCUIF_data This patch fixes BTS_Tests.TC_pcu_data_ind_lqual_cb, which is currently failing due to incorrect decoding of the 'lqual_cb' field: "Link quality -32512 does not match expected value -256" The COMP attribute is documented in TITAN's reference guide, see 4-ttcn3_language_extensions.adoc#attributes for more info. Change-Id: I79b8cd41010f212898fbf39c4c600ace69603e79 Related: OS#5954 --- library/PCUIF_Types.ttcn | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/library/PCUIF_Types.ttcn b/library/PCUIF_Types.ttcn index b8bd6e97..b6a1bfa2 100644 --- a/library/PCUIF_Types.ttcn +++ b/library/PCUIF_Types.ttcn @@ -103,7 +103,10 @@ type record PCUIF_data { uint16_t ber10k, int16_t ta_offs_qbits, int16_t lqual_cb -} with { variant (data) "FIELDLENGTH(162), ALIGN(left)" }; +} with { + variant (data) "FIELDLENGTH(162), ALIGN(left)" + variant (lqual_cb) "COMP(2scompl)" +}; type record PCUIF_data_cnf { PCUIF_Sapi sapi, -- cgit v1.2.3