[PATCH] osmo-ttcn3-hacks[master]: PCUIF_Types: Fix bit-order of pdch_mask

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.org
Thu Apr 5 07:35:20 UTC 2018


Review at  https://gerrit.osmocom.org/7639

PCUIF_Types: Fix bit-order of pdch_mask

The bit-string type should be indexed by timeslot number, i.e. the first
element [0] should equal timeslot 0, the last one TS7

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


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

diff --git a/library/PCUIF_Types.ttcn b/library/PCUIF_Types.ttcn
index 1a4ba29..7bfaf9b 100644
--- a/library/PCUIF_Types.ttcn
+++ b/library/PCUIF_Types.ttcn
@@ -124,7 +124,7 @@
 	OCT1		spare,
 	OCT8		tsc,
 	uint32_t	hLayer1
-} with { variant "" };
+} with { variant (pdch_mask) "BITORDER(msb)" };
 
 type record PCUIF_info_ind {
 	uint32_t	version,

-- 
To view, visit https://gerrit.osmocom.org/7639
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib89689abd998d4940895ba04f49eb140888bc73f
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list