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


Change subject: WIP: library/GSM_RestOctets: add SI3 Rest Octets example for 
E-UTRAN
......................................................................

WIP: library/GSM_RestOctets: add SI3 Rest Octets example for E-UTRAN

Change-Id: I4162cc39ad351f5e96f5941116a424adc44efaa2
---
M library/GSM_RestOctets.ttcn
1 file changed, 56 insertions(+), 0 deletions(-)



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

diff --git a/library/GSM_RestOctets.ttcn b/library/GSM_RestOctets.ttcn
index 3bc9349..31c25f3 100644
--- a/library/GSM_RestOctets.ttcn
+++ b/library/GSM_RestOctets.ttcn
@@ -513,6 +513,62 @@
        rel_additions := { rel5_presence := CSN1_L, rel5 := omit }
 };

+/* Example template for matching E-UTRAN Neighbour Cell list */
+template SI2quaterRestOctets tra_SI3RestOctets_EUTRAN(
+       template EUTRAN_NeighbourCells neigh_list := *,
+       template EUTRAN_MeasParamsDescOpt meas_params := *
+) modifies tra_SI2quaterRestOctets_base := {
+       si2quater_index := ?,
+       si2quater_count := ?,
+
+       /* FIXME: we need a separate template hierarchy to such a crazy avoid 
nesting */
+       rel_additions := {
+               rel5_presence := CSN1_H,
+               rel5 := {
+                       umts_add_meas_params_desc := ?,
+                       umts_add_meas_params_desc2 := ?,
+                       rel6_presence := CSN1_H,
+                       rel6 := {
+                               umts_ccn_active := ?,
+                               rel7_presence := CSN1_H,
+                               rel7 := {
+                                       rep700 := ?,
+                                       rep810 := ?,
+                                       rel8_presence := CSN1_H,
+                                       rel8 := {
+                                               prio_eutran_params_desc := {
+                                                       presence := '1'B,
+                                                       desc := {
+                                                               
sc_prio_params_desc := {
+                                                                       
presence := '1'B,
+                                                                       desc := 
{
+                                                                               
geran_priority := ?,
+                                                                               
thresh_priority_search := ?,
+                                                                               
thresh_gsm_low := ?,
+                                                                               
h_prio := ?,
+                                                                               
t_reselection := ?
+                                                                       }
+                                                               },
+                                                               
utran_prio_params_desc := ?,
+                                                               
eutran_params_desc := {
+                                                                       
presence := '1'B,
+                                                                       desc := 
{
+                                                                               
meas_params_desc := meas_params,
+                                                                               
gprs_meas_params_desc := ?,
+                                                                               
neigh_cell_list := neigh_list
+                                                                       }
+                                                               }
+                                                       }
+                                               },
+                                               utran_csg_desc := ?,
+                                               eutran_csg_desc := ?
+                                       }
+                               }
+                       }
+               }
+       }
+};
+

 /* 10.5.2.34 SI 3 Rest Octets */
 type record SI3RestOctets {

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19114
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: I4162cc39ad351f5e96f5941116a424adc44efaa2
Gerrit-Change-Number: 19114
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanits...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to