aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-10-04 18:34:05 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-10-07 13:23:51 +0200
commitf787b0953cf210e31984ffeaa9bf826b10355bd6 (patch)
treedd148838e6f260474dc9c8a1ed654386b5510e13 /library
parentc3a773231140ded4e73bf59097942eb91dfa265b (diff)
pcu: Allow tests to overwrite pcuif INFO_IND params
Diffstat (limited to 'library')
-rw-r--r--library/PCUIF_Types.ttcn53
1 files changed, 2 insertions, 51 deletions
diff --git a/library/PCUIF_Types.ttcn b/library/PCUIF_Types.ttcn
index a36e2614..ae0762a4 100644
--- a/library/PCUIF_Types.ttcn
+++ b/library/PCUIF_Types.ttcn
@@ -677,62 +677,13 @@ template (value) PCUIF_InfoTrxs ts_PCUIF_InfoTrxs_def := {
ts_PCUIF_InfoTrx, ts_PCUIF_InfoTrxNULL, ts_PCUIF_InfoTrxNULL, ts_PCUIF_InfoTrxNULL,
ts_PCUIF_InfoTrxNULL, ts_PCUIF_InfoTrxNULL, ts_PCUIF_InfoTrxNULL, ts_PCUIF_InfoTrxNULL };
-
template (value) PCUIF_Message ts_PCUIF_INFO_IND(template (value) uint8_t bts_nr,
- template (value) uint16_t nsei,
- template (value) uint16_t nsvci,
- template (value) uint16_t bvci,
- template (value) uint16_t local_port,
- template (value) uint16_t remote_port,
- template (value) OCT4 remote_ip,
- template (value) PCUIF_Flags flags := c_PCUIF_Flags_default,
- template (value) uint16_t mcc := 262,
- template (value) uint16_t mnc := 42,
- template (value) uint16_t lac := 13135,
- template (value) uint8_t rac := 0,
- template (value) uint16_t cell_id := 20960,
- template (value) uint8_t bsic := 7,
- template (value) PCUIF_InfoTrxs trx := ts_PCUIF_InfoTrxs_def,
- template (value) uint32_t version := PCU_IF_VERSION) := {
+ template (value) PCUIF_info_ind info_ind) := {
msg_type := PCU_IF_MSG_INFO_IND,
bts_nr := bts_nr,
spare := '0000'O,
u := {
- info_ind := {
- version := version,
- flags := flags,
- trx := trx,
- bsic := bsic,
- mcc := mcc,
- mnc := mnc,
- mnc_3_digits := 0,
- lac := lac,
- rac := rac,
- nsei := nsei,
- nse_timer := { 3, 3, 3, 3, 30, 3, 10 },
- cell_timer := { 3, 3, 3, 3, 3, 10, 3, 10, 3, 10, 3 },
- cell_id := cell_id,
- repeat_time := 5 * 50,
- repeat_count := 3,
- bvci := bvci,
- t3142 := 20,
- t3169 := 5,
- t3191 := 5,
- t3193_10ms := 160,
- t3195 := 5,
- t3101 := 10,
- t3103 := 4,
- t3105 := 8,
- cv_countdown := 15,
- dl_tbf_ext := 250 * 10, /* ms */
- ul_tbf_ext := 250 * 10, /* ms */
- initial_cs := 2,
- initial_mcs := 6,
- nsvci := { nsvci, 0 },
- local_pprt := { local_port, 0 },
- remote_port := { remote_port, 0 },
- remote_ip := { remote_ip , '00000000'O }
- }
+ info_ind := info_ind
}
}
template PCUIF_Message tr_PCUIF_INFO_IND(template uint8_t bts_nr := ?,