From 9619d2355be9fcd1b7145c4604c089f160ddbf13 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Mon, 6 Jul 2020 15:45:58 +0700 Subject: [PATCH] ttcn3-bts-test: add configuration with frequency hopping parameters The Physical channel configuration is the same as in the non-hopping configuration file. Hopping parameters are listed below the table. == Physical channel configuration (FDMA) == +-------+------------------+------------------+------------------+------------------+ | # / # | TRX#0 | TRX#1 | TRX#2 | TRX#3 | +-------+------------------+------------------+------------------+------------------+ | ARFCN | 871 | 873 | 875 | 877 | +-------+------------------+------------------+------------------+------------------+ == Physical channel configuration (TDMA) == +-------+------------------+------------------+------------------+------------------+ | # / # | TRX#0 | TRX#1 | TRX#2 | TRX#3 | +-------+------------------+------------------+------------------+------------------+ | TS0 | CCCH+SDCCH4 | TCH/F (a) | TCH/F (a) | TCH/F (a) | +-------+------------------+------------------+------------------+------------------+ | TS1 | TCH/F | SDCCH8+CBCH | SDCCH8+CBCH (b) | SDCCH8+CBCH (b) | +-------+------------------+------------------+------------------+------------------+ | TS2 | TCH/F (c) | TCH/H (c) | TCH/F (d) | TCH/H (d) | +-------+------------------+------------------+------------------+------------------+ | TS3 | TCH/F_PDCH (e) | TCH/F_PDCH (e) | TCH/F_PDCH (e) | TCH/F_PDCH (e) | +-------+------------------+------------------+------------------+------------------+ | TS4 | TCH/F_TCH/H_PDCH | TCH/F_TCH/H_PDCH | TCH/F_TCH/H_PDCH | TCH/F_TCH/H_PDCH | +-------+------------------+------------------+------------------+------------------+ | TS5 | TCH/H (f) | TCH/H (f) | TCH/H (f) | TCH/H (f) | +-------+------------------+------------------+------------------+------------------+ | TS6 | SDCCH8 (g) | PDCH (h) | PDCH (h) | SDCCH8 (g) | +-------+------------------+------------------+------------------+------------------+ | TS7 | PDCH (i) | PDCH (j) | PDCH (i) | PDCH (j) | +-------+------------------+------------------+------------------+------------------+ == Hopping configuration == a) HSN=0, MAIO=0,1,2 b) HSN=1, MAIO=3,5 c) HSN=2, MAIO=0,1 d) HSN=2, MAIO=2,3 e) HSN=3, MAIO=3,2,1,0 f) HSN=5, MAIO=0,1,2,3 g) HSN=6, MAIO=1,0 h) HSN=6, MAIO=1,0 i) HSN=0, MAIO=1,3 j) HSN=0, MAIO=0,2 Change-Id: I7822c3581fccba3277a63577e740e7486307635d Related: SYS#4868, OS#4546 --- ttcn3-bts-test/fh/BTS_Tests.cfg | 138 +++++++++++ ttcn3-bts-test/fh/osmo-bsc.cfg | 404 ++++++++++++++++++++++++++++++++ 2 files changed, 542 insertions(+) create mode 100644 ttcn3-bts-test/fh/BTS_Tests.cfg create mode 100644 ttcn3-bts-test/fh/osmo-bsc.cfg diff --git a/ttcn3-bts-test/fh/BTS_Tests.cfg b/ttcn3-bts-test/fh/BTS_Tests.cfg new file mode 100644 index 00000000..e0c3dff4 --- /dev/null +++ b/ttcn3-bts-test/fh/BTS_Tests.cfg @@ -0,0 +1,138 @@ +[ORDERED_INCLUDE] +"/osmo-ttcn3-hacks/bts/BTS_Tests.cfg" + +[LOGGING] +*.JUnitLogger.filename_stem := "junit-xml-hopping" + +/* The following hopping configuration corresponds to ttcn3-bts-test/osmo-bsc-fh.cfg. + * See https://gerrit.osmocom.org/c/docker-playground/+/19160/ for more details. + * + * == Physical channel configuration (FDMA) == + * + * +-------+------------------+------------------+------------------+------------------+ + * | # / # | TRX#0 | TRX#1 | TRX#2 | TRX#3 | + * +-------+------------------+------------------+------------------+------------------+ + * | ARFCN | 871 | 873 | 875 | 877 | + * +-------+------------------+------------------+------------------+------------------+ + * + * == Physical channel configuration (TDMA) == + * + * +-------+------------------+------------------+------------------+------------------+ + * | # / # | TRX#0 | TRX#1 | TRX#2 | TRX#3 | + * +-------+------------------+------------------+------------------+------------------+ + * | TS0 | CCCH+SDCCH4 | TCH/F (a) | TCH/F (a) | TCH/F (a) | + * +-------+------------------+------------------+------------------+------------------+ + * | TS1 | TCH/F | SDCCH8+CBCH | SDCCH8+CBCH (b) | SDCCH8+CBCH (b) | + * +-------+------------------+------------------+------------------+------------------+ + * | TS2 | TCH/F (c) | TCH/H (c) | TCH/F (d) | TCH/H (d) | + * +-------+------------------+------------------+------------------+------------------+ + * | TS3 | TCH/F_PDCH (e) | TCH/F_PDCH (e) | TCH/F_PDCH (e) | TCH/F_PDCH (e) | + * +-------+------------------+------------------+------------------+------------------+ + * | TS4 | TCH/F_TCH/H_PDCH | TCH/F_TCH/H_PDCH | TCH/F_TCH/H_PDCH | TCH/F_TCH/H_PDCH | + * +-------+------------------+------------------+------------------+------------------+ + * | TS5 | TCH/H (f) | TCH/H (f) | TCH/H (f) | TCH/H (f) | + * +-------+------------------+------------------+------------------+------------------+ + * | TS6 | SDCCH8 (g) | PDCH (h) | PDCH (h) | SDCCH8 (g) | + * +-------+------------------+------------------+------------------+------------------+ + * | TS7 | PDCH (i) | PDCH (j) | PDCH (i) | PDCH (j) | + * +-------+------------------+------------------+------------------+------------------+ + */ +[MODULE_PARAMETERS] +BTS_Tests.mp_freq_hop_enabled := true; +BTS_Tests.mp_fh_config := { + { /* TS0 */ + { /* Group a) TCH/F */ + hsn := 0, + trx_maio := { + { trx_nr := 1, maio := 0 }, + { trx_nr := 2, maio := 1 }, + { trx_nr := 3, maio := 2 } + } + } + }, + { /* TS1 */ + { /* Group b) SDCCH8+CBCH */ + hsn := 1, + trx_maio := { + { trx_nr := 2, maio := 3 }, + { trx_nr := 3, maio := 5 } + } + } + }, + { /* TS2 */ + { /* Group c) TCH/F + TCH/H (mixed) */ + hsn := 2, + trx_maio := { + { trx_nr := 0, maio := 0 }, + { trx_nr := 1, maio := 1 } + } + }, + { /* Group d) TCH/F + TCH/H (mixed) */ + hsn := 2, + trx_maio := { + { trx_nr := 2, maio := 2 }, + { trx_nr := 3, maio := 3 } + } + } + }, + { /* TS3 */ + { /* Group e) TCH/F_PDCH */ + hsn := 3, + trx_maio := { + { trx_nr := 0, maio := 3 }, + { trx_nr := 1, maio := 2 }, + { trx_nr := 2, maio := 1 }, + { trx_nr := 3, maio := 0 } + } + } + }, + { /* TS4 */ + /* No groups, all TCH/F_TCH/H_PDCH */ + }, + { /* TS5 */ + { /* Group f) TCH/H */ + hsn := 5, + trx_maio := { + { trx_nr := 0, maio := 0 }, + { trx_nr := 1, maio := 1 }, + { trx_nr := 2, maio := 2 }, + { trx_nr := 3, maio := 3 } + } + } + }, + { /* TS6 */ + { /* Group g) SDCCH8 */ + hsn := 6, + trx_maio := { + { trx_nr := 0, maio := 1 }, + { trx_nr := 3, maio := 0 } + } + }, + { /* Group h) PDCH */ + hsn := 6, + trx_maio := { + { trx_nr := 1, maio := 1 }, + { trx_nr := 2, maio := 0 } + } + } + }, + { /* TS7 */ + { /* Group i) PDCH */ + hsn := 0, + trx_maio := { + { trx_nr := 0, maio := 1 }, + { trx_nr := 2, maio := 3 } + } + }, + { /* Group h) PDCH */ + hsn := 0, + trx_maio := { + { trx_nr := 1, maio := 0 }, + { trx_nr := 3, maio := 2 } + } + } + } +}; + +[EXECUTE] +BTS_Tests.control diff --git a/ttcn3-bts-test/fh/osmo-bsc.cfg b/ttcn3-bts-test/fh/osmo-bsc.cfg new file mode 100644 index 00000000..e11cec40 --- /dev/null +++ b/ttcn3-bts-test/fh/osmo-bsc.cfg @@ -0,0 +1,404 @@ +! +! OsmoBSC (1.1.2.236-5f22) configuration saved from vty +!! +password foo +! +log gsmtap 172.18.9.10 + logging level set-all debug + logging filter all 1 +! +log stderr + logging filter all 1 + logging color 1 + logging print category 1 + logging timestamp 1 + logging print extended-timestamp 1 + logging print file 1 + logging level set-all notice + logging level rll info + logging level rsl debug + logging level msc debug + logging level filter debug + logging level pcu debug + logging level lctrl info + logging level lsccp info +! +stats interval 5 +! +line vty + no login + bind 0.0.0.0 +! +e1_input + e1_line 0 driver ipa + e1_line 0 port 0 + no e1_line 0 keepalive + ipa bind 0.0.0.0 +cs7 instance 0 + point-code 0.23.3 + asp asp-clnt-msc-0 2905 0 m3ua + as as-clnt-msc-0 m3ua + asp asp-clnt-msc-0 + routing-key 2 0.23.3 +network + network country code 1 + mobile network code 1 + encryption a5 0 + neci 1 + paging any use tch 0 + handover 0 + handover1 window rxlev averaging 10 + handover1 window rxqual averaging 1 + handover1 window rxlev neighbor averaging 10 + handover1 power budget interval 6 + handover1 power budget hysteresis 3 + handover1 maximum distance 9999 + timer t3212 30 + bts 0 + type sysmobts + band DCS1800 + cell_identity 0 + location_area_code 1 + dtx uplink force + dtx downlink + base_station_id_code 63 + ms max power 15 + cell reselection hysteresis 4 + rxlev access min 0 + radio-link-timeout 32 + channel allocator ascending + rach tx integer 9 + rach max transmission 7 + channel-descrption attach 1 + channel-descrption bs-pa-mfrms 5 + channel-descrption bs-ag-blks-res 1 + early-classmark-sending forbidden + early-classmark-sending-3g allowed + ip.access unit_id 1234 0 + ip.access rsl-ip 172.18.9.10 + oml ip.access stream_id 255 line 0 + neighbor-list mode manual-si5 + neighbor-list add arfcn 100 + neighbor-list add arfcn 200 + si5 neighbor-list add arfcn 10 + si5 neighbor-list add arfcn 20 + codec-support fr + gprs mode gprs + gprs routing area 0 + gprs network-control-order nc0 + gprs cell bvci 1234 + gprs cell timer blocking-timer 3 + gprs cell timer blocking-retries 3 + gprs cell timer unblocking-retries 3 + gprs cell timer reset-timer 3 + gprs cell timer reset-retries 3 + gprs cell timer suspend-timer 10 + gprs cell timer suspend-retries 3 + gprs cell timer resume-timer 10 + gprs cell timer resume-retries 3 + gprs cell timer capability-update-timer 10 + gprs cell timer capability-update-retries 3 + gprs nsei 1234 + gprs ns timer tns-block 3 + gprs ns timer tns-block-retries 3 + gprs ns timer tns-reset 3 + gprs ns timer tns-reset-retries 3 + gprs ns timer tns-test 30 + gprs ns timer tns-alive 3 + gprs ns timer tns-alive-retries 10 + gprs nsvc 0 nsvci 1234 + gprs nsvc 0 local udp port 23000 + gprs nsvc 0 remote udp port 23000 + gprs nsvc 0 remote ip 0.0.0.0 + no force-combined-si + trx 0 + rf_locked 0 + arfcn 871 + nominal power 50 + max_power_red 20 + rsl e1 tei 0 + timeslot 0 + phys_chan_config CCCH+SDCCH4 + ! Shall not be hopping + hopping enabled 0 + timeslot 1 + phys_chan_config TCH/F + ! Intentionally non-hopping + hopping enabled 0 + timeslot 2 + phys_chan_config TCH/F + ! (c) HSN=2, MAIO=0,1 + hopping enabled 1 + hopping sequence-number 2 + hopping maio 0 + hopping arfcn add 871 + hopping arfcn add 873 + timeslot 3 + phys_chan_config TCH/F_PDCH + ! (e) HSN=3, MAIO=3,2,1,0 + hopping enabled 1 + hopping sequence-number 3 + hopping maio 3 + hopping arfcn add 871 + hopping arfcn add 873 + hopping arfcn add 875 + hopping arfcn add 877 + timeslot 4 + ! Intentionally non-hopping + phys_chan_config TCH/F_TCH/H_PDCH + hopping enabled 0 + timeslot 5 + phys_chan_config TCH/H + ! (f) HSN=5, MAIO=0,1,2,3 + hopping enabled 1 + hopping sequence-number 5 + hopping maio 0 + hopping arfcn add 871 + hopping arfcn add 873 + hopping arfcn add 875 + hopping arfcn add 877 + timeslot 6 + phys_chan_config SDCCH8 + ! (g) HSN=6, MAIO=1,0 + hopping enabled 1 + hopping sequence-number 6 + hopping maio 1 + hopping arfcn add 871 + hopping arfcn add 877 + timeslot 7 + phys_chan_config PDCH + ! (i) HSN=0, MAIO=1,3 + hopping enabled 1 + hopping sequence-number 0 + hopping maio 1 + hopping arfcn add 871 + hopping arfcn add 875 + trx 1 + rf_locked 0 + arfcn 873 + nominal power 50 + max_power_red 20 + rsl e1 tei 1 + timeslot 0 + phys_chan_config TCH/F + ! (a) HSN=0, MAIO=0,1,2 + hopping enabled 1 + hopping sequence-number 0 + hopping maio 0 + hopping arfcn add 873 + hopping arfcn add 875 + hopping arfcn add 877 + timeslot 1 + phys_chan_config SDCCH8+CBCH + ! Intentionally non-hopping + hopping enabled 0 + timeslot 2 + phys_chan_config TCH/H + ! (c) HSN=2, MAIO=0,1 + hopping enabled 1 + hopping sequence-number 2 + hopping maio 1 + hopping arfcn add 871 + hopping arfcn add 873 + timeslot 3 + phys_chan_config TCH/F_PDCH + ! (e) HSN=3, MAIO=3,2,1,0 + hopping enabled 1 + hopping sequence-number 3 + hopping maio 2 + hopping arfcn add 871 + hopping arfcn add 873 + hopping arfcn add 875 + hopping arfcn add 877 + timeslot 4 + phys_chan_config TCH/F_TCH/H_PDCH + ! Intentionally non-hopping + hopping enabled 0 + timeslot 5 + phys_chan_config TCH/H + ! (f) HSN=5, MAIO=0,1,2,3 + hopping enabled 1 + hopping sequence-number 5 + hopping maio 1 + hopping arfcn add 871 + hopping arfcn add 873 + hopping arfcn add 875 + hopping arfcn add 877 + timeslot 6 + phys_chan_config PDCH + ! (h) HSN=6, MAIO=1,0 + hopping enabled 1 + hopping sequence-number 6 + hopping maio 1 + hopping arfcn add 873 + hopping arfcn add 875 + timeslot 7 + phys_chan_config PDCH + ! (j) HSN=0, MAIO=0,2 + hopping enabled 1 + hopping sequence-number 0 + hopping maio 0 + hopping arfcn add 873 + hopping arfcn add 877 + trx 2 + rf_locked 0 + arfcn 875 + nominal power 50 + max_power_red 20 + rsl e1 tei 2 + timeslot 0 + phys_chan_config TCH/F + ! (a) HSN=0, MAIO=0,1,2 + hopping enabled 1 + hopping sequence-number 0 + hopping maio 1 + hopping arfcn add 873 + hopping arfcn add 875 + hopping arfcn add 877 + timeslot 1 + phys_chan_config SDCCH8+CBCH + ! (b) HSN=1, MAIO=3,5 + hopping enabled 1 + hopping sequence-number 1 + hopping maio 3 + hopping arfcn add 875 + hopping arfcn add 877 + timeslot 2 + phys_chan_config TCH/F + ! (d) HSN=2, MAIO=2,3 + hopping enabled 1 + hopping sequence-number 2 + hopping maio 2 + hopping arfcn add 875 + hopping arfcn add 877 + timeslot 3 + phys_chan_config TCH/F_PDCH + ! (e) HSN=3, MAIO=3,2,1,0 + hopping enabled 1 + hopping sequence-number 3 + hopping maio 1 + hopping arfcn add 871 + hopping arfcn add 873 + hopping arfcn add 875 + hopping arfcn add 877 + timeslot 4 + phys_chan_config TCH/F_TCH/H_PDCH + ! Intentionally non-hopping + hopping enabled 0 + timeslot 5 + phys_chan_config TCH/H + ! (f) HSN=5, MAIO=0,1,2,3 + hopping enabled 1 + hopping sequence-number 5 + hopping maio 2 + hopping arfcn add 871 + hopping arfcn add 873 + hopping arfcn add 875 + hopping arfcn add 877 + timeslot 6 + phys_chan_config PDCH + ! (h) HSN=6, MAIO=1,0 + hopping enabled 1 + hopping sequence-number 6 + hopping maio 0 + hopping arfcn add 873 + hopping arfcn add 875 + timeslot 7 + phys_chan_config PDCH + ! (i) HSN=0, MAIO=1,3 + hopping enabled 1 + hopping sequence-number 0 + hopping maio 3 + hopping arfcn add 871 + hopping arfcn add 875 + trx 3 + rf_locked 0 + arfcn 877 + nominal power 50 + max_power_red 20 + rsl e1 tei 3 + timeslot 0 + phys_chan_config TCH/F + ! (a) HSN=0, MAIO=0,1,2 + hopping enabled 1 + hopping sequence-number 0 + hopping maio 2 + hopping arfcn add 873 + hopping arfcn add 875 + hopping arfcn add 877 + timeslot 1 + phys_chan_config SDCCH8+CBCH + ! (b) HSN=1, MAIO=3,5 + hopping enabled 1 + hopping sequence-number 1 + hopping maio 5 + hopping arfcn add 875 + hopping arfcn add 877 + timeslot 2 + phys_chan_config TCH/H + ! (d) HSN=2, MAIO=2,3 + hopping enabled 1 + hopping sequence-number 2 + hopping maio 3 + hopping arfcn add 875 + hopping arfcn add 877 + timeslot 3 + phys_chan_config TCH/F_PDCH + ! (e) HSN=3, MAIO=3,2,1,0 + hopping enabled 1 + hopping sequence-number 3 + hopping maio 0 + hopping arfcn add 871 + hopping arfcn add 873 + hopping arfcn add 875 + hopping arfcn add 877 + timeslot 4 + phys_chan_config TCH/F_TCH/H_PDCH + ! Intentionally non-hopping + hopping enabled 0 + timeslot 5 + phys_chan_config TCH/H + ! (f) HSN=5, MAIO=0,1,2,3 + hopping enabled 1 + hopping sequence-number 5 + hopping maio 3 + hopping arfcn add 871 + hopping arfcn add 873 + hopping arfcn add 875 + hopping arfcn add 877 + timeslot 6 + phys_chan_config SDCCH8 + ! (g) HSN=6, MAIO=1,0 + hopping enabled 1 + hopping sequence-number 6 + hopping maio 0 + hopping arfcn add 871 + hopping arfcn add 877 + timeslot 7 + phys_chan_config PDCH + ! (j) HSN=0, MAIO=0,2 + hopping enabled 1 + hopping sequence-number 0 + hopping maio 2 + hopping arfcn add 873 + hopping arfcn add 877 +msc 0 + core-location-area-code 666 + core-cell-identity 333 + no bsc-welcome-text + no bsc-msc-lost-text + no bsc-grace-text + codec-list fr1 fr2 fr3 + type normal + allow-emergency allow + amr-config 12_2k forbidden + amr-config 10_2k forbidden + amr-config 7_95k forbidden + amr-config 7_40k forbidden + amr-config 6_70k forbidden + amr-config 5_90k allowed + amr-config 5_15k forbidden + amr-config 4_75k forbidden +bsc + mid-call-timeout 0 + no missing-msc-text