diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-08-30 03:43:07 +0700 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2023-08-30 09:19:22 +0000 |
commit | d0859cf8f0575e33d26018585550ffaf2533b6cb (patch) | |
tree | ff298dd88ac7c7cd3582df2f7f6ad53f6e234ad9 | |
parent | 1733de339389f09dffba0822eeaca6d87d1b2f05 (diff) |
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
-rw-r--r-- | library/PCUIF_Types.ttcn | 5 |
1 files changed, 4 insertions, 1 deletions
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, |