summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-03-21 19:50:21 +0100
committerHarald Welte <laforge@gnumonks.org>2019-03-27 11:17:49 +0000
commitf12b5a412de9fc5f4c3ebcecb3043f7d3daea792 (patch)
treefa5e645ff63246c47869a648d2475313a25bb20e
parenta419df22a6d70b67bafe8cbc12879aea63e3727d (diff)
pcu: Ensure we're always using the same defaults for the CGI
Not all parts of the code explicitly specify each and every parameter of the Cell Gobal Identifier (particularly we don't do that for the PCU INFO IND), and hence multiple parts only interoperate if the same defaults are used in all locations. Change-Id: Iac9be9a8d4ccb4d01cc343d763d2e35873e3844f
-rw-r--r--library/PCUIF_Types.ttcn4
-rw-r--r--pcu/PCU_Tests.default4
2 files changed, 4 insertions, 4 deletions
diff --git a/library/PCUIF_Types.ttcn b/library/PCUIF_Types.ttcn
index 5644431..0c3f000 100644
--- a/library/PCUIF_Types.ttcn
+++ b/library/PCUIF_Types.ttcn
@@ -657,9 +657,9 @@ template (value) PCUIF_Message ts_PCUIF_INFO_IND(template (value) uint8_t bts_nr
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 := 2342,
+ template (value) uint16_t lac := 13135,
template (value) uint8_t rac := 0,
- template (value) uint16_t cell_id := 1,
+ 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) := {
diff --git a/pcu/PCU_Tests.default b/pcu/PCU_Tests.default
index a877045..67c05f8 100644
--- a/pcu/PCU_Tests.default
+++ b/pcu/PCU_Tests.default
@@ -13,11 +13,11 @@ PCU_Tests.mp_gb_cfg := {
cell_id := {
ra_id := {
lai := {
- mcc_mnc := '00101F'H, lac := 1
+ mcc_mnc := '26242F'H, lac := 13135
},
rac := 0
},
- cell_id := 0
+ cell_id := 20960
},
sgsn_role := true
}