enb: Support cells from different ENBs in ncell_list

Change-Id: I1242c56ff42caea06e7f96317def82064fd11325
This commit is contained in:
Pau Espin 2020-11-09 18:52:05 +01:00
parent a7fd39448c
commit ef7256a138
7 changed files with 45 additions and 22 deletions

View File

@ -60,7 +60,10 @@ def on_register_schemas():
'cell_list[].cell_id': schema.UINT,
'cell_list[].rf_port': schema.UINT,
'cell_list[].pci': schema.UINT,
'cell_list[].ncell_list[]': schema.UINT,
'cell_list[].ncell_list[].enb_id': schema.UINT,
'cell_list[].ncell_list[].cell_id': schema.UINT,
'cell_list[].ncell_list[].pci': schema.UINT,
'cell_list[].ncell_list[].dl_earfcn': schema.UINT,
'cell_list[].scell_list[]': schema.UINT,
'cell_list[].dl_earfcn': schema.UINT,
'cell_list[].root_seq_idx': schema.UINT,

View File

@ -77,10 +77,8 @@
root_sequence_index: ${loop.index * 10 + 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
%for ncell in cell.ncell_list:
{ n_id_cell: ${ncell.pci}, dl_earfcn: ${ncell.dl_earfcn}, cell_id: ${ncell.cell_id}, tac: 7 },
%endfor
],

View File

@ -82,17 +82,13 @@ cell_list =
// Cells available for handover
meas_cell_list =
(
%for ncell in enb.cell_list:
<% loop.my_num_items = 0 if loop.index == 0 else loop.my_num_items %>
%if ncell.cell_id in cell.ncell_list:
${',' if loop.my_num_items != 0 else ''}
<% loop.my_num_items += 1 %>
%for ncell in cell.ncell_list:
${',' if loop.index != 0 else ''}
{
eci = ${hex((int(enb.id)<<8) + int(ncell.cell_id))};
eci = ${hex((int(ncell.enb_id)<<8) + int(ncell.cell_id))};
dl_earfcn = ${ncell.dl_earfcn};
pci = ${ncell.pci};
}
%endif
%endfor
);

View File

@ -137,7 +137,7 @@ enb:
tac: 0x0007
root_seq_idx: 204
scell_list: []
ncell_list: [0x02]
ncell_list: []
- cell_id: 0x02
pci: 0x02
dl_earfcn: 2850
@ -145,7 +145,7 @@ enb:
tac: 0x0007
root_seq_idx: 205
scell_list: []
ncell_list: [0x01]
ncell_list: []
srsenb:
num_prb: 100

View File

@ -1,16 +1,25 @@
# CA and HO config, two cells different EARFCN, cell IDs match CC index of eNB
modifiers:
enb:
- cell_list:
- id: 0x19B
cell_list:
- cell_id: 0x00
pci: 0x01
dl_earfcn: 2850
rf_port: 0
scell_list: [0x01]
ncell_list: [0x01]
ncell_list:
- enb_id: 0x19B
cell_id: 0x01
pci: 0x02
dl_earfcn: 3050
- cell_id: 0x01
pci: 0x02
dl_earfcn: 3050
rf_port: 1
scell_list: [0x00]
ncell_list: [0x00]
ncell_list:
- enb_id: 0x19B
cell_id: 0x00
pci: 0x01
dl_earfcn: 2850

View File

@ -1,16 +1,25 @@
# HO config for intra-frequency HO between two cells (same EARFCN) on the same RF port (Amarisoft eNB)
modifiers:
enb:
- cell_list:
- id: 0x19B
cell_list:
- cell_id: 0x01
pci: 0x01
dl_earfcn: 2850
rf_port: 0
scell_list: []
ncell_list: [0x02]
ncell_list:
- enb_id: 0x19B
cell_id: 0x02
pci: 0x02
dl_earfcn: 2850
- cell_id: 0x02
pci: 0x02
dl_earfcn: 2850
rf_port: 0
scell_list: []
ncell_list: [0x01]
ncell_list:
- enb_id: 0x19B
cell_id: 0x01
pci: 0x01
dl_earfcn: 2850

View File

@ -7,10 +7,18 @@ modifiers:
dl_earfcn: 2850
rf_port: 0
scell_list: []
ncell_list: [0x02]
ncell_list:
- enb_id: 0x19B
cell_id: 0x02
pci: 0x02
dl_earfcn: 2850
- cell_id: 0x02
pci: 0x02
dl_earfcn: 2850
rf_port: 1
scell_list: []
ncell_list: [0x01]
ncell_list:
- enb_id: 0x19B
cell_id: 0x01
pci: 0x01
dl_earfcn: 2850