diff options
author | Harald Welte <laforge@gnumonks.org> | 2019-05-27 14:02:13 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-05-27 21:31:56 +0000 |
commit | 990a36138be9da562e2cd83b638dec97f79b558f (patch) | |
tree | 2020425121d687a15892a0b1d79ad296bb909df9 | |
parent | f3c12228fb1995633aad14620f9ba6d8275e3502 (diff) |
L1CTL: Add support for CCCH_MODE_COMBINED_CBCH
In OsmocomBB/trxcon Change-Id Ia94ebf22a2ec439dfe1f31d703b832ae57b48ef2
we introduced a new mode CCCH_MODE_COMBINED_CBCH to indicate that the
channel combination is a CCCH+SDCCH/4 with one SDCCH stolen for CBCH.
Let's make sure we actually use that mode in our CBCH related tests
Change-Id: I27ee2c81bec7175c1ea09d4f3f6037f2866fe242
-rw-r--r-- | bts/BTS_Tests.ttcn | 4 | ||||
-rw-r--r-- | bts/BTS_Tests_SMSCB.ttcn | 2 | ||||
-rw-r--r-- | library/L1CTL_Types.ttcn | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index 1c206572..47c16c22 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -451,8 +451,8 @@ private altstep as_Tguard() runs on ConnHdlr { } } -friend function f_l1_tune(L1CTL_PT L1CTL) { - f_L1CTL_FBSB(L1CTL, { false, mp_trx0_arfcn }, CCCH_MODE_COMBINED, mp_rxlev_exp); +friend function f_l1_tune(L1CTL_PT L1CTL, L1ctlCcchMode ccch_mode := CCCH_MODE_COMBINED) { + f_L1CTL_FBSB(L1CTL, { false, mp_trx0_arfcn }, ccch_mode, mp_rxlev_exp); } private function f_trxc_connect() runs on ConnHdlr { diff --git a/bts/BTS_Tests_SMSCB.ttcn b/bts/BTS_Tests_SMSCB.ttcn index 0712a908..c02522bb 100644 --- a/bts/BTS_Tests_SMSCB.ttcn +++ b/bts/BTS_Tests_SMSCB.ttcn @@ -216,7 +216,7 @@ private function f_smscb_setup(inout CbchTestPars pars) runs on test_CT { f_init(testcasename()); f_init_l1ctl(); - f_l1_tune(L1CTL); + f_l1_tune(L1CTL, ccch_mode := CCCH_MODE_COMBINED_CBCH); /* FIXME: switch to dedicated mode for SDCCH/8 */ /* send SMSCB[s] via RSL */ diff --git a/library/L1CTL_Types.ttcn b/library/L1CTL_Types.ttcn index 69e7dbec..87849f5a 100644 --- a/library/L1CTL_Types.ttcn +++ b/library/L1CTL_Types.ttcn @@ -62,7 +62,8 @@ module L1CTL_Types { type enumerated L1ctlCcchMode { CCCH_MODE_NONE (0), CCCH_MODE_NON_COMBINED, - CCCH_MODE_COMBINED + CCCH_MODE_COMBINED, + CCCH_MODE_COMBINED_CBCH } with { variant "FIELDLENGTH(8)" }; type enumerated L1ctlNeighMode { |