aboutsummaryrefslogtreecommitdiffstats
path: root/bts/BTS_Tests.ttcn
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-03-09 19:32:31 +0100
committerHarald Welte <laforge@gnumonks.org>2018-03-12 14:28:55 +0000
commit3778acc5d533cbc6d7920601f9cf007341e67c6f (patch)
treeed9fa20fcf1495b01e18d5d7874c193769a1540d /bts/BTS_Tests.ttcn
parentf8e7f135d63263baddc634ff014efef555738a66 (diff)
BTS_Tests: Fix SI L2 pseudo-length and rest octets
Now the cell is actually recognized by phones Change-Id: I76b5b178b6884241cfa9b86550aac4865419ef76
Diffstat (limited to 'bts/BTS_Tests.ttcn')
-rw-r--r--bts/BTS_Tests.ttcn14
1 files changed, 7 insertions, 7 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index e98a8cab..f4a5a482 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -149,8 +149,8 @@ template (value) LocationAreaIdentification ts_LAI_default := {
}
/* Default SYSTEM INFORMATION 3 */
-template (value) SystemInformation ts_SI3_default := {
- header := t_RrHeader(SYSTEM_INFORMATION_TYPE_3, 0),
+template SystemInformation ts_SI3_default := {
+ header := t_RrHeader(SYSTEM_INFORMATION_TYPE_3, 18),
payload := {
si3 := {
cell_id := 23,
@@ -174,13 +174,13 @@ template (value) SystemInformation ts_SI3_default := {
},
cell_sel_par := ts_CellSelPar_default,
rach_control := ts_RachCtrl_default,
- rest_octets := ''O
+ rest_octets := '2B2B2B2B'O
}
}
}
-template (value) SystemInformation ts_SI2_default := {
- header := t_RrHeader(SYSTEM_INFORMATION_TYPE_2, 0),
+template SystemInformation ts_SI2_default := {
+ header := t_RrHeader(SYSTEM_INFORMATION_TYPE_2, 22),
payload := {
si2 := {
bcch_freq_list := '00000000000000000000000000000000'O,
@@ -190,8 +190,8 @@ template (value) SystemInformation ts_SI2_default := {
}
}
-template (value) SystemInformation ts_SI4_default := {
- header := t_RrHeader(SYSTEM_INFORMATION_TYPE_4, 0),
+template SystemInformation ts_SI4_default := {
+ header := t_RrHeader(SYSTEM_INFORMATION_TYPE_4, 12), /* no CBCH / restoct */
payload := {
si4 := {
lai := ts_LAI_default,