enb: add rf_port to cell list param
we need to make the rf_port a param in the cell list because for CA with two cells on different EARFNCs, the RF port is different for two cells without CA on the same EARFCN the RF port is the same so we need to be able to configure it Change-Id: I32e83cc34811588757104c5ce1cae7277402addd
This commit is contained in:
parent
e0b899079c
commit
549826d424
|
@ -51,6 +51,7 @@ def on_register_schemas():
|
|||
'a3_time_to_trigger': schema.INT,
|
||||
'num_cells': schema.UINT,
|
||||
'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[].scell_list[]': schema.UINT,
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
%for cell in enb.cell_list:
|
||||
{
|
||||
dl_earfcn: ${cell.dl_earfcn},
|
||||
rf_port: 0, /* FIXME: this may need to be configurable based on device specifics (B2xx vs X310) */
|
||||
rf_port: ${cell.rf_port},
|
||||
cell_id: ${cell.cell_id},
|
||||
n_id_cell: ${cell.pci},
|
||||
tac: 0x0001,
|
||||
|
|
|
@ -65,7 +65,7 @@ cell_list =
|
|||
%for cell in enb.cell_list:
|
||||
${',' if loop.index != 0 else ''}
|
||||
{
|
||||
// rf_port = 0; Not yet implemented!
|
||||
rf_port = ${cell.rf_port};
|
||||
cell_id = ${cell.cell_id};
|
||||
tac = 0x0001;
|
||||
pci = ${loop.index + 1};
|
||||
|
|
|
@ -128,11 +128,13 @@ enb:
|
|||
- cell_id: 0x01
|
||||
pci: 0x01
|
||||
dl_earfcn: 2850
|
||||
rf_port: 0
|
||||
scell_list: []
|
||||
ncell_list: [0x02]
|
||||
- cell_id: 0x02
|
||||
pci: 0x02
|
||||
dl_earfcn: 2850
|
||||
rf_port: 0
|
||||
scell_list: []
|
||||
ncell_list: [0x01]
|
||||
|
||||
|
|
Loading…
Reference in New Issue