This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17893 )
Change subject: enb: Introduce support for neighbour cell list
......................................................................
enb: Introduce support for neighbour cell list
Change-Id: If604f1f2643a73f8c4da6ae3e9d24cd6c7e52d06
---
M src/osmo_gsm_tester/resource.py
M src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
M sysmocom/defaults.conf
3 files changed, 14 insertions(+), 3 deletions(-)
Approvals:
Jenkins Builder: Verified
pespin: Looks good to me, approved
diff --git a/src/osmo_gsm_tester/resource.py b/src/osmo_gsm_tester/resource.py
index 6e744e5..20302d3 100644
--- a/src/osmo_gsm_tester/resource.py
+++ b/src/osmo_gsm_tester/resource.py
@@ -113,6 +113,7 @@
'enb[].num_cells': schema.UINT,
'enb[].cell_list[].cell_id': schema.UINT,
'enb[].cell_list[].pci': schema.UINT,
+ 'enb[].cell_list[].ncell_list[]': schema.UINT,
'enb[].cell_list[].scell_list[]': schema.UINT,
'enb[].cell_list[].dl_earfcn': schema.UINT,
'enb[].cell_list[].dl_rfemu.type': schema.STR,
diff --git a/src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl b/src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
index 4dc9c60..24cd0d1 100644
--- a/src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
+++ b/src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
@@ -65,6 +65,14 @@
tac: 0x0001,
root_sequence_index: ${loop.index + 204}, /* PRACH root sequence index */
+ ncell_list: [
+%for ncell in enb.cell_list:
+%if ncell.cell_id in cell.ncell_list:
+ { n_id_cell: ${ncell.pci}, dl_earfcn: ${ncell.dl_earfcn}, cell_id: ${ncell.cell_id}, tac: 1 },
+%endif
+%endfor
+ ],
+
scell_list: [
%for scell_id in cell.scell_list:
{ cell_id: ${scell_id}, cross_carrier_scheduling: false, scheduling_cell_id: ${cell.cell_id}, ul_allowed: true},
diff --git a/sysmocom/defaults.conf b/sysmocom/defaults.conf
index b07bec2..871a45c 100644
--- a/sysmocom/defaults.conf
+++ b/sysmocom/defaults.conf
@@ -128,11 +128,13 @@
- cell_id: 0x01
pci: 0x01
dl_earfcn: 2850
- scell_list: [0x02]
+ scell_list: []
+ ncell_list: [0x02]
- cell_id: 0x02
pci: 0x02
- dl_earfcn: 3050
- scell_list: [0x01]
+ dl_earfcn: 2850
+ scell_list: []
+ ncell_list: [0x01]
srsenb:
num_prb: 100
--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17893
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: If604f1f2643a73f8c4da6ae3e9d24cd6c7e52d06
Gerrit-Change-Number: 17893
Gerrit-PatchSet: 7
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: srs_andre <andre at softwareradiosystems.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200420/4cea7e76/attachment.htm>