Change in osmo-gsm-tester[master]: AmarisoftENB: Support setting PCI value

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.org
Mon Apr 20 17:25:59 UTC 2020


pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17905 )

Change subject: AmarisoftENB: Support setting PCI value
......................................................................

AmarisoftENB: Support setting PCI value

Change-Id: Ibffb95f9b55e145d76ba64119a73ef9f1ed7cdef
---
M src/osmo_gsm_tester/resource.py
M src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
M sysmocom/defaults.conf
3 files changed, 4 insertions(+), 1 deletion(-)

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 ded8568..6e744e5 100644
--- a/src/osmo_gsm_tester/resource.py
+++ b/src/osmo_gsm_tester/resource.py
@@ -112,6 +112,7 @@
         'enb[].a3_time_to_trigger': schema.INT,
         'enb[].num_cells': schema.UINT,
         'enb[].cell_list[].cell_id': schema.UINT,
+        'enb[].cell_list[].pci': 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 89e65f1..4dc9c60 100644
--- a/src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
+++ b/src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
@@ -61,7 +61,7 @@
     dl_earfcn: ${cell.dl_earfcn},
     rf_port: ${loop.index},
     cell_id: ${cell.cell_id},
-    n_id_cell: ${loop.index + 1},
+    n_id_cell: ${cell.pci},
     tac: 0x0001,
     root_sequence_index: ${loop.index + 204}, /* PRACH root sequence index */
 
diff --git a/sysmocom/defaults.conf b/sysmocom/defaults.conf
index 36a2f42..b07bec2 100644
--- a/sysmocom/defaults.conf
+++ b/sysmocom/defaults.conf
@@ -126,9 +126,11 @@
   a3_time_to_trigger: 480
   cell_list:
    - cell_id: 0x01
+     pci: 0x01
      dl_earfcn: 2850
      scell_list: [0x02]
    - cell_id: 0x02
+     pci: 0x02
      dl_earfcn: 3050
      scell_list: [0x01]
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17905
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: Ibffb95f9b55e145d76ba64119a73ef9f1ed7cdef
Gerrit-Change-Number: 17905
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200420/a6957086/attachment.htm>


More information about the gerrit-log mailing list