diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-05-07 13:49:33 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-05-08 14:55:12 +0200 |
commit | 39df7f466843579fb22c46fc159d14792cb10b87 (patch) | |
tree | 2f1ce6c26bcb91571506276bc852a723cd1418c2 /example | |
parent | e699912a235456c008ded853ea0c43cfee9c5b63 (diff) |
bts: Allow setting amount of TRX and timeslot in cfg and from test at runtime
The num_trx attribute for a given BTS states the number of TRX to be
used by that BTS. If more than num_trx are configured in trx_list in the
cfg file, then only up to num_trx are taken into account. If a num_trx
value higher than max_trx is specified throuygh config file or at
runtime by the test, an exception is raised explaining the issue.
The num/max_trx attributes are overlayed along the config levels
(generic -> bsc_bts -> specific bts-type -> specific resource object).
This way we can specify a long list of trx+timeslot config in the
generic config (bsc_bts), and tune for each model and specific BTS which
is the desired default number of TRX, as well as the maximum supported
per type.
Change-Id: I7f46eaf7a16f03268653299c93600c0443f691ac
Diffstat (limited to 'example')
-rw-r--r-- | example/defaults.conf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/example/defaults.conf b/example/defaults.conf index c110dde..1e84200 100644 --- a/example/defaults.conf +++ b/example/defaults.conf @@ -28,6 +28,8 @@ bsc_bts: base_station_id_code: 63 stream_id: 255 osmobsc_bts_type: sysmobts + num_trx: 1 + max_trx: 1 trx_list: - nominal_power: 23 max_power_red: 0 @@ -41,3 +43,18 @@ bsc_bts: - phys_chan_config: TCH/F - phys_chan_config: PDCH - phys_chan_config: PDCH + - nominal_power: 23 + max_power_red: 0 + arfcn: 870 + timeslot_list: + - phys_chan_config: TCH/F + - phys_chan_config: TCH/F + - phys_chan_config: TCH/F + - phys_chan_config: TCH/F + - phys_chan_config: TCH/F + - phys_chan_config: TCH/F + - phys_chan_config: TCH/F + - phys_chan_config: TCH/F + +osmo_bts_octphy: + max_trx: 2 |