enb: Introduce support for neighbour cell list

Change-Id: If604f1f2643a73f8c4da6ae3e9d24cd6c7e52d06
This commit is contained in:
Pau Espin 2020-04-20 12:15:06 +02:00
parent 154dc93219
commit 6c77874f46
3 changed files with 14 additions and 3 deletions

View File

@ -113,6 +113,7 @@ RESOURCES_SCHEMA = {
'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,

View File

@ -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},

View File

@ -128,11 +128,13 @@ enb:
- 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